Re: how to unload all processes from the engine (shark server) (with one command) (click)

Vojtech Huser <[email protected]> Tue, 23 Aug 2005 13:46:14 -0600
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Thank you.
but it still does not nuke it.
I get an error about class missing.
How can I fix that ?

(output of nuking)



Buildfile: configure.xml

init:

_copyNfilter:
     [copy] Copying 14 files to W:\pf\shark08

_winFileSeparator:
  [replace] Replaced 0 occurrences in 0 files.
   [delete] Deleting 14 files from W:\pf\shark08

_linFileSeparator:

_recreateDB:
   [delete] Deleting directory W:\pf\shark08\db\hsql
   [delete] Deleting directory W:\pf\shark08\repository\internal\history
   [delete] Deleting directory W:\pf\shark08\repository\internal
    [mkdir] Created dir: W:\pf\shark08\db\hsql
    [mkdir] Created dir: W:\pf\shark08\repository\internal\history
     [java] Default (Standard) Logger is load.


     [java] Application is started.

     [java] Loader loads XML file : conf/sql/hsql/LoaderJob.olj


     [java] XML document is valid.


     [java] Import job No. 1 is started.

     [java] java.lang.NoClassDefFoundError: java/sql/Savepoint
     [java]     at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
     [java]     at org.hsqldb.jdbcDriver.connect(Unknown Source)
     [java]     at java.sql.DriverManager.getConnection(Unknown Source)
     [java]     at java.sql.DriverManager.getConnection(Unknown Source)
     [java]     at org.webdocwf.util.loader.DBConnectionManager$DBConnectionPool
.newConnections(Unknown Source)
     [java]     at org.webdocwf.util.loader.DBConnectionManager$DBConnectionPool
.getConnection(Unknown Source)
     [java]     at org.webdocwf.util.loader.DBConnectionManager.getConnection(Un
known Source)
     [java]     at org.webdocwf.util.loader.Loader.load(Unknown Source)
     [java]     at org.webdocwf.util.loader.Loader.main(Unknown Source)
     [java] Exception in thread "main"

BUILD FAILED
file:W:/pf/shark08/configure.xml:146: Java returned: 1

Total time: 4 seconds

W:\pf\shark08\bin>



On 8/23/05, Neville van Deventer <[email protected]> wrote:
> Hi Vojtech,
> 
> I Call this Nuking Shark .... I Do it quite regularely with our development.
> 
> recreateDB is what we use, but sometimes you need to run it Twice, and also
> before you run it Ensure nothing is running and connected to the Database
> ....
> 
> Neville van Deventer
> 
> -----Original Message-----
> From: Vojtech Huser [mailto:[email protected]]
> Sent: 22 August 2005 10:19 PM
> To: [email protected]
> Subject: [shark] how to unload all processes from the engine (shark server)
> (with one command) (click)
> 
> INTRO:
> 4 months ago it was possible to remove all processes easily from the engine
> (shark server) by calling the recreateDB.bat
> 
> Now it leaves them still loaded. :-(
> 
> 
> QUESTION:
> how can I unload all processes from the engine (shark server) with one
> command in the current version?
> 
> 
> (I want something like: "Wipe everything" button.
> ("hard-shark-reset-button"). Or at least "wipe everything.bat")
> 
> 
> Vojtech
> 
> 
> 
> p.s. when I try to do it manually by clicking unload in admin app. I get an
> error: ... instances are running. can't remove. (although no instances are
> running !!)
> 
> 
> 
> 
> 
> 
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> 
> 
>
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws