{"action":"opened","issue":{"url":"https://api.github.com/repos/Sashanknori/MYVenues/issues/1","labels_url":"https://api.github.com/repos/Sashanknori/MYVenues/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Sashanknori/MYVenues/issues/1/comments","events_url":"https://api.github.com/repos/Sashanknori/MYVenues/issues/1/events","html_url":"https://github.com/Sashanknori/MYVenues/issues/1","id":112071137,"number":1,"title":"DB connectivity issue still exist","user":{"login":"Sashanknori","id":8629444,"avatar_url":"https://avatars.githubusercontent.com/u/8629444?v=3","gravatar_id":"","url":"https://api.github.com/users/Sashanknori","html_url":"https://github.com/Sashanknori","followers_url":"https://api.github.com/users/Sashanknori/followers","following_url":"https://api.github.com/users/Sashanknori/following{/other_user}","gists_url":"https://api.github.com/users/Sashanknori/gists{/gist_id}","starred_url":"https://api.github.com/users/Sashanknori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sashanknori/subscriptions","organizations_url":"https://api.github.com/users/Sashanknori/orgs","repos_url":"https://api.github.com/users/Sashanknori/repos","events_url":"https://api.github.com/users/Sashanknori/events{/privacy}","received_events_url":"https://api.github.com/users/Sashanknori/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T04:47:46Z","updated_at":"2015-10-19T04:47:46Z","closed_at":null,"body":"During runtime, when I'm trying to access the Entity manager, I get the error like:\r\n\r\n    Caused by: javax.ejb.EJBException: See nested exception; nested exception is: java.lang.Exception: See nested Throwable at com.ibm.ejs.container.util.ExceptionUtil.EJBException(ExceptionUtil.java:461) ... 27 more\r\n    Caused by: java.lang.Exception: See nested Throwable at com.ibm.ejs.container.util.ExceptionUtil.Exception(ExceptionUtil.java:317) ... 27 more\r\n\r\n    Caused by: java.lang.AbstractMethodError: org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(Ljavax/persistence/SynchronizationType;Ljava/util/Map;)Ljavax/persistence/EntityManager;\r\n    at com.ibm.ws.jpa.container.v21.internal.JPA21Runtime.createEntityManagerInstance(JPA21Runtime.java:104) at [internal classes]\r\n\r\ncurrently I'm using the following dependencies:org.apache.openjpa:openjpa-all-2.4.0\r\n\r\nDuring deployment, I see the following stack trace\r\n\r\n    [err] 458 appname INFO [Default Executor-thread-16] openjpa.jdbc.JDBC - Using dictionary class \"org.apache.openjpa.jdbc.sql.MySQLDictionary\" (MySQL 5.6.25-0ubuntu0.15.04.1 ,MySQL-AB JDBC Driver mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )).\r\n\r\n    [err] 502 appname INFO [Default Executor-thread-16] openjpa.jdbc.JDBC - Connected to MySQL version 5.5 using JDBC driver MySQL-AB JDBC Driver version mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} ).\r\n\r\nBut this doesn’t abort my deployment process and I can still consume my services.\r\n\r\nAdded the following features to server.xml\r\n<pre><code>\r\n<featureManager>\r\n    <feature>webProfile-7.0</feature>\r\n    <feature>localConnector-1.0</feature>\r\n    <feature>jndi-1.0</feature>\r\n    <feature>jdbc-4.1</feature>\r\n    <feature>jaxrs-2.0</feature>\r\n    <feature>jpa-2.1</feature>\r\n</featureManager>\r\n</code></pre>\r\nAssuming it to be a compatibility issue, I've used older versions of openjpa till 2.2.1.\r\nDisabled jpa-2.1 feature from server.xml\r\nBut No luck."}}