Author: mriou
Date: Fri Feb 27 02:31:16 2009
New Revision: 748382

URL: http://svn.apache.org/viewvc?rev=748382&view=rev
Log:
Added init() method to prevent a potential stack overflow on WAS 6.1 (reported 
by Gary)/



Modified:
    
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisServlet.java

Modified: 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisServlet.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisServlet.java?rev=748382&r1=748381&r2=748382&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisServlet.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisServlet.java
 Fri Feb 27 02:31:16 2009
@@ -54,6 +54,10 @@
         _browser = new DeploymentBrowser(_odeServer.getProcessStore(), 
axisConfiguration, _odeServer.getAppRoot());
     }
 
+    // Prevents a stack overflow on WAS 6.1 due to the axis2 init delegation 
chain
+    public void init() throws ServletException {
+    }
+
     protected void doGet(HttpServletRequest request, HttpServletResponse 
response) throws ServletException, IOException {
         if (!_browser.doFilter(request, response)) super.doGet(request, 
response);
     }


Reply via email to