{"action":"created","issue":{"url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/30","labels_url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/30/comments","events_url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/30/events","html_url":"https://github.com/wisdom-framework/wisdom-orientdb/issues/30","id":94239185,"number":30,"title":"Remote database setup problem with version 0.2.7-SNAPSHOT","user":{"login":"darchaimbault","id":13269774,"avatar_url":"https://avatars.githubusercontent.com/u/13269774?v=3","gravatar_id":"","url":"https://api.github.com/users/darchaimbault","html_url":"https://github.com/darchaimbault","followers_url":"https://api.github.com/users/darchaimbault/followers","following_url":"https://api.github.com/users/darchaimbault/following{/other_user}","gists_url":"https://api.github.com/users/darchaimbault/gists{/gist_id}","starred_url":"https://api.github.com/users/darchaimbault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darchaimbault/subscriptions","organizations_url":"https://api.github.com/users/darchaimbault/orgs","repos_url":"https://api.github.com/users/darchaimbault/repos","events_url":"https://api.github.com/users/darchaimbault/events{/privacy}","received_events_url":"https://api.github.com/users/darchaimbault/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"barjo","id":407920,"avatar_url":"https://avatars.githubusercontent.com/u/407920?v=3","gravatar_id":"","url":"https://api.github.com/users/barjo","html_url":"https://github.com/barjo","followers_url":"https://api.github.com/users/barjo/followers","following_url":"https://api.github.com/users/barjo/following{/other_user}","gists_url":"https://api.github.com/users/barjo/gists{/gist_id}","starred_url":"https://api.github.com/users/barjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barjo/subscriptions","organizations_url":"https://api.github.com/users/barjo/orgs","repos_url":"https://api.github.com/users/barjo/repos","events_url":"https://api.github.com/users/barjo/events{/privacy}","received_events_url":"https://api.github.com/users/barjo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/milestones/2","html_url":"https://github.com/wisdom-framework/wisdom-orientdb/milestones/Version%200.3.0","labels_url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/milestones/2/labels","id":797137,"number":2,"title":"Version 0.3.0","description":"","creator":{"login":"barjo","id":407920,"avatar_url":"https://avatars.githubusercontent.com/u/407920?v=3","gravatar_id":"","url":"https://api.github.com/users/barjo","html_url":"https://github.com/barjo","followers_url":"https://api.github.com/users/barjo/followers","following_url":"https://api.github.com/users/barjo/following{/other_user}","gists_url":"https://api.github.com/users/barjo/gists{/gist_id}","starred_url":"https://api.github.com/users/barjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barjo/subscriptions","organizations_url":"https://api.github.com/users/barjo/orgs","repos_url":"https://api.github.com/users/barjo/repos","events_url":"https://api.github.com/users/barjo/events{/privacy}","received_events_url":"https://api.github.com/users/barjo/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2014-09-21T09:43:55Z","updated_at":"2015-07-16T02:22:14Z","due_on":"2015-07-23T17:00:00Z","closed_at":null},"comments":3,"created_at":"2015-07-10T07:36:45Z","updated_at":"2015-07-28T13:47:22Z","closed_at":null,"body":"Hi,\r\n\r\nI use the last version of wisdom-orientdb-object but I've encountered some problem with the latest snapshot version.\r\nAt the beginning of the week my orientdb setup was running correctly, but now I got error at runtime.\r\n\r\nSo I tried to check with a fresh copy of the sample and the error occurs as well: \r\n\r\nit works when it use the memory database, it works (with an error at runtime) using the plocal database but fail when using the remote database setup.\r\nI use the 2.0.11 OrientDb version on mac OSX.\r\n\r\nHere is my stack traces for  the plocal database (the sample is working but i got this error at launch):\r\n\r\n```\r\n[INFO]\t o.w.o.r.OrientDbCrudProvider {[iPOJO] pool-1-thread-1} - OrientDB Database configuration found for /todolist/model : WOrientConf{alias='test', url='plocal:database/todolist', user='admin', nameSpace='[todolist.model]', autolazyloading=true', txtype=OPTIMISTIC, poolmin='1', poolmax='20'} \r\n[ERROR]\t o.w.o.r.OrientDbRepoCommandTracker {[iPOJO] pool-1-thread-1} - Cannot create OrientDBRepository for db test \r\ncom.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record OUser{name:admin,password:{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918,status:ACTIVE,roles:[1]}: found duplicated key 'admin' in index 'OUser.name' previously assigned to the record #5:0\r\n\tat com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.checkEntry(OIndexTxAwareOneValue.java:225) ~[na:na]\r\n\tat com.orientechnologies.orient.core.index.OClassIndexManager.checkIndexedPropertiesOnCreation(OClassIndexManager.java:324) ~[na:na]\r\n\tat com.orientechnologies.orient.core.index.OClassIndexManager.checkIndexes(OClassIndexManager.java:568) ~[na:na]\r\n\tat com.orientechnologies.orient.core.index.OClassIndexManager.onRecordBeforeCreate(OClassIndexManager.java:393) ~[na:na]\r\n\tat com.orientechnologies.orient.core.hook.ODocumentHookAbstract.onTrigger(ODocumentHookAbstract.java:226) ~[na:na]\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.callbackHooks(ODatabaseDocumentTx.java:1030) ~[na:na]\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1836) ~[na:na]\r\n\tat com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:150) ~[com.orientechnologies.orientdb.core-2.1-rc5.jar:2.1-rc5]\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2435) ~[na:na]\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:120) ~[na:na]\r\n\tat com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1710) ~[na:na]\r\n\tat com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1706) ~[na:na]\r\n\tat com.orientechnologies.orient.core.metadata.security.OUser.save(OUser.java:287) ~[com.orientechnologies.orientdb.core-2.1-rc5.jar:2.1-rc5]\r\n\tat com.orientechnologies.orient.core.metadata.security.OSecurityShared.createUser(OSecurityShared.java:240) ~[com.orientechnologies.orientdb.core-2.1-rc5.jar:2.1-rc5]\r\n```\r\n\r\nAnd, when using the remote database (orientDB 2.0.11, with latest wisdom-orientdb snapshot), here is the error I encounter :\r\n\r\n```\r\n[INFO]\t o.w.o.r.OrientDbCrudProvider {[iPOJO] pool-1-thread-1} - OrientDB Database configuration found for /todolist/model : WOrientConf{alias='test', url='remote:localhost/todolist', user='admin', nameSpace='[todolist.model]', autolazyloading=true', txtype=OPTIMISTIC, poolmin='1', poolmax='20'} \r\n[ERROR]\t c.o.o.e.c.b.OChannelBinaryAsynchClient {[iPOJO] pool-1-thread-1} - Error during exception serialization. \r\njava.lang.ClassNotFoundException: com.orientechnologies.orient.core.sql.OCommandSQLParsingException\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0_11]\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0_11]\r\n\tat java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_11]\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0_11]\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_11]\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_11]\r\n\tat org.ow2.chameleon.core.utils.FrameworkClassLoader.loadClass(FrameworkClassLoader.java:190) ~[chameleon-core-1.10.7.jar:na]\r\n\tat org.apache.felix.framework.BundleWiringImpl.doImplicitBootDelegation(BundleWiringImpl.java:1765) ~[chameleon-core-1.10.7.jar:na]\r\n\tat org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1700) ~[chameleon-core-1.10.7.jar:na]\r\n\tat org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1536) ~[chameleon-core-1.10.7.jar:na]\r\n\tat org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79) ~[chameleon-core-1.10.7.jar:na]\r\n\tat org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998) ~[chameleon-core-1.10.7.jar:na]\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_11]\r\n\tat java.lang.Class.forName0(Native Method) ~[na:1.8.0_11]\r\n```\r\n\r\n\r\nCan you help me ?\r\nThanks in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/comments/125616053","html_url":"https://github.com/wisdom-framework/wisdom-orientdb/issues/30#issuecomment-125616053","issue_url":"https://api.github.com/repos/wisdom-framework/wisdom-orientdb/issues/30","id":125616053,"user":{"login":"mnogueron","id":8511318,"avatar_url":"https://avatars.githubusercontent.com/u/8511318?v=3","gravatar_id":"","url":"https://api.github.com/users/mnogueron","html_url":"https://github.com/mnogueron","followers_url":"https://api.github.com/users/mnogueron/followers","following_url":"https://api.github.com/users/mnogueron/following{/other_user}","gists_url":"https://api.github.com/users/mnogueron/gists{/gist_id}","starred_url":"https://api.github.com/users/mnogueron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnogueron/subscriptions","organizations_url":"https://api.github.com/users/mnogueron/orgs","repos_url":"https://api.github.com/users/mnogueron/repos","events_url":"https://api.github.com/users/mnogueron/events{/privacy}","received_events_url":"https://api.github.com/users/mnogueron/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T13:47:22Z","updated_at":"2015-07-28T13:47:22Z","body":"Hi,\r\nI'm experiencing the same issue with version 0.2.7-SNAPSHOT and wisdom version 0.9.1.\r\nI'm using the 2.1-rc3 OrientDB version for linux.\r\nThanks."}}