It turns out that when you use the cluster "add resource" choice on the web admin, it automatically creates a Connector Connection Pool that uses jmsra. So I had to run the commands connection pool and connection resource items by hand:
./asadmin create-connector-connection-pool --raname genericra --connectiondefinition javax.jms.TopicConnectionFactory myTopicFactory
./asadmin create-connector-resource --poolname myTopicFactory myTopicFactory
then set the targets to my cluster. Now it fails with a slightly different exception (but everything should be using genericra now)
#|2009-03-20T16:42:46.873-0400|WARNING|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=17;_ThreadName=httpWorkerThread-38081-0;setName;com.sun.genericra.outbound.TopicProxy;_RequestID=89b2a480-546d-49f0-bec9-db97af6fb654;|RAR8000 : The method setName is not present in the class : com.sun.genericra.outbound.TopicProxy|#]
[#|2009-03-20T16:42:46.879-0400|WARNING|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=17;_ThreadName=httpWorkerThread-38081-0;Name;com.sun.genericra.outbound.TopicProxy;_RequestID=89b2a480-546d-49f0-bec9-db97af6fb654;|RAR7097: No setter method present for the property Name in the class com.sun.genericra.outbound.TopicProxy|#]
[#|2009-03-20T16:42:46.896-0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=17;_ThreadName=httpWorkerThread-38081-0;|
[BlazeDS] 03/20/2009 16:42:46.895 [INFO] [Service.Message.JMS] JMS consumer for JMS destination 'myTopic' is starting.|#]
[#|2009-03-20T16:42:46.906-0400|WARNING|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=17;_ThreadName=httpWorkerThread-38081-0;myTopicFactory;_RequestID=89b2a480-546d-49f0-bec9-db97af6fb654;|RAR5117 : Failed to obtain/create connection from connection pool [ myTopicFactory ]. Reason : null|#]
[#|2009-03-20T16:42:46.910-0400|INFO|sun-appserver2.1|com.sun.genericjmsra|_ThreadID=17;_ThreadName=httpWorkerThread-38081-0;|Error in allocating a connection. Cause: null
javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: null
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:353)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:75)
at com.sun.genericra.outbound.ConnectionFactory.createTopicConnection(ConnectionFactory.java:106)
at flex.messaging.services.messaging.adapters.JMSTopicConsumer.start(JMSTopicConsumer.java:113)
at flex.messaging.services.messaging.adapters.JMSAdapter.messageClientCreated(JMSAdapter.java:539)
at flex.messaging.MessageClient.<init>(MessageClient.java:207)
[..snip..]
Caused by: com.sun.enterprise.resource.PoolingException
at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:918)
at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1832)
at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:976)
at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:226)
at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:528)
at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:455)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:313)
... 51 more
|#]
Any pointers? Thanks.
[Message sent by forum member 'h1d3m3' (h1d3m3)]
http://forums.java.net/jive/thread.jspa?messageID=338237