Re: NPE while lookup resource in tomcat JNDI

2020-11-10 Thread Arnaud Mergey
your code with some line-numbers so we can match #1 and #2 above. Thanks, -chris On 11/9/20 10:10, Arnaud Mergey wrote: > Hello, > I have a tomcat app that is trying to list available JDBC Datasources it can > find in tomcat JNDI Context > It fails with NPE when there is a Resour

NPE while lookup resource in tomcat JNDI

2020-11-09 Thread Arnaud Mergey
Hello, I have a tomcat app that is trying to list available JDBC Datasources it can find in tomcat JNDI Context It fails with NPE when there is a ResourceLink in my app context. It seems to be a bug in org.apache.naming.NamingContextBindingsEnumeration to me, but I may be wrong. A minimal test

JNDIRealm random authentication issue

2016-04-06 Thread Arnaud Mergey
Hello, I have a tomcat 8.0.23 configured to authenticate against and Active Directory with LDAP realm. Randomly I have authentication failures with stack trace above. I didn not find anything except an old post mentionning same issue I am facing, with tomcat 6 but with no answers. I am not

Re: something wrong creating datasource after war deployement

2007-01-09 Thread Arnaud MERGEY
thnaks for all, it's clear for me now. Caldarale, Charles R a écrit : From: Arnaud MERGEY [mailto:[EMAIL PROTECTED] Subject: Re: something wrong creating datasource after war deployement I updated the META-INF/context.xml in the unpacked directory, You need to update the one in conf

something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
Hi something strange appends with an application On tomcat 5.5.20 (same behavior with tomcat 5.5.17) I deploy an application copying an unpacked war directory into webapps directory. I add a datasource updating the META-INF/context.xml and WEB-INF/web.xml like tomcat how-to. All works

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
META-INF/context.xml should have been copied by tomcat to conf/Catalina/hostname/webappname.xml Check those are correct. En l'instant précis du 01/08/07 12:07, Arnaud MERGEY s'exprimait dans toute sa noblesse: Hi something strange appends with an application On tomcat 5.5.20 (same behavior

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
file. I suppose there is a conflict between the context.xml you deploy yourself and the one inside the .war. I think when you deploy an unpacked directory the META-INF/context.xml file is ignored. (Not 100% sure) En l'instant précis du 01/08/07 13:05, Arnaud MERGEY s'exprimait dans toute sa

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
file in webapps, everything works and I can see newly datasources in the tomcat admin webapps with driver class and url. Arnaud Caldarale, Charles R a écrit : From: Arnaud MERGEY [mailto:[EMAIL PROTECTED] Subject: Re: something wrong creating datasource after war deployement Like you, I