You dont need tcp://, just specify the local path, eg:
jdbc:h2:/usr/local/jboss/try

What you did probably caused the creation of a new database, which is
why it was blank. You can use the option IFEXISTS=TRUE to protect
against that.

On Thu, Mar 11, 2010 at 7:33 PM, diepulle <[email protected]> wrote:
> Hi,
>
> I´ve the following problem. I use the H2-db in embedded mode in an
> j2ee-application. The directory, where the scheme is located is: /usr/
> local/jboss/
> In this directory there´s stored a try.h2.db and a try.lock.db
>
> My problem now is, that I wanted to watch the content of this db in
> the browser-tool.
> So I started H2 in server-mode allowing remote connections with the
> following command java -cp h2*.jar org.h2.tools.Server -webAllowOthers
>
> Now I tried to connect remotely connect to this h2-server using the
> following url https://myip:8082
> This works also, but when I try to connect by browser with the
> following jdbc-url jdbc:h2:tcp://localhost/usr/local/jboss/try  I don
> ´t see the tables located in this scheme.
>
> What´s my error? Why I can´t see the tables located in the scheme,
> although they´re there?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "H2 
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to