quality@glassfish.java.net

how to create JMS resources on GFv3

From: Dies Koper <diesk_at_fast.au.fujitsu.com>
Date: Fri, 13 Nov 2009 09:41:47 +1100

Hi,

I'm trying to create a JMS resource for an MDB application and having a
problem.

On a clean installation of glassfish-v3-b73-11_12_2009 on Windows XP,
the operation seems to go successfully:

D:\GFv3\glassfish-v3-b73-11_12_2009\glassfishv3\bin>asadmin
create-jms-resource --restype=javax.jms.QueueConnectionFactory
javax/jms/QueueConnectionFactory

Command create-jms-resource executed successfully.

But in the server log the following message is logged:

[#|2009-11-13T09:01:53.549+1100|SEVERE|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=24;_ThreadName=Thread-1;|
com.sun.appserv.connectors.internal.api.ConnectorRuntimeException:
Failed to get connection pool object. RarName : jmsra
        at
com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.createConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:1377)

In GFv2.1.1's domain.xml there is a connector-connection-pool element
with resource-adapter-name 'jmsra'. I don't see it in GFv3's domain.xml.
Has something changed here in GFv3? Do I need to enable jmsra first or
deploy it myself? Known issue?

Thanks,
Dies