Re: Unexpected JVM crash, assistance requested

Matt Pryor <pryor-pShvp1n0/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
Hi David

Customer tells me they are on 7.3.

Thanks
Matt

Sent from my iPhone

> On 12 Nov 2018, at 18:00, java400-l-request-Zwy7GipZuJhWk0Htik3J/[email protected] wrote:
> 
> Send JAVA400-L mailing list submissions to
>    java400-l-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.midrange.com/mailman/listinfo/java400-l
> or, via email, send a message with subject or body 'help' to
>    java400-l-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> You can reach the person managing the list at
>    java400-l-owner-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JAVA400-L digest..."
> 
> 
> Today's Topics:
> 
>   1. RE: JDBC with Kerberos authentication? (Justin Taylor)
>   2. Unexpected JVM crash, assistance requested (Matt Pryor)
>   3. Re: Unexpected JVM crash, assistance requested (David Gibbs)
>   4. Domino HTTPJVMMaxHeapSize (Rob Berendt)
> 
> 
> ----------------------------------------------------------------------
> 
> message: 1
> date: Mon, 12 Nov 2018 13:47:29 +0000
> from: Justin Taylor <[email protected]>
> subject: RE: JDBC with Kerberos authentication?
> 
> For posterity, here's my working sample https://github.com/Justin-E-Taylor/jt400_kerberos.
> 
> Thanks
> 
> 
> 
> ------------------------------
> 
> message: 2
> date: Mon, 12 Nov 2018 16:16:36 +0000
> from: Matt Pryor <pryor-vppm1TVqICDMoOGh6ywv9JxocPoXdSqV0E9HWUfgJXw@public.gmane.org>
> subject: Unexpected JVM crash, assistance requested
> 
> Hi there
> 
> JVM specifics below:
> 
> java version "1.8.0_181"
> 
> 
> Java(TM) SE Runtime Environment (build 8.0.5.20 -
> pap3280sr5fp20-20180802_01(SR5 FP20))
> 
> IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc-32-Bit 20180731_393394 (JIT
> enabled, AOT enabled)
> 
> 
> The JVM appears to crash with the following entry in the job log:
> 
> 
> Message . . . . :   Object domain or storage protection error for
> offset
>  X'00000000024941E0' in object QJVACMDSRVTLXDRIVER
> 907159.
> Cause . . . . . :   A program tried to use a blocked instruction, access
> a
>  system domain object, or make invalid use of a protected page. The
> violation
>  type is 3. The violation type indicates the type of error: 1-Object
> domain
>  violation. 2-Test Pointer Target Addressability (TESTPTA) violation.
> 3-Read
> 
>  protection error.
> 
> Has anyone experienced anything similar or able to point to any
> suggestions? Please let me know any other information I can provide.
> 
> Many thanks
> 
> 
> -- 
> Matt Pryor
> Software Developer
> 
> The International Presence Group of Companies
> EMAIL: pryor-pShvp1n0/[email protected]
> URL: www.International-presence.com
> 
> 
> ------------------------------
> 
> message: 3
> date: Mon, 12 Nov 2018 10:25:19 -0600
> from: David Gibbs <david-Zwy7GipZuJhWk0Htik3J/[email protected]>
> subject: Re: Unexpected JVM crash, assistance requested
> 
>> On 11/12/2018 10:16 AM, Matt Pryor wrote:
>> Message . . . . :   Object domain or storage protection error for 
>> offset X'00000000024941E0' in object QJVACMDSRVTLXDRIVER 907159. 
>> Cause . . . . . :   A program tried to use a blocked instruction,
>> access a system domain object, or make invalid use of a protected
>> page. The violation type is 3. The violation type indicates the type
>> of error: 1-Object
> 
> What OS version?
> 
> david
> 
> -- 
> David Gibbs
> midrange.com
> 
> IBM i on Power Systems: For when you can't afford to be out of business!
> 
> I'm riding 615 miles (Yes, you read that right) in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness.  You can make a tax deductible donation to my ride by visiting https://lsteml.diabetessucks.net.
> 
> See where I get my donations from ... visit https://lsteml.diabetessucks.net/map for an interactive map (it's a geeky thing).
> 
> I may have diabetes, but diabetes doesn't have me!
> 
> 
> ------------------------------
> 
> message: 4
> date: Mon, 12 Nov 2018 11:25:53 -0500
> from: Rob Berendt <[email protected]>
> subject: Domino HTTPJVMMaxHeapSize
> 
> I have a Java question about Domino.
> I have a notes.ini setting which works differently on one lpar than on 
> another.  I can understand the possibilities:  Memory differences, etc.
>> From the case:
> <snip>
> The default for os400 is 1G for all defaults so it is not clear on why we 
> got a 256 meg setting, the only way that could happen is if 
> HTTPJVMMaxHeapSize does not exist or cannot be found and the other JVM 
> setting for the Agent manager is set JavaMaxHeapSize=256, then 
> HTTPJVMMaxHeapSize will be set to the JavaMaxHeapSize.
> This setting is not touched if it already exists, if the setting does not 
> exist it will be initialized to something (either the default of 1 gig or 
> if JavaMaxHeapSize.is present then the value specified by JavaMaxHeapSize.
> With regard to the 4G setting failing, the reason for that is the JVM will 
> try and allocate the heap (4g) at startup, if it cannot allocate that much 
> memory then one will get a too large setting, the possibility is that the 
> OS400 JVM may be limited to 2 gig heap, one could try and specify 2148M 
> (instead of 2048) and see if that works, if that works then the issue will 
> be the JVM could not allocate a 4G heap.
> </snip>
> 
> Both lpars are IBM i 7.3 at same PTF levels.
> Both are Power 9's.  One is on a 41A and the other is on a 42A.  The 42A 
> works at 4G, the 41A only works at 2G.  Both lpars are setup for Domino. 
> QCTLSBSD = QBASE. 
> 
> DSPSYSSTS
> 
> 42A:
> Sys      Pool   Reserved    Max  ------DB-------  ----Non-DB-----
> Pool    Size M   Size M     Act  Faults    Pages  Faults    Pages
>  1    2217.94   1148.35  +++++       .0      .0       .0      .0
>  2   28467.86     12.14    393       .0      .0       .0     4.2
>  3    1645.16       .00     82       .0      .0      2.4     2.6
>  4      81.02       .00      5       .0      .0       .0      .0
> 
> 41A:
> System    Pool    Reserved    Max   -------DB-------  -----Non-DB-----
> Pool   Size (M)  Size (M)  Active  Faults     Pages  Faults     Pages
>   1     8102.97   1184.71   +++++       .0       .0       .0       .0
>   2    19086.12     16.43     373       .0       .0       .0       .0
>   3     4898.78       .00     163       .0       .0      4.0      5.2
>   4      324.11       .00       5       .0       .0       .0       .0
> 
> Is there some other Java setting I am missing?
> 
> 
> Rob Berendt
> -- 
> IBM Certified System Administrator - IBM i 6.1
> Group Dekko
> Dept 1600
> Mail to:  2505 Dekko Drive
>          Garrett, IN 46738
> Ship to:  Dock 108
>          6928N 400E
>          Kendallville, IN 46755
> http://www.dekko.com
> 
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> -- 
> This is the Java Programming on and around the IBM i (JAVA400-L) digest 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
> 
> 
> ------------------------------
> 
> End of JAVA400-L Digest, Vol 16, Issue 60
> *****************************************
-- 
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.