Win a copy of Java XML & JSON this week in the XML and Related Technologies forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JVM Shared Class cache issue WAS9  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Rancher
Posts: 3492
27
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 3492
27
  • Mark post as helpful
  • send pies
  • 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.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!