Solved, thanks!

I needed to go up the server with the web console, so I used this:


Server.main(new String[]{"-trace","-tcp","-web","-webPort", "7786"});


I am using another port because JBoss was complaining about default port.


thanks!



Em sexta-feira, 1 de março de 2013 13h43min21s UTC-3, Noel Grandin escreveu:
>
> 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]<javascript:>
> > 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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.


Reply via email to