down votefavorite 
<http://stackoverflow.com/questions/43901337/orient-functions-dont-work-unless-your-run-a-manual-query-first#>

I'm looking for a workaround for OrientDB not automatically loading gremlin 
or groovy functions when you start the database. You can force everything 
to load by manually running a query. It's a known issue since April 2015, 
and appears in two tickets already. Anyone with suggestions how not to have 
to worry about this every time the server is restarted. It's a problem both 
for reliability and for flexibility in dynamically setting up environments. 
Def not in 2.2.17, though haven't tested April's 2.2.19 or the alpha 3.0.

Here are the two issues listed already by Orient. I know Orient is open 
source, but one thinks if it was easy it would have been done already.
"Need to use gremlin in studio first in order to use in groovy in server 
side functions · Issue #3906 Apr 9, 2015 
https://github.com/orientechnologies/orientdb/issues/3906 We could anyway 
add the support of gremlin specific api in the functions, in future, but we 
can open another issue for that, i'm closing this. Jul 7, 2015 "

"Add support for server side gremling functions · Issue #4532 Jul 8, 2015
https://github.com/orientechnologies/orientdb/issues/4532 lvca modified the 
milestone: 2.2, 3.0 on Nov 20, 2015"

Here is part of the error message when attempting to call function (from 
studio or REST) 

"reason": "Bad request", 

"content": "Error on parsing script at position #0: 

No signature of method: 
com.tinkerpop.blueprints.impls.orient.OrientElementScanIterable._()

-- 

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