Error Description:
|
create-profile:
[echo] create-profile (ibm): Started [echo] There is no profile named: mda2014 in /qa-deploy/ca-was/ca2014/was85_0212-084533/MDA/profile-root [echo] Creating this mda2014 profile [exec] Creating Profile mda2014 under /qa-deploy/ca-was/ca2014/was85_0212-084533/MDA/profile-root [exec] /data/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName mda2014 -profilePath /qa-deploy/ca-was/ca2014/was85_0212-084533/MDA/profile-root/mda2014 -templatePath /data/IBM/WebSphere/AppServer/profileTemplates/default -cellName mda2014Cell -startingPort 14030 [exec] JVMSHRC226E Error opening shared class cache file [exec] JVMSHRC336E Port layer error code = -300 [exec] JVMSHRC337E Platform error message: Read-only file system [exec] JVMJ9VM015W Initialization error for library j9shr26(11): JVMJ9VM009E J9VMDllMain failed [exec] Error: Could not create the Java Virtual Machine. [exec] Error: A fatal exception has occurred. Program will exit. [exec] ERROR # 1 : Unable to create profile |
The shared class cache is designed for ease of cache management and usability, but the default security policy might not be appropriate.
When using the shared class cache, you must be aware of the default permissions for new files so that you can improve security by restricting access.
File | Default permissions |
---|---|
new shared caches | read permissions for group and other |
javasharedresources directory | world read, write, and execute permission |
You require write permission on both the cache file and the cache directory to destroy or grow a cache.
Changing the file permissions on the cache file
To limit access to a shared class cache, you can use the chmod command.
Change required | Command |
---|---|
Limit access to the user and group | chmod 770 /tmp/javasharedresources |
Limit access to the user | chmod 700 /tmp/javasharedresources |
Limit the user to read and write access only for a particular cache | chmod 600 /tmp/javasharedresources/<file for shared cache> |
Limit the user and group to read and write access only for a particular cache | chmod 660 /tmp/javasharedresources/<file for shared cache> |
Other Way to fix this is :-
JVMSHRC226E
Error opening shared class cache file
Explanation
An error has occurred during shared class processing.
System action
The JVM ends, unless you have specified the nonfatal option with -Xshareclasses:nonfatal, in which case the JVM continues without using shared classes.