File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Unable to start .ear application in Weblogic 10.3

Jeff Kw

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(
at weblogic.utils.classloaders.GenericClassLoader.defineClass(
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(
at weblogic.utils.classloaders.GenericClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at weblogic.utils.classloaders.GenericClassLoader.loadClass(
[ 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
is trying to load / define
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="" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID :<br /><a href="" target="_blank" rel="nofollow">My Blog</a>
I agree. Here's the link:
subject: Unable to start .ear application in Weblogic 10.3
It's not a secret anymore!