search cancel

JVMSHRC020E An error has occurred while opening semaphore

book

Article ID: 230009

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

During the startup of the tomcat I received following error messages:

JVMSHRC020E An error has occurred while opening semaphore
JVMSHRC336E Port layer error code = -197360
JVMSHRC337E Platform error message: semget : EDC5129I No such file or directory. 
   Commenting out #IJO="$IJO -Xshareclasses:name=cache1_%u"  from the TOMSVXML member seemed to clear the problem

  • Any idea of the cause? 
  • Can I leave the settings as they are now? 

 

 

Environment

Release : 15.0

Component : TOMZOS (Tomcat) 

Cause

Possible errors from interaction in the shared memory. 

Resolution

As stated, commenting out the #IJO="$IJO -Xshareclasses:name=cache1_%u" statement in the TOMSVXML
member seemed to clear the problem.   

By default, CCS Apache Tomcat has the -Xshareclasses option to improve performance.  CCS Apache Tomcat should be able to run under the same USER ID with any cache name.  It does not specifically have to be "cache_%1u" .

Additional Information

See the IBM explanation, possible causes, and resolutuion of the JVMSHRC020E message.