{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6306","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6306/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6306/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6306/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6306","id":160479466,"number":6306,"title":"remote access using Java API broken in 2.2.2 in OSGi environment?","user":{"login":"grexe","id":404952,"avatar_url":"https://avatars.githubusercontent.com/u/404952?v=3","gravatar_id":"","url":"https://api.github.com/users/grexe","html_url":"https://github.com/grexe","followers_url":"https://api.github.com/users/grexe/followers","following_url":"https://api.github.com/users/grexe/following{/other_user}","gists_url":"https://api.github.com/users/grexe/gists{/gist_id}","starred_url":"https://api.github.com/users/grexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grexe/subscriptions","organizations_url":"https://api.github.com/users/grexe/orgs","repos_url":"https://api.github.com/users/grexe/repos","events_url":"https://api.github.com/users/grexe/events{/privacy}","received_events_url":"https://api.github.com/users/grexe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/in%20progress","name":"in progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/storage%20team","name":"storage team","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"taburet","id":1912884,"avatar_url":"https://avatars.githubusercontent.com/u/1912884?v=3","gravatar_id":"","url":"https://api.github.com/users/taburet","html_url":"https://github.com/taburet","followers_url":"https://api.github.com/users/taburet/followers","following_url":"https://api.github.com/users/taburet/following{/other_user}","gists_url":"https://api.github.com/users/taburet/gists{/gist_id}","starred_url":"https://api.github.com/users/taburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taburet/subscriptions","organizations_url":"https://api.github.com/users/taburet/orgs","repos_url":"https://api.github.com/users/taburet/repos","events_url":"https://api.github.com/users/taburet/events{/privacy}","received_events_url":"https://api.github.com/users/taburet/received_events","type":"User","site_admin":false},"assignees":[{"login":"taburet","id":1912884,"avatar_url":"https://avatars.githubusercontent.com/u/1912884?v=3","gravatar_id":"","url":"https://api.github.com/users/taburet","html_url":"https://github.com/taburet","followers_url":"https://api.github.com/users/taburet/followers","following_url":"https://api.github.com/users/taburet/following{/other_user}","gists_url":"https://api.github.com/users/taburet/gists{/gist_id}","starred_url":"https://api.github.com/users/taburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taburet/subscriptions","organizations_url":"https://api.github.com/users/taburet/orgs","repos_url":"https://api.github.com/users/taburet/repos","events_url":"https://api.github.com/users/taburet/events{/privacy}","received_events_url":"https://api.github.com/users/taburet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.2.x%20(next%20hotfix)","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88/labels","id":1768027,"number":88,"title":"2.2.x (next hotfix)","description":"","creator":{"login":"robfrank","id":413587,"avatar_url":"https://avatars.githubusercontent.com/u/413587?v=3","gravatar_id":"","url":"https://api.github.com/users/robfrank","html_url":"https://github.com/robfrank","followers_url":"https://api.github.com/users/robfrank/followers","following_url":"https://api.github.com/users/robfrank/following{/other_user}","gists_url":"https://api.github.com/users/robfrank/gists{/gist_id}","starred_url":"https://api.github.com/users/robfrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfrank/subscriptions","organizations_url":"https://api.github.com/users/robfrank/orgs","repos_url":"https://api.github.com/users/robfrank/repos","events_url":"https://api.github.com/users/robfrank/events{/privacy}","received_events_url":"https://api.github.com/users/robfrank/received_events","type":"User","site_admin":false},"open_issues":160,"closed_issues":1,"state":"open","created_at":"2016-05-16T08:28:14Z","updated_at":"2016-09-07T08:24:45Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-06-15T17:29:50Z","updated_at":"2016-09-08T10:07:07Z","closed_at":null,"body":"I'm running OrientDB 2.2.2 from the official docker image (with minor tweaks mainly preprocessing our environment etc.).\r\nRunning on Linux (Ubuntu 14.04) 64bit.\r\nAccessing from Java API (Oracle JDK8, OSGi 4.3) using the client, core and graphdb JARs and the Blueprints 2.6.0 (wrapped as OSGi bundles using OPS4J Pax Tipi master POM).\r\n\r\nThe OSGi Java process is also running in a separate Docker container and accessing OrientDB over the network, using the URL ``remote:orientdb/t2database``\r\n\r\nUsing 2.1.x, everything worked fine (but we faced some issues with concurrent access we need to track down, this is why we want to make sure to use the latest stable version to rule out OrientDB as a cause).\r\n\r\nNow, after upgrading to 2.2.2, I always get this error (but can connect perfectly from the orientdb docker host using console):\r\n\r\n```\r\nthe engine 'remote' was not found. URL was: remote:orientdb/t2database. Registered engines are: [memory, plocal]\r\n    DB name=\"remote:orientdb/t2database\"\r\n    at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:476)\r\n    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:167)\r\n```\r\nSeems like the server doesn't bring up the remote engine, but I see no reason why, and no error in the log, only this:\r\n\r\n```\r\nError: com.orientechnologies.orient.core.exception.OStorageException: Cannot create the remote storage: t2database\r\n```\r\nand this (but seems to be #3073 which can supposedly be ignored):\r\n\r\n```\r\nINFO  [OVariableParser.resolveVariables] Error on resolving property: distributed [orientechnologies]\r\n```\r\nAny hints on what might be the cause?\r\n\r\nThere was #4883 but it's slightly different, since it *never* works for me from the Java client, and I have memory and plocal registered.\r\n\r\nI am facing this issue since 2.2.0, before it worked."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/245552820","html_url":"https://github.com/orientechnologies/orientdb/issues/6306#issuecomment-245552820","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6306","id":245552820,"user":{"login":"taburet","id":1912884,"avatar_url":"https://avatars.githubusercontent.com/u/1912884?v=3","gravatar_id":"","url":"https://api.github.com/users/taburet","html_url":"https://github.com/taburet","followers_url":"https://api.github.com/users/taburet/followers","following_url":"https://api.github.com/users/taburet/following{/other_user}","gists_url":"https://api.github.com/users/taburet/gists{/gist_id}","starred_url":"https://api.github.com/users/taburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taburet/subscriptions","organizations_url":"https://api.github.com/users/taburet/orgs","repos_url":"https://api.github.com/users/taburet/repos","events_url":"https://api.github.com/users/taburet/events{/privacy}","received_events_url":"https://api.github.com/users/taburet/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T10:07:07Z","updated_at":"2016-09-08T10:07:07Z","body":"Guys, I created the first version of OrientDB OSGi distribution. Could you please try it in your setups to verify it's working in the wild.\r\n\r\n1. `git checkout osgi-2.2.x` from `orientdb` repository\r\n2. `mvn clean verify` it\r\n\r\nThe resulting uber bundle jar will be at `osgi/osgi-core-bundle/target`. Please drop it into your OSGi containers.\r\n\r\nIf you use spatial module:\r\n\r\n1. `git checkout osgi-2.2.x` from `orientdb-spatial` repository\r\n2. `mvn clean verify` it, the bundle jar will be at `osgi/osgi-spatial-bundle/target`"}}
{"actor":{"display_login":"taburet"}}