quality@glassfish.java.net

Re: how to create JMS resources on GFv3

From: Dies Koper <diesk_at_fast.au.fujitsu.com>
Date: Fri, 13 Nov 2009 12:50:37 +1100

Hi Sankar,

Thanks for the quick reply.

Yes, it appears to work fine.
I'll open an issue and assign it to jms.

Cheers,
Dies


Sankar Neelakandan wrote:
> Hi Dies,
> Did your application work ?. The application should be work fine. The
> error might be because of the lazy initialization of jmsra. But even in
> case of lazy initialization the error shouldn't be thrown. Would like
> you to go ahead and file a issue ?.
> -Sankar
>
> Dies Koper wrote:
>> 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
>>