vgritsenko    02/01/17 13:04:59

  Modified:    src/java/org/apache/cocoon/components/hsqldb ServerImpl.java
  Log:
  Apply patch suggested by Carsten. Till we have better solution.
  
  Revision  Changes    Path
  1.4       +7 -0      
xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/ServerImpl.java
  
  Index: ServerImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/ServerImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServerImpl.java   15 Jan 2002 17:05:20 -0000      1.3
  +++ ServerImpl.java   17 Jan 2002 21:04:59 -0000      1.4
  @@ -93,6 +93,13 @@
   
       /** Start the server */
       public void start() {
  +
  +        // FIXME (VG): This dirty hack here is till shutdown issue is resolved
  +        File file = new File(arguments[7] + ".backup");
  +        if (file.exists() && file.delete()) {
  +            getLogger().info("HSQLDB backup file has been deleted.");
  +        }
  +
           Thread server = new Thread(this);
           this.getLogger().debug("Intializing hsqldb server thread");
           server.setPriority(Thread.currentThread().getPriority());
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to