OK, that issue is fixed, but it's still not picking up the message from
the JMS queue.  Just to let you know, here's my setup:

I have two queues: MY_QUEUE and OUT_QUEUE.  I enqueue a message on
MY_QUEUE by making an HTTP which synapse proxies to the JMS queue.
There's an MDB listening on MY_QUEUE, which picks up the messages and
enqueues it on OUT_QUEUE.  The message still doesn't get picked up off
of OUT_QUEUE unless I restart Synapse.

Here's the log:

--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2008-02-11 13:10:18,441 [-] [WrapperSimpleAppMain]  INFO ServerManager
Using the Axis2 Repository C:\SYNAPS~1.1\repository
2008-02-11 13:10:19,993 [-] [WrapperSimpleAppMain]  INFO
SynapseInitializationModule Initializing Synapse at : Mon Feb 11
13:10:19 EST 2008
2008-02-11 13:10:19,993 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Loading mediator extensions...
2008-02-11 13:10:19,993 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Initializing the Synapse configuration
...
2008-02-11 13:10:20,003 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO XMLConfigurationBuilder Generating the Synapse configuration model
by parsing the XML configuration
2008-02-11 13:10:20,263 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseConfigurationBuilder Loaded Synapse configuration from :
C:\SYNAPS~1.1\bin\..\repository\conf\sample\synapse_sample_250.xml
2008-02-11 13:10:20,273 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Deploying the Synapse service..
2008-02-11 13:10:20,303 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Initializing Sandesha 2...
2008-02-11 13:10:20,303 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Synapse server name : ACN3T27851
2008-02-11 13:10:20,303 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Deploying Proxy services...
2008-02-11 13:10:20,303 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Building Axis service for Proxy service :
StockQuoteProxy
2008-02-11 13:10:20,734 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Adding service StockQuoteProxy to the Axis2
configuration
2008-02-11 13:10:20,734 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Successfully created the Axis2 service for Proxy
service : StockQuoteProxy
2008-02-11 13:10:20,734 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Deployed Proxy service :
StockQuoteProxy
2008-02-11 13:10:20,734 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Building Axis service for Proxy service : JMSProxy
2008-02-11 13:10:20,794 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Adding service JMSProxy to the Axis2 configuration
2008-02-11 13:10:20,794 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ProxyService Successfully created the Axis2 service for Proxy
service : JMSProxy
2008-02-11 13:10:20,794 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Deployed Proxy service : JMSProxy
2008-02-11 13:10:20,794 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO SynapseInitializationModule Synapse initialized successfully...!
2008-02-11 13:10:20,794 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOSSLSender Loading Key Store from URL :
file:/C:/synapse-1.1.1/lib/identity.jks
2008-02-11 13:10:20,824 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOSSLSender Loading Trust Key Store from URL :
file:/C:/synapse-1.1.1/lib/trust.jks
2008-02-11 13:10:20,884 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO HttpCoreNIOSender HTTPS Sender starting
2008-02-11 13:10:20,884 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO HttpCoreNIOSender HTTP Sender starting
2008-02-11 13:10:21,044 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
WARN ServerManager Port 8080 already in use. Trying alternate
2008-02-11 13:10:21,054 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOSSLListener Loading Key Store from URL :
file:/C:/synapse-1.1.1/lib/identity.jks
2008-02-11 13:10:21,054 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOSSLListener Loading Trust Key Store from URL :
file:/C:/synapse-1.1.1/lib/trust.jks
2008-02-11 13:10:21,115 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOListener Starting Listener...
2008-02-11 13:10:21,115 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO HttpCoreNIOListener HTTPS Listener starting on port : 8443
2008-02-11 13:10:21,115 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Starting transport https on port 8443
2008-02-11 13:10:21,185 [172.17.5.187-ACN3T27851] [HttpCoreNIOSender]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,195 [172.17.5.187-ACN3T27851] [HttpCoreNIOSender]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,225 [172.17.5.187-ACN3T27851] [HttpCoreNIOListener]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,275 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG HttpCoreNIOListener Starting Listener...
2008-02-11 13:10:21,275 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO HttpCoreNIOListener HTTP Listener starting on port : 8008
2008-02-11 13:10:21,275 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Starting transport http on port 8008
2008-02-11 13:10:21,275 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,305 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Starting transport vfs
2008-02-11 13:10:21,305 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,305 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Starting transport mailto
2008-02-11 13:10:21,305 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,325 [172.17.5.187-ACN3T27851] [HttpCoreNIOListener]
DEBUG NativeWorkerPool Using native util.concurrent package..
2008-02-11 13:10:21,355 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO JMSListener JMS Transport Receiver/Listener initialized...
2008-02-11 13:10:21,355 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG JMSConnectionFactory Initializing the JMS connection factory :
default
2008-02-11 13:10:23,328 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO JMSConnectionFactory Connected to the JMS connection factory :
java:comp/env/jms/PlayerConnectionFactory
2008-02-11 13:10:25,931 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO JMSConnectionFactory Connection factory : default initialized...
2008-02-11 13:10:25,931 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
DEBUG JMSUtils JMS destination type not given. default queue
2008-02-11 13:10:25,931 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO JMSListener Starting to listen on destination :
java:comp/env/jms/OutQueue of type queue for service JMSProxy
2008-02-11 13:10:26,312 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO JMSConnectionFactory Mapped JNDI name : java:comp/env/jms/OutQueue
and JMS Destination name : OUT_QUEUE against service : JMSProxy
2008-02-11 13:10:26,763 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Starting transport jms
2008-02-11 13:10:26,763 [172.17.5.187-ACN3T27851] [WrapperSimpleAppMain]
INFO ServerManager Ready for processing
2008-02-11 13:10:43,847 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [/127.0.0.1:1851]: Connected
2008-02-11 13:10:43,907 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [/127.0.0.1:1851]: POST
/soap/StockQuoteProxy HTTP/1.1
2008-02-11 13:10:43,907 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
INFO PipeImpl Using simulated buffered Pipes for event-driven to stream
IO bridging
2008-02-11 13:10:43,967 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [localhost/127.0.0.1:1851]: Input
ready
2008-02-11 13:10:43,967 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [localhost/127.0.0.1:1851]: Content
decoder [chunk-coded; completed: true]
2008-02-11 13:10:44,098 [172.17.5.187-ACN3T27851] [HttpServerWorker-1]
INFO TimeoutHandler This engine will expire all callbacks after : 86400
seconds, irrespective of the timeout action, after the specified or
optional timeout
2008-02-11 13:10:44,618 [172.17.5.187-ACN3T27851] [HttpServerWorker-1]
DEBUG JMSUtils Sending message to destination :
oracle.j2ee.ra.jms.generic.AdminObjectQueueImpl[MY_QUEUE]
2008-02-11 13:10:45,099 [172.17.5.187-ACN3T27851] [HttpServerWorker-1]
DEBUG JMSUtils Sent message to destination :
oracle.j2ee.ra.jms.generic.AdminObjectQueueImpl[MY_QUEUE]
Message ID : ID:EE60BD5207DD4418BE8AFB4F8885ABC2
Correlation ID : 
ReplyTo ID : null
2008-02-11 13:10:49,405 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [localhost/127.0.0.1:1851]: An
existing connection was forcibly closed by the remote host (Probably the
keepalive connection was closed)
2008-02-11 13:10:49,405 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler I/O error (Probably the keepalive connection was
closed):An existing connection was forcibly closed by the remote host
2008-02-11 13:10:49,405 [172.17.5.187-ACN3T27851] [I/O dispatcher 7]
DEBUG ServerHandler HTTP connection [closed]: Closed

-----Original Message-----
From: Asankha C. Perera [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 11, 2008 1:07 PM
To: [email protected]
Subject: Re: Switching transports - JMS to http using AQ

Greg
> When I change the name to JMSProxy, it tries to look up a queue table
> called JMSProxy.  Is there a reason why it's not using the
> transport.jms.Destination parameter that is set?  
>   
Yep :-) .. it should be a "parameter" and not a property

ref: http://synapse.apache.org/Synapse_Configuration_Language.html#proxy

sample: http://synapse.apache.org/Synapse_Samples.html#Sample254

asankha




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to