[jboss-user] [IronJacamar] - Embedded JCA with Glassfish

John SMITH do-not-reply at jboss.com
Mon Nov 29 11:26:20 EST 2010


stackpeek [http://community.jboss.org/people/stackpeek] created the discussion

"Embedded JCA with Glassfish"

To view the discussion, visit: http://community.jboss.org/message/573451#573451

--------------------------------------------------------------
Hi,

I'm working on the integration of IronJacamar (1.0.0.Beta3) with Glassfish (2.1.1). The aim being to use something else than Glassfish (maybe Tomcat) and continue to use our JCA connectors.

The problem I get even if I try to configure the *naming.xml* file in order to use the local JNDI context is the following exception:

Caused by: *+com.github.fungal.spi.deployers.DeployException+: Installing bean NamingBeanImpl*
        at com.github.fungal.impl.DeploymentDeployer$BeanDeployer.run(DeploymentDeployer.java:300)
        ... 6 more
Caused by: *+javax.naming.NamingException+: java:comp namespace cannot be modified*
        at com.sun.enterprise.naming.java.javaURLContext.rebind(javaURLContext.java:262)
        at org.jnp.server.NamingBeanImpl.start(NamingBeanImpl.java:184)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.github.fungal.impl.DeploymentDeployer$BeanDeployer.createBean(DeploymentDeployer.java:521)
        at com.github.fungal.impl.DeploymentDeployer$BeanDeployer.run(DeploymentDeployer.java:286)


I modified different implementations in order to not rebind the java namespace, but when I deploy my archive (.rar), I can't find it in the JNDI context.
And when I specify a xxxxx*-ra.xml* with a *jndi-name* property in the *connection-definition* attribute, I get a +*NotSerializableException*+ from *CachedConnectionManager*.


Any idea ?
Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/573451#573451]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101129/676413ca/attachment.html 


More information about the jboss-user mailing list