This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Weblogic 9.2 Deployment Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 9.2 Deployment Error" Watch "Weblogic 9.2 Deployment Error" New topic
Author

Weblogic 9.2 Deployment Error

Manish Shah
Greenhorn

Joined: Jun 09, 2002
Posts: 22
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


SCBCD5, SCWCD, SCJP, MCP
uma thatik
Greenhorn

Joined: Dec 22, 2008
Posts: 1
Hi manish

i am also facing the same problem. have you resolved the issue if could you explain how to do.

Thanks
Uthatik
Rohit Bhagwat
Ranch Hand

Joined: Dec 19, 2004
Posts: 205
Please re-verify your classpath entries. ClassNotFoundException occurs when the container is unable to find the class in the classpath.
zhang song
Greenhorn

Joined: Dec 23, 2008
Posts: 1
I think that your classpath is error
Hasrouni Wiam
Greenhorn

Joined: Nov 02, 2011
Posts: 2
Hello all ....
I Am facing the same error when starting a specified application.
How can we solve this problem ??? i think its not a problem related to the application
server because the same application with a different version was started normally.
Thanks,
Wiam
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Weblogic 9.2 Deployment Error
 
Similar Threads
Error using Primefaces with Weblogic 10.3.3
jsfcookmenu problem
java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2 on weblogic server stop
Hibernate generate timestamp on create and update
ADF life cycle, versioning error