The problem
Caused by:
com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException:
Cannot find a command executor for the command request: sql.select from
OFunction order by name

Means that the Java service factories cannot find the OrientDB jars where
commands are self registered. May you check:

   1. what class loader are you using in your app and what's used in
   OrientDB?
   2. your classpath if there are all the needed jars


Lvc@


On 14 July 2014 01:10, Jon Machen <[email protected]> wrote:

> It's also the class that implements the Daemon interface.
>
>
> On Sunday, July 13, 2014 6:07:59 PM UTC-5, Jon Machen wrote:
>>
>> That's my own main class.
>>
>> On Sunday, July 13, 2014 2:57:25 PM UTC-5, Lvc@ wrote:
>>>
>>> What's Aggregator class?
>>>
>>> Lvc@
>>>
>>>
>>> On 11 July 2014 17:31, Jon Machen <[email protected]> wrote:
>>>
>>>> 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.ODatabaseRecordA
>>>>> bstract.open(ODatabaseRecordAbstract.java:291)
>>>>>  at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstrac
>>>>> t.open(ODatabaseWrapperAbstract.java:49)
>>>>>  at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOr
>>>>> Create(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.c
>>>>> ommand(OStorageEmbedded.java:81)
>>>>>  at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OS
>>>>> QLQuery.java:69)
>>>>>  at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.r
>>>>> un(OSQLSynchQuery.java:80)
>>>>> at com.orientechnologies.orient.core.query.OQueryAbstract.execu
>>>>> te(OQueryAbstract.java:29)
>>>>>  at com.orientechnologies.orient.core.db.record.ODatabaseRecordA
>>>>> bstract.query(ODatabaseRecordAbstract.java:776)
>>>>>  at com.orientechnologies.orient.core.metadata.function.OFunctio
>>>>> nLibraryImpl.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.
>>>>
>>>
>>>  --
>
> ---
> 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.
>

-- 

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