tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Running hypersonic db in server mode from tomcat
Date Fri, 17 Apr 2009 15:54:58 GMT
Hash: SHA1


On 4/9/2009 4:10 AM, Graham Towse wrote:
> I
> understand that in JBoss one can define a dataSource that kicks off a
> hypersonic database in server mode (server mode enables tcp connections
> outside the JVM), the instructions are here 
> My question is, can you do the same thing in tomcat, i.e. kick off a hypersonic database
in server mode from tomcat.

Do you mean that you need to use it in a way other than in-process mode?

If you just need in-process, then all you need to do is configure a
DataSource using the standard setup
and hsqldb should start.

The documentation above for JBoss seems to indicate that JBoss knows how
to do dependency-checking for the server mode hsqldb. Tomcat doesn't do
anything like that.

If you want hsqldb to run in server mode in Tomcat, I think you'll want
to create a webapp that mimics the behavior of org.hsqldb.Server. Just
remember to put /all/ the hsqldb JAR files (including the JDBC driver
JAR) into Tomcat's common/lib or I don't think things will work.

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message