OrientDB 2.0.5 starts with exception

223 views
Skip to first unread message

Attila Nagy

unread,
Mar 13, 2015, 6:00:48 AM3/13/15
to orient-...@googlegroups.com
Hi,

I'm trying to start OrientDB 2.0.5 with bin/server.sh and get this:

# ./server.sh
           .                                         
          .`        `                                
          ,      `:.                                 
         `,`    ,:`                                  
         .,.   :,,                                   
         .,,  ,,,                                    
    .    .,.:::::  ````                                 :::::::::     :::::::::  
    ,`   .::,,,,::.,,,,,,`;;                      .:    ::::::::::    :::    ::: 
    `,.  ::,,,,,,,:.,,.`  `                       .:    :::      :::  :::     :::
     ,,:,:,,,,,,,,::.   `        `         ``     .:    :::      :::  :::     :::
      ,,:.,,,,,,,,,: `::, ,,   ::,::`   : :,::`  ::::   :::      :::  :::    ::: 
       ,:,,,,,,,,,,::,:   ,,  :.    :   ::    :   .:    :::      :::  :::::::    
        :,,,,,,,,,,:,::   ,,  :      :  :     :   .:    :::      :::  :::::::::  
  `     :,,,,,,,,,,:,::,  ,, .::::::::  :     :   .:    :::      :::  :::     :::
  `,...,,:,,,,,,,,,: .:,. ,, ,,         :     :   .:    :::      :::  :::     :::
    .,,,,::,,,,,,,:  `: , ,,  :     `   :     :   .:    :::      :::  :::     :::
      ...,::,,,,::.. `:  .,,  :,    :   :     :   .:    :::::::::::   :::     :::
           ,::::,,,. `:   ,,   :::::    :     :   .:    :::::::::     :::::::::: 
           ,,:` `,,.                                 
          ,,,    .,`                                 
         ,,.     `,                                          GRAPH DATABASE 
       ``        `.                                                         
                 ``                                         www.orientdb.org
                 `                                   

2015-03-13 09:47:23:962 WARNING Cannot find default script language for javascript [OScriptManager]
2015-03-13 09:47:24:048 INFO  OrientDB auto-config DISKCACHE=1,528MB (heap=494MB os=4,071MB disk=8,700MB) [orientechnologies]
2015-03-13 09:47:24:058 INFO  Loading configuration from: /usr/local/orientdb-community-2.0.5/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2015-03-13 09:47:24:406 INFO  OrientDB Server v2.0.5 (build UNKNOWN@r; 2015-03-12 22:59:10+0000) is starting up... [OServer]
2015-03-13 09:47:24:429 INFO  Databases directory: /usr/local/orientdb-community-2.0.5/databases [OServer]
2015-03-13 09:47:24:484 INFO  Listening binary connections on 0.0.0.0:2424 (protocol v.28, socket=default) [OServerNetworkListener]
2015-03-13 09:47:24:485 INFO  Listening http connections on 0.0.0.0:2480 (protocol v.10, socket=default) [OServerNetworkListener]
2015-03-13 09:47:24:506 INFO  Installing dynamic plugin 'orientdb-lucene-2.0.5-dist.jar'... [OServerPluginManager]Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal
    at com.orientechnologies.orient.core.record.impl.ODocument.setup(ODocument.java:2199)
    at com.orientechnologies.orient.core.record.impl.ODocument.<init>(ODocument.java:107)
    at com.orientechnologies.orient.server.plugin.OServerPluginManager.installDynamicPlugin(OServerPluginManager.java:323)
    at com.orientechnologies.orient.server.plugin.OServerPluginManager.updatePlugin(OServerPluginManager.java:194)
    at com.orientechnologies.orient.server.plugin.OServerPluginManager.updatePlugins(OServerPluginManager.java:283)
    at com.orientechnologies.orient.server.plugin.OServerPluginManager.startup(OServerPluginManager.java:85)
    at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:831)
    at com.orientechnologies.orient.server.OServer.activate(OServer.java:265)
    at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
^C
2015-03-13 09:47:26:170 INFO  Received signal: SIGINT [OSignalHandler]
2015-03-13 09:47:26:172 INFO  OrientDB Server is shutting down... [OServer]


# java -version
openjdk version "1.7.0_76"
OpenJDK Runtime Environment (build 1.7.0_76-b13)
OpenJDK 64-Bit Server VM (build 24.76-b04, mixed mode)


Visiting it with a browser on port 2480 also gives a blank page. The server log contains nothing relevant besides the above.
I'm not sure it counts or not: this is on FreeBSD 10.

Could you please help?

Luca Garulli

unread,
Mar 13, 2015, 9:21:07 AM3/13/15
to orient-database
Hi,
Just tried with no problem (see below). I think you have mixed libraries in your classpath. May you double check it please?

