Running the Console class will automatically start the server for you and open up the web console.
On Fri, Mar 1, 2013 at 5:02 PM, Luno de Souza <[email protected]>wrote: > > Hi folks! > > I'm doing some tests... > My objective is simple, start H2 in server mode and after start H2 web > console. > > if just start H2 in server mode it's work fine but I can't start web > console. > > what is wrong? > > I'm using: > Server server = Server.createTcpServer(new String[]{"-baseDir", > local.toString()}).start(); > > works ok, but if a try this: > > Server web = Server.createWebServer(new String[]{"-webPort", > "7786"}).start(); > > only make errors! > > > Thanks! > > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
