Hi all,
I have a trivial class that starts and stops the kernel but the
application never exits.
public class testXindice {
public void go() {
Kernel kernel = new
Kernel("/home/Apache/xml-xindice-1.0/config/system.xml");
kernel.shutDown(1, false);
}
public static void main(String[] args) {
(new testXindice()).go();
}
}
and the execution looks pretty normal:
Database: 'db' initializing
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://delta.adnovum.com:4080/
Service: 'APIService' started
Server Running
Service: 'APIService' stopped
Service: 'HTTPServer' stopped
Service: 'db' stopped
Server shutdown (Exit code 1)
but the JVM is running, running, still running...
Any idea?
-Vladimir
--
+---------------------------------------------------------------------+
Vladimir Bossicard mailto:[EMAIL PROTECTED]
Software Engineer MS Computer Science ETH
AdNovum Software Inc. San Mateo, CA 94404 phone: +1 (650) 525 9322
1400 Fashion Island Boulevard, Suite 309 fax: +1 (650) 525 9324
+---------------------------------------------------------------------+
AdNovum Informatik AG http://www.adnovum.ch phone: +41 (1) 272 6111
Roentgenstrasse 22, CH-8005 Zuerich fax: +41 (1) 272 6312
+---------------------------------------------------------------------+