Re: Problems configuring a Context path=xx using Apache/Tomcat

2006-10-24 Thread Michael Courcy
Hi Can you explain where you define context.xml ? Here is a fragment of http://tomcat.apache.org/tomcat-5.5-doc/config/context.html path : [...] The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for

Re: Problems configuring a Context path=xx using Apache/Tomcat

2006-10-24 Thread Michael Courcy
Have a look there as well http://issues.apache.org/bugzilla/show_bug.cgi?id=39120 René Schade a écrit : Hi List, I'm running Apache 2.0, Tomcat 5.5.17, jdk 1.5 I'm upgrading from Apache 1.3 Tomcat 3.* jdk 1.4 In my Apache log file I have the following: JkMount

Re: Problem with connection beetwen Tomcat and Apache via mod_jk?

2006-10-24 Thread Michael Courcy
Have a look on this thread, I'm not sure it's a OS specific problem http://marc.theaimsgroup.com/?l=tomcat-userm=116126518019047w=2 Christopher Garwood a écrit : Hi Pawel, I'm afraid I can't help you with your specific problem but have a question of my own. Are you setting up your multiple

Re: problem with truststoreFile in server.xml

2006-10-24 Thread Michael Courcy
Hi, Just to be a bit less stupid on certificate, a certificate always include the public and the private key doesn't it ? Is it for this reason you don't see the need of including the private key once again in the PKCS12 ? Víctor Torres - UPF a écrit : Thanks, but this does not solve my

Re: Apache Tomcat Connector

2006-10-23 Thread Michael Courcy
Can you send a complete request ie http://x.com/page.jsp that return 400 code. Matthew Dickinson a écrit : Hi, I'm running into an issue of a new install of Tomcat and the Connector to integrate with an existing apache site. RHEL4 httpd-2.0.55-2 tomcat5-5.5.17-6jpp_2rh Mod_jk-1.2.19 built

Re: commons-logging, Tomcat 5.5 and Hibernate 3.2

2006-10-20 Thread Michael Courcy
Tomcat use commons.logging, so you can choose either java.util.logging or Log4J http://logging.apache.org/log4j, http://tomcat.apache.org/tomcat-5.5-doc/logging.html But hibernate use Log4J http://www.hibernate.org/97.html I permanantly use Tomcat/hibenate/Spring without any logging issue ?

Re: Program to obtain a performance in tomcat server

2006-10-20 Thread Michael Courcy
Have a look there http://jakarta.apache.org/jmeter/ Acácio Furtado Costa a écrit : Does anyone know some product or java program(s) that I can install in one tomcat server to measure the performance or response time. Something that works like SITESPEED offers in www.numion.com but Sitespeed

Re: Receiving PUT-messages - calling doPUT

2006-10-20 Thread Michael Courcy
Why not this public void doPut(HttpServletRequest req, HttpServletResponse resp) throws IOException { doGet(req, resp); } and you implement only doGet Of course it's not consistent if your request need to handle put and get request differently. Mic Philipp Südmeyer a écrit : Hi, I

Re: placing context.xml in META-INF works?

2006-10-19 Thread Michael Courcy
Caldarale, Charles R a écrit : From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? How do you manage the problem, if you need to define a Host element whith many Alias ? Hosts are a completely different problem, since

Re: Downloadable file name is not correct on Linux/Unix box

2006-10-19 Thread Michael Courcy
Did you try to add the mime type in your header ? Content-Type: application/octet-stream Mic Umar Zubair a écrit : I am using Tomcat5.5. I have a jsp page with option to download xls and pdf files. When I click the link to download file and try to save it, I can not see the exact file name.

Re: Tomcat, Apache and mod_jk configuration

2006-10-19 Thread Michael Courcy
Hello Here is a fragment of my server.xml Host name=www.verlina.com appBase= unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliasverlina.com/Alias Aliastique-et-puce.fr/Alias Aliaswww.tique-et-puce.fr/Alias

Re: Tomcat, Apache and mod_jk configuration

2006-10-19 Thread Michael Courcy
: /opt/tomcat5 Thanks ! Guillaume de Vinzelles DSI/PFS Neuf Cegetel Altran Technologies [EMAIL PROTECTED] 01 70 18 21 64 -Message d'origine- De : Michael Courcy [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 octobre 2006 14:51 À : Tomcat Users List Objet : Re: Tomcat, Apache and mod_jk

Re: Tomcat, Apache and mod_jk configuration

2006-10-19 Thread Michael Courcy
: /opt/tomcat5 Thanks ! Guillaume de Vinzelles DSI/PFS Neuf Cegetel Altran Technologies [EMAIL PROTECTED] 01 70 18 21 64 -Message d'origine- De : Michael Courcy [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 octobre 2006 14:51 À : Tomcat Users List Objet : Re: Tomcat, Apache and mod_jk

Re: Tomcat, Apache and mod_jk configuration

2006-10-19 Thread Michael Courcy
Yes it looks much more powerful than my solution. Especially if you want to guarantee a minimum JVM heap size for each app. Thanks a lot. JVM It looks like what to have more than one webapp as the root webapp. My suggestion would be to run each webapp in a different instance of Tomcat. It's

Re: placing context.xml in META-INF works?

2006-10-18 Thread Michael Courcy
Take out the path attribute - it's not allowed unless the Context element is in server.xml, which is strongly discouraged. why ? Mic - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: placing context.xml in META-INF works?

2006-10-18 Thread Michael Courcy
Because you have to restart Tomcat if you make any changes to server.xml - it's only read during initialization. Consequently, updating the app on the fly when its Context tag is in server.xml is not possible. To quote from the doc: ok Actually I'm not pretty sure to be ok. How do

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
install This is true I dit not consider 32- or 64-bit compilation and the server use a 32 processor. Is there 2 differents packages 32 or 64 bit, or different compilation directive ? Thanks. Caldarale, Charles R a écrit : From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Tomcat unable

Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Michael Courcy
Can't u use request.sendRedirect(myperlscript.cgi?aparam=+request.getParameter(blah)); Mic [EMAIL PROTECTED] a écrit : Hi, The problem is not to get the parameters in my java filter. The problem is that I need to pass the posted parameters from the form plus one additional parameter to my

Re: problems with unpacking ROOT.war

2006-10-17 Thread Michael Courcy
Maybe a stupid clue but instead of Context path= debug=1 /Context What happen if u try Context path=/ debug=1 /Context [EMAIL PROTECTED] a écrit : Hi again, OK - here are some steps you can try out to reproduce the problem I am experiencing - I'm hoping this will tempt someone into

Re: best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Michael Courcy
Hi, If you don't want to use a filter you should consider the urlrewrite capacity of apache. Here is a tech note that should help you http://www.amitysolutions.com.au/documents/URLRewriting-technote.pdf Of course if u use tomcat as a stand alone server it could be not adapted. Though It's

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
to rely on apache server for serving static content and right now it's going to be enough. Thanks for your answer anyway. Cheers Mladen Turk a écrit : Michael Courcy wrote: Hum, I remember that I had to download the source apr-1.2.7.tar.gz for APR directly from the apache

Tomcat unable to find the apr library

2006-10-16 Thread Michael Courcy
Hi, I wanted my tomcat instance use the APR (Apache Portable Runtime) so I installed it. Installation went fine, and the library where installed in /usr/local/apr/lib. Then I set the env variable LD_LIBRAY_PATH to /usr/local/apr/lib. I restart tomcat, but I still get this message in the