com.sun.enterprise.deployment.backend.IASDeploymentException: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [userManagementEJB] failed. Internal Exception: java.lang.NullPointerException I also get the following in the log: annotation symbol inheritance is not supported. symbol: TYPE location: class com.myapp.FacadeBean This is especially vexing because I have my entities packed in an .ear (which contains the FacadeBean) and a .war which uses them remotely and I get this error when deploying the .war which just seems totally wrong. I'm using V2 b58g. Everything works fine if I take out the @Basic (except for my relation being lazily loaded) I would be very appreciative for any help. -- Loren If you are interested here's the stack trace: [#|2008-01-09T16:58:58.001-0600|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;/tmp/s1astempdomain1server783893415/userManagementWicket.war;|ADM1006:Uploading the file to:[/tmp/s1astempdomain1server783893415/userManagementWicket.war]|#] [#|2008-01-09T16:58:58.614-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.sqlstore|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl;MethodName=processApplication;redeploy;userManagementWicket;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|ejb.DeploymentEventListenerImpl.processingevent|#] [#|2008-01-09T16:58:58.614-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.codegen.ejb|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor;MethodName=processAppBundle;false;false;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|Processing event to create tables: false, drop tables: false.|#] [#|2008-01-09T16:59:00.325-0600|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=29;_ThreadName=Thread-39;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|The annotation symbol inheritance is not supported. symbol: TYPE location: class com.corenap.security.management.UserFacadeBean |#] [#|2008-01-09T16:59:00.429-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.sqlstore|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl;MethodName=processApplication;redeploy;userManagementWicket;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|ejb.DeploymentEventListenerImpl.processingevent|#] [#|2008-01-09T16:59:00.430-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.codegen.ejb|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor;MethodName=processAppBundle;false;false;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|Processing event to create tables: false, drop tables: false.|#] [#|2008-01-09T16:59:00.460-0600|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=29;_ThreadName=Thread-39;|deployed with moduleid = userManagementWicket|#] [#|2008-01-09T16:59:00.676-0600|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;java:comp/env/com.corenap.security.management.UserFacadeBean/emf;|naming.bind|#] [#|2008-01-09T16:59:00.690-0600|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=120860b1-8bdb-4077-809b-9e828195c08e;|PWC1311: Error stopping context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/userManagement] LifecycleException: PWC2769: Manager has not yet been started


Solutions on the web1

Solution icon of oraclecommunity
via Oracle Community by loren_, 1 year ago
have my entities packed in an .ear (which contains the FacadeBean) and a .war which uses them remotely and I get this error when deploying the .war which just seems totally wrong. I'm using V2 b58g. Everything works fine if I take out the @Basic

Stack trace

com.sun.enterprise.deployment.backend.IASDeploymentException: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [userManagementEJB] failed. Internal Exception: java.lang.NullPointerException I also get the following in the log: annotation symbol inheritance is not supported. symbol: TYPE location: class com.myapp.FacadeBean This is especially vexing because I have my entities packed in an .ear (which contains the FacadeBean) and a .war which uses them remotely and I get this error when deploying the .war which just seems totally wrong.   I'm using V2 b58g.  Everything works fine if I take out the @Basic (except for my relation being lazily loaded) I would be very appreciative for any help.  -- Loren If you are interested here's the stack trace: [#|2008-01-09T16:58:58.001-0600|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;/tmp/s1astempdomain1server783893415/userManagementWicket.war;|ADM1006:Uploading the file to:[/tmp/s1astempdomain1server783893415/userManagementWicket.war]|#] [#|2008-01-09T16:58:58.614-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.sqlstore|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl;MethodName=processApplication;redeploy;userManagementWicket;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|ejb.DeploymentEventListenerImpl.processingevent|#] [#|2008-01-09T16:58:58.614-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.codegen.ejb|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor;MethodName=processAppBundle;false;false;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|Processing event to create tables: false, drop tables: false.|#] [#|2008-01-09T16:59:00.325-0600|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=29;_ThreadName=Thread-39;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|The annotation symbol inheritance is not supported. symbol: TYPE location: class com.corenap.security.management.UserFacadeBean |#] [#|2008-01-09T16:59:00.429-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.sqlstore|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl;MethodName=processApplication;redeploy;userManagementWicket;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|ejb.DeploymentEventListenerImpl.processingevent|#] [#|2008-01-09T16:59:00.430-0600|FINE|sun-appserver9.1|javax.enterprise.resource.jdo.codegen.ejb|_ThreadID=29;_ThreadName=Thread-39;ClassName=com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor;MethodName=processAppBundle;false;false;_RequestID=c1f64b24-98d5-4b9a-a9fe-fb87649c7cb9;|Processing event to create tables: false, drop tables: false.|#] [#|2008-01-09T16:59:00.460-0600|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=29;_ThreadName=Thread-39;|deployed with moduleid = userManagementWicket|#] [#|2008-01-09T16:59:00.676-0600|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;java:comp/env/com.corenap.security.management.UserFacadeBean/emf;|naming.bind|#] [#|2008-01-09T16:59:00.690-0600|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=120860b1-8bdb-4077-809b-9e828195c08e;|PWC1311: Error stopping context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/userManagement] LifecycleException:  PWC2769: Manager has not yet been started
	at org.apache.catalina.session.StandardManager.stop(StandardManager.java:787)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5317)
	at com.sun.enterprise.web.WebModule.stop(WebModule.java:356)
	at org.apache.catalina.core.StandardContext.preDeregister(StandardContext.java:6295)
	at com.sun.org.apache.commons.modeler.BaseModelMBean.preDeregister(BaseModelMBean.java:1418)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preDeregisterInvoke(DefaultMBeanServerInterceptor.java:1048)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:421)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
	at com.sun.enterprise.interceptor.DynamicInterceptor.unregisterMBean(DynamicInterceptor.java:298)
	at com.sun.org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:644)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4856)
	at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
	at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
	at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
	at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
	at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
	at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
	at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
	at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
	at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
	at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
	at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
	at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
	at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
	at $Proxy1.invoke(Unknown Source)
	at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
	at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
	at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
	at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
	at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
	at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
	at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.