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>


-- 

--- 
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.

Reply via email to