EJB programming & troubleshooting: Clients throwing ClassNotFoundExceptions for EJB interfaces.
I'm having a problem with WebLogic 6.1 and EJB interfaces not being found.
- Posted by: Lasse Koskela
- Posted on: August 02 2002 09:43 EDT
I need to be able to hot/redeploy EJBs without restarting WebLogic and, of course, use the EJBs from client classes within a web application.
The problem is that if I place the home and remote interfaces only to the EJB .jar file, the client classes are throwing ClassNotFoundExceptions. Then again, if I copy the interfaces to the web applications lib directory (included automatically in classpath upon startup), WebLogic says "MyEJB cannot be redeployed while the server is running (which I assume is due to the possibility that the interfaces in mywebapp/lib and myejb.jar become out of sync)...
So, any ideas? Every one of them are highly appreciated!
- Clients throwing ClassNotFoundExceptions for EJB interfaces. by Bhagvan K on August 05 2002 05:59 EDT
- Clients throwing ClassNotFoundExceptions for EJB interfaces. by Web Master on August 05 2002 07:18 EDT
you can do this in couple of ways:
a) hot deploy jar and wars (webside of things with ejb interfaces)
b) deploy a ear file which consists of war and jar files
Are you using local interfaces? If so the client of the local interface needs access to the implemntation xlass too