Not sure if this is the correct forum or the correct format. In CXF 2.2.4 with a JMS bases service we are getting the following exception when the web application starts up in WebLogic 10.3.
This only seems to happen when we set the "reconnectOnException" property of the JMSConfiguration to true: http://cwiki.apache.org/CXF20DOC/using-the-jmsconfigfeature.html Please let me know what additional information I can provide or any ideas on what I can do to fix this issue or if it is a configuration error on my side. Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: [JMSPool:169801]The JMS method setExceptionListener may not be called inside an EJB or servlet at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUt ils.java:308) at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(Jm sAccessor.java:168) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:436) at org.apache.cxf.transport.jms.JMSFactory.resolveOrCreateDestination(JMSFa ctory.java:260) at org.apache.cxf.transport.jms.JMSFactory.createJmsListener(JMSFactory.jav a:240) at org.apache.cxf.transport.jms.JMSFactory.createJmsListener(JMSFactory.jav a:146) at org.apache.cxf.transport.jms.JMSDestination.activate(JMSDestination.java :111) at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractO bservable.java:48) at org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindin gFactory.java:164) at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFa ctory.java:766) at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:271) ... 61 more Caused by: javax.jms.JMSException: [JMSPool:169801]The JMS method setExceptionListener may not be called inside an EJB or servlet at weblogic.deployment.jms.JMSExceptions.getJMSException(JMSExceptions.java :22) at weblogic.deployment.jms.PooledConnection.setExceptionListener(PooledConn ection.java:180) at org.springframework.jms.connection.SingleConnectionFactory.prepareConnec tion(SingleConnectionFactory.java:365) at org.springframework.jms.connection.SingleConnectionFactory.initConnectio n(SingleConnectionFactory.java:291) at org.springframework.jms.connection.SingleConnectionFactory.createConnect ion(SingleConnectionFactory.java:227) at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor .java:184) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:461) ... 71 more Thanks, Erich --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. ---------------------------------------------------------------------------------------------------------
