Usually you wouldn't want to do this (start/stop database with JBoss), rather just have the database running as a background process/service.
If you really really want to do this, then you need to use the fairly limited Java API's to run the db start/stop scripts from within an MBean for example. Even if you do this, it still means that the DB is running as a separate process, rather than embedded within the java process so I don't see a great benefit trying to build it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835773#3835773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835773 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user