Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 53614 invoked from network); 4 Apr 2008 17:04:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 17:04:07 -0000 Received: (qmail 57546 invoked by uid 500); 4 Apr 2008 17:04:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 57504 invoked by uid 500); 4 Apr 2008 17:04:06 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 57493 invoked by uid 99); 4 Apr 2008 17:04:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 10:04:05 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 17:03:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98080234C0B9 for ; Fri, 4 Apr 2008 10:01:24 -0700 (PDT) Message-ID: <237085088.1207328484610.JavaMail.jira@brutus> Date: Fri, 4 Apr 2008 10:01:24 -0700 (PDT) From: "George Marrows (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3662) Can't use JMS transport from axis2.war on WebSphere Application Server 6.1 In-Reply-To: <353872819.1206542244685.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585636#action_12585636 ] George Marrows commented on AXIS2-3662: --------------------------------------- Hi Asankha - thanks for looking at this. I agree that the polling option does not seem sensible. Like Cathal (originator of the mail used in the bug report), I'm developing a custom MDB-based approach. You're right this will lose hot deployment of new services that need to listen on a new queue/topic (because a new MDB will also need to be declared to listen on that destination), but I hope to be able to maintain hot update of changed services. Perhaps that's an acceptable compromise for running on a wider range of app servers in a J2EE-compliant way? Another option of course is to see how other ws stacks have handled this issue, if any have. -- George > Can't use JMS transport from axis2.war on WebSphere Application Server 6.1 > -------------------------------------------------------------------------- > > Key: AXIS2-3662 > URL: https://issues.apache.org/jira/browse/AXIS2-3662 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.3 > Environment: WebSphere Application Server 6.1, Axis2 war deployment > Reporter: George Marrows > > From http://www.nabble.com/setMessageListener-not-permitted-in-Websphere-td15306747.html: > > We are currently deploying axis2 in Websphere 6.1. We wish to > > use the jms transport. However axis2 fails to start because > > it uses forbidden api's. > > > > On startup axis2's JMSConnectionFactory class calls the > > listenOnDestination(String destinationJndi) method. Here it > > creates a MessageConsumer and calls the > > MessageConsumer.setMessageListener(MessageListener listener) > > method. This causes failure and the exception thrown is as follows: > > javax.jms.IllegalStateException: Method setMessageListener > > not permitted > > > > On looking through docs online it is clear that IBM have > > stuck to the J2EE > > 1.4 specification. This states that the > > MessageConsumer.setMessageListener(MessageListener listener) > > method can not be called in a Web or EJB container. See > > http://www.ibm.com/developerworks/library/j-getmess/ for details. > [See http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf, section 6.6 for the actual spec reference.] > This means that the only way of deploying Axis2 with JMS transport on WAS is to use the standalone axis server. This works, but a deployment within the application server would be greatly preferable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org