Hi,

> Trying the command line syntax you gave me it returns the error that can
not find the class.

Yes. This is explained in this article:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html

Please note this is not directly related to H2.

>  the syntax I used was found under the heading "Using the Server" in the
tutorial.

Actually I can't find the syntax you used in this section, sorry.

>  is there a way to know if there are other h2 active servers?

One option would be to try to connect.

Regards,
Thomas



On Thu, Dec 12, 2013 at 4:39 PM, <[email protected]> wrote:

> Trying the command line syntax you gave me it returns the error that can
> not find the class. I should probably set an environment variable?  In
> addition, the syntax I used was found under the heading "Using the Server"
> in the tutorial.  (
> http://www.h2database.com/html/tutorial.html#using_server ). Now I'm
> trying to start the server from java code, but is there a way to know if
> there are other h2 active servers? The java code I am using is this:
>
> Server server = Server.createTcpServer ("-tcpAllowOthers.") Start ();
> if (server.isRunning (true)) {
> System.out.println ("STARTED");
> }
>
> Thanks
>
> Il giorno mercoledì 11 dicembre 2013 18:06:29 UTC+1, Thomas Mueller ha
> scritto:
>>
>> Hi,
>>
>> > Unfortunately I can not find the solution.
>> > To start the service launch this command line: java -cp h2-1.3.173.jar
>> org.h2.tools.Server -tcpAllowOthers
>>
>> Could you tell me where did you find this information? It is incorrect.
>> If it is in the documentation (I can't currently find it) then the
>> documentation needs to be changed.
>>
>> As I wrote in my previous mail, try: "java org.h2.tools.Server -tcp
>> -tcpAllowOthers".
>>
>> Regards,
>> Thomas
>>
>>
>>
>> On Wed, Dec 11, 2013 at 1:33 PM, <[email protected]> wrote:
>>
>>> Unfortunately I can not find the solution.
>>> To start the service launch this command line: java -cp h2-1.3.173.jar
>>> org.h2.tools.Server -tcpAllowOthers
>>>
>>>
>>> Il giorno lunedì 2 dicembre 2013 17:18:57 UTC+1, [email protected] 
>>> scritto:
>>>
>>>> Can I run H2 in tcpAllowOthers mode without displaying a browser ?
>>>> 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.
>>> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to