Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rajaram
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi rajaram,
Put <WAS_HOME>/lib/j2ee.jar in the Application Server classpath.
 
rajaram
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic