Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error in Deploying EJB in WAS3.5

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
------------------
 
Did you miss me? Did you miss this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic