tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Name [comp] is not bound in this Context
Date Wed, 10 May 2017 20:12:57 GMT
Hi Dmitry,

do you have some custom config in server.xml or context.xml? Also, do you
use tomee distribution or a custom setup based on the war?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-10 20:09 GMT+02:00 Shultz, Dmitry <Dmitry_Shultz@kaltire.com>:

> Hi All,
>
> I'm getting this error dering deployment of my web app (war):
>
> SEVERE - Error merging Java EE JNDI entries in to war /my-app: Exception:
> null
> java.lang.NullPointerException
>         at org.apache.catalina.core.NamingContextListener.
> createSubcontexts(NamingContextListener.java:1291)
>         at org.apache.catalina.core.NamingContextListener.addEnvironment(
> NamingContextListener.java:875)
>         at org.apache.catalina.core.NamingContextListener.
> processGlobalResourcesChange(NamingContextListener.java:548)
>         at org.apache.catalina.core.NamingContextListener.propertyChange(
> NamingContextListener.java:498)
>         at java.beans.PropertyChangeSupport.fire(
> PropertyChangeSupport.java:335)
>         at java.beans.PropertyChangeSupport.firePropertyChange(
> PropertyChangeSupport.java:327)
>         at java.beans.PropertyChangeSupport.firePropertyChange(
> PropertyChangeSupport.java:263)
>         at org.apache.catalina.deploy.NamingResourcesImpl.addEnvironment(
> NamingResourcesImpl.java:276)
>         at org.apache.tomee.catalina.OpenEJBNamingResource.addEnvironment(
> OpenEJBNamingResource.java:78)
>         at org.apache.tomee.catalina.TomcatJndiBuilder.mergeRef(
> TomcatJndiBuilder.java:400)
>         at org.apache.tomee.catalina.TomcatJndiBuilder.mergeJndi(
> TomcatJndiBuilder.java:126)
>         at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(
> TomcatWebAppBuilder.java:1340)
>         at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(
> TomcatWebAppBuilder.java:1112)
> ...
> javax.naming.NameNotFoundException: Name [comp] is not bound in this
> Context. Unable to find [comp].
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:817)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:174)
>         at org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(
> TomcatJndiBuilder.java:263)
>         at org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(
> TomcatJavaJndiBinder.java:31)
>         at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(
> LifecycleBase.java:94)
>         at org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5093)
>         at org.apache.catalina.util.LifecycleBase.start(
> LifecycleBase.java:152)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:726)
>         at org.apache.catalina.core.ContainerBase.addChild(
> ContainerBase.java:702)
>         at org.apache.catalina.core.StandardHost.addChild(
> StandardHost.java:734)
>         at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(
> TomcatWebAppBuilder.java:644)
>         at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(
> TomcatWebAppBuilder.java:584)
>         at org.apache.tomee.catalina.deployment.
> TomcatWebappDeployer.deploy(TomcatWebappDeployer.java:47)
>
> The App seems to be working, but it triggers some noise for monitoring
> team. What may be the cause for this?
>
> Cheers,
> Dmitry
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message