Lvc@



           .
          .`        `
          ,      `:.
         `,`    ,:`
         .,.   :,,
         .,,  ,,,
    .    .,.:::::  ````                                 :::::::::     :::::::::
    ,`   .::,,,,::.,,,,,,`;;                      .:    ::::::::::    :::    :::
    `,.  ::,,,,,,,:.,,.`  `                       .:    :::      :::  :::     :::
     ,,:,:,,,,,,,,::.   `        `         ``     .:    :::      :::  :::     :::
      ,,:.,,,,,,,,,: `::, ,,   ::,::`   : :,::`  ::::   :::      :::  :::    :::
       ,:,,,,,,,,,,::,:   ,,  :.    :   ::    :   .:    :::      :::  :::::::
        :,,,,,,,,,,:,::   ,,  :      :  :     :   .:    :::      :::  :::::::::
  `     :,,,,,,,,,,:,::,  ,, .::::::::  :     :   .:    :::      :::  :::     :::
  `,...,,:,,,,,,,,,: .:,. ,, ,,         :     :   .:    :::      :::  :::     :::
    .,,,,::,,,,,,,:  `: , ,,  :     `   :     :   .:    :::      :::  :::     :::
      ...,::,,,,::.. `:  .,,  :,    :   :     :   .:    :::::::::::   :::     :::
           ,::::,,,. `:   ,,   :::::    :     :   .:    :::::::::     ::::::::::
           ,,:` `,,.
          ,,,    .,`
         ,,.     `,                                          GRAPH DATABASE
       ``        `.
                 ``                                         www.orientdb.org
                 `

2015-03-13 14:19:16:760 INFO  OrientDB auto-config DISKCACHE=13.880MB (heap=455MB os=16.384MB disk=32.429MB) [orientechnologies]
2015-03-13 14:19:16:764 INFO  Loading configuration from: /temp/orientdb/orientdb-community-2.0.5/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2015-03-13 14:19:16:999 INFO  OrientDB Server v2.0.5 (build UNKNOWN@r; 2015-03-12 22:59:10+0000) is starting up... [OServer]
2015-03-13 14:19:17:016 INFO  Databases directory: /temp/orientdb/orientdb-community-2.0.5/databases [OServer]
2015-03-13 14:19:17:053 INFO  Port 0.0.0.0:2424 busy, trying the next available... [OServerNetworkListener]
2015-03-13 14:19:17:055 INFO  Listening binary connections on 0.0.0.0:2425 (protocol v.28, socket=default) [OServerNetworkListener]
2015-03-13 14:19:17:056 INFO  Port 0.0.0.0:2480 busy, trying the next available... [OServerNetworkListener]
2015-03-13 14:19:17:056 INFO  Listening http connections on 0.0.0.0:2481 (protocol v.10, socket=default) [OServerNetworkListener]
2015-03-13 14:19:17:066 INFO  Installing dynamic plugin 'orientdb-lucene-2.0.5-dist.jar'... [OServerPluginManager]
2015-03-13 14:19:17:136 INFO  Lucene index plugin installed and active. Lucene version: LUCENE_47 [OLuceneIndexPlugin]
2015-03-13 14:19:17:138 INFO  Installing dynamic plugin 'studio-2.0.zip'... [OServerPluginManager]
2015-03-13 14:19:17:150 INFO  Installing GREMLIN language v.2.6.0 - graph.pool.max=50 [OGraphServerHandler]
2015-03-13 14:19:17:150 INFO  [OVariableParser.resolveVariables] Error on resolving property: distributed [orientechnologies]
2015-03-13 14:19:17:152 INFO  Installing Script interpreter. WARN: authenticated clients can execute any kind of code into the server by using the following allowed languages: [sql] [OServerSideScriptInterpreter]

+---------------------------------------------------------------+
|                WARNING: FIRST RUN CONFIGURATION               |
+---------------------------------------------------------------+
| This is the first time the server is running. Please type a   |
| password of your choice for the 'root' user or leave it blank |
| to auto-generate it.                                          |
|                                                               |
| To avoid this message set the environment variable or JVM     |
| setting ORIENTDB_ROOT_PASSWORD to the root password to use.   |
+---------------------------------------------------------------+

Root password [BLANK=auto generate it]: root

2015-03-13 14:19:20:301 INFO  OrientDB Server v2.0.5 is active. [OServer]


--

---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attila Nagy

