I encountered a strange error this weekend whilst installing multiple fix packs across numerous WAS systems. Despite installing these fixes numerous times, this error only occurred on one system.
I was upgrading from WAS 6.1.0.21 to 6.1.0.27 - that included WAS, SDK, IHS and Plugin fixes.
After installing the fix packs when I restarted the server I got the following error:
WMSG1603E: An internal error occurred. It was not possible to register the WebSphere MQ JMS client with the application serve
r due to exception org.osgi.framework.BundleException: An error occurred trying to read the bundle
followed by a java stack which included the following:
WMSG1603E: An internal error occurred. It was not possible to register the WebSphere MQ JMS client with the application serve
r due to exception org.osgi.framework.BundleException: An error occurred trying to read the bundle
A quick search and the reason was obvious. This WAS system does not run as root but when I checked the file permissions on the org.osgi.framework bundles in {WAS_INSTALL_DIR}/profiles/{PROFILE_NAME}/configuration the bundle in question was owned by root:
drwxr-x--- 2 wasadm wasadm 256 07 Feb 10:25 org.eclipse.update
drwxr-xr-x 4 root system 256 07 Feb 10:26 org.eclipse.osgi
drwxr-x--- 3 wasadm wasadm 256 04 Jan 11:24 org.eclipse.core.runtime
A quick change of permissions on the directory and all sub directories followed by a restart and everything came up fine.
Sunday, 7 February 2010
Subscribe to:
Post Comments (Atom)
hi can you give me instructions on how to check the file permissions? thanks for your help!
ReplyDeleteHi Deaner
ReplyDeleteI was running on unix so it was a simple case of running ls -l against the directories.
If you are runing on windows I guess it would mean you have to right click the files then check the security settings for each
THANK YOUUU !! YOU SAVED MY JOB HEHEHE
ReplyDeleteHa ha! Glad the post was of use to you.
ReplyDeleteI guess you owe me a beer now!
That was really helpful !
ReplyDeleteAwesome , It saved a lot of trouble ..
ReplyDeleteThank you