Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 79892 invoked from network); 23 May 2010 11:37:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 May 2010 11:37:41 -0000 Received: (qmail 37041 invoked by uid 500); 23 May 2010 11:37:40 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 36516 invoked by uid 500); 23 May 2010 11:37:39 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 36508 invoked by uid 99); 23 May 2010 11:37:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 May 2010 11:37:38 +0000 X-ASF-Spam-Status: No, hits=-1455.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 May 2010 11:37:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4NBbHpI029189 for ; Sun, 23 May 2010 11:37:17 GMT Message-ID: <2306281.39431274614637135.JavaMail.jira@thor> Date: Sun, 23 May 2010 07:37:17 -0400 (EDT) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Issue Comment Edited: (AXIS2-4722) NPE Thrown When Enabling the UDP Listener Globally In-Reply-To: <18807989.39451274352714018.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870390#action_12870390 ] Andreas Veithen edited comment on AXIS2-4722 at 5/23/10 7:35 AM: ----------------------------------------------------------------- > Don't we already do this with HTTP transports? Yes and no. There is one important difference. In HTTP, the information is exchanged at the transport protocol level (in the HTTP request line). For UDP and TCP (as implemented in Axis2) the servicePath information is not exchanged at the transport protocol level, but at the SOAP level (assuming that WS-Addressing is enabled). was (Author: veithen): > Don't we already do this with HTTP transports? Yes and no. There is one important difference. In HTTP, the transformation is exchanged at the transport protocol level (in the HTTP request line). For UDP and TCP (as implemented in Axis2) the servicePath information is not exchanged at the transport protocol level, but at the SOAP level (assuming that WS-Addressing is enabled). > NPE Thrown When Enabling the UDP Listener Globally > -------------------------------------------------- > > Key: AXIS2-4722 > URL: https://issues.apache.org/jira/browse/AXIS2-4722 > Project: Axis2 > Issue Type: Bug > Components: transports > Reporter: Hiranya Jayathilaka > Fix For: 1.6 > > Attachments: AXIS2-4722-update1.patch, AXIS2-4722.patch > > > Steps to reproduce: > 1. Enable the UDP listener in the axis2.xml by adding the following entry: > > 9999 > text/xml > > 2. Start the server and following NPE will be thrown: > 2010-05-20 16:02:43,890 [-] [main] ERROR ListenerManager Couldn't initialize the udptransport listener > java.lang.NullPointerException > at org.apache.axis2.transport.base.datagram.AbstractDatagramTransportListener.startEndpoint(AbstractDatagramTransportListener.java:75) > at org.apache.axis2.transport.base.datagram.AbstractDatagramTransportListener.startEndpoint(AbstractDatagramTransportListener.java:31) > at org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:58) > at org.apache.axis2.transport.base.datagram.AbstractDatagramTransportListener.init(AbstractDatagramTransportListener.java:41) > at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:83) > at samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:110) > at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61) > at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40) > I was able to reproduce this issue with Synapse and the sample Axis2 server that comes with Synapse. I will soon attach a patch. -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org