Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3495002
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:04:25+00:00 2026-05-18T12:04:25+00:00

I have tested H2 as a server, and now i have it embedded in

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:04:26+00:00Added an answer on May 18, 2026 at 12:04 pm

    You need to start the H2 Console application using:

    org.h2.tools.Server.createWebServer().start();
    

    You can also specify the port:

    org.h2.tools.Server.createWebServer("-webPort", "10500").start();
    

    After the server is running, connect to it using an Eclipse internal (embedded) browser composite, which seems to be org.eclipse.help.ui.internal.browser.embedded.EmbeddedBrowser. How to open a Eclipse RPC browser has nothing to do with H2.

    But the H2 console must be called specifically with: org.h2.tools.Server.openBrowser(url);

    No, it doesn’t need to be called. This call doesn’t start the H2 Console. It starts an external browser (Firefox, Safari,…) and connect to the given URL. If you don’t want an external browser, don’t call this method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My MySQL database can store the euro symbol just fine (as I have tested
I have tested this on my development computer, but now I have uploaded everything
I have a web app that works fine from all browsers (IE9, Firefox, Chrome,
I have tested Play now for quite a while and everything is set up
I have a secured (https) XML-RPC server written in python, and I have tested
I have tested this servlet and it works well, except in Google Chrome it
I am developing an android app. I have tested the app in mobile and
I have a web app running on php and mysql. i have tested on
Up to now i have tested hunchentoot-cgi(CL), mighttpd2(Haskell), ocsigen(OCaml), yaws(erlang) to host an old
I have tested out hundreds of different codes, either they work and screw something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.