|
Hi All,
I am onto an interesting task of
using resin as the EJB client for Orion.
Everything seems to be in line but i dont know
why i get this problem when
i run the orion-primer example EJB with the
servlet part executing on the RESIN.
javax.servlet.ServletException: Unable to get home interface: javax.naming.NameNotFoundException: expected intermediate context in `ejb/HelloHome' at hello.web.HelloServlet.init(HelloServlet.java:47) at com.caucho.server.http.Application.loadServlet(Application.java:1504) at com.caucho.server.http.Invocation.service(Invocation.java:207) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:211) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:145) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:484) Servlet code: public void init(ServletConfig config) throws ServletException {// Get a reference to the Hello home interface WEB.xml (which resin specifies to add in its app) <?xml version="1.0" encoding="UTF-8"?> at the orion side i have made this change(true -> false) in principal.xml (I am not sure whether i should do this or not) <user username="admin" password="123" deactivated="false"> These are the only two things that i have done ..What i dont understand is why am i getting this error Unable to get home interface:
javax.naming.NameNotFoundException: expected intermediate context in
`ejb/HelloHome'
I think there is some problem in which the initialcontext is
set..probably i should
modify the way InitialContext is set..
Please Help me!!!
Regards,
Santosh.
===========================================================================
= Santosh Kumar C = = Senior Systems Engineer = = Wipro Technologies = = 1-8-448, Laxmi Building, S.P. Road, = = Begumpet, Secunderabad - 500 003 = = A.P, India. = = Phone@: 91407896008 Ext 4511 = = Fax @: 91407896123 = = eMail@: [EMAIL PROTECTED] = = url @: http://www.wipro.com = = The World's First SEI CMM Level 5 Software Services Company = =========================================================================== |
- Re: Calling EJB in Orion from Resin -Problem, Santosh Kumar
- Re: Calling EJB in Orion from Resin -Problem, Santosh Kumar
- RE: Calling EJB in Orion from Resin -Problem, Lebedko, Oleg
- RE: Calling EJB in Orion from Resin -Problem, Kevin Duffey
