You should not use console but just start web server directly from
your app
org.h2.tools.Server.createWebServer().start();
for example on plugin initialization and then manually open views or
editors with browser and point it to correct url.


On Nov 24, 6:11 pm, marcolopes <[email protected]> wrote:
> I have tested H2 as a server, and now i have it "embedded" in a
> Eclipse RCP Java App.
>
> Everything works just fine connecting to the Database engine. Embedded
> (local) connection jdbc:h2:[file:][]
>
> Now, can i connect to the H2 HTTP Console using the Embedded server?
>
> Virtually, all Eclipse RCP views have browser capability, so the
> preferred way would be to execute the console inside em RCP view.
>
> Basically i need to set the browser url inside the view:
> browser.setUrl(url);
>
> But the H2 console must be called specifically with:
> org.h2.tools.Server.openBrowser(url); This opens the the console into
> an external browser and does not connect to the embedded browser.
>
> 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.

Reply via email to