my dog learned polymorphism*
The moose likes BEA/Weblogic and the fly likes Unable to start .ear application in Weblogic 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Unable to start .ear application in Weblogic 10.3" Watch "Unable to start .ear application in Weblogic 10.3" New topic
Author

Unable to start .ear application in Weblogic 10.3

Jeff Kw
Greenhorn

Joined: Nov 13, 2008
Posts: 1
When I try to start my application that is an .ear in Weblogic 10.3 I get an error each time. However, if I start a .war application it works just fine. Here is the error I get for the .ear file.
java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean

Do you think there could be something wrong wiht the .ear file?
Any help would be greatly appreciated, I couldn't find much googling this issue.



####<Nov 13, 2008 2:34:14 PM PST> <Warning> <Deployer> <doleapp> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1226615654475> <BEA-149078> <Stack trace for message 149004
java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
[ November 13, 2008: Message edited by: Jeff Kw ]
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
Hallo Jeff,
I think nothing is wrong on your application unless for example you put in your ear some old libraries of WebLogic (i.e. weblogic.jar) but I don't see any reason to do that....

com/bea/wlw/runtime/core/bean/SLSBContainerBean is an internal class used by WebLogic to manage stateless session bean componen.
As Javadoc says regarding the NoClassDefFoundError :

Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.


So, at the end, a WebLogic class
weblogic.utils.classloaders.GenericClassLoader.defineClass
is trying to load / define
com.bea.wlw.runtime.core.bean.SLSBContainerBean
and this class definition is not found so I think you can do nothing with that....check the thing I mentioned before (old libraries) and check your WebLogic installation.


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to start .ear application in Weblogic 10.3
 
Similar Threads
Deployment in Weblogic 8.1
Weblogic 9.2 Deployment Error
java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2 on weblogic server stop
ADF life cycle, versioning error
JSF 1.2 + weblogic deployment issue