Operating System - HP-UX
1833882 Members
2619 Online
110063 Solutions
New Discussion

Re: Something about patch bundle December 2002

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Something about patch bundle December 2002

Hi,

I have an L2000 running HP-UX11i. Last Saturday I install the Dec 2002 patch bundle and is done successfully. However I encounter some error during our testing.

I have some java programs which call a C program (which compiled in a shared library) and use the 'free' function. The java program show the following error

Starting the native method ... Java_tu_JavaProcessNativeJNI_getMemory
Starting the native method ... Java_tu_JavaProcessNativeJNI_getMemory
Starting the native method ... Java_tu_JavaProcessNativeJNI_getMemory
Starting the native method ... Java_tu_JavaProcessNativeJNI_getMemory
Starting the native method ... Java_tu_JavaProcessNativeJNI_getMemory
#
# Java version:
# HotSpot VM (mixed mode)
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
#
# occurred at pc=c0198e4c
# Error ID: /CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/../../src/os/hp-ux/vm/os_hp-ux.cpp, 3050
#

The java will 'eat up' memory and then 'die'. My java version is only 1.3.0 in HP server. Does anyone encounter this error recently ? Do you think it's related to the new patch or the java is too old to the latest patch ?

Regards,
Patrick
4 REPLIES 4
Stefan Farrelly
Honored Contributor

Re: Something about patch bundle December 2002

Its certainly possible that the Dec patch bundle has introduced library changes which have influenced the behaviour of your java application. But, rather than remove the Dec bundle to confirm I would upgrade java as your running a slightly old version. Try 1.4 and see if that fixes your problem. If not then you should try removing the Dec bundle to see if that fixes it, and if so log a call with HP support as to why installing it caused your problem so they can investigate further.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Patrick Chim
Trusted Contributor

Re: Something about patch bundle December 2002

Hi Stefan,

I agree with you that my java version is too old but changing the version will cause a lot of amendment of our existing application and will consume a lot of time. So I will try to uninstall the Dec patch bundle first.

BTW, do you know how to uninstall the patch ? And does this action only uninstall what it install last time ? Because I have installed some patches before. Will they be removed at this action ?

Thanks a lot,
Patrick
Steven E. Protter
Exalted Contributor
Solution

Re: Something about patch bundle December 2002

Read this.
http://www.hp.com/products1/unix/java/infolibrary/patches.html

There are a lot of patches here that are not yet part of the December 2002 bundle.

Yet many of these patches are required for java 1.3

If you don't have them all in, you should get them in. You might wish to reinstall java 1.3, though I didn't have to do that.

Of course, I did it -ss backwards, doing java first, then the patches, but managed to get away with it.

Don't make the same mistake as me.

I used to be a "if it ain't broke don't fix it" guy, as was my predecessor. The pain of that posiion hurt so bad, I switched religions in 2000 and now try and stay as current as possible.

Have I been burned by that position? Yes, I have a procedure.

I install the patch, I run check_patches, and back out anything that has errors. Now is better than the past.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stefan Farrelly
Honored Contributor

Re: Something about patch bundle December 2002

Yes, if you deinstall the QPK December bundle only the Dec bundle patches will be deinstalled and the system 'rolled back' to the previous patch level/bundle. It works well.

But I would go with Stevens recommendation on specific patches for Java 1.3 first.
Im from Palmerston North, New Zealand, but somehow ended up in London...