Need help with running OrientDB in Embedded mode

113 views
Skip to first unread message

Sam

unread,
Feb 14, 2014, 7:36:24 PM2/14/14
to orient-...@googlegroups.com

I am a noob to OrientDB. I am getting the following error when trying to activate the database. Any pointers would be really helpful and appreciated.

2014-02-14 19:31:20:847 INFO OrientDB Server v1.6.4 is starting up... [OServer]
2014-02-14 19:31:20:855 WARN [OVariableParser.resolveVariables] Error on resolving property: ORIENTDB_HOME [orientechnologies]
2014-02-14 19:31:20:855 INFO Databases directory: /databases [OServer]
2014-02-14 19:31:20:882 INFO Listening binary connections on 0.0.0.0:2424 (protocol v.19) [OServerNetworkListener]java.lang.NullPointerException
    at com
.orientechnologies.orient.server.network.OServerNetworkListener.<init>(OServerNetworkListener.java:59)
    at com
.orientechnologies.orient.server.OServer.activate(OServer.java:219)

Following is my configuration file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orient-server>
   
<handlers>
   
</handlers>
   
<network>
       
<protocols>
           
<!-- Default registered protocol. It reads commands using the HTTP protocol
                and write data locally -->

           
<protocol name="binary"
               
implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary" />
           
<protocol name="http"
               
implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb" />
       
</protocols>
       
<listeners>
           
<listener protocol="binary" ip-address="0.0.0.0" port-range="2424-2430" />
           
<listener protocol="cluster" ip-address="0.0.0.0"
               
port-range="2434-2440" />
           
<listener protocol="http" ip-address="0.0.0.0" port-range="2480-2490">
               
<parameters>
                   
<!-- Connection's custom parameters. If not specified the global configuration
                        will be taken -->

                   
<parameter name="network.http.charset" value="utf-8" />
               
</parameters>
               
<commands>
                   
<command
                       
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"
                       
implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent">
                       
<parameters>
                           
<!-- Don't cache html resources in development mode -->
                           
<entry name="http.cache:*.htm *.html"
                               
value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" />
                           
<!-- Default caching -->
                           
<entry name="http.cache:default" value="Cache-Control: max-age=120" />
                       
</parameters>
                   
</command>
               
</commands>
           
</listener>
       
</listeners>
       
<cluster>
       
</cluster>
   
</network>
   
<users>
   
</users>
   
<storages>
       
<storage name="temp" path="memory:temp" userName="admin"
           
userPassword="admin" loaded-at-startup="true" />
       
<storage name="sim" path="local:/tmp"
           
userName="admin" userPassword="admin" loaded-at-startup="true" />
   
</storages>
   
<properties>
       
<!-- Caches static contents. If enabled the files will be kept in memory
            the first time are loaded. Changes to the files will be taken on the next
            restart -->

       
<entry name="server.cache.file.static" value="false" />

       
<!-- Enable/Disable logging. Levels are: finer, fine, finest, info, warning -->
       
<entry name="log.console.level" value="info" />
       
<entry name="log.file.level" value="fine" />
       
<entry name="plugin.dynamic" value="false" />
       
<entry name="ORIENTDB_HOME" value="/tmp/fastestdb" />
       
<entry name="orientdb.www.path" value="//tmp/var/www/orient" />
   
</properties>
</orient-server>


Andrey Lomakin

unread,
Feb 17, 2014, 7:24:29 AM2/17/14
to orient-database

Hi,
Could you try on 1.7-RC1 if issue still persist I will look on it.



--
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

Reply all
Reply to author
Forward
0 new messages