users@glassfish.java.net

SonicMQ 7.0 with Sun App Server 8.2

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Feb 2007 08:24:36 PST

Hi,
 
I am working on integration of Sonic MQ 7.0 as JMS provider with Sun Java System Application Server 8.2 using the Generic JMS RA integration approach. The details are mentioned here -
 
https://genericjmsra.dev.java.net/docs/sonic-mq-integration-guide/sonicmq_integration_guide.html
 
I am currently using the genericra shipped with the server and present at - <install dir>\lib\addons\resourceadapters\genericjmsra\genericra.rar. I have been able to complete the procedure mentioned but MDB is failing during deployment. A part of the exception trace is -
----------------------------------------------------------------------------------------------------
............
Caused by: java.lang.NullPointerException
 at com.sun.genericra.GenericJMSRAProperties.getSupportsXA(GenericJMSRAProperties.java:194)
 at com.sun.genericra.GenericJMSRAProperties.toString(GenericJMSRAProperties.java:381)
 at com.sun.genericra.inbound.ActivationSpec.toString(ActivationSpec.java:242)
..........
**Detailed log below**
----------------------------------------------------------------------------------------------------
 
[#|2007-02-20T00:35:51.574-0600|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=12;|java.lang.NullPointerException
        at com.sun.genericra.GenericJMSRAProperties.getSupportsXA(GenericJMSRAProperties.java:194)
        at com.sun.genericra.GenericJMSRAProperties.toString(GenericJMSRAProperties.java:381)
        at com.sun.genericra.inbound.ActivationSpec.toString(ActivationSpec.java:242)
        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:199)
        at com.sun.genericra.inbound.EndpointConsumer.<init>(EndpointConsumer.java:63)
        at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:481)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
        at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:229)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:499)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
        at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
        at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
        at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:450)
        at java.lang.Thread.run(Thread.java:595)
|#]

[#|2007-02-20T00:35:51.590-0600|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=12;|MDB00017: [VoteMessageEJB]: Exception in creating message-driven bean container: [java.lang.Exception]|#]

[#|2007-02-20T00:35:51.590-0600|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=12;|java.lang.Exception
java.lang.Exception
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:230)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:481)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
        at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:229)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:499)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
        at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
        at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
        at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:450)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at com.sun.genericra.GenericJMSRAProperties.getSupportsXA(GenericJMSRAProperties.java:194)
        at com.sun.genericra.GenericJMSRAProperties.toString(GenericJMSRAProperties.java:381)
        at com.sun.genericra.inbound.ActivationSpec.toString(ActivationSpec.java:242)
        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:199)
        at com.sun.genericra.inbound.EndpointConsumer.<init>(EndpointConsumer.java:63)
        at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
        ... 40 more

 
Please let me know how this exception can be resolved.
 
Thanks!
Swapnil
[Message sent by forum member 'sharmaswapnil' (sharmaswapnil)]

http://forums.java.net/jive/thread.jspa?messageID=204439