Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 37398 invoked from network); 18 Feb 2009 13:25:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 13:25:26 -0000 Received: (qmail 75804 invoked by uid 500); 18 Feb 2009 13:25:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75722 invoked by uid 500); 18 Feb 2009 13:25:22 -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 75710 invoked by uid 99); 18 Feb 2009 13:25:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 05:25:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 18 Feb 2009 13:25:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0106C234C4AA for ; Wed, 18 Feb 2009 05:25:01 -0800 (PST) Message-ID: <1836748231.1234963501997.JavaMail.jira@brutus> Date: Wed, 18 Feb 2009 05:25:01 -0800 (PST) From: "Gary McWilliams (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3791) Endlesloop in AxisServlet init (Websphere 6.1 deployment) In-Reply-To: <501494039.1210227535640.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-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary McWilliams updated AXIS2-3791: ----------------------------------- Attachment: diff.txt Added a very simple patch to workaround this. This was tested on a known failing system and prevents the stack overflow > Endlesloop in AxisServlet init (Websphere 6.1 deployment) > --------------------------------------------------------- > > Key: AXIS2-3791 > URL: https://issues.apache.org/jira/browse/AXIS2-3791 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: transports > Affects Versions: 1.3 > Environment: Solaris-10 > Websphere 6.1 > java version "1.5.0_13" > Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.5.0_13-b05 20071004) > Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode) > IBM Java ORB build orb50-20070915 (SR6) > XML build XSLT4J Java 2.7.9 > XML build IBM JAXP 1.3.7 > XML build XML4J 4.4.11 > Reporter: martin voegeli > Assignee: Deepal Jayasinghe > Priority: Minor > Attachments: diff.txt > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > Wrong usage of servlet init procedure leads to endlessloop, if container issues init method twice. > => http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/GenericServlet.html#init(javax.servlet.ServletConfig) > [5/7/08 14:55:37:535 MEST] 00000036 ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet AxisServlet: java.lang.StackOverflowError > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:413) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:487) > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:413) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:487) > AxisServlet.java: > public void init(ServletConfig config) throws ServletException { > 413 super.init(config); > try { > this.servletConfig = config; > ... > GenericServlet.java > public void init(ServletConfig config) > throws ServletException > { > this.config = config; > init(); > } > AxisServlet.java:487: > /** > * Convenient method to re-initialize the ConfigurationContext > * > * @throws ServletException > */ > public void init() throws ServletException { > if (this.servletConfig != null) { > 487 init(this.servletConfig); > } > } > After reinstalling the websphere server, the issue was resolved. Seems, that WAS6.1 has some buggy state too. Maybe you can handover the issue to IBM ;-) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.