开发者

Use HSQLDB in JBoss5.1

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