RE: Remote debugging options set into tomcat5w.exe take no effect.

2011-02-21 Thread Kannan J
Yes, separate line was the problem. tomcat5w.exe makers are frigging idiots and SAW 1,2,3,4,5 movie fans who love to torture their users.with meaningless issues like this. Thanks for your help. --- On Tue, 22/2/11, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Remote

Re: Secure AJP over ssl

2011-02-21 Thread Mladen Turk
On 02/21/2011 10:31 PM, Jason Pyeron wrote: Does (or could) tomcat 5.5 support encrypted AJP? The frontend apache will be on a different host than the tomcat server. It is required that the communications are encrypted. I would suggest you reconsider your security requirements. Unless your fro

RE: Tomcat won't serve newly created files

2011-02-21 Thread Caldarale, Charles R
> From: angelicos [mailto:angeli...@gmail.com] > Subject: Re: Tomcat won't serve newly created files > the reason I know that tomcat is serving the wrong app > version is because the login page for the updated app is > different to the one tomcat is serving along with several > other pages serve

Re: Tomcat won't serve newly created files

2011-02-21 Thread angelicos
Apologies. I meant Tomcat Deploys the new warfile but doesn't use the newly deployed app (very tired. Really really long day). Anyway, the reason I know that tomcat is serving the wrong app version is because the login page for the updated app is different to the one tomcat is serving along with

RE: Tomcat won't serve newly created files

2011-02-21 Thread Caldarale, Charles R
> From: angelicos [mailto:angeli...@gmail.com] > Subject: Re: Tomcat won't serve newly created files > The problem is, it undeploys the new war file, but it's > not using it. What's the "it" in the above sentence? Why would a new war file be undeployed? > It seems to have an old copy of the a

Re: Tomcat won't serve newly created files

2011-02-21 Thread angelicos
I always do. The problem is, it undeploys the new war file, but it's not using it. It seems to have an old copy of the app stored somewhere else and is using that or context root is being switched to it. Why this is I don't know. But the behaviour is thus; any new files created by the app is create

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
On 2/21/11 6:03 PM, Konstantin Kolinko wrote: > Tomcat respond with error 400 when it cannot map request to a valid > web application (and thus feels desperate). Interesting... > One notorious case of it is when there is no ROOT webapp on a host: > instead of error 404 you will receive zero-lengt

Re: Secure AJP over ssl

2011-02-21 Thread Mark Thomas
On 21/02/2011 22:28, Jason Pyeron wrote: > Where are the docs for certificate chaining with mod_proxy? I have not found > any. Unhelpfully, the comments in the relevant class aren't in Javadoc format. Grr. That will be fixed shortly. In the meantime, add the following to your SSL virtual host in

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Konstantin Kolinko
2011/2/21 Dave Shevett : > Hi folks, I have a relatively complex installation that I'm trying to > get the manager app deployed into.  This was working at some point, but > now I can't seem to get anything but 400 errors out of it. Tomcat respond with error 400 when it cannot map request to a vali

RE: Secure AJP over ssl

2011-02-21 Thread Jason Pyeron
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, February 21, 2011 17:26 > To: Tomcat Users List > Subject: Re: Secure AJP over ssl > > On 21/02/2011 22:19, Jason Pyeron wrote: > >> -Original Message- > >> From: Mark Thomas > >> Sent: Monday, F

Re: Secure AJP over ssl

2011-02-21 Thread Mark Thomas
On 21/02/2011 22:19, Jason Pyeron wrote: >> -Original Message- >> From: Mark Thomas >> Sent: Monday, February 21, 2011 17:15 >> To: Tomcat Users List >> Subject: Re: Secure AJP over ssl >> >> On 21/02/2011 21:31, Jason Pyeron wrote: >>> Does (or could) tomcat 5.5 support encrypted AJP? >>

RE: Secure AJP over ssl

2011-02-21 Thread Jason Pyeron
> -Original Message- > From: Mark Thomas > Sent: Monday, February 21, 2011 17:15 > To: Tomcat Users List > Subject: Re: Secure AJP over ssl > > On 21/02/2011 21:31, Jason Pyeron wrote: > > Does (or could) tomcat 5.5 support encrypted AJP? > > No. > > > Would I be best off using stunnel?

Re: Tomcat won't serve newly created files

2011-02-21 Thread Mark Thomas
On 21/02/2011 21:52, Lanre Abiwon wrote: > I always load with Tomcat stopped. Then you need to delete the expanded ROOT directory as well as replace ROOT.war. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Secure AJP over ssl

2011-02-21 Thread Mark Thomas
On 21/02/2011 21:31, Jason Pyeron wrote: > Does (or could) tomcat 5.5 support encrypted AJP? No. > Would I be best off using stunnel? Also, no. Use mod_proxy_http and proxy over https. Mark - To unsubscribe, e-mail: users-u

