| Author |
Error while starting my application thru console
|
Ritu Arora
Greenhorn
Joined: Jan 06, 2004
Posts: 14
|
|
Hi , I installed a EJB-jar file thru console in WAS 5.0. It was deployed successfully, But when i tried to start it , it gave the following error : My EJB class file names are : examples.HelloHome examples.Hello examples.HelloBean ITs giving a ClassNotFound exception . [6/11/04 15:26:50:580 GMT+05:30] 3c09c13c ApplicationMg A WSVR0200I: Starting application: HelloWorld_jar [6/11/04 15:26:50:850 GMT+05:30] 3c09c13c EJBContainerI I WSVR0207I: Preparing to start EJB jar: HelloWorld.jar [6/11/04 15:26:55:918 GMT+05:30] 3c09c13c BeanMetaData E CNTR0075E: The user-provided class "examples.EJSStatelessHelloHomeBean_267d2cb6" needed by the EnterpriseBean could not be found or loaded. [6/11/04 15:26:55:968 GMT+05:30] 3c09c13c EJBContainerI E WSVR0209E: Unable to prepare EJB jar HelloWorld.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.SessionImpl(Hello) (transactionType: Container, sessionType: Stateless) java.lang.ClassNotFoundException: examples.EJSStatelessHelloHomeBean_267d2cb6 at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java(Compiled Code)) at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2262) at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:826) at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:928) Pls Help . Cheers Ritu
|
 |
venka venka
Greenhorn
Joined: Jun 17, 2004
Posts: 5
|
|
Hi, The WebSphere classes might be overriding your custom files. Try changing the class loader policy of your application to load PARENT_LAST and APPLICATION Thanks Rhodeo
|
You break it when you know how to fix it.
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
Actually, from what his exceptoins look like it appears to me that he didn't click the button to regenerate the EJB stub and skeleton files when he deployed the application. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
 |
|
|
subject: Error while starting my application thru console
|
|
|