Operating System - HP-UX
1834149 Members
2852 Online
110064 Solutions
New Discussion

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

 
Manuel Contreras
Regular Advisor

anyone else experiencing issues with java tool from HP - HPjconfig?


here is a link to hpjconfig:
http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html

The tool complains about patches that have already been addressed/installed (superseded patches).

# /opt/java1.4/bin/java -jar ./HPjconfig.jar -nogui -patches -listmis
Log written to HPjconfig_myBOX_20071228_105132.log
List of missing patches:
PHCO_33282 solves severe performance degradation with large numbers of threads.
PHCO_33282 solves pthread synchronization causing hangs. must install starting with 1.3.1.11, 1.4.1.03, 1.4.2.00, 5.0..
PHKL_34309 supports executing HotSpot across NFS.
PHKL_34309 supports executing HotSpot across NFS.
PHKL_35281 supports executing HotSpot across NFS.
PHKL_34309 solves hangs in Java apps with large numbers of threads.
PHKL_34309 solves severe thread performance problems in Java apps with large numbers of threads. supports Solaris-like semantics for concurrent close (thread interrupt).
PHKL_35281 solves thread problems that degrade Java apps with large numbers of threads.
PHKL_34309 supports compiler save points and on stack replacement in 64bit HotSpot in 1.4, 5.0.
PHKL_32927 fixes 64-bit Java process hang when returning from a call to a JNI function.
PHNE_34938 supports executing HotSpot across NFS.
PHNE_34777 supports Solaris-like semantics for concurrent close (Streams).
PHNE_34672 solves socket problems that may cause hangs. must install starting with 1.4.2.06, 5.0.. supports Solaris-like semantics for concurrent close (transport). supports connected datagram sockets.
PHSS_35379 solves problem with dld while loading native libraries for class ServerSocket. enables LD_PRELOAD_ONCE.


help options:
# /opt/java1.4/bin/java -jar ./HPjconfig.jar -nogui -help

usage:
HPjconfig [ options ] -gui
HPjconfig [ options ]

objects: -patches &| -tunables
actions: -listreq | -listmis | -listpres | -apply

options:
-patches operate on java-specific patches
-tunables operate on java-specific tunables
-listreq list all java required patches or tunables that are applicable to this system
-listmis list missing java-specific patches or tunables on the system
-listpres list applied (installed) java-specific patches or tunables on the system
-apply apply (install) missing java-specific patches or tunables on the system
-javavers s java versions for selecting patches e.g 1.2, 1.3, 1.4, 5.0
-[no]gui run in GUI mode
-logfile s name of log file
-proxyhost s HTTP proxy host name for accessing live data
-proxyport s HTTP proxy port for accessing live data
-help show help string and exit
-version show version string


wondering how I can the tools patch list?
thanks
7 REPLIES 7
Murat SULUHAN
Honored Contributor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

Hi Manuel

Basically HPjConfig checks your kernel tunables and patches for recommendations about Java

You already checked patches so you must check this patches or it's newest versions and you must also check your kernel tunables settings with tunables

Best Regards
Murat
Murat Suluhan
Dennis Handly
Acclaimed Contributor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

Hmm, I would have thought HPjconfig would get this right.

Can you prove that one of the patches is installed or superseded?
What does this show:
swlist -l fileset -a supersedes | grep -e PHSS_35379 -e PHKL_34309

See Patch Management User Guide, Supersession:
http://www.docs.hp.com/en/5992-0674/5992-0674.pdf
Manuel Contreras
Regular Advisor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

I think I found the answer in the FAQ :P

Q: I don't seem to be getting the latest HP-UX patches required for the SDK when I run HPjconfig. Is there anyway I can get the tool to automatically check for the latest required patches on the http://www.hp.com/go/java site?

A: HPjconfig tries to get to the latest list of patches off the site. If you've configured your system to work through a proxy server with Netscape, it should automatically detect and use those settings. However, if you wish to use another proxy server, or your Netscape is configured in such a manner that it won't connect properly, you can do so by running HPjconfig with the following command line options:

java -cp HPjconfig.jar:HPjconfig_data.jar \
-Dproxy= \
-Dport= HPjconfig

going to give it a try...
thanks
Dennis Handly
Acclaimed Contributor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

>I think I found the answer in the FAQ
>Q: I don't seem to be getting the latest HP-UX patches required for the SDK when I run HPjconfig

I'm not sure this is your problem? HPjconfig should be able to see if you have superseding patches without querying the web site.
Manuel Contreras
Regular Advisor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

Dennis,
here's some output from your earlier query:

# swlist -l product | grep PHCO_33282

# swlist -l fileset -x show_superseded_patches=true | grep PHCO_33282
# PHCO_33282 1.0 pthread library cumulative patch
PHCO_33282.C-MIN-32ALIB 1.0 OS-Core.C-MIN-32ALIB
PHCO_33282.C-MIN-64ALIB 1.0 OS-Core.C-MIN-64ALIB
PHCO_33282.CORE-64SLIB 1.0 OS-Core.CORE-64SLIB
PHCO_33282.CORE-SHLIBS 1.0 OS-Core.CORE-SHLIBS
PHCO_33282.PAUX-ENG-A-MAN 1.0 ProgSupport.PAUX-ENG-A-MAN

this patch was superseded by PHCO_36229 which is installed:
# swlist -l product | grep 36229
PHCO_36229 1.0 pthread library cumulative patch

thanks,
manuel
Dennis Handly
Acclaimed Contributor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

>here's some output from your earlier query

It looks like your initial statement is true. So HPjconfig is "broken".

># swlist -l product | grep PHCO_33282

You don't need to grep, you can just insert the patch ID:
# swlist -l product PHCO_33282
Manuel Contreras
Regular Advisor

Re: anyone else experiencing issues with java tool from HP - HPjconfig?

opened a ticket w/HP...they said they will get back to me.