Re: NPE while lookup resource in tomcat JNDI

2020-11-10 Thread Arnaud Mergey
(Object, Name, Context, Hashtable) returns null  (see  org.apache.naming.factory.ResourceLinkFactory.validateGlobalResourceAccess(String)) Problem solved for me and it was in my code, but maybe having some logging there could help to understand this kind of issue. Best,Arnaud Le lundi 9 novembre

NPE while lookup resource in tomcat JNDI

2020-11-09 Thread Arnaud Mergey
urceLink is null (value = ctx.lookup(new CompositeName(entry.name));) but it should not, so the NPE in the return part  Even if I am doing something illegal with my code (the recursive processing of the context, but would not see why), there should not be a NPE there anyway.  Any thoughts ?  Thanks,Arnaud

Manager save text command bug giving path parameter

2020-04-19 Thread Arnaud Yahoo
probably still fail as it seems there is a typo in *org/apache/catalina/storeconfig/mbeans-descriptors.xml * ** /// //  // //    / Type is supposed to be /org.apache.catalina.*C*ontext /I guess (wrong case for type) Arnaud //

invoke jmxproxy servlet using argument with a , is not a possible

2020-03-23 Thread Arnaud Yahoo
course it works from jconsole. (By the way as an alternative I tried curl -u user:pass http://localhost:8080/manager/text/save?path=/myContext but it fails with FAIL - Encountered exception [javax.management.MBeanException:

Re: Some attribute lost after calling storeConfig

2020-02-12 Thread Arnaud Yahoo
Thanks for you reply, shall I fill a bug for this ? On 12/02/2020 16:43, Rémy Maucherat wrote: On Wed, Feb 12, 2020 at 3:05 PM Arnaud Yahoo wrote: Hello, Recently storeConfig has been fixed thanks to https://github.com/apache/tomcat/commit/010fdb7e458d9d8755e2b67203ac4757d78c2f64 It is

Some attribute lost after calling storeConfig

2020-02-12 Thread Arnaud Yahoo
bug ? Thanks, Arnaud

Bug in org.apache.tomcat.util.codec.binary.Base64.decodeBase64 ?

2019-10-08 Thread Arnaud Yahoo
ith 8.5.46. Are there any known issues with Base64 utility ? Arnaud - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Create a JNDI Datasource through JMX

2019-02-04 Thread Arnaud Yahoo
ervlet and curl for example) Arnaud On 04/02/2019 15:30, Luis Rodríguez Fernández wrote: Hello Arnaud, mmm, nothing stops you from create your custom mbean interface that wraps your datasource. From Tomcat 8.5 doc "The connection pool object exposes an MBean that can be registered&qu

Create a JNDI Datasource through JMX

2019-02-04 Thread Arnaud Yahoo
active, ...) It seems hard to find informations about that. Thanks, Arnaud - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Configuration of Tomcat Container to use SAML authentication

2018-06-09 Thread Arnaud Yahoo
Hello, I recently tried (with success) the tomcat Valve from Fediz (Apache CXF) http://cxf.apache.org/fediz-tomcat.html Note tha you need to take a recent 1.4.4 snapshot, because 1.4.3 has some bugs preventing it to work with SAML Hope this help Arnaud On 08/06/2018 21:49, Christopher

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

Strange websocket status

2015-03-26 Thread arnaud le roy
Hi, on my server i have found a websocket with a status open but when i try to write on i get this exception : java.lang.IllegalStateException: The remote endpoint was in state [TEXT_PARTIAL_WRITING] which is an invalid state for called method at org.apache.tomcat.websocket.WsRemoteEndpointI

[TOMCAT 7] ErrorReport Vavle showError attribute not used ?

2014-06-22 Thread arnaud le roy
Hello, i try to disable stack trace on my tomcat 7.52 server, i found on the doc that i can do it by configure an errorReportValve class and put showError attribute to false. so i add this line in the good part of server.xml showReport="false" showServerInfo="false" /> but it get also the

Re: connection autoReconnect?

2012-11-21 Thread Arnaud Kleinveld
Ok. The validation query solves this problem we concluded. Confirmed with testing as well. Our Resource looks like this now Because of using MySQL we have this specific validation query. Which has to be exactly lower-case and with spaces as above says the documentation otherwise it will not work

Re: connection autoReconnect?

2012-11-20 Thread Arnaud
So, yes indeed. The problem would then be solved by making sure that all connections are rotated at least once within the MySQL wait-timeout right? How do we do this? Measure the average concurrent number of connections and then set the initialSize the same? -- View this message in context: htt

Re: connection autoReconnect?

2012-11-20 Thread Arnaud
We have been struggling with this MySQL last packet message for some times as well. And we are still not sure if we have solved it yet. However we did discover quite a few things. We minimized our DBCP configuration to only a few parameters That's it. All the other parameters have acceptabl

