{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2","labels_url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2/comments","events_url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2/events","html_url":"https://github.com/SAP/cloud-sfsf-benefits-ext/issues/2","id":29980428,"number":2,"title":"PersistenceException","user":{"login":"jkalivas","id":1884783,"avatar_url":"https://avatars.githubusercontent.com/u/1884783?v=3","gravatar_id":"","url":"https://api.github.com/users/jkalivas","html_url":"https://github.com/jkalivas","followers_url":"https://api.github.com/users/jkalivas/followers","following_url":"https://api.github.com/users/jkalivas/following{/other_user}","gists_url":"https://api.github.com/users/jkalivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkalivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkalivas/subscriptions","organizations_url":"https://api.github.com/users/jkalivas/orgs","repos_url":"https://api.github.com/users/jkalivas/repos","events_url":"https://api.github.com/users/jkalivas/events{/privacy}","received_events_url":"https://api.github.com/users/jkalivas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-03-23T04:20:42Z","updated_at":"2015-04-24T14:03:51Z","closed_at":"2014-05-27T14:56:32Z","body":"Upon deploying the application locally or a HCP the following error is thrown. Can you please help shine some light on the incident.\r\n\r\nThank you.\r\n\r\n2014 03 22 23:55:50#0-400#INFO#System.out##anonymous#Thread-6####Updating file with path [C:\\HANADev\\Servers\\SAP HANA Cloud Platform local runtime-config\\.\\pickup\\com.sap.hana.cloud.samples.benefits.war]|\r\n2014 03 22 23:55:50#0-400#INFO#System.out##anonymous#Thread-6####Update of file with path [C:\\HANADev\\Servers\\SAP HANA Cloud Platform local runtime-config\\.\\pickup\\com.sap.hana.cloud.samples.benefits.war] is successful.|\r\n2014 03 22 23:55:50#0-400#ERROR#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/com.sap.hana.cloud.samples.benefits]##anonymous#Thread-6####Exception sending context initialized event to listener instance of class com.sap.hana.cloud.samples.benefits.service.AppServletContextListener\r\njavax.persistence.PersistenceException: No Persistence provider for EntityManager named com.sap.hana.cloud.samples.benefits\r\n\tat javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)\r\n\tat com.sap.hana.cloud.samples.benefits.persistence.manager.impl.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:30)\r\n\tat com.sap.hana.cloud.samples.benefits.persistence.manager.PersistenceManager.getInstance(PersistenceManager.java:21)\r\n\tat com.sap.hana.cloud.samples.benefits.service.AppServletContextListener.contextInitialized(AppServletContextListener.java:29)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)\r\n\tat org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:125)\r\n\tat org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:109)\r\n\tat org.eclipse.gemini.web.extender.WebContainerBundleCustomizer.addingBundle(WebContainerBundleCustomizer.java:49)\r\n\tat org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:482)\r\n\tat org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)\r\n\tat org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)\r\n\tat org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)\r\n\tat org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:457)\r\n\tat org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)\r\n\tat org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)\r\n\tat org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)\r\n\tat org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)\r\n\tat org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)\r\n\tat org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)\r\n\tat org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)\r\n\tat com.sap.core.js.deployer.watchservice.WARDeployer.update(WARDeployer.java:313)\r\n\tat com.sap.core.js.deployer.watchservice.FileSystemEventsListener.onChange(FileSystemEventsListener.java:51)\r\n\tat org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)\r\n\tat org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)\r\n\tat com.sap.core.js.deployer.watchservice.WatchTask.run(WatchTask.java:29)\r\n\tat java.lang.Thread.run(Unknown Source)|\r\n2014 03 22 23:55:50#0-400#ERROR#org.apache.catalina.core.StandardContext##anonymous#Thread-6####Error listenerStart|\r\n2014 03 22 23:55:50#0-400#ERROR#org.apache.catalina.core.StandardContext##anonymous#Thread-6####Context [/com.sap.hana.cloud.samples.benefits] startup failed due to previous errors|"},"comment":{"url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/comments/95943472","html_url":"https://github.com/SAP/cloud-sfsf-benefits-ext/issues/2#issuecomment-95943472","issue_url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2","id":95943472,"user":{"login":"takvort","id":9008620,"avatar_url":"https://avatars.githubusercontent.com/u/9008620?v=3","gravatar_id":"","url":"https://api.github.com/users/takvort","html_url":"https://github.com/takvort","followers_url":"https://api.github.com/users/takvort/followers","following_url":"https://api.github.com/users/takvort/following{/other_user}","gists_url":"https://api.github.com/users/takvort/gists{/gist_id}","starred_url":"https://api.github.com/users/takvort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takvort/subscriptions","organizations_url":"https://api.github.com/users/takvort/orgs","repos_url":"https://api.github.com/users/takvort/repos","events_url":"https://api.github.com/users/takvort/events{/privacy}","received_events_url":"https://api.github.com/users/takvort/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T14:03:51Z","updated_at":"2015-04-24T14:03:51Z","body":"Hi Mahesh,\r\n\r\nAre you using different version of eclipse.link than the one in the pom.xml?\r\n\r\nThe following post:\r\n\r\nhttp://scn.sap.com/thread/3202085\r\n\r\nexplains that eclipselink creates VARCHAR(1) for String fields, and there are a few workaround for this.\r\n\r\nKind regards,\r\nTaki"}}