Unless I'm missing something... are you setting a property on your connection factory named "imqAddressList" ? The GlassFish docs here
https://glassfish.dev.java.net/javaee5/docs/DG/beaob.html#beaom show it to be "AddressList". A quick google shows imqAddressList showing up in some older versions of the sun message product... but I think it should just be "AddressList" now.
That’s what I use, as per the link above
Alex Sherwin
alex.sherwin_at_acadiasoft.com
-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Wednesday, August 06, 2008 11:32 AM
To: users_at_glassfish.dev.java.net
Subject: Re: RE: Accessing JDBC Resource and JMS Resource
Hi Thanks for answering my question. I have been able to get a step further accessing the JMS resource however I am getting the following error message.. Any help on this.
At the end it says that there is a problem with the AddressList...Please find the following line from server.logs
[b]Server Logs[/b]
"[#|2008-08-06T15:56:19.442+0100|INFO|sun-appserver-ee8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=10;|JMS Service Connection URL is :mq://UK-L33R73E.groupinfra.com:7676/,mq://localhost:7677/,|#]"
[b]Error Message[/b]
MQRA:RA:start:createConnection Exception:message=imqAddressList
MQRA:RA:start:createConnction failed:aborting
com.sun.messaging.InvalidPropertyException: imqAddressList
at com.sun.messaging.AdministeredObject.setProperty(AdministeredObject.java:344)
at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:161)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:266)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at SimpleQueueSender.main(SimpleQueueSender.java:60)
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.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
06-Aug-2008 16:08:58 com.sun.enterprise.connectors.ActiveInboundResourceAdapter <init>
SEVERE: RAR6035 : Resource adapter start failed : {0}
javax.resource.spi.ResourceAdapterInternalException: MQRA-start:Error:createConnection failed:aborting
at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:197)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:266)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at SimpleQueueSender.main(SimpleQueueSender.java:60)
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.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Caused by: com.sun.messaging.InvalidPropertyException: imqAddressList
at com.sun.messaging.AdministeredObject.setProperty(AdministeredObject.java:344)
at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:161)
... 17 more
JNDI API lookup failed: javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]
06-Aug-2008 16:08:58 com.sun.enterprise.naming.SerialContext lookup
SEVERE: NAM0004: Exception during name lookup : {0}
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:124)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:266)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at SimpleQueueSender.main(SimpleQueueSender.java:60)
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.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Caused by: javax.resource.spi.ResourceAdapterInternalException: MQRA-start:Error:createConnection failed:aborting
at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:197)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
... 14 more
Caused by: com.sun.messaging.InvalidPropertyException: imqAddressList
at com.sun.messaging.AdministeredObject.setProperty(AdministeredObject.java:344)
at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:161)
... 17 more
Process finished with exit code 1
Appreciate your help and support.
Thanks.
Jatin
[Message sent by forum member 'kakkarjatin' (kakkarjatin)]
http://forums.java.net/jive/thread.jspa?messageID=291918
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net