Tag Archives: error

Registering WebSphere MQ JMS client with the application server due to exception

Websphere MQ JMS Client registering error on the application start up

Error:
[8/31/13 22:04:57:897 BST] 0000000e JMSRegistrati E   WMSG1603E: An internal error occurred. It was not possible to register the WebSphere MQ JMS client with the application server due to exception org.osgi.framework.BundleException: An error occurred trying to read the bundle
	at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
	at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:823)
	at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:739)
	at java.security.AccessController.doPrivileged(AccessController.java:241)
	at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:790)
	at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:221)
	at com.ibm.ejs.jms.JMSRegistration.installBundle(JMSRegistration.java:860)
	at com.ibm.ejs.jms.JMSRegistration.destroy(JMSRegistration.java:1031)
	at com.ibm.ws.runtime.component.ContainerImpl.destroyComponents(ContainerImpl.java:1070)
	at com.ibm.ws.runtime.component.ContainerImpl.destroy(ContainerImpl.java:662)
	at com.ibm.ws.runtime.component.ServerImpl.destroy(ServerImpl.java:480)
	at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.run(ServerCollaborator.java:688)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4276)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4373)
	at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run(ServerCollaborator.java:677)
	at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm(ServerCollaborator.java:641)
	at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:91)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1593)
Caused by: java.io.IOException: The directory "/usr/websphere6/was61_A2/AppServer/configuration/org.eclipse.osgi/bundles/65/1" could not be created
	at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:68)
	... 18 more

Solution

Check the permissions on the file system for “org.eclipse.osgi” and
make sure the ownership is set to the “wasdmin”.
this should resolve this error.


Eclipse internal Error – .fileTableLock access is denied

Error / Problem:
Eclipse internal Error – .fileTableLock access is denied

Stack Trace/Error Log:

!ENTRY org.eclipse.osgi 4 0 2013-08-21 15:00:19.904
!MESSAGE Error reading configuration: C:\Apps\IBM\SDP70\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is denied.)
!STACK 0
java.io.FileNotFoundException: C:\Apps\IBM\SDP70\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is denied.)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Unknown Source)
at org.eclipse.osgi.storagemanager.StorageManager.lock(Unknown Source)
at org.eclipse.osgi.storagemanager.StorageManager.open(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(Unknown Source)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(Unknown Source)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Unknown Source)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Unknown Source)
at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(Unknown Source)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.eclipse.core.launcher.Main.run(Unknown Source)
at org.eclipse.core.launcher.Main.main(Unknown Source)

Solution: I solved this problem by modifying the parent directory “SDP70″ permissions, to allow all users read/write access.

Also, I found the below useful link on the IBM Support  http://www-01.ibm.com/support/docview.wss?uid=swg21599845