quality@glassfish.java.net

b66: Deploying imqjmsra.rar fails

From: matthias.fraass_at_tricoder.net <matthias.fraass_at_gmail.com>
Date: Mon, 5 Oct 2009 12:22:11 +0200

Hi,

I tried to deploy imqjmsra.rar in order to connect two glassfish MQs like
this:
http://forums.java.net/jive/message.jspa?messageID=253811#253811

I used $glassfish/mq/lib/imqjmsra.rar .

This works in V2.1.
But in v3 it fails:

java.lang.IllegalArgumentException: Sniffers with type [appclient] and type
[connector] should not claim the archive at the same time. Please check the
packaging of your archive
[C:\dev\glassfishv3\glassfish\domains\domain1\applications\imqjmsra]
at
com.sun.enterprise.v3.server.SnifferManagerImpl.validateSniffers(SnifferManagerImpl.java:220)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:394)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:232)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
...

I deployed it via Admin GUI:
Applications -> Deploy -> $glassfish/mq/lib/imqjmsra.rar.
It is correctly recognized as "Connector Module".
-> OK
-> Exception

I filed a bug for this:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=9978
Cheers,

Matthias