aspose file tools*
The moose likes Websphere and the fly likes Error in Deploying EJB in WAS3.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error in Deploying EJB in WAS3.5" Watch "Error in Deploying EJB in WAS3.5" New topic
Author

Error in Deploying EJB in WAS3.5

Purnendu Hota
Greenhorn

Joined: Jul 15, 2001
Posts: 3
Hi
I have created a jar mainly consisting of Session Bean, now ehn I am trying to install it in websphere 3.5, it is giving the folloing error. PLEASE HELP.

Exception:
java.lang.NullPointerException
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:119)
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:101)
at com.ibm.ejs.util.jar.ClasspathManager.addJarFile(ClasspathManager.java:95)
at com.ibm.ejs.sm.active.ActiveFileBrowserService.listFiles(ActiveFileBrowserService.java:261)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:474)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgent_Stub.invokeActiveObject(Unknown Source)
at com.ibm.ejs.sm.beans.ServiceBaseImpl.invokeActiveObject(ServiceBaseImpl.java:50)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.invoke(FileBrowserServiceBean.java:254)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.listFiles(FileBrowserServiceBean.java:163)
at com.ibm.ejs.sm.beans.EJSRemoteFileBrowserService.listFiles(EJSRemoteFileBrowserService.java:197)
at com.ibm.ejs.sm.beans._EJSRemoteFileBrowserService_Tie._invoke(Unknown Source)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source)
at com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:528)
com.ibm.ejs.sm.exception.DeploymentException: java.lang.NullPointerException
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:119)
at com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors(EJBJar.java:101)
at com.ibm.ejs.util.jar.ClasspathManager.addJarFile(ClasspathManager.java:95)
at com.ibm.ejs.sm.active.ActiveFileBrowserService.listFiles(ActiveFileBrowserService.java:261)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:474)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:115)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgent_Stub.invokeActiveObject(Unknown Source)
at com.ibm.ejs.sm.beans.ServiceBaseImpl.invokeActiveObject(ServiceBaseImpl.java:50)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.invoke(FileBrowserServiceBean.java:254)
at com.ibm.ejs.sm.beans.FileBrowserServiceBean.listFiles(FileBrowserServiceBean.java:163)
at com.ibm.ejs.sm.beans.EJSRemoteFileBrowserService.listFiles(EJSRemoteFileBrowserService.java:197)
at com.ibm.ejs.sm.beans._EJSRemoteFileBrowserService_Tie._invoke(Unknown Source)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source)
at com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:528)

--------
com.ibm.ejs.sm.client.ClientException: Exception occurred
at com.ibm.ejs.sm.client.ClientException.<init>(ClientException.java:41)
at com.ibm.ejs.sm.client.ExceptionManager.handleExc(ExceptionManager.java:75)
at com.ibm.ejs.sm.client.ui.editor.JarFileGUI.getJarFileChoice(JarFileGUI.java:467)
at com.ibm.ejs.sm.client.ui.editor.JarFileGUI.<init>(JarFileGUI.java:287)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet.handleJarBrowsing(EnterpriseBeanPropertySheet.java:1172)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet.access$5(EnterpriseBeanPropertySheet.java:1099)
at com.ibm.ejs.sm.client.ui.editor.EnterpriseBeanPropertySheet$PropertySheetListener.actionPerformed(EnterpriseBeanPropertySheet.java:1411)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1068)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1103)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:380)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:252)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:222)
at java.awt.Component.processMouseEvent(Component.java:3169)
at java.awt.Component.processEvent(Component.java:3008)
at java.awt.Container.processEvent(Container.java:995)
at java.awt.Component.dispatchEventImpl(Component.java:2319)
at java.awt.Container.dispatchEventImpl(Container.java:1026)
at java.awt.Component.dispatchEvent(Component.java:2315)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2050)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1834)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1737)
at java.awt.Container.dispatchEventImpl(Container.java:1026)
at java.awt.Window.dispatchEventImpl(Window.java:764)
at java.awt.Component.dispatchEvent(Component.java:2315)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:359)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:118)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

Thomas Michaux
Greenhorn

Joined: Sep 07, 2001
Posts: 1
Hello,
I got the same problem with WS35 when adding enterprise beans from a "DeployejJAR" made with VAJ :
com.ibm.ejs.util.jar.EJBJar.loadDeploymentDescriptors
...
This problems is really new, I mean that the beans were always loaded correctly from the jar.
We are in developping stage and were importing frequently newest version of the generated jar from our project in WS35.
It always worked correctly : stopping the application server, deleting the beans, then the jar file, replacing with the new jar file, adding the beans and restarting the application, even sometimes the server itself.
And then one day WS refused to open the jar generated with VAJ.
Any idea ??
Thanks in advance
Thomas.
------------------
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in Deploying EJB in WAS3.5