Hello everybody, I am trying to read (enqueu) message from MQ queue and post(dequeue) it into response MQ queue. Getting exception (PFA for exception) over Synapse ESB console for proxy service when PS is trying to post (dequeue) message to MQ response queue. Proxy Service Synapse.xml: <definitions xmlns="http://ws.apache.org/ns/synapse"> <proxy name="ReceiverQCFPS" transports="jms" startOnLoad="true" statistics="enable"> <parameter name="transport.jms.JMSSpecVersion">1.0</parameter> <parameter name="transport.jms.Destination">MyMDBQueue</parameter> <parameter name="transport.PollInterval">15</parameter> <target> <inSequence> <log level="full" separator=", "/> <property action="set" name="OUT_ONLY" value="true"/> </inSequence> <endpoint> <address uri="jms:/MyReplyQueue?transport.jms.ConnectionFactoryJNDIName=SenderQCF&java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory&java.naming.provider.url=file:/C:/JNDI-Directory&transport.jms.ConnectionFactoryType=queue"/> </endpoint> <outSequence> <log level="full" separator=", "/> <send/> <log level="full" separator=", "/> </outSequence> </target> </proxy> </definitions>
Any idea where is the problem. Thanks & Regards Sunil Kumar Tiwari | I&B2B | Tech Mahindra Ltd. (Office: 009120 6641 7136 Mobile: 0091 9767644210) Email: [email protected] ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra. ============================================================================================================================
G:\B2BProgramFiles\synapse-1.4.0-SNAPSHOT\bin>synapse.bat "Starting Synapse/Java ..." Using SYNAPSE_HOME: G:\B2BPRO~1\SYNAPS~1.0-S\bin\.. Using JAVA_HOME: C:\jdk --> 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. 2009-08-05 11:40:13,296 [-] [WrapperSimpleAppMain] INFO SynapseServer Starting Apache Synapse... 2009-08-05 11:40:13,311 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using Synapse home : G:\B2BPRO~1\SYNAP S~1.0-S\. 2009-08-05 11:40:13,311 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using Axis2 repository : G:\B2BPRO~1\S YNAPS~1.0-S\repository 2009-08-05 11:40:13,311 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using axis2.xml location : G:\B2BPRO~1 \SYNAPS~1.0-S\repository\conf\axis2.xml 2009-08-05 11:40:13,311 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using synapse.xml location : G:\B2BPRO ~1\SYNAPS~1.0-S\bin\..\repository\conf\synapse.xml 2009-08-05 11:40:13,311 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using server name : localhost 2009-08-05 11:40:13,327 [-] [WrapperSimpleAppMain] DEBUG SynapseControllerFactory Using Server Configuration As : [ Serv er Name : localhost ][ Synapse Home : . ][ Synapse XML : G:\B2BPRO~1\SYNAPS~1.0-S\bin\..\repository\conf\synapse.xml ][ Server Host : sinpunap072 ][ Server IP : 172.24.182.114 ][ Axis2 Repository : repository ][ Axis2 XML : repository/conf/ axis2.xml ] 2009-08-05 11:40:13,327 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Loading synapse properties from a prope rty file 2009-08-05 11:40:13,343 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil Loading a file ' synapse.properties ' from cl asspath 2009-08-05 11:40:13,343 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.timeout_handler_inter val ' cannot be found. Using default value 15000 2009-08-05 11:40:13,343 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory The timeout handler will run every : 1 5s 2009-08-05 11:40:13,390 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Initializing Synapse at : Wed Aug 05 11: 40:13 BST 2009 2009-08-05 11:40:13,390 [-] [WrapperSimpleAppMain] DEBUG Axis2SynapseController Initializing Synapse in a new axis2 serv er environment instance 2009-08-05 11:40:14,390 [-] [WrapperSimpleAppMain] ERROR SandeshaModule Could not load module policies. Using default va lues. 2009-08-05 11:40:14,405 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading Identity Keystore from : lib/ident ity.jks 2009-08-05 11:40:14,421 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading Trust Keystore from : lib/trust.jk s 2009-08-05 11:40:14,530 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading custom SSL profiles for the HTTPS sender 2009-08-05 11:40:14,530 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSender HTTPS Sender starting 2009-08-05 11:40:14,546 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSender HTTP Sender starting 2009-08-05 11:40:14,546 [-] [WrapperSimpleAppMain] INFO VFSTransportSender VFS Sender started 2009-08-05 11:40:14,686 [-] [WrapperSimpleAppMain] INFO JMSSender JMS Sender started 2009-08-05 11:40:14,811 [-] [WrapperSimpleAppMain] INFO JMSConnectionFactory JMS ConnectionFactory : default initialize d 2009-08-05 11:40:14,811 [-] [WrapperSimpleAppMain] INFO JMSSender JMS Transport Sender initialized... 2009-08-05 11:40:14,811 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:14,827 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.jmx.rmiPort ' cannot be found. Using default value 0 2009-08-05 11:40:14,827 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.jmx.remote.ssl ' cann ot be found. Using default value false 2009-08-05 11:40:14,827 [-] [WrapperSimpleAppMain] WARN JmxAdapter Using unsecured JMX remote access! 2009-08-05 11:40:14,874 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLListener Loading Identity Keystore from : lib/ide ntity.jks 2009-08-05 11:40:14,874 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLListener Loading Trust Keystore from : lib/trust. jks 2009-08-05 11:40:14,905 [-] [WrapperSimpleAppMain] INFO JMSConnectionFactory JMS ConnectionFactory : default initialize d 2009-08-05 11:40:14,905 [-] [WrapperSimpleAppMain] INFO JMSListener JMS Transport Receiver/Listener initialized... 2009-08-05 11:40:14,905 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Loading mediator extensions... 2009-08-05 11:40:14,905 [-] [WrapperSimpleAppMain] DEBUG TaskDescriptionRepositoryFactory Creating a TaskDescriptionRepo sitory with id : task_description_repository 2009-08-05 11:40:14,921 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Reloading synapse properties 2009-08-05 11:40:14,921 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Loading synapse properties from a prope rty file 2009-08-05 11:40:14,921 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil Loading a file ' synapse.properties ' from cl asspath 2009-08-05 11:40:14,921 [-] [WrapperSimpleAppMain] DEBUG DataSourceInformationRepositoryFactory Creating a new DataSourc eInformationRepository 2009-08-05 11:40:14,936 [-] [WrapperSimpleAppMain] DEBUG DataSourceInformationListFactory No DataSources defined for ini tialization.. 2009-08-05 11:40:14,936 [-] [WrapperSimpleAppMain] INFO XMLConfigurationBuilder Generating the Synapse configuration mo del by parsing the XML configuration 2009-08-05 11:40:14,936 [-] [WrapperSimpleAppMain] DEBUG ConfigurationFactoryAndSerializerFinder getConfiguration({http: //ws.apache.org/ns/synapse}definitions) 2009-08-05 11:40:14,952 [-] [WrapperSimpleAppMain] DEBUG TaskDescriptionRepositoryFactory Creating a TaskDescriptionRepo sitory with id : synapse.startup.taskdescriptions.repository 2009-08-05 11:40:14,952 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.experimental.DetachMediatorFactory to handle {http://ws.apache.org/ns/synapse}detach 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.experimental.ReplaceMediatorFactory to handle {http://ws.apache.org/ns/synapse}replace 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.spring.SpringMediatorFactory to handle {http://ws.apache.org/ns/synapse/spring}spring 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.bsf.ScriptMediatorFactory to handle {http://ws.apache.org/ns/synapse}script 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.throttle.ThrottleMediatorFactory to handle {http://ws.apache.org/ns/synapse}throttle 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.xquery.XQueryMediatorFactory to handle {http://ws.apache.org/ns/synapse}xquery 2009-08-05 11:40:15,061 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}log) 2009-08-05 11:40:15,077 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}property) 2009-08-05 11:40:15,077 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}log) 2009-08-05 11:40:15,077 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}send) 2009-08-05 11:40:15,077 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}log) 2009-08-05 11:40:15,124 [-] [WrapperSimpleAppMain] INFO SynapseConfigurationBuilder Loaded Synapse configuration from : G:\B2BPRO~1\SYNAPS~1.0-S\bin\..\repository\conf\synapse.xml 2009-08-05 11:40:15,124 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:15,124 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying the Synapse service... 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying Proxy services... 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO ProxyService Building Axis service for Proxy service : Receiver QCFPS 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO ProxyService Adding service ReceiverQCFPS to the Axis2 configur ation 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO ProxyService Successfully created the Axis2 service for Proxy s ervice : ReceiverQCFPS 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deployed Proxy service : ReceiverQCFPS 2009-08-05 11:40:15,155 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying EventSources... 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG SynapseConfiguration Initializing the Synapse Configuration usi ng the SynapseEnvironment 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-05 11:40:15,171 [-] [WrapperSimpleAppMain] DEBUG HttpCoreNIOListener Starting Listener... 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOListener HTTPS Listener started on port : 8243 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] DEBUG HttpCoreNIOListener Starting Listener... 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOListener HTTP Listener started on port : 8280 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] INFO VFSTransportListener VFS Listener started 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] INFO MailTransportListener MAILTO Listener started 2009-08-05 11:40:15,202 [-] [WrapperSimpleAppMain] INFO JMSListener JMS Listener started 2009-08-05 11:40:15,218 [-] [WrapperSimpleAppMain] INFO ServiceTaskManager Task manager for service : ReceiverQCFPS [re -]initialized 2009-08-05 11:40:15,218 [-] [WrapperSimpleAppMain] INFO JMSListener Started to listen on destination : MyMDBQueue of ty pe Queue for service ReceiverQCFPS 2009-08-05 11:40:15,218 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Management using JMX available via: serv ice:jmx:rmi:///jndi/rmi://sinpunap072:1099/synapse 2009-08-05 11:40:15,218 [-] [WrapperSimpleAppMain] INFO ServerManager Server ready for processing... 2009-08-05 11:40:15,218 [-] [WrapperSimpleAppMain] INFO SynapseServer Apache Synapse started successfully 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver Proxy Service ReceiverQCFPS received a new message... 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver Message To: null 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver SOAPAction: urn:mediate 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver WSA-Action: urn:mediate 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG StatisticsReporter Setting statistics stack on the message context. 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG StatisticsRecordFactory Created a StatisticsRecord with [Message id : I D:414d512074657374716d677220202020c2ea764a20156202 ][Remote IP : null ][Remote host : null ] 2009-08-05 11:40:26,562 [-] [jms-Worker-1] DEBUG StatisticsReporter Setting statistics collector in the synapse environm ent. 2009-08-05 11:40:26,577 [-] [jms-Worker-1] DEBUG StatisticsRecord Start to reportForComponent statistics for : ReceiverQ CFPS 2009-08-05 11:40:26,577 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver Using the anonymous in-sequence of the prox y service for mediation 2009-08-05 11:40:26,577 [-] [jms-Worker-1] DEBUG SequenceMediator Start : Sequence <anonymous> 2009-08-05 11:40:26,577 [-] [jms-Worker-1] DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate() 2009-08-05 11:40:26,577 [-] [jms-Worker-1] DEBUG LogMediator Start : Log mediator 2009-08-05 11:40:26,609 [-] [jms-Worker-1] INFO LogMediator To: , WSAction: urn:mediate, SOAPAction: urn:mediate, Messa geID: ID:414d512074657374716d677220202020c2ea764a20156202, Direction: request, Envelope: <?xml version='1.0' encoding='u tf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><axis2ns1:text xmlns:ax is2ns1="http://ws.apache.org/commons/ns/payload"><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/env elope/" xmlns:ser="http://services.samples" xmlns:xsd="http://services.samples/xsd"><soapenv:Header/> <soapenv:Bod y><ser:placeOrder> <ser:order><xsd:price>100</xsd:price><xsd:quantity>5</xsd:quantity> <xsd:symbol> 5</xsd:symbol></ser:order> </ser:placeOrder> </soapenv:Body></soapenv:Envelope></axis2ns1:text></soapenv: Body></soapenv:Envelope> 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG LogMediator End : Log mediator 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG PropertyMediator Start : Property mediator 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG PropertyMediator Setting property : OUT_ONLY at scope : default to : tr ue (i.e. constant : true) 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG PropertyMediator End : Property mediator 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG SequenceMediator End : Sequence <anonymous> 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG ProxyServiceMessageReceiver Forwarding the message to the anonymous end point of the proxy service 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG EndpointContext Checking if endpoint : AnonymousEndpoint currently at s tate ACTIVE can be used now? 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG AddressEndpoint Sending message through endpoint : null resolving to ad dress = jms:/MyReplyQueue?transport.jms.ConnectionFactoryJNDIName=SenderQCF&java.naming.factory.initial=com.sun.jndi.fsc ontext.RefFSContextFactory&java.naming.provider.url=file:/C:/JNDI-Directory&transport.jms.ConnectionFactoryType=queue 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG AddressEndpoint SOAPAction: urn:mediate 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG AddressEndpoint WSA-Action: urn:mediate 2009-08-05 11:40:26,609 [-] [jms-Worker-1] DEBUG Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [mtom = false] [swa = false] [format = null] [force soap11=false] [force soap12=false] [pox=false] [get=false] [encodin g=null] [to null] 2009-08-05 11:40:26,624 [-] [jms-Worker-1] DEBUG Axis2FlexibleMEPClient Message [Original Request Message ID : ID:414d51 2074657374716d677220202020c2ea764a20156202] [New Cloned Request Message ID : urn:uuid:71A142F05B90DA1DAD161575569136342- 1258760702] 2009-08-05 11:40:26,656 [-] [jms-Worker-1] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:26,656 [-] [jms-Worker-1] DEBUG MiscellaneousUtil The name with ' synapse.global_timeout_interval ' can not be found. Using default value 86400000 2009-08-05 11:40:26,656 [-] [jms-Worker-1] INFO TimeoutHandler This engine will expire all callbacks after : 86400 seco nds, irrespective of the timeout action, after the specified or optional timeout 2009-08-05 11:40:26,656 [-] [jms-Worker-1] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:26,656 [-] [jms-Worker-1] DEBUG MiscellaneousUtil The name with ' synapse.timeout_handler_interval ' ca nnot be found. Using default value 15000 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG MiscellaneousUtil The name with ' statistics.clean.interval ' cannot be foun d. Using default value 300000 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG MiscellaneousUtil The name with ' statistics.clean.enable ' cannot be found. Using default value true 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG StatisticsCleaner Statistics cleaning is will be occured with interval : 300 s. 2009-08-05 11:40:26,656 [-] [Timer-1] DEBUG StatisticsCleaner There are no expired statistics to be cleaned. 2009-08-05 11:40:26,687 [-] [Axis2 Task] ERROR JMSSender Error creating a JMS message from the message context javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMS_REDELIVERED at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4674) at com.ibm.jms.JMSMessage.setStringProperty(JMSMessage.java:5658) at org.apache.axis2.transport.jms.JMSUtils.setTransportHeaders(JMSUtils.java:277) at org.apache.axis2.transport.jms.JMSSender.createJMSMessage(JMSSender.java:413) at org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSender.java:159) at org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:141) at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) at org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWorker.run(AxisEngine.java:619) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) 2009-08-05 11:40:41,656 [-] [Timer-1] DEBUG StatisticsCleaner There are no expired statistics to be cleaned.
