Hibernate version: 2.1.7
Full stack trace of any exception that occurs:
[12/19/04 20:01:26:484 CST] 4e91ebce EJBContainerI E WSVR0040E: addEjbModule failed for TEST_EJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1321)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:984)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:907)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:886)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1255)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:988)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1462)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:126)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
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:97)
Name and version of the database you are using: Oracle 10g
I follow the post to setup my envirnoment:
http://forum.hibernate.org/viewtopic.ph ... ad+example
I am using WSAD Integration edition 5.1.2, SLSB 2.0, and portal toolkit 5.0.2.3
Classloader of EAR setted to "PARENT_FIRST", and get the above error
if I set the classloader of EAR to "PARENT_LAST" the logger inside hibernate cannot be initialize.
Can anyone figure out the problem? Thanks.