- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- -d64 does not work on JDK1.5.0.10
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 10:50 AM
07-31-2008 10:50 AM
JAVA_OPTS="-d64 -XX:+ForceMmapReserved -Xms1g -Xmx1g -Xmn256m -XX:+UseParallelGC -XX:Paralle
lGCThreads=8 -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -Djava.rmi.server.hostname=$HOST -Djava.rmi.server.useLocalHostname=false -Dpowercomp.server.id=$INSTANCE"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 11:47 AM
07-31-2008 11:47 AM
Re: -d64 does not work on JDK1.5.0.10
Problem introduced by Java. There are at least two new subversion released. 1.5.0.0.12
http://www.hp.com/go/java
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2008 01:14 PM
08-05-2008 01:14 PM
Re: -d64 does not work on JDK1.5.0.10
The patches are all up-to-date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2008 02:39 PM
08-05-2008 02:39 PM
Re: -d64 does not work on JDK1.5.0.10
Check the actual version you're running and ensure path and symlink are all updated after the installation.
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2008 03:19 PM
08-05-2008 03:19 PM
Re: -d64 does not work on JDK1.5.0.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2008 10:44 PM
08-05-2008 10:44 PM
Re: -d64 does not work on JDK1.5.0.10
You might want to use "tusc -fp -o tusc.out ..." to trace what's going on.
>We need -d64 for optimization.
What did you mean by that? You need -d64 because you need the large size. I suppose you could use the large size and changed algorithms to be faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 10:33 AM
08-08-2008 10:33 AM
Re: -d64 does not work on JDK1.5.0.10
Once, I omit the "-d64" in the $JAVA_OPTS parameter, jboss now starts so I am convinced that Java works! I am out of ideas now. :(
/opt/jboss/jboss-4.0.3SP1/bin > =========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss/jboss-4.0.3SP1
JAVA: /opt/java1.5/bin/java
JAVA_OPTS: -d64 -XX:+ForceMmapReserved -Xms1g -Xmx1g -Xmn256m -XX:+UseParallelGC -XX:ParallelGCThreads=4 -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+DisableExplicitGC -Xverbosegc:file=/opt/jboss/jboss-4.0.3SP1/server/dendev/log/20080808122407.8380.gc -Djava.rmi.server.hostname=hpux04.insureworx.com -Djava.rmi.server.useLocalHostname=false -Dpowercomp.server.id=8380 -Dprogram.name=run.sh
CLASSPATH: /opt/jboss/jboss-4.0.3SP1/bin/run.jar:/opt/java1.5/lib/tools.jar
=========================================================================
Error occurred during initialization of VM
java.lang.NoSuchMethodError: java.lang.Thread.start()V
./run.sh[174]: 4492 Abort
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 10:37 AM
08-08-2008 10:37 AM
Re: -d64 does not work on JDK1.5.0.10
Much appreciations to those who response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 02:13 PM
08-08-2008 02:13 PM
Re: -d64 does not work on JDK1.5.0.10
>Error occurred during initialization of VM
java.lang.NoSuchMethodError: java.lang.Thread.start()V
Have you talked to the Response Center about this problem?
Did you try using tusc to trace for system call failures?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 02:36 PM
08-08-2008 02:36 PM
Re: -d64 does not work on JDK1.5.0.10
No, I have not talked to the Response Center as I don't have a support contract with them.
I tried tusc but it is not installed on the system.
What I found out is that the JDK that HP provides on the download site is not 64 bit to begin with...just 32. I've posted a question to their download team. Hopfully, I will get a fix soon.
When I do a "./java -d64 -version", it core dumps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 07:49 PM
08-08-2008 07:49 PM
Re: -d64 does not work on JDK1.5.0.10
Then you haven't tried tusc. :-)
Check this thread for download info:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1226906
>is not 64 bit to begin with... just 32.
Why do you think that?
You might want to use hpjconfig to check your system:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPJCONFIG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2008 02:58 PM
08-09-2008 02:58 PM
Re: -d64 does not work on JDK1.5.0.10
hpjconfig tells me that "All required patches are installed on this system."
my tusc outputs are attached. Can anyone tell me what's wrong? tusc.out comes from the "java -d64 -version"
The same error returns at the prompt and core dumps:
"Error occurred during initialization of VM
java.lang.NoSuchMethodError: java.lang.Thread.start()V"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2008 07:40 PM
08-09-2008 07:40 PM
Re: -d64 does not work on JDK1.5.0.10
The initial java is exec(2). That execs the 64 bit java:
/opt/java1.5.0.14/bin/PA_RISC2.0W/java
It opens:
/opt/java1.5.0.14/jre/lib/PA_RISC2.0W/jvm.cfg
/opt/logNtrace/parameterList
/opt/java1.5.0.14/jre/lib/PA_RISC2.0W/plugins
/dev/log
/usr/lib/tztab
Gets error on:
/opt/java1.5.0.14/jre/lib/PA_RISC2.0W/server/libjvm.sl ERR#22 EINVAL
These must be normal?
{760803} Received signal 11, SIGSEGV, in user mode, [0x800003fff8fa08c0],
This is the standard bogus signal 11.
Lots of threads are started.
These opens fail:
/opt/java1.5.0.14/jre/lib/PA_RISC2.0W/server/.hotspot_compiler ERR#2 ENOENT
.hotspot_compiler ERR#2 ENOENT
It seems it was reading /opt/java1.5.0.14/jre/lib/rt.jar before it wanted to open .hotspot_compiler. And before it printed the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 12:20 AM
08-10-2008 12:20 AM
Re: -d64 does not work on JDK1.5.0.10
From this angle it looks like bad code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 11:26 AM
08-10-2008 11:26 AM
Re: -d64 does not work on JDK1.5.0.10
But on whose part? :-)
This thread indicates it happens for a trivial java program:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1257660
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 11:34 AM
08-10-2008 11:34 AM
Re: -d64 does not work on JDK1.5.0.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 12:46 PM
08-10-2008 12:46 PM
Re: -d64 does not work on JDK1.5.0.10
Is the kernel parms the same between the two?
Are the environ(5) variables the same for the two users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 05:48 PM
08-10-2008 05:48 PM
Re: -d64 does not work on JDK1.5.0.10
what is the best command to show all kernal parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2008 10:38 PM
08-10-2008 10:38 PM
Re: -d64 does not work on JDK1.5.0.10
There are zillions of variables besides PATH, I want you to compare all of them.
>what is the best command to show all kernel parameters?
For 11.11, there is kmtune(1m), otherwise kctune(1m).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 08:53 AM
08-11-2008 08:53 AM
Re: -d64 does not work on JDK1.5.0.10
What is so weird about this problem is that 1 version of java is fine but the other 1 is not on the same box and when I move the 1.5.0.14 to another hpux box, it is fine there. ?????
------------------
/opt/java1.5/bin > ./java -d64 -version
java version "1.5.0.04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.04-_27_jul_2006_10_52)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0.04 jinteg:07.27.06-13:54 PA2.0W (aCC_AP), mixed mode)
/opt/java1.5/bin >
/opt/java1.5/bin > cd /opt/java1.5.0.14/bin
/opt/java1.5.0.14/bin > ./java -d64 -version
Error occurred during initialization of VM
java.lang.NoSuchMethodError: java.lang.Thread.start()V
Abort
/opt/java1.5.0.14/bin >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 02:24 PM
08-11-2008 02:24 PM
Re: -d64 does not work on JDK1.5.0.10
-d64 does NOT work on HPUX04.
-d64 works on HPUX05.
I updated max_thread_proc in HPUX04 and rebooted. Still having the same error.
Any thing else I should change?
--------------------
HpUX04 HPUX05
Ksi_alloc_max 32768 32928
Max_thread_proc 256 3000
Maxfiles 256 2048
Maxswapchunks 16384 2048
Maxuprc 4000 500
msgmap 4098 2050
msgmni 4096 1024
msgtql 4096 2048
ncsize 72704 10820
nfile 63488 16272
ninode 34816 5700
nkthread 7184 7219
Nproc 4096 4116
nsysmap 8192 8232
nsysmap64 8192 8232
semmap 4098 2050
semmni 4096 2048
semmns 8192 4096
semmnu 4092 1024
shmmax 0xaccccccc 966367642
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 02:53 PM
08-11-2008 02:53 PM
Re: -d64 does not work on JDK1.5.0.10
That would be my first guess but I don't remember any errors in thread creation.
There is also: maxfiles 256 2048
These seem too close to worry about:
nkthread 7184 7219
nproc 4096 4116
nsysmap 8192 8232
nsysmap64 8192 8232
You could use tusc on the good system to see where things diverge.
And use -fpl for both instead of just -fp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 09:36 AM
08-12-2008 09:36 AM
Re: -d64 does not work on JDK1.5.0.10
Thanks ALOT, Dennis!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 09:38 AM
08-12-2008 09:38 AM
Re: -d64 does not work on JDK1.5.0.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 10:46 AM
08-12-2008 10:46 AM
Re: -d64 does not work on JDK1.5.0.10
goodtusc.out
_lwp_self() ...................... = 8925981
badtusc.out
_lwp_self()...................... = 17313