{"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":10,"created_at":"2014-03-23T04:20:42Z","updated_at":"2015-03-16T12:25:09Z","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/81617661","html_url":"https://github.com/SAP/cloud-sfsf-benefits-ext/issues/2#issuecomment-81617661","issue_url":"https://api.github.com/repos/SAP/cloud-sfsf-benefits-ext/issues/2","id":81617661,"user":{"login":"maheshbasis5","id":8695120,"avatar_url":"https://avatars.githubusercontent.com/u/8695120?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshbasis5","html_url":"https://github.com/maheshbasis5","followers_url":"https://api.github.com/users/maheshbasis5/followers","following_url":"https://api.github.com/users/maheshbasis5/following{/other_user}","gists_url":"https://api.github.com/users/maheshbasis5/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshbasis5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshbasis5/subscriptions","organizations_url":"https://api.github.com/users/maheshbasis5/orgs","repos_url":"https://api.github.com/users/maheshbasis5/repos","events_url":"https://api.github.com/users/maheshbasis5/events{/privacy}","received_events_url":"https://api.github.com/users/maheshbasis5/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T12:25:09Z","updated_at":"2015-03-16T12:25:09Z","body":"Hi \r\nwhen i run the application url https://benefitsp*********trial.hanatrial.ondemand.com/com.sap.hana.cloud.samples.benefits/index.html\r\nin the SAP HANA cloud portal it show below error please find the screen shot and log \r\n\r\n![snap 2015-03-16 at 17 43 13](https://cloud.githubusercontent.com/assets/8695120/6665889/e08f7806-cc04-11e4-9083-b4d0eb3e78a2.png)\r\n\r\nlog file:\r\n#ERROR#com.sap.hana.cloud.samples.benefits.odata.cfg.SimpleODataErrorCallback##P1694261187#http-bio-8041-exec-1#na#p1694261187trial#benefits#web#p1694261187trial#Error in the OData. Reason: An exception occurred.org.apache.olingo.odata2.api.edm.EdmException: An exception occurred.\r\n\tat org.apache.olingo.odata2.core.edm.EdmImpl.getEntityContainer(EdmImpl.java:85)\r\n\tat org.apache.olingo.odata2.core.edm.EdmImpl.getDefaultEntityContainer(EdmImpl.java:184)\r\n\tat org.apache.olingo.odata2.core.uri.UriParserImpl.handleNormalInitialSegment(UriParserImpl.java:174)\r\n\tat org.apache.olingo.odata2.core.uri.UriParserImpl.handleResourcePath(UriParserImpl.java:158)\r\n\tat org.apache.olingo.odata2.core.uri.UriParserImpl.parse(UriParserImpl.java:112)\r\n\tat org.apache.olingo.odata2.core.ODataRequestHandler.handle(ODataRequestHandler.java:107)\r\n\tat org.apache.olingo.odata2.core.rest.ODataSubLocator.handle(ODataSubLocator.java:155)\r\n\tat org.apache.olingo.odata2.core.rest.ODataSubLocator.handleGet(ODataSubLocator.java:56)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:601)\r\n\tat org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181)\r\n\tat org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97)\r\n\tat org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:200)\r\n\tat org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:271)\r\n\tat org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)\r\n\tat org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)\r\n\tat org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)\r\n\tat org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)\r\n\tat org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)\r\n\tat org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)\r\n\tat org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)\r\n\tat org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)\r\n\tat org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)\r\n\tat org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)\r\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:290)\r\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:214)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:735)\r\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:265)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.core.communication.server.CertValidatorFilter.doFilter(CertValidatorFilter.java:151)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.hana.cloud.samples.benefits.odata.cfg.ODataContextFilter.doFilter(ODataContextFilter.java:21)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.hana.cloud.samples.benefits.service.SessionCreateFilter.doFilter(SessionCreateFilter.java:43)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.hana.cloud.samples.benefits.service.ApplicationFilter.doFilter(ApplicationFilter.java:41)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.hana.cloud.samples.benefits.service.EntityManagerInterceptor.doFilter(EntityManagerInterceptor.java:19)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat com.sap.hana.cloud.samples.benefits.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:29)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n\tat org.eclipse.virgo.web.enterprise.security.valve.OpenEjbSecurityInitializationValve.invoke(OpenEjbSecurityInitializationValve.java:44)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)\r\n\tat com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\r\n\tat com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)\r\n\tat com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)\r\n\tat com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)\r\n\tat com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:789)\r\nCaused by: org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPAModelException: \"OData - JPA Type Converter: Type [class java.util.Date] not supported\"\r\n\tat org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPAModelException.throwException(ODataJPAModelException.java:87)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.access.model.JPATypeConvertor.convertToEdmSimpleType(JPATypeConvertor.java:107)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmProperty$JPAEdmPropertyBuilder.buildSimpleProperty(JPAEdmProperty.java:337)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmProperty$JPAEdmPropertyBuilder.build(JPAEdmProperty.java:219)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntityType$JPAEdmEntityTypeBuilder.build(JPAEdmEntityType.java:128)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntitySet$JPAEdmEntitySetBuilder.build(JPAEdmEntitySet.java:89)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntityContainer$JPAEdmEntityContainerBuilder.build(JPAEdmEntityContainer.java:117)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmSchema$JPAEdmSchemaBuilder.build(JPAEdmSchema.java:119)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmModel$JPAEdmModelBuilder.build(JPAEdmModel.java:61)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProvider.getSchemas(ODataJPAEdmProvider.java:282)\r\n\tat org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProvider.getEntityContainerInfo(ODataJPAEdmProvider.java:92)\r\n\tat org.apache.olingo.odata2.core.edm.provider.EdmImplProv.createEntityContainer(EdmImplProv.java:59)\r\n\tat org.apache.olingo.odata2.core.edm.EdmImpl.getEntityContainer(EdmImpl.java:69)\r\n\t... 73 common frames omitted\r\n\r\nRegards\r\nMahesh"}}