Re: Tomcat 7 Manager App Authentication failure

2012-07-01 Thread Arnaud LARROQUE
On Sun, Jul 1, 2012 at 12:04 AM, kl2eativ wrote: > > Arnaud LARROQUE wrote >> >> Hello, >> >> Are you using tomcat 7 or tomcat 5 ? You mentioned both and this is >> confusing. >> >> URL changed in the tomcat 7 manager app : are you accessing th

Re: Tomcat 7 Manager App Authentication failure

2012-06-28 Thread Arnaud LARROQUE
Hello, Are you using tomcat 7 or tomcat 5 ? You mentioned both and this is confusing. URL changed in the tomcat 7 manager app : are you accessing through http://your-host:your-port/manager/html ? On Jun 29, 2012 3:17 AM, "kl2eativ" wrote: > Hello. I am having problems trying to authenticate my

URI served from cache

2011-07-07 Thread Langer Arnaud
an't see the new one in my browser, even if I stop and restart Tomcat, even if I disable my browser's cache... I'm using Tomcat 6.0.26 on Windows XP SP3. Thanks by advance for any way of answer. Arnaud LANGER Division Secteur Public Sopra group. Armor Plazza 5 & 7 Impa

Re: configuring APR SSL

2011-03-16 Thread arnaud icard
Caldarale, Charles R a écrit , Le 16/03/2011 13:57: From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: configuring APR SSL Why is it looking for a keystore as the APR listener is activated ? Likely because you haven't built and installed the tcnative library for your pla

configuring APR SSL

2011-03-16 Thread arnaud icard
activated ? JSSE may be inactivated, ain't it ? Regards, arnaud - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
Thank you for these explanations Chuck! Caldarale, Charles R a écrit le 07/10/2010 15:38: From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: Re: Error 404 when redirected Second, you should not be placing elements in server.xml. This is not completly true

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
ortal/ ResourceServingWebapp/ Everything works fine... but I don't get why I had to specify ROOT in the docBase argument. Is it not the value by default ? Regards, arnaud / var/ www/ appli1/ ROOT/ META-INF/ context.xml WEB-INF/ classes/

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
Hi André, this difference is due to a slight modification I made. The error is the same with the original code. André Warnier a écrit le 07/10/2010 12:33: arnaud icard wrote: ... It's working for every applications except the appli2. The appli2 interprets the index.jsp which redirec

Error 404 when redirected

2010-10-07 Thread arnaud icard
would like to understand where does the problem comes from. Regards, arnaud - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
I think I understand what you're explaining. I keep that in mind if I encounter in the future some strange behaviours from the non-default applications. Thanks, arnaud. André Warnier a écrit le 26/08/2010 14:40: arnaud icard wrote: ... Yes this is where I made a mistake. The param

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
André Warnier a écrit le 26/08/2010 14:14: arnaud icard wrote: httpd is stopped. Here is what I have done in the /opt/tomcat/conf/server.xml : / ... / When connecting to appli1.test.fr, I am redirected to the default ROOT content (which means to the tomcat00c host

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
Right the parameter name in and the parameter defaultHost in need the server's FQDN. I didn't realize that ! Thanks a lot Pid. Have a great day. Best regards, arnaud Pid a écrit le 26/08/2010 13:54: On 26/08/2010 11:39, arnaud icard wrote: httpd is stopped. Here is what I

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
jungle. No black smoke so far hopefully :) arnaud icard a écrit le 26/08/2010 09:21: Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmai

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread arnaud icard
Ok I will remove apache httpd and use Tomcat's virtual hosts system. thank you all for your response. Caldarale, Charles R a écrit le 25/08/2010 18:31: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp in function of requested hostna

How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread arnaud icard
dexes However,when accessing to http://appli1.domain.fr, I am always redirected to the ROOT pages and not the appli1. I hope to be as clear as possible! Would you have some simple and elegant solution? Best regards, arnaud ---

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

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

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
.war 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'exprimai

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
works perfectly. I have tested tomcat 5.5.20 5.5.17 many times and on several tomcat instance, I have always the same behavior. In my case using war deployment prevent me to update manually context.xml to add datasource. I need to use admin webapp or to copy unpacked directory, not the war

something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
BC driver of class '' for connect URL 'null'" witth windiff I compare the two directory and they are identical, the only differences is in one the webapps directry has only the unpacked directory and the other has unpacked and war directory. I nee

Different DataSources for different 's

2005-12-09 Thread Arnaud Vandyck
: I can't lookup jdbc/B! Does anyone already has the problem? - -- Arnaud <http://www.ressource-toi.org> Java Trap: http://www.gnu.org/philosophy/java-trap.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail