Sorry single jar distribution is not supported in general because we use
files in META-INF directory to register SQL functions, so you should use
dependency jars in their original form.


On Fri, Mar 7, 2014 at 4:41 PM, Giuseppe Profiti <[email protected]>wrote:

> Hello,
> moving my java application from the development to the production server
> triggered some strange behaviour. The program works on the development
> machine (from Netbeans, with the dependency suggested by Andrey), but fails
> on the production machine. Theonly difference is that the production
> machine is Windows based and the production is GNU/Linux based (debian). I
> built the program using maven assembly in order to pack all the requested
> dependencies in the same jar. As last test, I tried to build the program on
> the production server using maven, but the error is the same:
>
> Exception in thread "main" 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:157)
>         at com.orientechnologies.orient.core.metadata.OMetadataDefault.
> load(OMetadataDefault.java:68)
>         at com.orientechnologies.orient.core.db.record.
> ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:161)
>         at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.
> open(ODatabaseWrapperAbstract.java:54)
>         at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.
> openOrCreate(OrientBaseGraph.java:878)
>         at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(
> OrientBaseGraph.java:134)
>         at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph
> .<init>(OrientTransactionalGraph.java:58)
>         at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph
> .<init>(OrientTransactionalGraph.java:54)
>         at com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(
> OrientGraph.java:44)
>         at com.profiti.<obfuscated>.App.main(App.java:139)
> 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:45)
>         at com.orientechnologies.orient.core.sql.
> OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:33)
>         at com.orientechnologies.orient.core.storage.OStorageEmbedded.
> command(OStorageEmbedded.java:83)
>         at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(
> OSQLQuery.java:69)
>         at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(
> OSQLSynchQuery.java:82)
>         at com.orientechnologies.orient.core.query.OQueryAbstract.execute(
> OQueryAbstract.java:29)
>         at com.orientechnologies.orient.core.db.record.
> ODatabaseRecordAbstract.query(ODatabaseRecordAbstract.java:557)
>         at com.orientechnologies.orient.core.metadata.function.
> OFunctionLibraryImpl.load(OFunctionLibraryImpl.java:60)
>         at com.orientechnologies.orient.core.metadata.OMetadataDefault$4.
> call(OMetadataDefault.java:162)
>         at com.orientechnologies.orient.core.metadata.OMetadataDefault$4.
> call(OMetadataDefault.java:158)
>         at com.orientechnologies.common.concur.resource.
> OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
>         ... 10 more
>
> Do you have any suggestion about that? I would like to use orientdb for
> this project, but if I keep struggling with it my boss may decide to move
> on something else.
>
> Thanks in advance,
> Giuseppe
>
> --
>
> ---
> 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.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

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