Re: Unexpected JVM crash, assistance requested

Matt Pryor <pryor-vppm1TVqICDMoOGh6ywv9JxocPoXdSqV0E9HWUfgJXw@public.gmane.org>
Newsgroups gmane.comp.lang.as400.java
Message-ID <CABpRBabe_ydChjt7wLzGc3CkZr8Zv8qXGmXZbxcR=bWKLc+8nw@mail.gmail.com>
Hi Steve

Thanks for your reply.

Java is started via a CLP, this is the section that calls it:

JAVA       +
            CLASS('com.internationalpresence.impscloudg+
            ateway.CloudQ') PARM(&DRIVER &INTERNET +
            &PRODLIB &CLDFLR &TYPE &ENV &HOSTIP +
            &CLDSSL &LOGTYP) CLASSPATH(*ENVVAR) +
            CHKPATH(*IGNORE) PROP((java.version &JVM) +
            (java.awt.headless true) +
            (os400.awt.native true) +
            (com.ibm.cacheLocalHost true) +
            (java.net.preferIPv4Stack &IP4) +
            (java.net.preferIPv6Addresses &IP6)) +
            OPTION(&OPT) OUTPUT(*PRINT)

The program runs for several hours or days before the JVM crashes. We have
a 2 gb dump file and also a java core text file which shows all the threat
stack traces etc.

All Java call stacks available show threads to either be in a wait state,
or a sleep state, or a socket read or accept state with the exception of
the following:

1)
4XESTACKTRACE                at
com/ibm/misc/SignalDispatcher.waitForSignal(Native Method)
4XESTACKTRACE                at
com/ibm/misc/SignalDispatcher.run(SignalDispatcher.java:73)

2)
4XESTACKTRACE                at
com/ibm/tools/attach/target/IPC.waitSemaphore(Native Method)
4XESTACKTRACE                at
com/ibm/tools/attach/target/CommonDirectory.waitSemaphore(CommonDirectory.java:251)

3)
4XESTACKTRACE                at
com/ibm/lang/management/internal/MemoryNotificationThread.processNotificationLoop(Native
Method)
4XESTACKTRACE                at
com/ibm/lang/management/internal/MemoryNotificationThread.run(MemoryNotificationThread.java:185)

In case it's any use to you I've uploaded the java core text file to

http://www.international-presence.com/software/matt_transfer/javacore.20181104.102029.215708.0002.txt

TLXDRIVER is the user profile that the CL program runs as, which should
belong to *SYSOPR user group and have special authority for *ALLOBJ,
*JOBCTL, *SECADM, *SPLCTL

I will ask the customer to check on authority for QJVACMDSRV *pgm.

Many thanks
Matt




>    1. Re: Unexpected JVM crash, assistance requested
>       (Steve Hinrichs via JAVA400-L)
>
>
> ----------------------------------------------------------------------
>
> message: 1
> date: Tue, 13 Nov 2018 19:09:50 +0000
> from: Steve Hinrichs via JAVA400-L <java400-l-Zwy7GipZuJhWk0Htik3J/[email protected]>
> subject: Re: Unexpected JVM crash, assistance requested
>
> How is the java process started, from RPG, RUNJVA, QSH?
> Is their any call stack or is it failing right away?
> What is the class/method being called?
> What authority does the user have that is running the java process, maybe
> try QSECOFR.
>
> I would check authority and existence of QJAVA/QJVACMDSRV *pgm.
> What is TLXDRIVER?  A user profile?  Searching for TLXDRIVER I find 2
> items related to user profiles.
>
> Steve
>
>
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.