RE: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Caldarale, Charles R
> From: Dave Shevett [mailto:shev...@homeport.org] > Subject: Re: 400 Errors while trying to deploy manager app. > it looks like it's installed as part of hte debian package install. Unfortunate, since that muddies the water a good bit. > Here it is: http://pastebin.stonekeep.com/11570 Don't

RE: Tomcat won't serve newly created files

2011-02-21 Thread Caldarale, Charles R
> From: Lanre Abiwon [mailto:angeli...@gmail.com] > Subject: Re: Tomcat won't serve newly created files > I always load with Tomcat stopped. And do you manually clean out the work and temp directories? (You should.) Also note that there may be a ROOT.xml in conf/Catalina/[host] which will ov

Re: Tomcat won't serve newly created files

2011-02-21 Thread Lanre Abiwon
I always load with Tomcat stopped. I never do a hot reload.As per the settings from norm, I made some changes to the connector element and (added URIEncding and I'm using proxyports and proxyName. I also enables the SSL) and a change in the web.xml (added to enable the use of SSL). That's all th

Secure AJP over ssl

2011-02-21 Thread Jason Pyeron
Does (or could) tomcat 5.5 support encrypted AJP? The frontend apache will be on a different host than the tomcat server. It is required that the communications are encrypted. Would I be best off using stunnel? My googleing has led me astray to http://download.oracle.com/docs/cd/E13789_01/bh.100/

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
On 2/21/11 3:52 PM, Caldarale, Charles R wrote: >> 2) Tomcat 5.5, Apache 2.2.9 > Tomcat 5.5.what? Also, is this a real Tomcat, or a 3rd-party repackaged > version? Hmm, it looks like it's installed as part of hte debian package install. The signature says: ii tomcat5.5 5.5.26-5 Servlet and J

RE: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Caldarale, Charles R
> From: Dave Shevett [mailto:shev...@homeport.org] > Subject: Re: 400 Errors while trying to deploy manager app. > 2) Tomcat 5.5, Apache 2.2.9 Tomcat 5.5.what? Also, is this a real Tomcat, or a 3rd-party repackaged version? > Within that directory is 'manager.xml', which looks > like this no

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
Lets see if I can complete the information here in a more concise manner. 1) Debian Lenny, patched up to date 2) Tomcat 5.5, Apache 2.2.9 On 2/21/11 1:43 PM, Caldarale, Charles R wrote: >> The tomcat install is serving many vhosts, they are all working >> properly. Each vhost is configured with

RE: Remote debugging options set into tomcat5w.exe take no effect.

2011-02-21 Thread Caldarale, Charles R
> From: Kannan J [mailto:kannan_jayapraka...@yahoo.co.in] > Subject: Remote debugging options set into tomcat5w.exe take no effect. > one is tomcat5w.exe's path to executable (it is set to > another unused tomcat on c:\program files(x64)\Apache > Software Foundation\tomcat5.5\bin\tomcat5.exe (n

RE: Remote debugging options set into tomcat5w.exe take no effect.

2011-02-21 Thread Caldarale, Charles R
> From: Kannan J [mailto:kannan_jayapraka...@yahoo.co.in] > Subject: Remote debugging options set into tomcat5w.exe take no effect. > I have specified the jvm debuggin options in tomcat5w.exe > -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n > for remote debugging tomcat. T

RE: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Caldarale, Charles R
> From: Dave Shevett [mailto:shev...@homeport.org] > Subject: 400 Errors while trying to deploy manager app. Better to tell us the Tomcat version you're using right up front, rather than forcing people to dig through the entire message. Also tell us the JVM and the platform. > The tomcat inst

RE: cannot see examples

2011-02-21 Thread Caldarale, Charles R
> From: ken dias [mailto:kend...@hotmail.com] > Subject: cannot see examples > I d'loaded tomcat 6.0.032 >From where? What JVM? What platform? > Then clicked on servlet and JSP examples but got 404 on > both occasions. If you installed Tomcat from a 3rd-party rather than downloading a real

RE: cannot see examples

2011-02-21 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: cannot see examples > if you want a webapp to be deployed then you will need > to deploy that webapp ..options for deploying webapps for > tomcat are available at: > http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html Mor

RE: cannot see examples

2011-02-21 Thread ken dias
Thanks, Martin. Will give it a try. Regards, Ken Dias > From: mgai...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: cannot see examples > Date: Mon, 21 Feb 2011 12:49:56 -0500 > > > if you want a webapp to be deployed then you will need to deploy that webapp > ..options for deplo

400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
Hi folks, I have a relatively complex installation that I'm trying to get the manager app deployed into. This was working at some point, but now I can't seem to get anything but 400 errors out of it. The tomcat install is serving many vhosts, they are all working properly. Each vhost is configur

RE: cannot see examples

2011-02-21 Thread Martin Gainty
if you want a webapp to be deployed then you will need to deploy that webapp ..options for deploying webapps for tomcat are available at: http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html Martin __ Verzicht und Vertraulichkeitanmerkung/Note

cannot see examples

