{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6157","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6157/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6157/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6157/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6157","id":155655823,"number":6157,"title":"Multiple issues with OrientDB 2.2.0 in embedded mode","user":{"login":"PhantomYdn","id":1199285,"avatar_url":"https://avatars.githubusercontent.com/u/1199285?v=3","gravatar_id":"","url":"https://api.github.com/users/PhantomYdn","html_url":"https://github.com/PhantomYdn","followers_url":"https://api.github.com/users/PhantomYdn/followers","following_url":"https://api.github.com/users/PhantomYdn/following{/other_user}","gists_url":"https://api.github.com/users/PhantomYdn/gists{/gist_id}","starred_url":"https://api.github.com/users/PhantomYdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhantomYdn/subscriptions","organizations_url":"https://api.github.com/users/PhantomYdn/orgs","repos_url":"https://api.github.com/users/PhantomYdn/repos","events_url":"https://api.github.com/users/PhantomYdn/events{/privacy}","received_events_url":"https://api.github.com/users/PhantomYdn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-05-19T05:16:29Z","updated_at":"2016-05-23T09:39:27Z","closed_at":null,"body":"Let me use this issue for resolving some issues related running OrientDB in embedded mode which is required for [Orienteer](https://github.com/OrienteerDW/Orienteer).\r\n\r\n1) Server is not properly shutting down. Probably something missing please advise. But in log of [wicket-orientdb](https://github.com/OrienteerDW/wicket-orientdb) testing it's pretty common to see: https://gist.github.com/PhantomYdn/449304e41750e48d5aa672967f13d38d\r\nAs you can see server is not shutting down after test and next time port is still occupied. With 2.1.17 the same codebase was perfectly fine.\r\n2) Ambiguous logs: there are much bigger amount of INFO logs than before. \r\n3) Is there a way to avoid creation of OServer database? \r\n\r\nCode of wicket-orientdb libary with attempt to adopt 2.2.0 is here: https://github.com/OrienteerDW/wicket-orientdb/tree/future\r\nActually all tests are failing for unknown reason like:\r\n\r\n```\r\njava.lang.AssertionError: Impossible to serialize invalid link #17:-1\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:861)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeLinkCollection(ORecordSerializerBinaryV0.java:883)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serializeValue(ORecordSerializerBinaryV0.java:746)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:384)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:99)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2319)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:652)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1988)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveNew(OTransactionNoTx.java:246)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:176)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2529)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:99)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1817)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1808)\r\n        at ru.ydn.wicket.wicketorientdb.TestDataInstallator.installData(TestDataInstallator.java:35)\r\n        at ru.ydn.wicket.wicketorientdb.AbstractDataInstallator.onAfterInitialized(AbstractDataInstallator.java:23)\r\n```\r\nOn OrientDB 2.1.17 everything was find"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/220933660","html_url":"https://github.com/orientechnologies/orientdb/issues/6157#issuecomment-220933660","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6157","id":220933660,"user":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T09:39:27Z","updated_at":"2016-05-23T09:39:27Z","body":"hi @PhantomYdn, \r\n\r\nthe first issue has been fixed in develop, still have to check the hook.\r\n\r\nbye"}}
{"actor":{"display_login":"tglman"}}