When I use the genericjmsra that's bundled with AS8.2PE I get my problem
with the queue connection factory. However, when I use the latest RA, I fail
much earlier in the process.
See log file snippets below. Both snippets start from the same point in the
deploy process
Jason
---- BundledRA
[#|2006-11-07T21:31:
13.140+0100|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.naming|_ThreadID=14;|Binding
name:`java:comp/env/jms/quein`|#]
[#|2006-11-07T21:31:
13.156+0100|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=14;|Instantiated
container for: ejbName: StcmsTestBean; containerId: 76213876799438848|#]
[#|2006-11-07T21:31:
13.312+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|ProviderIntegrationMode
jndi|#]
[#|2006-11-07T21:31:
13.312+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|setResourceAdapter
com.sun.genericra.GenericJMSRA_at_cd4ef5bd{ConnectionFactoryClassName =
null},{QueueConnectionFactoryClassName =
null},{TopicConnectionFactoryClassName = null},{XAConnectionFactoryClassName
= null},{XAQueueConnectionFactoryClassName =
null},{XATopicConnectionFactoryClassName = null},{QueueClassName =
null},{TopicClassName = null},{ConnectionFactoryProperties =
null},{JndiProperties = java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007},{ProviderIntegrationMode
= jndi},{CommonSetterMethodName = null},{SupportsXA = true},|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|ProviderIntegrationMode
null|#]
[#|2006-11-07T21:31:
13.343+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|com.sun.genericra.inbound.ActivationSpec_at_7ca58b69{ConnectionFactoryClassName
= null},{QueueConnectionFactoryClassName =
null},{TopicConnectionFactoryClassName = null},{XAConnectionFactoryClassName
= null},{XAQueueConnectionFactoryClassName =
null},{XATopicConnectionFactoryClassName = null},{QueueClassName =
null},{TopicClassName = null},{ConnectionFactoryProperties =
null},{JndiProperties = java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007},{ProviderIntegrationMode
= jndi},{CommonSetterMethodName = null},{SupportsXA =
true},{RedeliveryInterval = 0},{RedeliveryAttempts = 0},{ClientID =
null},{MessageSelector = null},{SubscriptionDurability =
Non-Durable},{ConnectionFactoryJNDIName =
connectionfactories/xaconnectionfactory},{SubscriptionName =
null},{DestinationJNDIName = queues/queIn},{DestinationType =
javax.jms.Queue},{MaxPoolSize = 8},{DestinationProperties =
null},{DeadMessageDestinationJndiName =
null},{DeadMessageDestinationClassName =
null},{DeadMessageDestinationProperties = null},{SendBadMessagesToDMD =
false},|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|ProviderIntegrationMode
jndi|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|GenericJMSRA
- getInstance() orig
com.sun.genericra.GenericJMSRA_at_cd4ef5bd{ConnectionFactoryClassName =
null},{QueueConnectionFactoryClassName =
null},{TopicConnectionFactoryClassName = null},{XAConnectionFactoryClassName
= null},{XAQueueConnectionFactoryClassName =
null},{XATopicConnectionFactoryClassName = null},{QueueClassName =
null},{TopicClassName = null},{ConnectionFactoryProperties =
null},{JndiProperties = java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007},{ProviderIntegrationMode
= jndi},{CommonSetterMethodName = null},{SupportsXA = true},|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|ProviderIntegrationMode
null|#]
[#|2006-11-07T21:31:
13.343+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14
;|parseToProperties:java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007 delimited:,
seperator:=|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.factory.url.pkgs=com.stc.jms.naming, separator:=|#]
[#|2006-11-07T21:31:
13.343+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.factory.url.pkgs:com.stc.jms.naming|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
separator:=|#]
[#|2006-11-07T21:31:
13.343+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.factory.initial:com.stc.jms.jndispi.InitialContextFactory|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007, separator:=|#]
[#|2006-11-07T21:31:
13.343+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.provider.url:stcms://SUN-SKI8E9GLSV0:18007|#]
[#|2006-11-07T21:31:
13.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Properties
passed to InitialContext :: {
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.factory.url.pkgs=com.stc.jms.naming}|#]
[#|2006-11-07T21:31:
13.390+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Looking
the JNDI name :connectionfactories/xaconnectionfactory|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Created
the object based on class :com.stc.jms.client.STCXAConnectionFactory|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|About
to set properties on STCConnectionFactory: SUN-SKI8E9GLSV0:18007|#]
[#|2006-11-07T21:31:
13.656+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|parseToProperties:null
delimited:, seperator:=|#]
[#|2006-11-07T21:31:
13.656+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14
;|parseToProperties:java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007 delimited:,
seperator:=|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.factory.url.pkgs=com.stc.jms.naming, separator:=|#]
[#|2006-11-07T21:31:
13.656+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.factory.url.pkgs:com.stc.jms.naming|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
separator:=|#]
[#|2006-11-07T21:31:
13.656+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.factory.initial:com.stc.jms.jndispi.InitialContextFactory|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|PropertyValuePair
: java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007, separator:=|#]
[#|2006-11-07T21:31:
13.656+0100|FINER|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Property
: java.naming.provider.url:stcms://SUN-SKI8E9GLSV0:18007|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Properties
passed to InitialContext :: {
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.factory.url.pkgs=com.stc.jms.naming}|#]
[#|2006-11-07T21:31:
13.656+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Looking
the JNDI name :queues/queIn|#]
[#|2006-11-07T21:31:
30.328+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Created
the object based on class :com.stc.jms.client.STCQueue|#]
[#|2006-11-07T21:31:
30.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|About
to set properties on Queue[queIn]|#]
[#|2006-11-07T21:31:
30.343+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|parseToProperties:null
delimited:, seperator:=|#]
[#|2006-11-07T21:31:
30.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|ProviderIntegrationMode
jndi|#]
[#|2006-11-07T21:31:
30.343+0100|FINEST|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|GenericJMSRA
- getInstance() orig
com.sun.genericra.GenericJMSRA_at_cd4ef5bd{ConnectionFactoryClassName =
null},{QueueConnectionFactoryClassName =
null},{TopicConnectionFactoryClassName = null},{XAConnectionFactoryClassName
= null},{XAQueueConnectionFactoryClassName =
null},{XATopicConnectionFactoryClassName = null},{QueueClassName =
null},{TopicClassName = null},{ConnectionFactoryProperties =
null},{JndiProperties = java.naming.factory.url.pkgs=com.stc.jms.naming,
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,
java.naming.provider.url=stcms://SUN-SKI8E9GLSV0:18007},{ProviderIntegrationMode
= jndi},{CommonSetterMethodName = null},{SupportsXA = true},|#]
[#|2006-11-07T21:31:
30.343+0100|FINE|sun-appserver-pe8.2|com.sun.genericjmsra|_ThreadID=14;|Registering
a endpoint consumer, transaction support :true|#]
**JB: fail here
[#|2006-11-07T21:31:
30.375+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=14;|java.lang.NoSuchMethodError:
javax.jms.XAConnectionFactory.createXAConnection
(Ljava/lang/String;Ljava/lang/String;)Ljavax/jms/XAConnection;
at com.sun.genericra.inbound.InboundJmsResourcePool.initialize(
InboundJmsResourcePool.java:70)
at com.sun.genericra.inbound.EndpointConsumer.initialize(
EndpointConsumer.java:119)
at com.sun.genericra.inbound.EndpointConsumer.start(
EndpointConsumer.java:112)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java
:97)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup
(ConnectorMessageBeanClient.java:221)
----
---- Latest RA
[#|2006-11-08T13:22:
19.187+0100|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.naming|_ThreadID=16;|Binding
name:`java:comp/env/jms/quein`|#]
[#|2006-11-08T13:22:
19.187+0100|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=16;|Instantiated
container for: ejbName: StcmsTestBean; containerId: 76217616810967040|#]
[#|2006-11-08T13:22:
19.375+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16
;|java.lang.NullPointerException
at com.sun.genericra.GenericJMSRAProperties.getSupportsXA(
GenericJMSRAProperties.java:387)
at com.sun.genericra.GenericJMSRAProperties.toString(
GenericJMSRAProperties.java:707)
at com.sun.genericra.inbound.ActivationSpec.toString(ActivationSpec.java
:380)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuffer.append(StringBuffer.java:220)
at com.sun.genericra.inbound.ActivationSpec.validate(ActivationSpec.java
:324)
at com.sun.genericra.inbound.EndpointConsumer.<init>(
EndpointConsumer.java:69)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java
:214)
----
> I'm a bit stuck now. How can I continue to debug this?
> [I'm using the genericjmsra that comes with SJS 8.2PE. I've tried the
> most recent build also which shows other problems :]
Can you try with the latest version and let us know, whats happening?