Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-960

JSF UserTransaction injection... NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1, 3.1.1
    • 3.1.x
    • None
    • None

    Description

      2008-11-12 00:40:54,454 - INFO - Configuring enterprise application:
      /windows/D/NetBeansProjects/Bunda/build/web
      2008-11-12 00:40:54,491 - INFO - Configuring
      PersistenceUnit(name=BundaPU,
      provider=org.apache.openjpa.persistence.PersistenceProviderImpl)
      2008-11-12 00:40:54,492 - INFO - Auto-creating a Resource with id
      'BundaDSNonJta' of type 'DataSource for 'BundaPU'.
      2008-11-12 00:40:54,492 - INFO - Configuring
      Service(id=BundaDSNonJta, type=Resource, provider-id=BundaDS)
      2008-11-12 00:40:54,492 - INFO - Creating Resource(id=BundaDSNonJta)
      2008-11-12 00:40:54,697 - INFO - Adjusting BundaPU <jta-data-source>
      to 'BundaDS'
      2008-11-12 00:40:54,697 - INFO - Adjusting BundaPU
      <non-jta-data-source> to 'BundaDSNonJta'
      2008-11-12 00:40:54,700 - INFO - Enterprise application
      "/windows/D/NetBeansProjects/Bunda/build/web" loaded.
      2008-11-12 00:40:54,700 - INFO - Assembling app:
      /windows/D/NetBeansProjects/Bunda/build/web
      2008-11-12 00:40:54,730 - INFO - PersistenceUnit(name=BundaPU,
      provider=org.apache.openjpa.persistence.PersistenceProviderImpl)
      2008-11-12 00:40:55,147 - INFO - Deployed
      Application(path=/windows/D/NetBeansProjects/Bunda/build/web)
      2008-11-12 00:40:55,155 - ERROR - Error merging OpenEJB JNDI entries
      in to war /Bunda: Exception: null
      java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:394)
      at org.apache.catalina.deploy.NamingResources.addResourceEnvRef(NamingResources.java:320)
      at org.apache.openejb.tomcat.catalina.TomcatJndiBuilder.mergeRef(TomcatJndiBuilder.java:416)
      at org.apache.openejb.tomcat.catalina.TomcatJndiBuilder.mergeJndi(TomcatJndiBuilder.java:140)
      at org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.start(TomcatWebAppBuilder.java:270)
      at org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:58)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
      at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: