This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JVM Shared Class cache issue WAS9

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We had three WAS (v9.0.0.7) application servers running on an As400 iSeries box. A standard Java web application is installed on these servers.
They run under the same profile which is QEJBSVR.
Recently we added another instance which also runs under user profile QEJBSVR.
We noted that the application hung couple of times.
The error message which we got on the job log was:

Object domain or storage protection error for offset X'0000000000000010'
 in object nameofourprofile   597315.                                
  Message ID . . . . . . :   MCH6801       Severity . . . . . . . :   40      
Message type . . . . . :   Escape                                            
Date sent  . . . . . . :   dd/mm/yy      Time sent  . . . . . . :   hh:mm:ss
                                                                             
Message . . . . :   Object domain or storage protection error for offset    
  X'0000000000000010' in object IMAESTRONGQEJBSVR   597315.                  
Cause . . . . . :   A program tried to use a blocked instruction, access a  
  system domain object, or make invalid use of a protected page. The violatio
  type is 4. The violation type indicates the type of error:                
    1-Object domain violation.                                              
    2-Test Pointer Target Addressability (TESTPTA) violation.                
    3-Read protection error.                                                
    4-Write protection error.                                                
    5-Execute protection error.                                              
    The space class is X'08'. The space class designates the type of space fo
  a storage protection error or TESTPTA violation for a space pointer:      


This article indicates that there could be an issue with permission

Googling this led us to:
https://www-01.ibm.com/support/docview.wss?uid=nas8N1012715

This indicates that as there are multiple JVMs being loaded for each of the servers, they all share the same class cache and it is possible that one of them is running under  a different user profile.
Due to this there could be an issue with permission on reading/writing to the cache.
However we are sure that all these servers run under the same user profile - so not sure what is causing the permission issue.
Could it be that it is running out of memory?
or do we allocate different class caches for each server?

any help will be beneficial.

thanks,
Saf
 
Saloon Keeper
Posts: 3948
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a guess, maybe disable class cache:

https://www.ibm.com/support/knowledgecenter/en/SSEQTP_9.0.0/com.ibm.websphere.base.doc/ae/urun_rconfproc_jvm.html

-Xshareclasses:none



Also make sure manually clear cache after that:

https://www-01.ibm.com/support/docview.wss?uid=swg21607887
 
Mikalai Zaikin
Saloon Keeper
Posts: 3948
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if iSeries does not support this flag, run java help on iSeries JDK to check similar setting for this platform.
 
grapes are vegan food pellets. Eat this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic