Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Weblogic 9.2 Deployment Error

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi manish

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

Thanks
Uthatik
 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please re-verify your classpath entries. ClassNotFoundException occurs when the container is unable to find the class in the classpath.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that your classpath is error
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
No holds barred. And no bars holed. Except this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!