I'm using OrientDB v2.0 and I'm using the trunk of the orientdb-net driver 
and I'm getting exactly this problem. Did you ever discover what the issue 
was? 

On Friday, August 9, 2013 11:26:36 AM UTC+1, Davide Carnovale wrote:
>
> Yes, i did changed the slashes and the database itself seems to be there, 
> i can see it with orient studio and if i connect with the console, without 
> specifying the database i can list the databases and i see it in the list.
>
>
> On Friday, August 9, 2013 12:19:46 PM UTC+2, Lvc@ wrote:
>>
>> Seems the OrientDB server can't find the messaging database. Have you 
>> already changed the setting in:
>>
>> <storage loaded-at-startup="true" userPassword="canebau" userName="admin" 
>> path="local:c:/orient/messaging" name="messaging"/>
>>
>> Lvc@
>>
>>
>> On 9 August 2013 11:07, Davide Carnovale <[email protected]> 
>> wrote:
>>
>>> it wasn't entirely windows' firewall's fault.
>>> if i open the console and type:
>>>
>>> connect remote:localhost user password
>>> it connects and works, but if i type:
>>>
>>> connect remote:localhost/messaging user password
>>> it hangs, just like in my application.
>>> so i fear there's actually some problem with the orient code
>>>
>>>
>>> On Friday, August 9, 2013 9:36:46 AM UTC+2, Davide Carnovale wrote:
>>>>
>>>> Update: the console problem was caused by the windows firewall, althoug 
>>>> it's all on the same machine... but my application still doesn't work...
>>>>
>>>> On Friday, August 9, 2013 9:05:04 AM UTC+2, Davide Carnovale wrote:
>>>>>
>>>>> Hi Luca,
>>>>> thanks, i tried that, but it doesn't seem to be what is causing the 
>>>>> problem.
>>>>> I also tried to connect with the console, and to my surprise it 
>>>>> doesn't work either! while orient studio does work and i can use the 
>>>>> db... 
>>>>> so i guess the console is using the same code i'm using in my 
>>>>> application, 
>>>>> while orient studio does something different...
>>>>> can you shed some light on this please? I just don't know where to 
>>>>> start to tackle the problem, so any hint would be much appreciated =)
>>>>>
>>>>>
>>>>> On Thursday, August 8, 2013 8:50:42 PM UTC+2, Lvc@ wrote:
>>>>>>
>>>>>> Hi,
>>>>>> don't use back slashes (\) but slashes (/) on all the platforms.
>>>>>>
>>>>>> Lvc@
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 8 August 2013 18:00, Davide Carnovale <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>> i'm having troubles with a weird scenario and i'm seeking help.
>>>>>>> I have a webserver running inside tomcat, which i'd like to connect 
>>>>>>> to an orientdb server. the weird thing is that i can make it work if i 
>>>>>>> run 
>>>>>>> orientdb on linux and tomcat on either linux or windows, but if i also 
>>>>>>> run 
>>>>>>> orientdb on windows, the webserver hangs when calling 
>>>>>>> ODatabaseDocumentPool.acquire(); 
>>>>>>> It just hangs in there, doing nothing.
>>>>>>> Orientdb itself seems to work ok on windows, as i'm able to query 
>>>>>>> the db via the web interface. As anybody ever tried a similar scenario?
>>>>>>>
>>>>>>> the relevant piece of code is:
>>>>>>> dbPool = new ODatabaseDocumentPool(dbUrl, username, password); 
>>>>>>> //dbUrl is "remote:192.168.1.10/messaging"
>>>>>>>  dbPool.setup(1, 30);
>>>>>>> ODatabaseDocumentTx db = dbPool.acquire(dbUrl, username, password);
>>>>>>> //ODatabaseDocumentTx db = dbPool.acquire(); //also this fails
>>>>>>> //ODatabaseDocumentTx db = 
>>>>>>> ODatabaseDocumentPool.global().acquire(dbUrl, 
>>>>>>> username, password); //this fails too
>>>>>>>
>>>>>>> while the orientdb configuration i'm using to run the server is:
>>>>>>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>>>>>>> <orient-server>
>>>>>>>     <handlers>
>>>>>>>         <handler class="com.orientechnologies.orient.graph.handler.
>>>>>>> OGraphServerHandler">
>>>>>>>             <parameters/>
>>>>>>>         </handler>
>>>>>>>         <handler class="com.orientechnologies.orient.server.handler.
>>>>>>> OJMXPlugin">
>>>>>>>             <parameters>
>>>>>>>                 <parameter value="false" name="enabled"/>
>>>>>>>                 <parameter value="true" name="profilerManaged"/>
>>>>>>>             </parameters>
>>>>>>>         </handler>
>>>>>>>         <handler class="com.orientechnologies.orient.server.handler.
>>>>>>> OAutomaticBackup">
>>>>>>>             <parameters>
>>>>>>>                 <parameter value="false" name="enabled"/>
>>>>>>>                 <parameter value="4m" name="delay"/>
>>>>>>>                 <parameter value="/home/energeya/data/OrientBackup" 
>>>>>>> name="target.directory"/>
>>>>>>>                  <parameter 
>>>>>>> value="${DBNAME}-${DATE:yyyyMMddHHmmss}.json" 
>>>>>>> name="target.fileName"/>
>>>>>>>                 <parameter value="" name="db.include"/>
>>>>>>>                 <parameter value="" name="db.exclude"/>
>>>>>>>             </parameters>
>>>>>>>         </handler>
>>>>>>>         <handler class="com.orientechnologies.orient.server.handler.
>>>>>>> OServerSideScriptInterpreter">
>>>>>>>             <parameters>
>>>>>>>                 <parameter value="false" name="enabled"/>
>>>>>>>             </parameters>
>>>>>>>         </handler>
>>>>>>>     </handlers>
>>>>>>>     <network>
>>>>>>>         <protocols>
>>>>>>>             <protocol implementation="com.orientechnologies.orient.
>>>>>>> server.network.protocol.binary.ONetworkProtocolBinary" 
>>>>>>> name="binary"/>
>>>>>>>             <protocol implementation="com.orientechnologies.orient.
>>>>>>> server.network.protocol.http.ONetworkProtocolHttpDb" name="http"/>
>>>>>>>         </protocols>
>>>>>>>         <listeners>
>>>>>>>             <listener protocol="binary" port-range="2424-2430" 
>>>>>>> ip-address="0.0.0.0"/>
>>>>>>>             <listener protocol="http" port-range="2480-2490" 
>>>>>>> ip-address="0.0.0.0">
>>>>>>>                 <commands>
>>>>>>>                     <command implementation="com.
>>>>>>> orientechnologies.orient.server.network.protocol.http.command.get.
>>>>>>> OServerCommandGetStaticContent" pattern="GET|www GET|studio/ GET| 
>>>>>>> GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif 
>>>>>>> GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs 
>>>>>>> GET|*.svg" stateful="false">
>>>>>>>                         <parameters>
>>>>>>>                             <entry value="Cache-Control: no-cache, 
>>>>>>> no-store, max-age=0, must-revalidate\r\nPragma: no-cache" 
>>>>>>> name="http.cache:*.htm *.html"/>
>>>>>>>                             <entry value="Cache-Control: 
>>>>>>> max-age=120" name="http.cache:default"/>
>>>>>>>                         </parameters>
>>>>>>>                     </command>
>>>>>>>                 </commands>
>>>>>>>                 <parameters>
>>>>>>>                     <parameter value="utf-8" 
>>>>>>> name="network.http.charset"/>
>>>>>>>                 </parameters>
>>>>>>>             </listener>
>>>>>>>         </listeners>
>>>>>>>     </network>
>>>>>>>     <storages>
>>>>>>>         <storage loaded-at-startup="true" userPassword="canebau" 
>>>>>>> userName="admin" path="local:c:\\orient\\messaging" 
>>>>>>> name="messaging"/>
>>>>>>>     </storages>
>>>>>>>     <users>
>>>>>>>         <user resources="*" password="root" name="root"/>
>>>>>>>         <user resources="*" password="canebau" name="admin"/>
>>>>>>>         <user resources="connect,server.listDatabases,server.dblist" 
>>>>>>> password="guest" name="guest"/>
>>>>>>>     </users>
>>>>>>>     <properties>
>>>>>>>         <entry value="1" name="db.pool.min"/>
>>>>>>>         <entry value="20" name="db.pool.max"/>
>>>>>>>         <entry value="false" name="cache.level1.enabled"/>
>>>>>>>         <entry value="1000" name="cache.level1.size"/>
>>>>>>>         <entry value="true" name="cache.level2.enabled"/>
>>>>>>>         <entry value="1000" name="cache.level2.size"/>
>>>>>>>         <entry value="true" name="profiler.enabled"/>
>>>>>>>         <entry value="info" name="log.console.level"/>
>>>>>>>         <entry value="fine" name="log.file.level"/>
>>>>>>>     </properties>
>>>>>>> </orient-server>
>>>>>>>
>>>>>>> and i'm running the server as a windows service, as specified on the 
>>>>>>> wiki. (i'm using windows xp)
>>>>>>> i've tried this with both 1.4 and 1.5 orientdb versions, but both 
>>>>>>> works on linux and don't work on windows (of course jar's versions 
>>>>>>> where 
>>>>>>> aligned to server versions)
>>>>>>>
>>>>>>> debugging orient code i see it actually hangs when calling: com.
>>>>>>> orientechnologies.common.concur.resource.OResourcePoolListener.
>>>>>>> createNewResource()
>>>>>>> Any hint on what am i doing wrong? or what the problem could be?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  -- 
>>>>>>>  
>>>>>>> --- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "OrientDB" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>  
>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>  -- 
>>>  
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OrientDB" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to