| Author |
How to configure my servlet to access local EJB in weblogic 6.1
|
ravi inguva
Ranch Hand
Joined: Feb 07, 2002
Posts: 34
|
|
Dear Friends, i have written helloworld Local EJB and tried to access using a servlet. i am getting class cast exception while typecasting the reference to the home class after looking up the hello EJB please give the solution for this problem Thanks and Regards I.Ravi
|
Sun Certified Java2 Programmer
|
 |
Rick Salsa
Ranch Hand
Joined: Jul 17, 2001
Posts: 173
|
|
Are your servlets and EJB's running in the same container? If your servlet's are not contained in your appserver, ie, your using Tomcat and Weblogic, you'll need to use a regular Entity bean, instead of a Local Entity Bean. HTH, /rick [ June 12, 2002: Message edited by: Rick Salsa ] [ June 12, 2002: Message edited by: Rick Salsa ]
|
 |
ravi inguva
Ranch Hand
Joined: Feb 07, 2002
Posts: 34
|
|
Yes Both my Servlet and EJB are Running in WEBLOGIC 6.1 only i have deployed them in mydomain/defautwebapp Thanks I.Ravi
|
 |
 |
|
|
subject: How to configure my servlet to access local EJB in weblogic 6.1
|
|
|