For what it's worth, I've tried assembly jar, one jar, and a full set of 
individual dependency jars with both wildcard and explicit classpaths.  In 
every instance, it works from the command line and fails when started as a 
service.  mvn dependency:tree doesn't reveal any jar conflicts...  I'm at a 
loss.

On Tuesday, July 8, 2014 1:21:58 PM UTC-5, Jon Machen wrote:
>
> When I run from the command-line I have no issues, but as soon as I 
> attempt to run as a service, I get this:
>
> 2014-07-08 14:14:06:638 INFO Loading configuration from: 
> conf/db-init.xml... [OServerConfigurationLoaderXml]
> 2014-07-08 14:14:06:779 INFO OrientDB Server v1.7 is starting up... 
> [OServer]
> 2014-07-08 14:14:06:794 INFO Databases directory: 
> C:\orientdb-community-1.7\databases [OServer]
> 2014-07-08 14:14:06:810 INFO Listening binary connections on 0.0.0.0:2424 
> (protocol v.21, socket=default) [OServerNetworkListener]
> 2014-07-08 14:14:06:810 INFO Listening http connections on 0.0.0.0:2480 
> (protocol v.10, socket=default) [OServerNetworkListener]
> 2014-07-08 14:14:06:810 INFO Installing dynamic plugin 'studio-1.7.zip'... 
> [OServerPluginManager]
> 2014-07-08 14:14:06:857 INFO OrientDB Server v1.7 is active. [OServer]
> 2014-07-08 14:14:06:904 WARN segment file 'database.ocf' was not closed 
> correctly last time [OSingleFileSegment]Exception in thread "main" 
> java.lang.RuntimeException: Failed to initialize Aggregator: Error on 
> creation of shared resource
> at Aggregator.init(Aggregator.java:68)
> at Aggregator.run(Aggregator.java:115)
> at Aggregator.main(Aggregator.java:53)
> Caused by: com.orientechnologies.common.exception.OException: Error on 
> creation of shared resource
> at 
> com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:55)
> at 
> com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:158)
> at 
> com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
> at 
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:291)
> at 
> com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:49)
> at 
> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1735)
> at 
> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:131)
> at 
> com.tinkerpop.blueprints.impls.orient.OrientGraphNoTx.<init>(OrientGraphNoTx.java:39)
> at Aggregator.initDB(Aggregator.java:80)
> at Aggregator.init(Aggregator.java:63)
> ... 2 more
> Caused by: 
> com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: 
> Cannot find a command executor for the command request: sql.select from 
> OFunction order by name
> at 
> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:48)
> at 
> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:33)
> at 
> com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:81)
> at 
> com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:69)
> at 
> com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:80)
> at 
> com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:29)
> at 
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.query(ODatabaseRecordAbstract.java:776)
> at 
> com.orientechnologies.orient.core.metadata.function.OFunctionLibraryImpl.load(OFunctionLibraryImpl.java:60)
> at 
> com.orientechnologies.orient.core.metadata.OMetadataDefault$4.call(OMetadataDefault.java:163)
> at 
> com.orientechnologies.orient.core.metadata.OMetadataDefault$4.call(OMetadataDefault.java:159)
> at 
> com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
> ... 11 more
>
> Any help is appreciated.
>

-- 

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