开发者

Use HSQLDB in JBoss5.1

开发者 https://www.devze.com 2023-02-11 23:56 出处:网络
In my current project, I use HSQLDB 2.0 and JBoss5.1 . Currently I am starting the HSQLDB server from command prompt as :

In my current project, I use HSQLDB 2.0 and JBoss5.1 .

Currently I am starting the HSQLDB server from command prompt as :

java -cp ../lib/hsqldb.jar org.hsqldb.server.Server --database.0 file:hmc

and connect to HSQLDB from datasource defined in deploy folder of jBoss.

But now I do not want to start HSQLDB externally but 开发者_开发技巧would like to start it when jBoss starts.

Is it possible to perform such action, and how?


I simply added HSQLDB startup script to the jBoss startup script.

0

精彩评论

暂无评论...
验证码 换一张
取 消