Hi, Attaching log by increasing log level. Any idea how to over come/handle this MQ related error.
Thanks, Thanks & Regards Sunil Kumar Tiwari | Tech Mahindra Ltd. (Office: 009120 6641 7136 Mobile: 0091 9767644210) Email: [email protected] ________________________________ From: Sunil.2.Tiwari [mailto:[email protected]] Sent: Monday, August 03, 2009 10:18 PM To: [email protected] Subject: RE: Synapse ESB and IBM MQ issue Hi, I am getting exception while deploying MQ-Queue listener proxy service. Using latest synapse built for development. When trying to deploy proxy service getting attached error. 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.Destination">MyMDBQueue</parameter> <target> <inSequence> <log level="full" separator=", "/> <drop/> </inSequence> </target> </proxy> </definitions> Eception snap shot (PFA for complete log):: 2009-08-03 15:00:32,218 [-] [jms-Worker-1] ERROR ServiceTaskManager Error creating JMS consumer for service : ReceiverQC FPS javax.jms.IllegalStateException: MQJMS1112: JMS1.1 Invalid operation for domain specific object at com.ibm.mq.jms.MQQueueSession.createConsumer(MQQueueSession.java:398) at org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:634) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConsumer(ServiceTaskManager.java: 835) Any idea how overcome this exception. Thanks & Regards Sunil Kumar Tiwari | Tech Mahindra Ltd. (Office: 009120 6641 7136 Mobile: 0091 9767644210) Email: [email protected] -----Original Message----- From: Asankha Perera [mailto:[email protected]] On Behalf Of Asankha C. Perera Sent: Saturday, August 01, 2009 8:50 PM To: [email protected] Subject: Re: Synapse ESB and IBM MQ issue Hi Sunil > > Could you please detail how can I use the latest stable build to > upgrade Synapse version (Steps)? > None in particular.. just extract the last nightly build from the location I specified, extract the Zip file, and just change the synapse.xml found at the same place as before in the 1.2 release > > So that I overcome MQ-JMS connection factory name/ destination queue > name mismatch problem. > If you hit any issues, do keep the user@ list informed, so you do not need to Cc: emails direct to me cheers asankha -- Asankha C. Perera AdroitLogic, http://adroitlogic.org http://esbmagic.blogspot.com ============================================================================================================================ 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 http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra. ============================================================================================================================ ============================================================================================================================ 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: G:\B2BProgramFiles\jdk160_05 --> 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-04 07:16:19,796 [-] [WrapperSimpleAppMain] INFO SynapseServer Starting Apache Synapse... 2009-08-04 07:16:19,812 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using Synapse home : G:\B2BPRO~1\SYNAP S~1.0-S\. 2009-08-04 07:16:19,812 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using Axis2 repository : G:\B2BPRO~1\S YNAPS~1.0-S\repository 2009-08-04 07:16:19,812 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using axis2.xml location : G:\B2BPRO~1 \SYNAPS~1.0-S\repository\conf\axis2.xml 2009-08-04 07:16:19,812 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using synapse.xml location : G:\B2BPRO ~1\SYNAPS~1.0-S\bin\..\repository\conf\synapse.xml 2009-08-04 07:16:19,812 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory Using server name : localhost 2009-08-04 07:16:19,812 [-] [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 : localhost][ Axis2 Repository : repository ][ Axis2 XML : repository/conf/ axis2.xml ] 2009-08-04 07:16:19,828 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Loading synapse properties from a prope rty file 2009-08-04 07:16:19,828 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil Loading a file ' synapse.properties ' from cl asspath 2009-08-04 07:16:19,843 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.timeout_handler_inter val ' cannot be found. Using default value 15000 2009-08-04 07:16:19,843 [-] [WrapperSimpleAppMain] INFO SynapseControllerFactory The timeout handler will run every : 1 5s 2009-08-04 07:16:19,906 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Initializing Synapse at : Tue Aug 04 07: 16:19 BST 2009 2009-08-04 07:16:19,906 [-] [WrapperSimpleAppMain] DEBUG Axis2SynapseController Initializing Synapse in a new axis2 serv er environment instance 2009-08-04 07:16:21,203 [-] [WrapperSimpleAppMain] ERROR SandeshaModule Could not load module policies. Using default va lues. 2009-08-04 07:16:21,234 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading Identity Keystore from : lib/ident ity.jks 2009-08-04 07:16:21,250 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading Trust Keystore from : lib/trust.jk s 2009-08-04 07:16:21,390 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:21,390 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLSender Loading custom SSL profiles for the HTTPS sender 2009-08-04 07:16:21,390 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSender HTTPS Sender starting 2009-08-04 07:16:21,406 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:21,406 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSender HTTP Sender starting 2009-08-04 07:16:21,406 [-] [WrapperSimpleAppMain] INFO VFSTransportSender VFS Sender started 2009-08-04 07:16:21,546 [-] [WrapperSimpleAppMain] INFO JMSSender JMS Sender started 2009-08-04 07:16:21,687 [-] [WrapperSimpleAppMain] INFO JMSConnectionFactory JMS ConnectionFactory : default initialize d 2009-08-04 07:16:21,687 [-] [WrapperSimpleAppMain] INFO JMSSender JMS Transport Sender initialized... 2009-08-04 07:16:21,687 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-04 07:16:21,687 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.jmx.rmiPort ' cannot be found. Using default value 0 2009-08-04 07:16:21,687 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil The name with ' synapse.jmx.remote.ssl ' cann ot be found. Using default value false 2009-08-04 07:16:21,703 [-] [WrapperSimpleAppMain] WARN JmxAdapter Using unsecured JMX remote access! 2009-08-04 07:16:21,750 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLListener Loading Identity Keystore from : lib/ide ntity.jks 2009-08-04 07:16:21,750 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOSSLListener Loading Trust Keystore from : lib/trust. jks 2009-08-04 07:16:21,750 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] INFO JMSConnectionFactory JMS ConnectionFactory : default initialize d 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] INFO JMSListener JMS Transport Receiver/Listener initialized... 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Loading mediator extensions... 2009-08-04 07:16:21,781 [-] [WrapperSimpleAppMain] DEBUG TaskDescriptionRepositoryFactory Creating a TaskDescriptionRepo sitory with id : task_description_repository 2009-08-04 07:16:21,796 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Reloading synapse properties 2009-08-04 07:16:21,796 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Loading synapse properties from a prope rty file 2009-08-04 07:16:21,796 [-] [WrapperSimpleAppMain] DEBUG MiscellaneousUtil Loading a file ' synapse.properties ' from cl asspath 2009-08-04 07:16:21,812 [-] [WrapperSimpleAppMain] DEBUG DataSourceInformationRepositoryFactory Creating a new DataSourc eInformationRepository 2009-08-04 07:16:21,812 [-] [WrapperSimpleAppMain] DEBUG DataSourceInformationListFactory No DataSources defined for ini tialization.. 2009-08-04 07:16:21,812 [-] [WrapperSimpleAppMain] INFO XMLConfigurationBuilder Generating the Synapse configuration mo del by parsing the XML configuration 2009-08-04 07:16:21,828 [-] [WrapperSimpleAppMain] DEBUG ConfigurationFactoryAndSerializerFinder getConfiguration({http: //ws.apache.org/ns/synapse}definitions) 2009-08-04 07:16:21,828 [-] [WrapperSimpleAppMain] DEBUG TaskDescriptionRepositoryFactory Creating a TaskDescriptionRepo sitory with id : synapse.startup.taskdescriptions.repository 2009-08-04 07:16:21,828 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-04 07:16:21,937 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.experimental.DetachMediatorFactory to handle {http://ws.apache.org/ns/synapse}detach 2009-08-04 07:16:21,937 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.experimental.ReplaceMediatorFactory to handle {http://ws.apache.org/ns/synapse}replace 2009-08-04 07:16:21,953 [-] [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-04 07:16:21,953 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.bsf.ScriptMediatorFactory to handle {http://ws.apache.org/ns/synapse}script 2009-08-04 07:16:21,953 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.throttle.ThrottleMediatorFactory to handle {http://ws.apache.org/ns/synapse}throttle 2009-08-04 07:16:21,953 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder Added MediatorFactory class org.apache.sy napse.mediators.xquery.XQueryMediatorFactory to handle {http://ws.apache.org/ns/synapse}xquery 2009-08-04 07:16:21,953 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}log) 2009-08-04 07:16:21,953 [-] [WrapperSimpleAppMain] DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/syna pse}drop) 2009-08-04 07:16:22,000 [-] [WrapperSimpleAppMain] INFO SynapseConfigurationBuilder Loaded Synapse configuration from : G:\B2BPRO~1\SYNAPS~1.0-S\bin\..\repository\conf\synapse.xml 2009-08-04 07:16:22,000 [-] [WrapperSimpleAppMain] DEBUG SynapsePropertiesLoader Retrieving synapse properties from the cache 2009-08-04 07:16:22,000 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying the Synapse service... 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying Proxy services... 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO ProxyService Building Axis service for Proxy service : Receiver QCFPS 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO ProxyService Adding service ReceiverQCFPS to the Axis2 configur ation 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO ProxyService Successfully created the Axis2 service for Proxy s ervice : ReceiverQCFPS 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deployed Proxy service : ReceiverQCFPS 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Deploying EventSources... 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] DEBUG SynapseConfiguration Initializing the Synapse Configuration usi ng the SynapseEnvironment 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] DEBUG SequenceMediator Initializing child mediators of mediator : Seq uenceMediator 2009-08-04 07:16:22,031 [-] [WrapperSimpleAppMain] DEBUG HttpCoreNIOListener Starting Listener... 2009-08-04 07:16:22,046 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:22,062 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOListener HTTPS Listener started on port : 8243 2009-08-04 07:16:22,062 [-] [WrapperSimpleAppMain] DEBUG HttpCoreNIOListener Starting Listener... 2009-08-04 07:16:22,062 [-] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package.. 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] INFO HttpCoreNIOListener HTTP Listener started on port : 8280 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] INFO VFSTransportListener VFS Listener started 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] INFO MailTransportListener MAILTO Listener started 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] INFO JMSListener JMS Listener started 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] DEBUG JMSEndpoint JMS destination type not given. default queue 2009-08-04 07:16:22,078 [-] [WrapperSimpleAppMain] DEBUG ServiceTaskManager The JMS Connection, Session and MessageConsu mer will be cached and shared between successive poller task invocations 2009-08-04 07:16:22,093 [-] [WrapperSimpleAppMain] INFO ServiceTaskManager Task manager for service : ReceiverQCFPS [re -]initialized 2009-08-04 07:16:22,093 [-] [jms-Worker-1] DEBUG ServiceTaskManager New poll task starting : thread id = 45 2009-08-04 07:16:22,093 [-] [jms-Worker-1] DEBUG ServiceTaskManager Connected to the JMS connection factory : ReceiverQC F 2009-08-04 07:16:22,093 [-] [jms-Worker-1] DEBUG JMSUtils Creating a QueueConnection using credentials : (null/null) 2009-08-04 07:16:22,359 [-] [jms-Worker-1] DEBUG ServiceTaskManager JMS Connection for service : ReceiverQCFPS created a nd started 2009-08-04 07:16:22,359 [-] [jms-Worker-1] DEBUG ServiceTaskManager Creating a new JMS Session for service : ReceiverQCF PS 2009-08-04 07:16:22,375 [-] [jms-Worker-1] DEBUG ServiceTaskManager Creating a new JMS MessageConsumer for service : Rec eiverQCFPS 2009-08-04 07:16:22,390 [-] [jms-Worker-1] DEBUG ServiceTaskManager JMS Destination with JNDI name : MyMDBQueue found fo r service ReceiverQCFPS 2009-08-04 07:16:22,390 [-] [jms-Worker-1] ERROR ServiceTaskManager Error creating JMS consumer for service : ReceiverQC FPS javax.jms.IllegalStateException: MQJMS1112: JMS1.1 Invalid operation for domain specific object at com.ibm.mq.jms.MQQueueSession.createConsumer(MQQueueSession.java:398) at org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:634) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConsumer(ServiceTaskManager.java: 835) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getMessageConsumer(ServiceTaskManager.j ava:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java: 474) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:405) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58) 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-04 07:16:22,390 [-] [jms-Worker-1] ERROR NativeWorkerPool Uncaught exception org.apache.axis2.transport.jms.AxisJMSException: Error creating JMS consumer for service : ReceiverQCFPS at org.apache.axis2.transport.jms.ServiceTaskManager.handleException(ServiceTaskManager.java:959) at org.apache.axis2.transport.jms.ServiceTaskManager.access$700(ServiceTaskManager.java:48) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConsumer(ServiceTaskManager.java: 842) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getMessageConsumer(ServiceTaskManager.j ava:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java: 474) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:405) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58) 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) Caused by: javax.jms.IllegalStateException: MQJMS1112: JMS1.1 Invalid operation for domain specific object at com.ibm.mq.jms.MQQueueSession.createConsumer(MQQueueSession.java:398) at org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:634) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConsumer(ServiceTaskManager.java: 835) ... 7 more 2009-08-04 07:16:25,093 [-] [WrapperSimpleAppMain] WARN JMSListener Polling tasks on destination : MyMDBQueue of type Q ueue for service ReceiverQCFPS have not yet started after 3 seconds .. 2009-08-04 07:16:25,093 [-] [WrapperSimpleAppMain] INFO Axis2SynapseController Management using JMX available via: serv ice:jmx:rmi:///jndi/rmi://sinpunap072:1099/synapse 2009-08-04 07:16:25,093 [-] [WrapperSimpleAppMain] INFO ServerManager Server ready for processing... 2009-08-04 07:16:25,093 [-] [WrapperSimpleAppMain] INFO SynapseServer Apache Synapse started successfully
