users@glassfish.java.net

Re: Phantom JMS resource? (3.1.2.2)

From: Liang Zhao <liang.x.zhao_at_oracle.com>
Date: Sat, 1 Mar 2014 07:43:29 +0800

Hi Pawel,

Could you please share your domain.xml so that we can check what existing resource caused that?

Thanks,
David Zhao

> On Mar 1, 2014, at 6:52 AM, Pawel Veselov <pawel.veselov_at_gmail.com> wrote:
>
> Hi.
>
> That's weird, any idea why this may be happening, and how to fix this?
> I assume it's not really failing because the resource already exists, but rather because some connection pool(?) fails to create...
>
> asadmin> list-jms-resources
> Command list-jms-resources executed successfully.
> asadmin> list-jms-resources miServer
> Command list-jms-resources executed successfully.
> asadmin> create-jms-resource --target miServer --restype javax.jms.QueueConnectionFactory jms/QueueConnectionFactory
> remote failure: Unable to create connection pool.
> A resource named jms/QueueConnectionFactory already exists.
> Command create-jms-resource failed.
> asadmin>
>