{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3337","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3337/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3337/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3337/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3337","id":53425680,"number":3337,"title":"Can't run OrientDB in mule","user":{"login":"mirobimbo","id":6535765,"avatar_url":"https://avatars.githubusercontent.com/u/6535765?v=3","gravatar_id":"","url":"https://api.github.com/users/mirobimbo","html_url":"https://github.com/mirobimbo","followers_url":"https://api.github.com/users/mirobimbo/followers","following_url":"https://api.github.com/users/mirobimbo/following{/other_user}","gists_url":"https://api.github.com/users/mirobimbo/gists{/gist_id}","starred_url":"https://api.github.com/users/mirobimbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirobimbo/subscriptions","organizations_url":"https://api.github.com/users/mirobimbo/orgs","repos_url":"https://api.github.com/users/mirobimbo/repos","events_url":"https://api.github.com/users/mirobimbo/events{/privacy}","received_events_url":"https://api.github.com/users/mirobimbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T18:18:16Z","updated_at":"2015-01-05T18:18:16Z","closed_at":null,"body":"Hello, I haven't been able to run OrientDB under mule environment. I tired to:\r\n1) install java 1.7\r\n2) run orientdb-community-1.7.10 on local machine\r\n3) download and run Anypoint Studio 4.1.0, create new Mule Project -> 3.5.0 CE, Use maven\r\n4) Add dependencies to pom of new project:\r\n    \r\n    <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orient-commons</artifactId>\r\n            <version>1.7.9</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-core</artifactId>\r\n            <version>1.7.9</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-client</artifactId>\r\n            <version>1.7.9</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-enterprise</artifactId>\r\n            <version>1.7.9</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>junit</groupId>\r\n            <artifactId>junit</artifactId>\r\n            <version>4.11</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n5)  create new Class:\r\n    \r\n    public class TestOrient {\r\n\t\r\n\t@Test\r\n\tpublic void test(){\r\n\t\tODatabaseDocumentTx db = new ODatabaseDocumentTx(\"remote:localhost/test\").open(\"root\", \"pass\");\r\n\r\n\t\t// CREATE A NEW DOCUMENT AND FILL IT\r\n\t\tODocument doc = new ODocument(\"Persondd\");\r\n\t\tdoc.field( \"name\", \"Luke\" );\r\n\t\tdoc.field( \"surname\", \"Skywalker\" );\r\n\t\tdoc.field( \"city\", new ODocument(\"City\").field(\"name\",\"Rome\").field(\"country\", \"Italy\") );\r\n\r\n\t\t// SAVE THE DOCUMENT\r\n\t\tdoc.save();\r\n\r\n\t\tdb.close();\r\n\t\t\r\n\t}\r\n    }\r\n\r\n----------------------\r\n6) run `TestOrient` as JUnit test. You will get an Error:\r\n    \r\n    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;\r\n    \tat com.sun.script.juel.JuelScriptEngine.<init>(JuelScriptEngine.java:95)\r\n    \tat com.sun.script.juel.JuelScriptEngineFactory.getScriptEngine(JuelScriptEngineFactory.java:241)\r\n    \tat com.orientechnologies.orient.core.command.script.OScriptManager.<init>(OScriptManager.java:74)\r\n    \tat com.orientechnologies.orient.core.Orient.<init>(Orient.java:59)\r\n    \tat com.orientechnologies.orient.core.Orient.<clinit>(Orient.java:53)\r\n    \tat com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.<clinit>(ORecordSerializerStringAbstract.java:47)\r\n    \tat com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<init>(ORecordSerializerFactory.java:40)\r\n    \tat com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<clinit>(ORecordSerializerFactory.java:32)\r\n    \tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<clinit>(ODatabaseDocumentTx.java:58)\r\n\r\n---------------------\r\nI think the problem is it havn't been expected there will be such an old library as Juel in classpath (needed by mule). When I've edited class `OScriptManager` on line 57\r\n       \r\n     ...\r\n    for (ScriptEngineFactory f : scriptEngineManager.getEngineFactories()) {\r\n        if(\"juel\".equals(f.getEngineName())) continue; //NEW LINE\r\n      if (f.getParameter(\"THREADING\") != null) { \r\n    ...\r\nIt worked! :)"}}