Operating System - HP-UX
1832595 Members
3045 Online
110043 Solutions
New Discussion

Java application crashing zx6000 wtih HP_UX B.11.23

 
SOLVED
Go to solution
M Stellinga
New Member

Java application crashing zx6000 wtih HP_UX B.11.23

Recently we've been testing our Java application on a zx6000 workstation running HP_UX B11.23 and we ran into a nasty problem when running the JVM in 64-bit mode.

Whenever we close a Java java.util.logging.FileHandler (XML file-logger) the entire system hangs and reboots. Updating to the newest VM (1.4.2.00) did not solve the problem and there appeared to be no relevant patches.

The following Java code produces the problem when run in 64-bit mode:

package test;

import java.util.logging.FileHandler;
import java.util.logging.LogRecord;
import java.util.logging.Level;

public class TestMain {
public static void main(String args[]){
try {
FileHandler handler = new FileHandler("mytestlog.log",false);
handler.publish(new LogRecord(Level.INFO,"some interesting stuff"));
handler.flush();
// Closing crashes OS
handler.close();
} catch (Exception e) {
System.out.println(""+e);
}
}
}

Compiling and running the above class with the -d64 option crashes and reboots the system (at least on our system).

Any help would be appreciated.
3 REPLIES 3
melvyn burnard
Honored Contributor
Solution

Re: Java application crashing zx6000 wtih HP_UX B.11.23

If hte system is panicing, what type of panic?
what does /etc/shutdownlog say?
does it create a dump in /var/adm/crash? if so get a cal logged with your local HP Response Centre and have it analysed.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
M Stellinga
New Member

Re: Java application crashing zx6000 wtih HP_UX B.11.23

I don't usually work on a HP_UX so I had trouble finding the crash dumps and shutdown logs before.

The shutdown log states 'Reboot after panic: post_hndlr(): Unresolved kernel interruption'.
I'll contact our local HP Response Centre with the crash dump.

Thans very much for the help.
melvyn burnard
Honored Contributor

Re: Java application crashing zx6000 wtih HP_UX B.11.23

Seems you may have a new known problem.
When logging the call, It may be worthwhile mentioning SR 8606337213
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!