The build you are using is more than a year old; during this time the
deployment code changed significantly.
Consider switching to the latest build.
----- Original Message -----
From: <pyrodize_at_gmail.com>
To: <persistence_at_glassfish.dev.java.net>
Sent: Tuesday, November 06, 2007 10:59 PM
Subject: Persistence Unit Failed to deployh
> hey guys...
> i have a problem about persistence unit
>
> Attempted to deploy PersistenceUnit [CIF-EJBPU] for which predeploy method
> either had not called or had failed
>
> i've tried all of the suggestion from
> http://forums.java.net/jive/thread.jspa?messageID=205578𲌊
> and my project is stuck
>
> thx before.
>
>
>
> PS:
> this is the full exceptions
>
> DPL5306:EJB Web Service Endpoint [CifService] listening at address
> [http://192.168.2.137:8080/CifServiceService/CifService]
> CREATE CIF PERSONAL
> [TopLink Finest]: 2007.11.07
> 10:34:08.921--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--begin
> deploying Persistence Unit CIF-EJBPU; state Predeployed; deploymentCount 0
> [TopLink Config]: 2007.11.07
> 10:34:08.921--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--property
> toplink.server.platform.class.name is deprecated, property
> toplink.target-server should be used instead.
> [TopLink Finest]: 2007.11.07
> 10:34:09.218--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--property=toplink.logging.level;
> value=ALL; translated value=ALL
> [TopLink Finest]: 2007.11.07
> 10:34:09.218--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--property=toplink.logging.level;
> value=ALL; translated value=ALL
> [TopLink Finest]: 2007.11.07
> 10:34:09.218--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--property=toplink.target-database;
> value=PostgreSQL; translated
> value=oracle.toplink.essentials.platform.database.PostgreSQLPlatform
> [TopLink Finest]: 2007.11.07
> 10:34:09.234--ServerSession(30417906)--Thread(Thread[httpWorkerThread-8080-1,10,Grizzly])--property=toplink.target-server;
> value=oracle.toplink.essentials.platform.server.sunas.SunAS9ServerPlatform
> topLink_version
> application_server_name_and_version
> platform=>PostgreSQLPlatform
> user name=> ""
> connector=>JNDIConnector datasource name=>null
> );|connecting
> ;|connected_user_database_driver
> platform=>PostgreSQLPlatform
> user name=> ""
> connector=>JNDIConnector datasource name=>null
> );|connecting
> ;|connected_user_database_driver
> sequencing_connected
> sequencing_disconnected
> disconnect
> initialize_identitymaps
> logout_successful
> deploy_end
> javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle
> TopLink Essentials - 2006.8 (Build 060830)):
> oracle.toplink.essentials.exceptions.EntityManagerSetupException
> Exception Description: Attempted to deploy PersistenceUnit [CIF-EJBPU] for
> which predeploy method either had not called or had failed
> at
> oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:113)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
> at
> com.sun.enterprise.util.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:331)
> at
> com.sun.enterprise.util.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:589)
> at
> com.oasistng.cif.dao.CifPersonalFacade.findBySurenameIdnumberAndMotherMaiddenName(CifPersonalFacade.java:63)
> 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:585)
> at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
> at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
> at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
> at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:184)
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
> at $Proxy140.findBySurenameIdnumberAndMotherMaiddenName(Unknown
> Source)
> at
> com.oasistng.cif.service.CIFServiceBean.personalIsExist(CIFServiceBean.java:181)
> at
> com.oasistng.cif.service.CIFServiceBean.createCifPersonal(CIFServiceBean.java:210)
> 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:585)
> at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
> at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
> at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
> at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:184)
> at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
> at $Proxy138.createCifPersonal(Unknown Source)
> at
> com.oasistng.cif.webservice.CifService.createCifPersonal(CifService.java:120)
> 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:585)
> at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
> at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
> at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
> at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
> at
> com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:147)
> at $Proxy134.createCifPersonal(Unknown Source)
> 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:585)
> at com.sun.xml.ws.server.PeptTie._invoke(PeptTie.java:61)
> at
> com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.invokeEndpoint(SOAPMessageDispatcher.java:280)
> at
> com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:588)
> at
> com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:147)
> at com.sun.xml.ws.server.Tie.handle(Tie.java:90)
> at
> com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
> at
> com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
> at
> com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:186)
> at
> com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:117)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
> at
> com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
> at
> com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
> at
> com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
> Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8
> (Build 060830)):
> oracle.toplink.essentials.exceptions.EntityManagerSetupException
> Exception Description: Attempted to deploy PersistenceUnit [CIF-EJBPU] for
> which predeploy method either had not called or had failed
> at
> oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
> ... 76 more
>