Hi,

> it was the last param "-baseDir" which seems to be undocumented...
where'd you find it?

Hm, it sounds like the documentation should be improved. Where would you
expect to find it documented? It is documented here:

http://www.h2database.com/javadoc/org/h2/tools/Server.html#main_String...

and indirectly here:

http://www.h2database.com/html/tutorial.html#using_server - if you run
"java -cp h2*.jar org.h2.tools.Server -?"

Regards,
Thomas



On Fri, Dec 13, 2013 at 5:18 AM, Bruce Buchanan
<[email protected]>wrote:

> yes! thank you! it was the last param "-baseDir" which seems to be
> undocumented... where'd you find it?
>
>
> On Dec 12, 2013, at 9:33 AM, Atul Chowdhury <[email protected]>
> wrote:
>
> > We  - and thousands others I'm sure, connect to H2/TCP all the time;
> surely it's a configuration issue on your side.
> >
> > From DbVisualizer I use:
> >
> > jdbc:h2:tcp://megaxi3:9092/mmdb
> >
> > (more configuration properties: http://d.pr/i/BSsm )
> >
> > And from the H2 server side:
> >
> > Server.createTcpServer(new String[]{
> >                     "-tcpPort", Integer.toString(port),
> "-tcpAllowOthers", "-baseDir", System.getProperty("user.dir") + "/db",
> "-ifExists"}).start();
> >
> > ...where "/db" is a classpath folder where we place the "mmdb" database
> (real filename: mmdb.h2.db but h2 doesn't require the ".h2.db" suffix and
> actually won't work if you include it)
> >
> > Good luck.
> > On Thu, Dec 12, 2013 at 10:51 AM, bruce buchanan <
> [email protected]> wrote:
> > somebody must have done this, I cant get it to work
> >
> > thanks
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "H2 Database" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/h2-database.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> > --
> > You received this message because you are subscribed to a topic in the
> Google Groups "H2 Database" group.
> > To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/h2-database/YY79hzAy0cg/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/h2-database.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to