You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by ks...@apache.org on 2002/07/19 05:28:37 UTC

cvs commit: xml-xindice/java/src/org/apache/xindice/server/rpc/messages Shutdown.java

kstaken     2002/07/18 20:28:37

  Modified:    java/src/org/apache/xindice/client/xmldb/xmlrpc
                        CollectionImpl.java
               java/src/org/apache/xindice/server/rpc/messages
                        Shutdown.java
  Log:
  Minor changes.
  
  Revision  Changes    Path
  1.6       +2 -1      xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/CollectionImpl.java
  
  Index: CollectionImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/CollectionImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CollectionImpl.java	12 Jul 2002 10:09:51 -0000	1.5
  +++ CollectionImpl.java	19 Jul 2002 03:28:37 -0000	1.6
  @@ -116,6 +116,7 @@
           this.collPath = collPath;
           String xmlrpcURI = "http://" + hostPort + XINDICE_SERVICE_LOCATION;
           XmlRpc.setEncoding("UTF8");
  +        XmlRpc.setKeepAlive(true);
           try {
               
               XmlRpc.setDriver("xerces");
  
  
  
  1.2       +3 -3      xml-xindice/java/src/org/apache/xindice/server/rpc/messages/Shutdown.java
  
  Index: Shutdown.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/server/rpc/messages/Shutdown.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Shutdown.java	11 Jul 2002 23:25:28 -0000	1.1
  +++ Shutdown.java	19 Jul 2002 03:28:37 -0000	1.2
  @@ -61,7 +61,7 @@
   
   import java.util.Hashtable;
   
  -import org.apache.xindice.server.Kernel;
  +import org.apache.xindice.server.*;
   import org.apache.xindice.server.rpc.*;
   
   /**
  @@ -69,7 +69,7 @@
    */
   public class Shutdown extends RPCDefaultMessage {   
      
  -   public Hashtable execute(Hashtable message) throws Exception {
  +   public Hashtable execute(Hashtable message) throws Exception {      
         Kernel.getKernel().shutDown(1);
   
         Hashtable result = new Hashtable();