java.lang.RuntimeException: Invalid resource : testingPU__pm

Oracle Community | senderj | 5 years ago
  1. 0

    app scoped resources

    Oracle Community | 5 years ago | senderj
    java.lang.RuntimeException: Invalid resource : testingPU__pm
  2. 0

    Glassfish can not find JNDI DataSource while deploying

    Stack Overflow | 4 years ago | Kowser
    org.glassfish.deployment.common.DeploymentException: Invalid resource : { ResourceInfo : (jndiName=java:app/jdbc/mysqlDS__pm), (applicationName=repro-ear) }
  3. 0

    Unable to deploy JavaEE app with Glassfish 4.1

    Stack Overflow | 1 year ago | Juan Pablo Pola Demoro
    java.lang.RuntimeException: Invalid resource : xx__pm
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.appserv.connectors.internal.api.ConnectorRuntimeException

      Invalid resource : testingPU__pm

      at com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl$MyDataSource.validateResource()
    2. Connectors Runtime
      ConnectorRuntime.lookupPMResource
      1. com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl$MyDataSource.validateResource(ConnectorResourceAdminServiceImpl.java:274)
      2. com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl$MyDataSource.setResourceInfo(ConnectorResourceAdminServiceImpl.java:255)
      3. com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl.lookupDataSourceInDAS(ConnectorResourceAdminServiceImpl.java:245)
      4. com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS(ConnectorRuntime.java:538)
      5. com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource(ConnectorRuntime.java:469)
      5 frames
    3. Persistence
      PersistenceHelper.lookupPMResource
      1. org.glassfish.persistence.common.PersistenceHelper.lookupPMResource(PersistenceHelper.java:63)
      1 frame
    4. Embedded GlassFish Web
      JPADeployer.prepare
      1. org.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource(ProviderContainerContractInfoBase.java:71)
      2. org.glassfish.persistence.jpa.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:108)
      3. org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:154)
      4. org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119)
      5. org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214)
      6. org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483)
      7. org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221)
      8. org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167)
      8 frames
    5. Kernel Classes
      ApplicationLifecycle.prepareModule
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
      1 frame
    6. Deployment Related JavaEE Full Profile Classes
      EarDeployer.prepare
      1. org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290)
      2. org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)
      3. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)
      4. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)
      5. org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)
      6. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)
      7. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250)
      8. org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)
      8 frames
    7. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
      3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      3 frames
    8. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
      1 frame
    9. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
      8 frames
    10. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      1 frame
    11. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
      2 frames
    12. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame