users@glassfish.java.net

Re: Using Resource Adapters in Embedded Glassfish

From: Bhavanishankar <bshankar_at_sun.com>
Date: Mon, 18 Oct 2010 11:43:29 +0530

Hi Herald,

Do you mind filing a ENHANCEMENT request
<https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=ENHANCEMENT>
for this?

--Bhavani.

On 10/17/2010 11:35 PM, glassfish_at_javadesktop.org wrote:
> I'm trying to write an integration test with Embedded Glassfish 3.0.1 where I need to deploy
>
> 1) a custom resource adapter
> 2) a WAR under test.
>
> On deploying the resource adapter with the org.glassfish.api.embedded.EmbeddedDeployer, I'm getting the following error message:
>
> 19:41:03.198 [main] ERROR j.e.s.c.com.sun.enterprise.v3.server - Module type not recognized
> 19:41:03.199 [main] ERROR j.e.s.c.com.sun.enterprise.v3.server - There is no installed container capable of handling this application com.sun.enterprise.deploy.shared.FileArchive_at_60dc4c81
>
> Does that mean that resource adapters cannot be deployed in embedded mode?
>
> (As a workaround, I'm now referencing the deployed resource adapter from my standalone Glassfish installation in the domain.xml passed to the Embedded server.)
>
> Best regards,
> Harald
> [Message sent by forum member 'hwellmann']
>
> http://forums.java.net/jive/thread.jspa?messageID=485384
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>