2011-02-21 Thread ken dias
I d'loaded tomcat 6.0.032 and got the homepage alright with localhost:8080. Then clicked on servlet and JSP examples but got 404 on both occasions. The error report says these examples are not available. Please help. Ken

Re: AccessLogValve pattern (timestamp, bytes sent and time taken)

2011-02-21 Thread Antonios Kogias
On 2/18/2011 12:12 PM, Konstantin Kolinko wrote: 2011/2/18 ??G??S ???O???S: Tomcat 5.5 or 6.0 Win XP or Vista (32) I've read the configuration (http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html) and the api (http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina

Re: connecting jsp with mysql

2011-02-21 Thread Anup Niroula
Hi, out.println ("Cannot connect to database server message "+e.getMessage()); "This gives following error msg: "Cannot connect to database server com.mysql.jdbc.Driver." I am using windows 7. On Mon, Feb 21, 2011 at 8:44 AM, Martin Gainty wrote: > > 1)putting a lightly loaded "engine light on"

RE: connecting jsp with mysql

2011-02-21 Thread Martin Gainty
1)putting a lightly loaded "engine light on" text message is neither helpful nor delivers any useful information to those of us trying to determine your error always include the message from the exception object e.g. out.println ("Cannot connect to database server message="+e.getMessage()); 2)

RE: connecting jsp with mysql

2011-02-21 Thread Caldarale, Charles R
> From: Anup Niroula [mailto:anup.niro...@gmail.com] > Subject: connecting jsp with mysql > I downloaded jdbc driver "mysql-connector-java-5.1.15-bin.jar" > and placed it in two locations: >- CATALINE_HOME\lib >- C:\Program Files\Apache Software Foundation\Tomcat >7.0\webapps\lsc\WEB

Re: connecting jsp with mysql

2011-02-21 Thread Mikolaj Rydzewski
On Mon, 21 Feb 2011 07:55:05 -0600, Anup Niroula wrote: catch (Exception e) { out.println ("Cannot connect to database server"); } I guess the answer is hidden within 'e'. Anyway, you should rather use JNDI http://tomcat.apache.org/tomcat-7.0

connecting jsp with mysql

2011-02-21 Thread Anup Niroula
Hi, I am having difficulty in connecting jsp and mysql using Tomcat 7.0 . I downloaded jdbc driver "mysql-connector-java-5.1.15-bin.jar" and placed it in two locations: - CATALINE_HOME\lib - C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\lsc\WEB-INF\lib I tried to connec

Re: related to bad url encoding?...

2011-02-21 Thread alex
Mark Thomas wrote: On 21/02/2011 04:25, alex wrote: hi all, I get 404 err, if I add %D0 to url, but I get just blank page if I add %zD0 . I'm supposed to get bad request in this case. how do I fix this problem? Check the response headers. If you don't see a 400 response, exactly which Tomcat

Re: Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread spideratd
Thanks a lot Mark I am starting it just now and will post configuration settings if it will be a success.. hoping to listen from u if u have any link other than reading tomcat manual. Regards Asif -- View this message in context: http://old.nabble.com/Problem-with-tomcat-session-r

Re: Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread Mark Thomas
On 21/02/2011 09:05, spideratd wrote: > > Dear, > i have configured tomcat 6.0.32 with mod_jk.so and apache on two linux > systems. multicasting works , tomcat working on both system. ie.running > examples... > but session replication not working on both systems by using session.jsp > file from ne

RE: Connecting to other internet sites from a Tomcat application via a proxy server

2011-02-21 Thread Conway Liu
Thanks Andre, I'll have a look. Conway -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, 21 February 2011 8:47 p.m. To: Tomcat Users List Subject: Re: Connecting to other internet sites from a Tomcat application via a proxy server Conway Liu wrote: > Hi, > >

Re: related to bad url encoding?...

2011-02-21 Thread Mark Thomas
On 21/02/2011 04:25, alex wrote: > hi all, > I get 404 err, if I add %D0 to url, but I get just blank page if I add > %zD0 . I'm supposed to get bad request in this case. how do I fix this > problem? Check the response headers. If you don't see a 400 response, exactly which Tomcat version are you

Re: Tomcat won't serve newly created files

2011-02-21 Thread Mark Thomas
On 21/02/2011 01:18, Lanre Abiwon wrote: > I have been trying to solve this issue now for a couple of days without any > progress but I now know why the problem exists. > I updated the web app and re-deployed it and realised that it is using an > older version of the webapp. > It would seem the c

Re: Issue with JNDI datasources in Tomcat 6

2011-02-21 Thread Mark Thomas
On 20/02/2011 23:37, pablo.a.saave...@gmail.com wrote: > Hi, I based myself on a Tomcat 5.5 tutorial because that's what I found on > the net. Try the real docs: http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html > I did put the driver jar file in the lib/ directory, which is the

Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread spideratd
Dear, i have configured tomcat 6.0.32 with mod_jk.so and apache on two linux systems. multicasting works , tomcat working on both system. ie.running examples... but session replication not working on both systems by using session.jsp file from net. Dear , I need your help to achieve this. I want