Hi All,
We are using H2 Console to save some meta informations from an xml
which are frequently used in a usecase.
We are initializing the webserver using the Server class of H2 as
shown below.
_rWebServer = Server.createWebServer(new String[] {
"-web", "-webPort", CMS_DB_WEB_PORT,
"-webAllowOthers","true",
"-baseDir", CMS_DB_STORE }).start();
The value of CMS_DB_WEB_PORT is 5052.
When I deploy this build in my local box in which a Tomcat Server is
running, the http://localhost:5052 throws the login page of H2 console
perfectly. But the same code when deployed in my QA tomcat server (it
is a unix box) does not show up the login page.
I am not sure on what is the reason behind this behavior. Should i be
defining the web port elsewhere apart from this initialization? I have
set the -webAllowOthers to true here. I guess this is the setting
which allows us to access from remote connections.
--
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.