well you can test yourself I guess to validate or not this hypothesis but have to admit i didnt see this stack since months to not say years now
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 23:27 GMT+02:00 Shultz, Dmitry <[email protected]>: > I will try to convince our operations team to do the upgrade, but it's not > entirely my call (unfortunately). > > Cheers, > Dmitry > > > -----Original Message----- > From: Romain Manni-Bucau [mailto:[email protected]] > Sent: May-10-17 1:57 PM > To: [email protected] > Subject: Re: Name [comp] is not bound in this Context > > Oh 7.0.0, can you give a try on 7.0.3 before we investigate deeper please? > Config looks ok. > > > 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 22:55 GMT+02:00 Shultz, Dmitry <[email protected]>: > > > Romain, > > > > It's TomEE distribution (7.0.0) > > In the server.xml I can see couple of connectors added: > > > > <Connector port="7443" protocol="org.apache.coyote. > > http11.Http11NioProtocol" > > maxThreads="150" SSLEnabled="true" scheme="https" > > secure="true" > > clientAuth="false" sslProtocol="TLS" > > ciphers="TLS_RSA_WITH_AES_128_ > > CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_RC4_128_ > > SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_DES_CBC_SHA" > > keystoreFile="/usr/apache-tomee/conf/tomcat.jks" > > keystorePass="tomcat" keyAlias="star.dev.kal.test" /> > > > > <!-- Define an AJP 1.3 Connector on port 7009 for shibboleth SSO > > authentication --> > > <!-- Connector port="7009" protocol="AJP/1.3" redirectPort="7443" > > / > > --> > > <Connector port="7009" protocol="AJP/1.3" scheme="https" > > maxThreads="1000" minSpareThreads="20" packetSize="65536" > > tomcatAuthentication="false" redirectPort="443" address="127.0.0.1" /> > > > > > > And the Realm for LDAP authentication (added to the localhost Engine): > > > > <Realm className="org.apache.catalina.realm.JNDIRealm" adCompat="true" > > connectionURL="ldaps://ldap0.com" > > alternateURL="ldaps://ldap1.com" > > connectionName="[email protected]" > > connectionPassword="password" > > userSearch="(saMAccountName={0})" > > userSubtree="true" > > referrals="ignore" > > userBase="ou=sites,dc=test,dc=com" > > roleBase="ou=sites,dc=test,dc=com" > > roleSubtree="true" > > roleName="samaccountname" > > roleSearch="(member={0})" > > /> > > > > Context.xml is the default one. > > > > Dmitry > > > > > > -----Original Message----- > > From: Romain Manni-Bucau [mailto:[email protected]] > > Sent: May-10-17 1:13 PM > > To: [email protected] > > Subject: Re: Name [comp] is not bound in this Context > > > > 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 <[email protected]>: > > > > > 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 > > > > > >
