I am facing a serious problem while deploying the spring based application.
Ant build successfully creates the ear file. Even there is no compilation error seen in Eclipse. All the required jars are added.
But after deploying when I click 'Start-->Servicing All Request' I get the following error: "java.lang.ClassNotFound: com.xxx...(class name of my application)
Following is the stack trace i took from console:
<Dec 3, 2008 3:12:57 AM EST>
<Error> <Deployer> <BEA-149265> <Failure occured in
the execution of deployment request with ID '1228291968273' for task '4'. Error
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:894)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException:
com.***.systemmgmt.logging.SysMgmtLogManager
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<Dec 3, 2008 3:12:57 AM EST>
<Error> <Deployer> <BEA-149202> <Encountered an exc
eption while attempting to commit the 7 task for the application 'Path4LogonApp'
.>
<Dec 3, 2008 3:12:57 AM EST> <Warning> <Deployer> <BEA-149004> <Failures were de
tected while initiating start task for application 'Path4LogonApp'.>
<Dec 3, 2008 3:12:57 AM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for
message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:894)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException:
com.***.systemmgmt.logging.SysMgmtLogManager
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:286)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:259)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
Any idea what is the reason? I tried by checking all the jars so that there should be no conflict..
I see that weblogic's Generic Class loader is not able to load the class. I checked it in my ear file but the required is present. Still it is not able to locate the file.
Thanks
Manish