File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes websphere4.0 helpneeded ..............pl respond... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "websphere4.0 helpneeded ..............pl respond..." Watch "websphere4.0 helpneeded ..............pl respond..." New topic
Author

websphere4.0 helpneeded ..............pl respond...

rajaram
Ranch Hand

Joined: Mar 23, 2002
Posts: 45
hi..i have bunch of jsps and ejbs and htmls in my app...i have installed my application i mean .ear in console successfully.iam getting my welcome page also.
but when iam trying to go inside of my application iam getting this error...coud any body suugest me pl..i have strucked with this almost week back...
the error is::::
java.lang.NoClassDefFoundError: javax/ejb/EJBHome

WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�� com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcBussPartner.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.access$300(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:278)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:121)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:200)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:864)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:380)
at com.ibm.ws.runtime.Server.startModule(Server.java:605)
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:882)
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)
�������� � IBM WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�| €com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcSystemConfig.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.access$300(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:278)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:121)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:200)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:864)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:380)
at com.ibm.ws.runtime.Server.startModule(Server.java:605)
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:882)
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)
�������� � IBM WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�X }com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcUserAdmin.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome

pl resopnd kyle..........or senthil or any one...
thx..waiting for ur earlist response..
seradmin
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi,
In the EzcBussPartner.jar file,check the EJB reference names & JNDI name.
Regards,
M.S.Raman.
Originally posted by rajaram:
hi..i have bunch of jsps and ejbs and htmls in my app...i have installed my application i mean .ear in console successfully.iam getting my welcome page also.
but when iam trying to go inside of my application iam getting this error...coud any body suugest me pl..i have strucked with this almost week back...
the error is::::
java.lang.NoClassDefFoundError: javax/ejb/EJBHome

WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�� com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcBussPartner.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.access$300(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:278)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:121)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:200)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:864)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:380)
at com.ibm.ws.runtime.Server.startModule(Server.java:605)
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:882)
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)
�������� � IBM WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�| €com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcSystemConfig.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader.access$300(URLClassLoader.java(Compiled Code))
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:278)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:121)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:200)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:864)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:380)
at com.ibm.ws.runtime.Server.startModule(Server.java:605)
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:882)
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)
�������� � IBM WebSphere AEs 4.0.1 a0131.07 com.ibm.ws.runtime.EJBEngine 5f43e36 251 user2/Default Server WSVR0040 com.ibm.ws.runtime.runtime ��P�X }com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: EzcUserAdmin.jar)�java.lang.NoClassDefFoundError: javax/ejb/EJBHome

pl resopnd kyle..........or senthil or any one...
thx..waiting for ur earlist response..
seradmin
rajaram
Ranch Hand

Joined: Mar 23, 2002
Posts: 45
hi..i have checked every thing .still iam getting the same eprob..my jsps r not recognising path of ejbs.iam getting class cast exception and javax/ejb/ejbhome not found exception..pl suugest me..even iam not able to identify the ackkages also.
thanks..
rajaram
Balbir Singh
Ranch Hand

Joined: Jun 01, 2001
Posts: 79
Hi rajaram,
Put <WAS_HOME>/lib/j2ee.jar in the Application Server classpath.


Thanks and Regards<br />Balbir Singh<br />Sun Certified Java Programmer<br />IBM Certified Administrator for WebSphere4.0
rajaram
Ranch Hand

Joined: Mar 23, 2002
Posts: 45
hi..balbir..
thx...i rectified taht prob..but now iam getting
java.lang.exception.my package is not identified by jsp..coud u suugest me...pl...
any one can respond plllllllllease..
thx..
rajaram
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
rajaram
Please read the Javaranch Naming Policy and change your publicly displayed name to comply with our unique rule. Thank you for your cooperation.
rajaram
Ranch Hand

Joined: Mar 23, 2002
Posts: 45
hello...
any one pl respond on this?
iam getting java.lang.exception
com.ibm.ejs.resources.seriousMessages ����h ezc/session/EzSessiongjava.lang.Exception: ezc/session/EzSession............
actually iam trying to get session object from my package ezc.session.EzSession..

pl...respond any one..
thx...
regu b
Greenhorn

Joined: Sep 17, 2002
Posts: 1
This error is caused by placing the enterprise bean classes on the classpath of the application server. The WebSphere runtime, including the EJB base classes, is not visible to the JVM classloaders, which causes the NoClassDefFound error. To resolve this problem, remove the enterprise bean classes from the classpath of the application server.
 
jQuery in Action, 2nd edition
 
subject: websphere4.0 helpneeded ..............pl respond...
 
Similar Threads
Error in Starting EJB Engine - WSAD 5.0
EJB loading failed
Websphere 4.0 Single Server : addEjbModule failed
EJBHome problem
generate report in pdf format through a JSP page