unread,
Mar 13, 2015, 10:02:20 AM3/13/15
to orient-...@googlegroups.com
This is the actual command line which is executed:
/usr/local/openjdk7/bin/java -server -Xmx512m -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Drhino.opt.level=9 -Dprofiler.enabled=true -Djava.util.logging.config.file=/usr/local/orientdb-community-2.0.5/config/orientdb-server-log.properties -Dorientdb.config.file=/usr/local/orientdb-community-2.0.5/config/orientdb-server-config.xml -Dorientdb.www.path=/usr/local/orientdb-community-2.0.5/www -Dorientdb.build.number=UNKNOWN@r; 2015-03-12 22:59:10+0000 -cp /usr/local/orientdb-community-2.0.5/lib/orientdb-server-2.0.5.jar:/usr/local/orientdb-community-2.0.5/lib/* com.orientechnologies.orient.server.OServerMain

# ls /usr/local/orientdb-community-2.0.5/lib/*
/usr/local/orientdb-community-2.0.5/lib/activation-1.1.jar
/usr/local/orientdb-community-2.0.5/lib/annotations-1.3.2.jar
/usr/local/orientdb-community-2.0.5/lib/antlr-2.7.7.jar
/usr/local/orientdb-community-2.0.5/lib/asm-3.2.jar
/usr/local/orientdb-community-2.0.5/lib/asm-analysis-3.2.jar
/usr/local/orientdb-community-2.0.5/lib/asm-commons-3.2.jar
/usr/local/orientdb-community-2.0.5/lib/asm-tree-3.2.jar
/usr/local/orientdb-community-2.0.5/lib/asm-util-3.2.jar
/usr/local/orientdb-community-2.0.5/lib/blueprints-core-2.6.0.jar
/usr/local/orientdb-community-2.0.5/lib/commons-beanutils-1.7.0.jar
/usr/local/orientdb-community-2.0.5/lib/commons-beanutils-core-1.8.0.jar
/usr/local/orientdb-community-2.0.5/lib/commons-collections-3.2.1.jar
/usr/local/orientdb-community-2.0.5/lib/commons-configuration-1.6.jar
/usr/local/orientdb-community-2.0.5/lib/commons-digester-1.8.jar
/usr/local/orientdb-community-2.0.5/lib/commons-lang-2.4.jar
/usr/local/orientdb-community-2.0.5/lib/commons-logging-1.1.1.jar
/usr/local/orientdb-community-2.0.5/lib/concurrentlinkedhashmap-lru-1.4.1.jar
/usr/local/orientdb-community-2.0.5/lib/gremlin-groovy-2.6.0.jar
/usr/local/orientdb-community-2.0.5/lib/gremlin-java-2.6.0.jar
/usr/local/orientdb-community-2.0.5/lib/groovy-1.8.9.jar
/usr/local/orientdb-community-2.0.5/lib/hamcrest-core-1.1.jar
/usr/local/orientdb-community-2.0.5/lib/hazelcast-3.3.jar
/usr/local/orientdb-community-2.0.5/lib/hibernate-jpa-2.0-api-1.0.0.Final.jar
/usr/local/orientdb-community-2.0.5/lib/hppc-0.6.0.jar
/usr/local/orientdb-community-2.0.5/lib/jackson-annotations-2.2.3.jar
/usr/local/orientdb-community-2.0.5/lib/jackson-core-2.2.3.jar
/usr/local/orientdb-community-2.0.5/lib/jackson-databind-2.2.3.jar
/usr/local/orientdb-community-2.0.5/lib/jansi-1.5.jar
/usr/local/orientdb-community-2.0.5/lib/javassist-3.16.1-GA.jar
/usr/local/orientdb-community-2.0.5/lib/jettison-1.3.3.jar
/usr/local/orientdb-community-2.0.5/lib/jline-0.9.94.jar
/usr/local/orientdb-community-2.0.5/lib/jna-4.0.0.jar
/usr/local/orientdb-community-2.0.5/lib/jna-platform-4.0.0.jar
/usr/local/orientdb-community-2.0.5/lib/junit-4.10.jar
/usr/local/orientdb-community-2.0.5/lib/mail-1.4.jar
/usr/local/orientdb-community-2.0.5/lib/minimal-json-0.9.1.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-client-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-core-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-distributed-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-enterprise-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-etl-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-graphdb-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-jdbc-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-object-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-server-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/orientdb-tools-2.0.5.jar
/usr/local/orientdb-community-2.0.5/lib/pipes-2.6.0.jar
/usr/local/orientdb-community-2.0.5/lib/snappy-java-1.1.0.1.jar
/usr/local/orientdb-community-2.0.5/lib/stax-api-1.0.1.jar

This is what I got from the tarball. What else should I check?

Luca Garulli

unread,
Mar 13, 2015, 11:21:00 AM3/13/15
to orient-database
I see you're using openjdk7. Have you tried with Oracle JDK?

Lvc@

Nagy, Attila

unread,
Mar 13, 2015, 5:47:35 PM3/13/15
to orient-database
There is no oracle jdk available for freebsd, so no...

Feladó: Luca Garulli
Elküldve: 2015. március 13., péntek 16:21
Címzett: orient-database
Tárgy: Re: [orientdb] OrientDB 2.0.5 starts with exception

You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/llXHOp_dsvc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

nagaraja sosale ramaswamy

unread,
Mar 15, 2015, 1:48:49 AM3/15/15
to orient-...@googlegroups.com
i don't seem to have this problem running with openjdk7 on archlinux
have you checked the permissions on the JAR files?
Check the integrity of the JAR files, i suspect it could be due to a corrupted JAR file?

Attila Nagy

unread,
Mar 16, 2015, 5:17:35 AM3/16/15
to orient-database
The JARs are world readable. They aren't corrupted, I can decompress all of them.
I've set up a test machine, could you please take a look at it, so you don't have to install a FreeBSD locally?
If you send me a public ssh key, I will reply with the details.

Thanks,
Reply all
Reply to author
Forward
0 new messages