Hey Tim White wrote: > 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 . Waaah! So there is such a parameter!? Geez... thanks for telling! 8-) > 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. I'll do this. Add an entry to BugZilla about it and bug me if it's not done shortly. > 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. I will do that. Thanks for notifying! regards, Rickard ps. Where can I read about these parameters? -- Rickard �berg Email: [EMAIL PROTECTED] http://www.telkel.com http://www.jboss.org http://www.dreambean.com -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
