fixed! was of course a configuration error on my part... wasnt aware of the 
full set of params, -baseDir in particular:

Server.createTcpServer(new "-tcpPort", Integer.toString(port), 
"-tcpAllowOthers", "-baseDir", System.getProperty("user.dir") + "/db", 
"-ifExists"}).start();

a very nice person emailed me the above, dont see it in the docs

thanks to all





On Monday, December 9, 2013 8:34:49 PM UTC-8, bruce buchanan wrote:
>
> ok, somewhat more specifically, my problem is that I cant connect to the 
> tcp server
>
> I can start the tcp server, pass in a port number etc
>
> and I can get my client to connect to that server, on that port
>
> but I cant get any client to see my database, all I get, schemawise are 
> INFORMATION_SCHEMA and PUBLIC (which is empty)
>
> first question: is the connection url format be the same regardless of 
> client vendor, or will it vary, possibly, from vendor to vendor
>
> at any rate, my current client of choice reports this as the jdbc url 
> format:
>
> {tcp|ssl}:[//]server[:port][,server2[:port]]/name
>
> which I'm giving it: 
> jdbc:h2:tcp://192.168.1.3:9090/[name]<http://192.168.1.3:9090/%5Bname%5D>
>
> and we know that's almost correct, because client does connect... but not 
> quite correct because my database is not there, in the list of 
> databi/shchemata... seems like it must have to do with the name param
>
> so, second  question: should "name" be... "PUBLIC"? or, my database file 
> name? by database file name minus ".h2.db"? absolute path to my database 
> file name, including file name? some other combination of "PUBLIC" and ...
>
> seems like it has to be one of those but I have tried them all
>
> thanks for your help!
>
>
>
>
>

-- 
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