• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Starting EJB Engine - WSAD 5.0  RSS feed

 
Shanmugam Muthukumarasamy
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am getting the following exception while starting my WebSphere 4.0 TestEnvironment. Is any body has any Idea ...?
1/28/03 18:34:41:549 EST] 408bba99 EJBEngine I WSVR0037I: Starting EJB jar: wcc
[1/28/03 18:34:45:214 EST] 408bba99 EJBEngine X WSVR0040E: addEjbModule failed for com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: CONTRACTEJB.jar)
java.lang.NoClassDefFoundError: framework/lite/type/ApplicationException
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:1079)
at com.ibm.ws.classloader.EJBJarClassLoader._resolveClass(EJBJarClassLoader.java:92)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:62)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:210)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:866)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:381)
at com.ibm.ws.runtime.Server.startModule(Server.java:607)
at com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:321)
at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV4.java:56)
Thanks in Advance,
shanmugam
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, there is a WebSphere forum that it the right place to ask this kind of question...
Second, IF you are using WebSphere 4.0 (I'm guessing you are even though your subject line says different) then the problem is probably caused by putting your user-defined exception in the wrong place. My guess is that it is NOT defined in the EJB project, but in some other project that you added to the classpath, right? Well, the way to solve this problem is to use the ZipCreator tool.
If you are using WebSphere 5.0, there's a different solution. Let us know which one you are using.
Kyle
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!