You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2004/11/12 16:44:24 UTC

cvs commit: ws-axis/java/src/org/apache/axis/transport/http SimpleAxisServer.java

dims        2004/11/12 07:44:24

  Modified:    java/src/org/apache/axis/i18n resource.properties
               java/src/org/apache/axis/transport/http
                        SimpleAxisServer.java
  Log:
  Trying to find cause of Gump Failure (http://brutus.apache.org/gump/public/ws-axis/ws-axis-test/gump_work/build_ws-axis_ws-axis-test.txt)
  
  Revision  Changes    Path
  1.97      +1 -1      ws-axis/java/src/org/apache/axis/i18n/resource.properties
  
  Index: resource.properties
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/i18n/resource.properties,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- resource.properties	29 Oct 2004 20:25:25 -0000	1.96
  +++ resource.properties	12 Nov 2004 15:44:23 -0000	1.97
  @@ -611,7 +611,7 @@
   
   setValueInTarget00=Set value {0} in target {1}
   somethingWrong00=Sorry, something seems to have gone wrong... here are the details:
  -start00={0} starting up on port {1}.
  +start00=starting up {0} on port {1} ({2}) 
   startElem00=Start element {0}
   startPrefix00=Start prefix mapping ''{0}'' -> ''{1}''
   stackFrame00=Stack frame marker
  
  
  
  1.86      +10 -1     ws-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java
  
  Index: SimpleAxisServer.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- SimpleAxisServer.java	20 Oct 2004 20:54:10 -0000	1.85
  +++ SimpleAxisServer.java	12 Nov 2004 15:44:23 -0000	1.86
  @@ -35,6 +35,7 @@
   import java.net.Socket;
   import java.util.Map;
   import java.io.IOException;
  +import java.io.File;
   
   /**
    * This is a simple implementation of an HTTP server for processing
  @@ -224,7 +225,7 @@
        */
       public void run() {
           log.info(Messages.getMessage("start00", "SimpleAxisServer",
  -                new Integer(getServerSocket().getLocalPort()).toString()));
  +                new Integer(getServerSocket().getLocalPort()).toString(),getCurrentDirectory()));
   
           // Accept and process requests from the socket
           while (!stopped) {
  @@ -246,6 +247,14 @@
               }
           }
           log.info(Messages.getMessage("quit00", "SimpleAxisServer"));
  +    }
  +
  +    /**
  +     * Gets the current directory
  +     * @return current directory
  +     */ 
  +    private String getCurrentDirectory() {
  +        return System.getProperty("user.dir");
       }
   
       /**