Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running WSAD5.0 Test Application Server for EJB Application

 
Rajiv Gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to test my enterprise application containing EJBs and web components on the WSAD 5.0 Test Environment. Although I have specified the following jars
\aes_v4_jars\lib\ejbcontainer.jar
\aes_v4_jars\lib\websphere.jar
\aes_v4_jars\lib\csicpi.jar
\aes_v4_jars\lib\ivjejb35.jar
\aes_v4_jars\lib\webcontainer.jar
and others....
in the ws.ext.dirs location on 'Paths' tab of Server COnfiguration, I am getting this error -
[2/26/03 12:34:19:781 GMT+05:30] 18591b0a WebGroup I SRVE0180I: [LehmanWeb] [/LehmanWeb] [Servlet.LOG]: JSP 1.2 Processor: init
[2/26/03 12:34:19:891 GMT+05:30] 18591b0a WebGroup I SRVE0180I: [LehmanWeb] [/LehmanWeb] [Servlet.LOG]: SimpleFileServlet: init
[2/26/03 12:34:19:984 GMT+05:30] 18591b0a WebGroup I SRVE0180I: [LehmanWeb] [/LehmanWeb] [Servlet.LOG]: InvokerServlet: init
[2/26/03 12:34:22:016 GMT+05:30] 18591b0a EJBContainerI I WSVR0207I: Preparing to start EJB jar: LehmanEJB.jar
[2/26/03 12:34:22:953 GMT+05:30] 18591b0a BeanMetaData E CNTR0075E: The user-provided class "com.tcs.fig.gci.communicationcontrol.ejb.EJSStatelessRecordDetailsXMLDataAccessHomeBean" needed by the EnterpriseBean could not be found or loaded.
[2/26/03 12:34:23:000 GMT+05:30] 18591b0a EJBContainerI E WSVR0209E: Unable to prepare EJB jar LehmanEJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.SessionImpl(com_tcs_fig_gci_communicationcontrol_ejb_RecordDetailsXMLDataAccess) (transactionType: Container, sessionType: Stateless)
java.lang.NoClassDefFoundError: com/ibm/ejs/container/EJSHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.access$400(URLClassLoader.java(Inlined Compiled Code))
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:43)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:39)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:246)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:76)
at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2247)
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:826)
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:928)
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:755)
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1465)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:333)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:232)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)

I know that the com/ibm/ejs/container/EJSHome class is there in the supplied jars. Can someone please suggest where I am going wrong???
TIA
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic