users@glassfish.java.net

Re: wmq.jmsra.rar IBM MQ resource adaptor glassfish MDB deploy problem

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Feb 2010 16:57:11 PST

Thanks for confirmation. Saved me much time testing another option.

raa.xml only shows single transaction-support entry of XATransaction as child element of outbound-resourceadapter

There are no entries in inbound section. I am unsure whether this definitely means I need XATransaction for inbound? It works with just the rar file with NoTransactions.

On peeking into genericra.rar inaddons on glassfish, I see that the ra.xml for genericra.rar is similar with single outbound entry of XATransaction.

If I try LocalTransactions, it continues to give mqjmsrar error MQJCA1004, indicating I need extended transaction support, even after I get copy of com.ibm.mqetclient.jar out MQClientv6 fix pack and add to classpath.

---------- MQJCA1004 --------------

MQJCA1004 Distributed transactions are unavailable. An attempt was made to use distributed transactions in an environment where they are not available. Make sure that the WebSphere MQ extended transactional client is installed if required, or use a bindings connection.

---------------------------------------------


------------- wmqjmsrar ra.xml file summarised -------
(no other transaction-support elements)

<connector xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
                   http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
        version="1.5">
        <display-name>WebSphere MQ Resource Adapter</display-name>
        <vendor-name>
                International Business Machines Corporation ("IBM").
        </vendor-name>
        <eis-type>Java Message Service</eis-type>
        <resourceadapter-version>j600-201 (build date 9/30/09)</resourceadapter-version>
        <license>...</license>

        <resourceadapter>
                <resourceadapter-class>
                        com.ibm.mq.connector.ResourceAdapterImpl
                </resourceadapter-class>
                <config-property>
                        <config-property-name>connectionConcurrency</config-property-name>
                        <config-property-type>java.lang.String</config-property-type>
                        <config-property-value>5</config-property-value>
                </config-property>
....

                <outbound-resourceadapter>
                        <connection-definition>
                                <managedconnectionfactory-class>
                                        com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl
                                </managedconnectionfactory-class>
...
                        </connection-definition>
                        <connection-definition>
                                <managedconnectionfactory-class>
                                        com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl
                                </managedconnectionfactory-class>
 ....

                        </connection-definition>
                        <connection-definition>
                                <managedconnectionfactory-class>
                                        com.ibm.mq.connector.outbound.ManagedTopicConnectionFactoryImpl
                                </managedconnectionfactory-class>
                                <config-property>
                                        <config-property-name>brokerCCSubQueue</config-property-name>
                                        <config-property-type>java.lang.String</config-property-type>
                                </config-property>
....
                        </connection-definition>

                        <transaction-support>XATransaction</transaction-support>
                </outbound-resourceadapter>

                <inbound-resourceadapter>
                        <messageadapter>
                                <messagelistener>
                                        <messagelistener-type>
                                                javax.jms.MessageListener
                                        </messagelistener-type>
                                        <activationspec>
                                                <activationspec-class>
                                                        com.ibm.mq.connector.inbound.ActivationSpecImpl
                                                </activationspec-class>
                                                <required-config-property>
                                                        <config-property-name>destination</config-property-name>
                                                </required-config-property>
                                                <required-config-property>
                                                        <config-property-name>destinationType</config-property-name>
                                                </required-config-property>
                                        </activationspec>
                                </messagelistener>
                        </messageadapter>
                </inbound-resourceadapter>

                <!-- Administered objects -->

                <adminobject>
                        <adminobject-interface>javax.jms.Queue</adminobject-interface>
                        <adminobject-class>
                                com.ibm.mq.connector.outbound.MQQueueProxy
                        </adminobject-class>
...
                </adminobject>
                <adminobject>
                        <adminobject-interface>javax.jms.Topic</adminobject-interface>
                        <adminobject-class>
                                com.ibm.mq.connector.outbound.MQTopicProxy
                        </adminobject-class>
                        <config-property>
                                <config-property-name>baseTopicName</config-property-name>
                                <config-property-type>java.lang.String</config-property-type>
                                <config-property-value></config-property-value>
                        </config-property>
...
                </adminobject>

        <security-permission>...</security-permission>
        </resourceadapter>
</connector>

--------------------------------------------------------------------------------

