May 10, 2013

Marking a screenshot with circles and arrows in GIMP

GIMP is a nice tool for doing graphics without having large commercial products. Sometime its not easy to find a way for some things.

GIMP allows you to acquire a screenshot from the desktop, a window or a
region ( at least on Linux ).

You can select File->Create->Screenshot to get to the menu.

When you have the picture, for some documentation you may have the
need to mark some areas with a circle:

Use the ellipse selection tool and select the area. After this go to Edit->Stroke Selection.



This show a dialog for some settings. The color is taken from the current
foreground color.

After pressing "Stroke" the selected area is surrounded by an ellipse.


If there are multiple Items you can use arrows.

I have installed the GIMP Scripts FUs ( see http://www.webupd8.org/2012/05/download-gimp-28-script-fus-pack-more.html ), which provides an
Arrow in the Script-Fu Menu.

How to draw an arrow comes from this blog.

You take the paths tool and draw a path:


When you have drawn the path, Select the arrow menu item from Script-Fu-Menu:


After pressing OK you get an arrow. See the options in the dialog above to
remove the path after the arrow is drawn.


Apr 23, 2013

Analysing of JVM dumps from IBM JDKs

A nice analysis tool for Java Memory dumps is the "Eclipse Memory Analyzer" - mat.

For the IBM JVM there are additional plugins necessary. A nice overview is
here.
This blog entry contains links to the update sites.

MAT doesn't have a proxy setting.

NVidia driver updated to 310.44 on Fedora 18

The last update to the NVidia driver 310.44 was without problems.

System runs, even with multimonitor operation, but from time to time
the screen locker of Gnome does not allow to enter the password again.

Mar 22, 2013

Updated NVidia driver on Fedora 18 to 310.40

Just updated the NVidia graphics driver to the version 310.40 without
problems.

  • start the system 
  • telinit 3, to deactivate the graphics 
  • start the nvidia-installer, without any changes like for 310.32
  • after the restart the gnome-desktop was back.

Mar 12, 2013

Deployment of war file failed on IBM WebSphere 8, which died before with a full filesystem, because it seems as if it is already deployed

We've an IBM WebSphere 8.0 running on an AIX development server.

During the deployment via the web-console, the WebSphere died because
the filesystem got full.

After cleaning up and restarting IBM WebSphere, the deployment was started again, but the messages said, that there is allready an application
with this name deployed.

Although the webconsole on the wsadmin.sh didn't show such an application

wsadmin.sh 
>$AdminApp list 
I found a hint here, which shows some files to manipulate and remove.

So I stopped the WebSphere, processed the files listed there and restarted.

After the restart, I can deploy the war again :-)

  • <WebSphere>/profiles/<profile_name>/config/cells/<cell_name<\nodes/<node_name>/serverindex.xml 
  • remove all files/folder ..../profiles/<profile_name>/installedApps\<cell_name>/<application_name>
  • remove also all files/folders under .../profiles/<profile_name>/wstemp/
  • remove also the corresponding files  in .../profiles/<profile_name>/tmp
  • <Profile_Dir>/config/cells/<cellname>/blas
  • <Profile_Dir>/config/cells/<cellname>/cus

Mar 11, 2013

How to get multiline text in OpenOffice 3.3 /LibreOffice 4.0 Calc

I'm working on Solaris  sunray or a fedora linux Laptop, so I'm using
OpenOffice on Solaris and LiberOffice on Fedora Linux.

If you want to insert multiline text in a cell in OpenOffice or LibreOffice Calc ( this is the Microsoft excel in the free world ), you have to position the cursor
into the Cell and not the input line just below the toolbar.

In the cell itself a manual line break can be inserted by pressing <strg>-<return> you get a linebreak of the text in the cell, which improves formating.

Mar 6, 2013

How to change the oracle db password life-time

On our oracle 11 installation, the password life-time would end today, which is printed on logging into the database with sqlplus.

On a stackoverflow.com discussion, I found the hint's, to change the lifetime of an oracle user password.

log in to the database:

sqlpuls system/system
lookup the profile to which your user belongs to:

select profile from DBA_USERS where username = <username>

change the profile for your user: 

alter profile limit password_life_time UNLIMITED;

To view your change: 
select resource_name,limit from dba_profiles where profile='';