Hi there:

 org.jboss.jdbc.HypersonicDatabase fires off org.hsql.Server.

 However, it doesn't allow (as far as I can tell) the passing of any of
the command line args that that class can take.

 Hypersonic supports the -database parameter to it's org.hsql.Server
command, which would allow you to set the default database to be
../db/hypersonic/default .

 This would move the hsql datafiles out of the bin directory.

 There are also the useful -port -silent and -trace parameters.

 I'm not sure what it would take to enable passing these parameters to
the Hypersonic MBean, or I'd change the code myself.

 One quick way might be, since the org.hsql.Server class tries to read
in a file called Server.properties by default, (which can contain the
parameters normally passed on the command line), to put a
Server.properties in the bin directory.

 This gets the data files out of the bin directory, put puts in a file
that should be in conf.

 The best way would be to alter the MBEAN so that the parameters could
be passed.

Thanks,

Tim


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to