It has been suggested that MQ Client (downloaded as mqc6_6.0.2.8_solaris-sparc.tar.Z) now bundles the extended transaction client (previously mqs530.img). mqs530.img was previously obtained on seperate install disk, that also required com.ibm.mqetclient.jar to be obtained elsewhere.

mqc6_6.0.2.8_solaris-sparc.tar.Z contains only 3 packages called mqm, gsk7bas and gsk7bas64.

Interestingly I get JCA non-compliance errors on deploying adaptor after pkgadd mqm (without security related gsk7bas*) then obtain the com.ibm.mqetclient.jar from fixpack for MQv6 and copy it to /opt/mqm/lib (note: com.ibm.mqetclient.jar is not in mqm) and add /opt/mqm/lib/com.ibm.mqetclient.jar to the GlassFish classpath and add /op/mqm/lib to the GlassFish native load library suffix. However the cause seems to be simple NoClassdef so I guess I have not yet installed extended transaction client yet...



======= QUESTIONS ===============

Can anyone confirm if the ra.xml file is conformant by not having any other transaction-support elements?

Can anyone confirm how the websphere extended transaction client is currently bundled with MQ Client for v6 (previous references to mqs530.img seem to be v5.3) or where do I get it from?

Has anyone got the ibm resource adaptor working with CLIENT binding mode and transactions from GlassFish?

How are others connecting to remote queue from glassfish? Or does everyone synch messages to a local queue and use bindings mode?

What adaptor is being used: bundled genericjmsra or IBM (wmqjmsra)? Can you use JMA provider or jmsjca?

==================================


======= MY STATUS ================

I am assuming I just need extended transaction install, but cannot find it. I assume it is not in MQ v6 install below and explain errors below as caused by NoClassdef because I have not yet got extended transaction support.

In meantime I may try genericjmsra.rar and would welcome advise on how others have connected to remote MQ queues.

==================================









========= THESE ERRORS LOGS BELOW SEEM TO SHOW HAVE NOT RIGHT LINKED LIBRARIES (ASSUMING NOT YET GOT EXTENDED TX CLIENT) =======================



The error logs show the following with the MQ client installed config above when I deploy the rar file using asadmin...

------------- deploy rar file error (linking mqm) ---------------------------------
[#|2010-02-17T19:11:52.427+1000|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=31;_ThreadName=Thread-521;|deployed with moduleid = wmqjmsra|#]

[#|2010-02-17T19:11:53.719+1000|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=32;_ThreadName=httpSSLWorkerThread-4848-44;_RequestID=29fe6652-4dd3-4ad0-8778-02e707670d06;|
com.sun.enterprise.admin.event.AdminEventListenerException
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAloneConnectorModulesManager.java:481)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:268)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
...
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NoClassDefFoundError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:79)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:300)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:445)
        at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:230)
        at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:118)
        at com.sun.enterprise.server.ConnectorModuleLoader.doLoad(ConnectorModuleLoader.java:142)
        at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:146)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.realDeployed(StandAloneConnectorModulesManager.java:338)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAlo|#]

