java.io.FileNotFoundException: JAR entry META-INF/persistence.xml not found in C:\Users\Gili\Documents\blueeye\trunk\desktopbeautifier\Server\Netbeans6.1\build\web\WEB-INF\lib\DesktopBeautifier.Database.jar

Oracle Community | cowwoc | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Redeploying webapp fails frequently

    Oracle Community | 9 years ago | cowwoc
    java.io.FileNotFoundException: JAR entry META-INF/persistence.xml not found in C:\Users\Gili\Documents\blueeye\trunk\desktopbeautifier\Server\Netbeans6.1\build\web\WEB-INF\lib\DesktopBeautifier.Database.jar

    Root Cause Analysis

    1. java.io.FileNotFoundException

      JAR entry META-INF/persistence.xml not found in C:\Users\Gili\Documents\blueeye\trunk\desktopbeautifier\Server\Netbeans6.1\build\web\WEB-INF\lib\DesktopBeautifier.Database.jar

      at sun.net.www.protocol.jar.JarURLConnection.connect()
    2. Java RT
      JarURLConnection.getJarEntry
      1. sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
      2. sun.net.www.protocol.jar.JarURLConnection.getJarEntry(JarURLConnection.java:76)
      2 frames
    3. oracle.toplink.essentials
      EntityManagerFactoryProvider.createEntityManagerFactory
      1. oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.computePURootURL(PersistenceUnitProcessor.java:269)
      2. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:148)
      2 frames
    4. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
      2 frames
    5. com.wideplay.warp
      JpaPersistenceService.start
      1. com.wideplay.warp.jpa.JpaPersistenceService.start(JpaPersistenceService.java:57)
      1 frame
    6. desktopbeautifier.servlet
      ServletContextInjector.getInjector
      1. desktopbeautifier.servlet.ServletContextInjector.getInjector(ServletContextInjector.java:73)
      1 frame
    7. com.wideplay.warp
      WarpServletContextListener.contextInitialized
      1. com.wideplay.warp.servlet.WarpServletContextListener.contextInitialized(WarpServletContextListener.java:39)
      1 frame
    8. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
      2 frames
    9. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:326)
      1 frame
    10. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
      3 frames
    11. Glassfish
      WebContainer.loadWebModule
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
      2 frames
    12. com.sun.enterprise
      WebModuleDeployEventListener.moduleDeployed
      1. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
      2. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
      2 frames
    13. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
      2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
      3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
      4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
      4 frames
    14. com.sun.enterprise
      ApplicationsConfigMBean.start
      1. com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
      2. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
      3. com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
      4. com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
      5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
      6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
      9. com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
      9 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    16. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
      2 frames
    17. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
      1 frame
    18. Java RT
      Method.invoke
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      3. sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      5. java.lang.reflect.Method.invoke(Method.java:597)
      5 frames
    19. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
      1 frame
    20. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    21. com.sun.enterprise
      RemoteJmxConnectorServlet.doPost
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
      2. com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
      3. com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
      4. com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
      5. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
      6. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
      6 frames
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      2 frames
    23. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
      3. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      6 frames
    24. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      1 frame
    25. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      10 frames
    26. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      1 frame
    27. Glassfish Core
      WorkerThreadImpl.run
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      8. com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
      8 frames