Satya
Satya

Reputation: 2124

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?

Upvotes: 0

Views: 395

Answers (1)

Satya
Satya

Reputation: 2124

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

Upvotes: 1

Related Questions