[#|2010-02-17T19:11:53.723+1000|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=32;_ThreadName=httpSSLWorkerThread-4848-44;_RequestID=29fe6652-4dd3-4ad0-8778-02e707670d06;|neConnectorModulesManager.java:476)



[#|2010-02-17T19:11:53.739+1000|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=32;_ThreadName=httpSSLWorkerThread-4848-44;_RequestID=29fe6652-4dd3-4ad0-8778-02e707670d06;|ADM5603:Event listener error [null]|#]

[#|2010-02-17T19:11:53.752+1000|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=32;_ThreadName=httpSSLWorkerThread-4848-44;_RequestID=29fe6652-4dd3-4ad0-8778-02e707670d06;|ADM1075:Error on listening event:[null]|#]

[#|2010-02-17T19:12:07.232+1000|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=33;_ThreadName=httpSSLWorkerThread-4848-3;ResourceDeployEvent -- reference-added cr/jms/raaQueueConnectionFactory;|ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added cr/jms/raaQueueConnectionFactory]|#]

[#|2010-02-17T19:12:07.652+1000|SEVERE|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=33;_ThreadName=httpSSLWorkerThread-4848-3;wmqjmsra;_RequestID=5e63a607-2c6a-40b4-9fd0-bc9c374631b3;|RAR6019 : Failed to get connector descriptor from registry. RarName : : wmqjmsra|#]

[#|2010-02-17T19:12:07.653+1000|SEVERE|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=33;_ThreadName=httpSSLWorkerThread-4848-3;_RequestID=5e63a607-2c6a-40b4-9fd0-bc9c374631b3;|
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to get connection pool object. RarName : wmqjmsra
        at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.createConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:128)
        at com.sun.enterprise.connectors.ConnectorRuntime.createConnectorConnectionPool(ConnectorRuntime.java:296)
        at com.sun.enterprise.resource.ConnectorConnectionPoolDeployer.deployResource(ConnectorConnectionPoolDeployer.java:129)

...

which results in mildly interesting non-compliance messages when later deploy queue admin object

------------- create jms/raaRequestQueue admin object error (while linking mqm) ---------------------------------

[#|2010-02-17T19:12:12.321+1000|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=34;_ThreadName=httpSSLWorkerThread-4848-37;ResourceDeployEvent -- reference-added aor/jms/raaRequestQueue;|ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added aor/jms/raaRequestQueue]|#]

[#|2010-02-17T19:12:12.479+1000|SEVERE|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=34;_ThreadName=httpSSLWorkerThread-4848-37;jms/raaRequestQueue;_RequestID=045aa2c0-9953-46c7-8a02-09c740f34da9;|RAR6028 : This adapter is not 1.5 compliant : jms/raaRequestQueue|#]

[#|2010-02-17T19:12:12.480+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=34;_ThreadName=httpSSLWorkerThread-4848-37;_RequestID=045aa2c0-9953-46c7-8a02-09c740f34da9;|CORE5005: Error in resource deploy.
com.sun.enterprise.connectors.ConnectorRuntimeException: This adapter is not 1.5 compliant
        at com.sun.enterprise.connectors.ConnectorAdminObjectAdminServiceImpl.addAdminObject(ConnectorAdminObjectAdminServiceImpl.java:80)
        at com.sun.enterprise.connectors.ConnectorRuntime.addAdminObject(ConnectorRuntime.java:413)
        at com.sun.enterprise.resource.AdminObjectResourceDeployer.deployResource(AdminObjectResourceDeployer.java:87)
        at com.sun.enterprise.server.ResourceManager.resourceDeployed(ResourceManager.java:119)
        at com.sun.enterprise.server.ResourceManager.resourceReferenceAdded(ResourceManager.java:232)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeResourceDeployEventListener(AdminEventMulticaster.java:1062)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleResourceDeployEvent(AdminEventMulticaster.java:1039)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:473)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
        at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:141)
        at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:117)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:110)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:292)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:208)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:420)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
        at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

[#|2010-02-17T19:12:12.495+1000|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=34;_ThreadName=httpSSLWorkerThread-4848-37;_RequestID=045aa2c0-9953-46c7-8a02-09c740f34da9;|
com.sun.enterprise.admin.event.AdminEventListenerException: This adapter is not 1.5 compliant
        at com.sun.enterprise.server.ResourceManager.resourceDeployed(ResourceManager.java:126)
        at com.sun.enterprise.server.ResourceManager.resourceReferenceAdded(ResourceManager.java:232)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeResourceDeployEventListener(AdminEventMulticaster.java:1062)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleResourceDeployEvent(AdminEventMulticaster.java:1039)
...
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
        at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

[#|2010-02-17T19:12:12.505+1000|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=34;_ThreadName=httpSSLWorkerThread-4848-37;This adapter is not 1.5 compliant;_RequestID=045aa2c0-9953-46c7-8a02-09c740f34da9;|ADM5603:Event listener error [This adapter is not 1.5 compliant]|#]


[#|2010-02-17T19:12:29.999+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=36;_ThreadName=httpSSLWorkerThread-4848-23;RaaRequestMDB;com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed;_RequestID=ec805fca-239b-43d6-a37c-c9bb826f2c42;|MDB00017: [RaaRequestMDB]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed]|#]

[#|2010-02-17T19:12:30.001+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=36;_ThreadName=httpSSLWorkerThread-4848-23;_RequestID=ec805fca-239b-43d6-a37c-c9bb826f2c42;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:165)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:209)
        




------------- on restart if link mqm for adaptor that is deployed working with local transactions ---------------------------------

if change classpath and native load library with a deployed adaptor, on restart also get noClassDef error as follows:-

[#|2010-02-17T18:50:21.604+1000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT|#]

[#|2010-02-17T18:50:25.460+1000|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;MEjbApp;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]

[#|2010-02-17T18:50:30.518+1000|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;jdbc/__TimerPool;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]

[#|2010-02-17T18:50:30.519+1000|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;__ejb_container_timer_app;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]

[#|2010-02-17T18:50:31.142+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3cfbcea2-43cb-40f6-bd0b-f2fe81908c77;|CORE5046: Unexpected error occurred while loading the applications
java.lang.NoClassDefFoundError: com/ibm/mq/MQEnvironment
        at com.ibm.mq.OSE.<clinit>(OSE.java:60)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at com.ibm.mq.MQEnvironment$1.run(MQEnvironment.java:532)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.ibm.mq.MQEnvironment.<clinit>(MQEnvironment.java:525)


...

[#|2010-02-17T18:52:40.590+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=20;_ThreadName=httpSSLWorkerThread-4848-28;RaaRequestMDB;com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed;_RequestID=fcea3224-d948-45d2-95f9-52011305c556;|MDB00017: [RaaRequestMDB]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed]|#]

[#|2010-02-17T18:52:40.592+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=20;_ThreadName=httpSSLWorkerThread-4848-28;_RequestID=fcea3224-d948-45d2-95f9-52011305c556;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: Resource adapter wmqjmsra is not deployed
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:165)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:209)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:280)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:527)
        at com.sun.enterprise.server.EJBModuleLoader.doLoad(EJBModuleLoader.java:171)


... ultimately causing in admin objects

[#|2010-02-17T19:11:52.427+1000|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=31;_ThreadName=Thread-521;|deployed with moduleid = wmqjmsra|#]

[#|2010-02-17T19:11:53.719+1000|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=32;_ThreadName=httpSSLWorkerThread-4848-44;_RequestID=29fe6652-4dd3-4ad0-8778-02e707670d06;|
com.sun.enterprise.admin.event.AdminEventListenerException
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAloneConnectorModulesManager.java:481)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:268)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
...
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NoClassDefFoundError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:79)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:300)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:445)
        at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:230)
        at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:118)
        at com.sun.enterprise.server.ConnectorModuleLoader.doLoad(ConnectorModuleLoader.java:142)
        at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:146)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.realDeployed(StandAloneConnectorModulesManager.java:338)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAlo|#]


When I undeploy admin objects like jms/raaRequestQueue, I get null pointers

------------- on destroy admin objects after restart with new classpath/load library ---------------------------------

[#|2010-02-17T19:25:50.983+1000|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=37;_ThreadName=httpSSLWorkerThread-4848-16;_RequestID=b66cc3f4-911e-41c9-9a68-46fb0017f739;|ADM5603:Event listener error [null]|#]

[#|2010-02-17T19:26:05.008+1000|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=38;_ThreadName=httpSSLWorkerThread-4848-19;ResourceDeployEvent -- reference-removed null/jms/raaQueueConnectionFactory;|ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-removed null/jms/raaQueueConnectionFactory]|#]

[#|2010-02-17T19:26:05.126+1000|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=38;_ThreadName=httpSSLWorkerThread-4848-19;_RequestID=4064b076-0e8d-4bc2-bb27-dd18341856cd;|CORE5007: Error in resource un-deploy.
java.lang.NullPointerException
        at com.sun.enterprise.server.ResourceDeployerFactory.getResourceDeployer(ResourceDeployerFactory.java:149)
        at com.sun.enterprise.server.ResourceDeployerFactory.getResource(ResourceDeployerFactory.java:213)
        at com.sun.enterprise.server.ResourceManager.resourceUndeployed(ResourceManager.java:141)
        at com.sun.enterprise.server.ResourceManager.resourceReferenceRemoved(ResourceManager.java:238)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeResourceDeployEventListener(AdminEventMulticaster.java:1064)
...


========= END OF ERRORS LOGS THAT SEEM TO SHOW I HAVE NOT RIGHT LINKED LIBRARIES (ASSUMING NOT YET GOT EXTENDED TX CLIENT) =======================
[Message sent by forum member 'kennwoods' (ken.woods_at_digitalidols.com)]

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