Hi Asankha,

The queue already exists in AQ. The log level is already at INFO.

When I set <parameter name="transport.jms.Destination" 
locked="false">java:comp/resource/WAMJMS/Queues/TEST2Q</parameter> I get this 
error:

2009-01-15 13:20:19,105 [192.168.14.163-cowsvtas31] [WrapperSimpleAppMain]  
INFO ServerManager Starting transport jms
2009-01-15 13:20:19,125 [192.168.14.163-cowsvtas31] [HttpCoreNIOListener] DEBUG 
NativeWorkerPool Using native util.concurrent package..
2009-01-15 13:20:19,145 [192.168.14.163-cowsvtas31] [HttpCoreNIOListener] DEBUG 
NativeWorkerPool Using native util.concurrent package..
2009-01-15 13:20:19,145 [192.168.14.163-cowsvtas31] [WrapperSimpleAppMain] 
FATAL ServerManager Synaps startup failed...
java.lang.NullPointerException
        at 
org.apache.axis2.transport.jms.JMSConnectionFactory.getDestinationName(JMSConnectionFactory.java:502)
        at 
org.apache.axis2.transport.jms.JMSConnectionFactory.addDestination(JMSConnectionFactory.java:236)
        at 
org.apache.axis2.transport.jms.JMSListener.initializeConnectionFactories(JMSListener.java:258)
        at org.apache.axis2.transport.jms.JMSListener.init(JMSListener.java:121)
        at 
org.apache.axis2.engine.ListenerManager.addListener(ListenerManager.java:205)
        at org.apache.synapse.ServerManager.start(ServerManager.java:129)
        at org.apache.synapse.SynapseServer.main(SynapseServer.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
        at java.lang.Thread.run(Unknown Source)

Thanks,

Dan

-----Original Message-----
From: Asankha Perera [mailto:[email protected]] On Behalf Of Asankha C. 
Perera
Sent: Thursday, January 15, 2009 12:28 PM
To: [email protected]
Subject: Re: Connecting to OracleAQ JMS

Hi Daniel
> I'm using Synapse 1.2.
> I've placed all the jars in the lib folder.
>
Try setting the log level for
log4j.category.org.apache.synapse.transport=INFO to DEBUG and check the logs

What is the name of the Proxy service? Oracle might not let you create
the destination at runtime - but expect that to be created upfront. You
could bind your proxy service to say
"java:comp/resource/WAMJMS/Queues/TEST2Q" by giving a parameter "
transport.jms.Destination" to the proxy

cheers
asankha

--
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com


The information in this message is confidential and may be legally privileged. 
It is intended solely for the addressee. Access to this message by anyone else 
is unauthorised. If you are not the intended recipient, any disclosure, 
copying, or distribution of the message, or any action or omission taken by you 
in reliance on it, is prohibited and may be unlawful. Please immediately 
contact the sender if you have received this message in error.

The views and opinions expressed in this email may not reflect the views and 
opinions of any member of Lagan Technologies Limited, or any of its 
subsidiaries.

Lagan Technologies Limited is a company registered in Northern Ireland with 
registration number NI 28773. The registered office of Lagan Technologies 
Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ.

Reply via email to