axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r397443 - in /webservices/axis2/trunk/java/modules: core/src/org/apache/axis2/description/ webapp/
Date Thu, 27 Apr 2006 06:41:07 GMT
Author: deepal
Date: Wed Apr 26 23:41:06 2006
New Revision: 397443

URL: http://svn.apache.org/viewcvs?rev=397443&view=rev
Log:
- fixed the problem of getting exception when tomcat stop

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ClientUtils.java
    webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp
    webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp
    webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp
    webservices/axis2/trunk/java/modules/webapp/ListServiceGroup.jsp
    webservices/axis2/trunk/java/modules/webapp/SelectService.jsp
    webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp
    webservices/axis2/trunk/java/modules/webapp/engagingtoanoperation.jsp
    webservices/axis2/trunk/java/modules/webapp/engagingtoaservice.jsp
    webservices/axis2/trunk/java/modules/webapp/globalModules.jsp
    webservices/axis2/trunk/java/modules/webapp/listGroupService.jsp
    webservices/axis2/trunk/java/modules/webapp/listModules.jsp
    webservices/axis2/trunk/java/modules/webapp/listService.jsp
    webservices/axis2/trunk/java/modules/webapp/listServices.jsp
    webservices/axis2/trunk/java/modules/webapp/viewphases.jsp

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ClientUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ClientUtils.java?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ClientUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ClientUtils.java
Wed Apr 26 23:41:06 2006
@@ -31,6 +31,9 @@
                 throw new AxisFault(Messages.getMessage("cannotInferTransport", transportURI));
             }
         } else {
+            if (msgctx.getOptions().getTransportOut() != null) {
+                return msgctx.getOptions().getTransportOut();
+            }
             if (epr == null || (epr.getAddress() == null)) {
                 throw new AxisFault(Messages.getMessage("cannotInferTransportNoAddr"));
             }

Modified: webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp Wed Apr 26 23:41:06 2006
@@ -30,6 +30,7 @@
                            <%=axisServices.getName()%></option> <%
                            }
                        }
+                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
                            %>
                   </td>
   </tr>

Modified: webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp Wed Apr 26 23:41:06
2006
@@ -8,8 +8,10 @@
 <%
     String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
     HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+    request.getSession().setAttribute(Constants.MODULE_MAP,null);
     Collection moduleCol =  moduels.values();
     Iterator servicesGroups = (Iterator)request.getSession().getAttribute(Constants.SERVICE_GROUP_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null);
 %>
 <h1>Engage Module for a Service Group</h1>
 <p>To engage a module for a set of services grouped as a axisService group, first select
the module you want to engage and then select the axisService group you like the module to
be engaged on and click "Engage".</p>

Modified: webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp Wed Apr 26 23:41:06
2006
@@ -30,6 +30,7 @@
                            <%=axisServices.getName()%></option> <%
                            }
                        }
+                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
                            %>
                   </td>
   </tr>

Modified: webservices/axis2/trunk/java/modules/webapp/ListServiceGroup.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/ListServiceGroup.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/ListServiceGroup.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/ListServiceGroup.jsp Wed Apr 26 23:41:06 2006
@@ -10,6 +10,7 @@
 <%
     Iterator axisServiceGroupIter = (Iterator) request.getSession().getAttribute(
             Constants.SERVICE_GROUP_MAP);
+    request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null);
     while (axisServiceGroupIter.hasNext()) {
         AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisServiceGroupIter.next();
         String groupName = axisServiceGroup.getServiceGroupName();

Modified: webservices/axis2/trunk/java/modules/webapp/SelectService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/SelectService.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/SelectService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/SelectService.jsp Wed Apr 26 23:41:06 2006
@@ -70,6 +70,7 @@
             %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
              <%
                 }
+                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
              %>
            </td>
         </tr>

Modified: webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp Wed Apr 26 23:41:06 2006
@@ -42,6 +42,7 @@
                 <select name="modules">
                     <%
                         HashMap moduels = (HashMap) request.getSession().getAttribute(Constants.MODULE_MAP);
