Topic
No replies
Sourabh2182
Sourabh2182
1 Post
ACCEPTED ANSWER

Pinned topic SRVE0015E: Failure to initialize Web application in WAS 5.1

‏2010-09-24T13:08:46Z |
Hi,

I am using RAD 6 and websphere application server 5.1 to run my applcation.
My application comprised of many projects, there is a plugin utility which after compilation merge all this projects in a single project named as Unified. I have compiled all the projects successfully and when i tried to run the project by adding it to server i got below mentioned exception and my application gets stopped.

I added two projects on server one us "UnifiedUI" and the other is "UnifiedServices".
UnifiedServices is using EJB and UnifiedUI is a web module.

Any help would be very much be appreciated.

Exception:

9/24/10 15:33:08:986 IST 371ebe14 ApplicationMg A WSVR0221I: Application started: adminconsole
9/24/10 15:33:08:986 IST 371ebe14 ApplicationMg A WSVR0200I: Starting application: IBMUTC
9/24/10 15:33:13:546 IST 371ebe14 WebContainer A SRVE0169I: Loading Web Module: Universal Test Client.
9/24/10 15:33:13:671 IST 371ebe14 WebGroup I SRVE0180I: Universal Test Client [/UTC] http://Servlet.LOG: JSP 1.2 Processor: init
9/24/10 15:33:13:687 IST 371ebe14 WebGroup I SRVE0180I: Universal Test Client [/UTC] http://Servlet.LOG: SimpleFileServlet: init
9/24/10 15:33:13:687 IST 371ebe14 ApplicationMg A WSVR0221I: Application started: IBMUTC
9/24/10 15:33:13:702 IST 371ebe14 ApplicationMg A WSVR0200I: Starting application: unifiedUIEAR
9/24/10 15:33:13:999 IST 371ebe14 WebContainer A SRVE0169I: Loading Web Module: unified.war.
9/24/10 15:33:14:436 IST 371ebe14 ComponentName W CNTR0076W: A reference to an ResourceRef could not be found in the deployment descriptor for the WebApp or EnterpriseBean with the display name "unified.war".
9/24/10 15:33:14:452 IST 371ebe14 ComponentName W CNTR0076W: A reference to an ResourceRef could not be found in the deployment descriptor for the WebApp or EnterpriseBean with the display name "unified.war".
9/24/10 15:33:14:452 IST 371ebe14 ComponentName W CNTR0076W: A reference to an ResourceRef could not be found in the deployment descriptor for the WebApp or EnterpriseBean with the display name "unified.war".
9/24/10 15:33:15:514 IST 371ebe14 WebApp E SRVE0015E: Failure to initialize Web application unified.war
9/24/10 15:33:15:545 IST 371ebe14 WebGroup E SRVE0054E: An error occurred while loading Web application
9/24/10 15:33:15:561 IST 371ebe14 DeployedAppli W WSVR0206E: Module, unified.war, of application, unifiedUIEAR.ear/deployments/unifiedUIEAR, failed to start
9/24/10 15:33:15:561 IST 371ebe14 ApplicationMg W WSVR0101W: An error occurred starting, unifiedUIEAR
9/24/10 15:33:15:623 IST 371ebe14 ApplicationMg A WSVR0217I: Stopping application: unifiedUIEAR
9/24/10 15:33:15:639 IST 371ebe14 ApplicationMg A WSVR0220I: Application stopped: unifiedUIEAR
9/24/10 15:33:15:639 IST 371ebe14 ApplicationMg A WSVR0200I: Starting application: unifiedServicesEAR
9/24/10 15:33:15:686 IST 371ebe14 EJBContainerI I WSVR0207I: Preparing to start EJB jar: accelEJB.jar
9/24/10 15:33:15:779 IST 371ebe14 BeanMetaData E CNTR0075E: The user-provided class "com.rrr.rr.rr.rr.SystemAccessBean" needed by the EnterpriseBean could not be found or loaded.
9/24/10 15:33:15:982 IST 371ebe14 EJBContainerI E WSVR0209E: Unable to prepare EJB jar accelEJB.jar http://class com.ibm.ws.runtime.component.DeployedModuleImpl, enterprise bean com.ibm.etools.ejb.impl.SessionImpl(SystemAccess) (transactionType: Bean, sessionType: Stateless)

