users@glassfish.java.net

Migration from JBoss to Glassfish

From: <glassfish_at_javadesktop.org>
Date: Fri, 31 Aug 2007 05:57:57 PDT

Hi,
I am trying to migrate a JCA (V 1.0) Resource Adapter from JBoss to Glassfish. I already followed the instructions on

https://glassfish.dev.java.net/javaee5/docs/AG/abllp.html#abllt

and changed the lookup name in my test Servlet to java:comp/env/eis/testRA where eis/testRA is the name I defined in the Connector Resources of the Glassfish Admin Console.
But it doesn't seem to work. Looking up the server.log gives me the following error code:

[#|2007-08-31T14:25:23.234+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=httpSSLWorkerThread-9080-1;_RequestID=6e206677-f2a8-4e8b-9140-f24a135a1328;|
javax.naming.NameNotFoundException: No object bound to name java:comp/env/eis/testRA
        at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:834)
        at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:337)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at hst.web.CallAdapter.initialize(CallAdapter.java:195)
        at hst.web.CallAdapter.service(CallAdapter.java:38)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)

Does somebody know the answer?

I would really appreciate any kind of help.

Best regards,

dr_d00m
[Message sent by forum member 'dr_d00m' (dr_d00m)]

http://forums.java.net/jive/thread.jspa?messageID=233459