org.apache.openejb.OpenEJBException

No provider available for resource-ref > 'null' of type 'com.sun.jersey.api.core.HttpContext' for > 'localhost/analytics'. >         at > > org.apache.openejb.config.AutoConfig.autoCreateResource(AutoConfig.java:1751) >         at > org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1744) >         at > org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1695) >         at > org.apache.openejb.config.AutoConfig.processJndiRefs(AutoConfig.java:723) >         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:698) >         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:191) >         at > > org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:363) >         at > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:850) >         at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:791) >         at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:746) >         at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:118) >         at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >         at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) >         at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) >         at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >         at > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >         at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >         at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) >         at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) >         at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) >         at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >         at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >         at java.util.concurrent.FutureTask.run(FutureTask.java:138)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

Stack trace

  • org.apache.openejb.OpenEJBException: No provider available for resource-ref > 'null' of type 'com.sun.jersey.api.core.HttpContext' for > 'localhost/analytics'. >         at > > org.apache.openejb.config.AutoConfig.autoCreateResource(AutoConfig.java:1751) >         at > org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1744) >         at > org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1695) >         at > org.apache.openejb.config.AutoConfig.processJndiRefs(AutoConfig.java:723) >         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:698) >         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:191) >         at > > org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:363) >         at > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:850) >         at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:791) >         at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:746) >         at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:118) >         at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >         at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) >         at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) >         at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >         at > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >         at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >         at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) >         at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) >         at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) >         at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >         at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >         at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.lang.Thread.run(Thread.java:662)

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

We couldn't find other users who have seen this exception.