java.lang.NoClassDefFoundError: Error while defining class: com.com.rrr.rr.rr.rr.SystemAccessBean
This error indicates that the class: com.rrr.rr.rr.rr.SystemAccessBase
could not be located while defining the class: com.rrr.rr.rr.rr.SystemAccessBean
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
  • indicates classloader where the missing class could have been found*
==>[0]

com.ibm.ws.classloader.CompoundClassLoader@377e15
Local ClassPath: C:\Workspaces\AccelUnification\accelEJB\ejbModule;C:\Workspaces\AccelUnification\accelEJB\fscattr.jar;C:\Workspaces\AccelUnification\accelEJB\fscsa.jar;C:\Workspaces\AccelUnification\accelEJB\fscservice.jar;C:\Workspaces\AccelUnification\accelEJB\fscsess.jar;C:\Workspaces\AccelUnification\accelEJB\fscom.jar;C:\Workspaces\AccelUnification\accelEJB\accelClient.jar;C:\Workspaces\AccelUnification\unifiedServicesEAR\accelServices.jar;C:\Workspaces\AccelUnification\unifiedServicesEAR\accelVO.jar;C:\Workspaces\AccelUnification\claimsServices\bin;C:\Workspaces\AccelUnification\claimsServices\fscom.jar;C:\Workspaces\AccelUnification\claimsServices\fscsa.jar;C:\Workspaces\AccelUnification\claimsServices\fscservice.jar;C:\Workspaces\AccelUnification\claimsServices\accelservices.jar;C:\Workspaces\AccelUnification\claimsServices\accelvo.jar;C:\Workspaces\AccelUnification\claimsServices\claimsvo.jar;C:\Workspaces\AccelUnification\claimsVO\bin;C:\Workspaces\AccelUnification\claimsVO\accelvo.jar;C:\Workspaces\AccelUnification\accelEJB\fsccore.jar;C:\Workspaces\AccelUnification\contactServices\bin;C:\Workspaces\AccelUnification\contactServices\fsccore.jar;C:\Workspaces\AccelUnification\contactServices\accelvo.jar;C:\Workspaces\AccelUnification\contactServices\fscattr.jar;C:\Workspaces\AccelUnification\contactVO\bin;C:\Workspaces\AccelUnification\customerServices\bin;C:\Workspaces\AccelUnification\customerVO\bin;C:\Workspaces\AccelUnification\policyServices\bin;C:\Workspaces\AccelUnification\policyServices\fscom.jar;C:\Workspaces\AccelUnification\policyServices\fscsa.jar;C:\Workspaces\AccelUnification\policyServices\fscservice.jar;C:\Workspaces\AccelUnification\policyServices\accelservices.jar;C:\Workspaces\AccelUnification\policyServices\accelvo.jar;C:\Workspaces\AccelUnification\policyServices\csavo.jar;C:\Workspaces\AccelUnification\policyVO\bin;C:\Workspaces\AccelUnification\accelEJB\fscra.jar;C:\Workspaces\AccelUnification\policyModel\bin;C:\Workspaces\AccelUnification\workflowServices\bin;C:\Workspaces\AccelUnification\workflowServices\fsccore.jar;C:\Workspaces\AccelUnification\workflowServices\accelvo.jar;C:\Workspaces\AccelUnification\workflowServices\fscattr.jar;C:\Workspaces\AccelUnification\workflowVO\bin;C:\Workspaces\AccelUnification\bpoCommonServices\bin;C:\Workspaces\AccelUnification\bpoCommonServices\fscom.jar;C:\Workspaces\AccelUnification\bpoCommonServices\fscsa.jar;C:\Workspaces\AccelUnification\bpoCommonServices\fscservice.jar;C:\Workspaces\AccelUnification\bpoCommonServices\accelservices.jar;C:\Workspaces\AccelUnification\bpoCommonServices\accelvo.jar;C:\Workspaces\AccelUnification\bpoCommonServices\claimsvo.jar;C:\Workspaces\AccelUnification\bpoPolicyServices\bin;C:\Workspaces\AccelUnification\bpoCommonVO\bin;C:\Workspaces\AccelUnification\bpoPolicyVO\bin;C:\Workspaces\AccelUnification\bpoClaimsServices\bin;C:\Workspaces\AccelUnification\consoleVO;C:\Workspaces\AccelUnification\bpoClaimsVO\bin;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.ExtJarClassLoader@1753529877 Local ClassPath: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\lib\app; Delegation Mode: PARENT_LAST
[2] com.ibm.ws.classloader.ProtectionClassLoader@6329be15
[3] com.ibm.ws.bootstrap.ExtClassLoader@3714be14
[4] sun.misc.Launcher$AppClassLoader@370b7e14
[5] sun.misc.Launcher$ExtClassLoader@370f7e14
---Original exception---
java.lang.NoClassDefFoundError: com/rrr/rr/rr/SystemAccessBase

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 com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)*
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))*
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)*
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))*
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:894)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1019)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:811)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1556)*
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:350)*
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)*
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)*
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)*
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
at java.lang.reflect.Method.invoke(Method.java:391)*
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)*
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:92)*

  • end Original exception----
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:473)*
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))*
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)*
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))*
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:894)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1019)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:811)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1556)*
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:350)*
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)*
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)*
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)*
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
at java.lang.reflect.Method.invoke(Method.java:391)*
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)*
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:92)*

9/24/10 15:33:16:123 IST 371ebe14 BeanMetaData E CNTR0075E: The user-provided class "com.rrr.rr.rr.rr.ServiceControllerLocal" needed by the EnterpriseBean could not be found or loaded.
9/24/10 15:33:16:123 IST 371ebe14 EJBContainerI E WSVR0209E: Unable to prepare EJB jar accelEJB.jar http://class com.ibm.ws.runtime.component.DeployedModuleImpl, enterprise bean com.ibm.etools.ejb.impl.SessionImpl(ServiceController) (transactionType: Bean, sessionType: Stateless)

java.lang.NoClassDefFoundError: com/rrr/rr/UserSessionKey

at java.lang.Class.getDeclaredMethods0(Native Method)*
at java.lang.Class.privateGetDeclaredMethods(Class.java(Compiled Code))*
at java.lang.Class.privateGetPublicMethods(Class.java:1911)*
at java.lang.Class.getMethods(Class.java:909)*
at com.ibm.ejs.container.util.DeploymentUtil.getMethods(DeploymentUtil.java:124)*
at com.ibm.ejs.container.BeanMetaData.initializeBeanMethods(BeanMetaData.java:1542)*
at com.ibm.ejs.container.BeanMetaData.completeInitialization(BeanMetaData.java:1379)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1020)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:811)*
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1556)*
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:350)*
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)*
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)*
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)*
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)*
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)*
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)*
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)*
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
at java.lang.reflect.Method.invoke(Method.java:391)*
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)*
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:92)*

9/24/10 15:33:16:138 IST 371ebe14 DeployedAppli W WSVR0206E: Module, accelEJB.jar, of application, unifiedServicesEAR.ear/deployments/unifiedServicesEAR, failed to start
9/24/10 15:33:16:185 IST 371ebe14 ApplicationMg W WSVR0101W: An error occurred starting, unifiedServicesEAR
9/24/10 15:33:16:185 IST 371ebe14 ApplicationMg A WSVR0217I: Stopping application: unifiedServicesEAR
9/24/10 15:33:16:201 IST 371ebe14 ApplicationMg A WSVR0220I: Application stopped: unifiedServicesEAR