+                        request.getSession().setAttribute(Constants.MODULE_MAP,null);
                         Collection moduleCol = moduels.values();
                         for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();)
{
                             AxisModule axisOperation = (AxisModule) iterator.next();

Modified: webservices/axis2/trunk/java/modules/webapp/engagingtoanoperation.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/engagingtoanoperation.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/engagingtoanoperation.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/engagingtoanoperation.jsp Wed Apr 26 23:41:06
2006
@@ -26,6 +26,7 @@
             <select name="modules">
             <%
                 HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+                request.getSession().setAttribute(Constants.MODULE_MAP,null);
                 Collection moduleCol =  moduels.values();
                 for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
                     AxisModule axisOperation = (AxisModule) iterator.next();
@@ -56,6 +57,7 @@
             %> <option  align="left" value="<%=opname%>"><%=opname%></option>
              <%
                 }
+                request.getSession().setAttribute(Constants.OPERATION_MAP,null);
              %>
            </td>
         </tr>

Modified: webservices/axis2/trunk/java/modules/webapp/engagingtoaservice.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/engagingtoaservice.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/engagingtoaservice.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/engagingtoaservice.jsp Wed Apr 26 23:41:06
2006
@@ -26,6 +26,7 @@
             <select name="modules">
             <%
                 HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+                request.getSession().setAttribute(Constants.MODULE_MAP,null);
                 Collection moduleCol =  moduels.values();
                 for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
                     AxisModule axisOperation = (AxisModule) iterator.next();
@@ -57,6 +58,7 @@
             %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
              <%
                 }
+                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
              %>
            </td>
         </tr>

Modified: webservices/axis2/trunk/java/modules/webapp/globalModules.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/globalModules.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/globalModules.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/globalModules.jsp Wed Apr 26 23:41:06 2006
@@ -35,6 +35,7 @@
 	boolean wroteUL = false;
          String modulename = "";
          Collection moduleCol = (Collection)request.getSession().getAttribute(Constants.MODULE_MAP);
+         request.getSession().setAttribute(Constants.MODULE_MAP,null);
          if(moduleCol != null && moduleCol.size() > 0) {
              for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
                  QName axisOperation = (QName) iterator.next();

Modified: webservices/axis2/trunk/java/modules/webapp/listGroupService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listGroupService.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listGroupService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listGroupService.jsp Wed Apr 26 23:41:06 2006
@@ -22,6 +22,7 @@
 %>
 <%
   HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+  request.getSession().setAttribute(Constants.SERVICE_MAP,null);
   String servicName = request.getParameter("serviceName");
   AxisService axisService = (AxisService) serviceMap.get(servicName);
   if (axisService != null) {

Modified: webservices/axis2/trunk/java/modules/webapp/listModules.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listModules.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listModules.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listModules.jsp Wed Apr 26 23:41:06 2006
@@ -37,6 +37,7 @@
          boolean foundModules = false;
 	boolean wroteUL = false;
          HashMap moduleMap = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+         request.getSession().setAttribute(Constants.MODULE_MAP,null);
          Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
          if (moduleMap!=null && !moduleMap.isEmpty()){
              String modulename = "";

Modified: webservices/axis2/trunk/java/modules/webapp/listService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listService.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listService.jsp Wed Apr 26 23:41:06 2006
@@ -41,6 +41,7 @@
     %>
      <%
          HashMap serviceMap = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+         request.getSession().setAttribute(Constants.SERVICE_MAP,null);
          Hashtable errornessservice =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
          boolean status = false;
          if (serviceMap!=null && !serviceMap.isEmpty()){

Modified: webservices/axis2/trunk/java/modules/webapp/listServices.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listServices.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listServices.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listServices.jsp Wed Apr 26 23:41:06 2006
@@ -38,6 +38,7 @@
     %>
      <%
         HashMap serviceMap = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+         request.getSession().setAttribute(Constants.SERVICE_MAP,null);
         Hashtable errornessservice =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
          boolean status = false;
         if (serviceMap!=null && !serviceMap.isEmpty()){

Modified: webservices/axis2/trunk/java/modules/webapp/viewphases.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/viewphases.jsp?rev=397443&r1=397442&r2=397443&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/viewphases.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/viewphases.jsp Wed Apr 26 23:41:06 2006
@@ -31,6 +31,7 @@
 <h1>Available Phases</h1>
      <%
          ArrayList phases = (ArrayList)request.getSession().getAttribute(Constants.PHASE_LIST);
+         request.getSession().setAttribute(Constants.PHASE_LIST,null);
          ArrayList tempList;
      %><h2><font color="blue">System pre-defined phases</font></h2>
      <b>InFlow Up to Dispatcher</b>



Mime
View raw message