I'm having a problem with WebLogic 6.1 and EJB interfaces not being found.
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!
Discussions
EJB programming & troubleshooting: Clients throwing ClassNotFoundExceptions for EJB interfaces.
-
Clients throwing ClassNotFoundExceptions for EJB interfaces. (2 messages)
- Posted by: Lasse Koskela
- Posted on: August 02 2002 09:43 EDT
Threaded Messages (2)
- 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
-
Clients throwing ClassNotFoundExceptions for EJB interfaces.[ Go to top ]
- Posted by: Bhagvan K
- Posted on: August 05 2002 05:59 EDT
- in response to Lasse Koskela
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 -
Clients throwing ClassNotFoundExceptions for EJB interfaces.[ Go to top ]
- Posted by: Web Master
- Posted on: August 05 2002 07:18 EDT
- in response to Lasse Koskela
Are you using local interfaces? If so the client of the local interface needs access to the implemntation xlass too