Re: Apache AJP to 4 TCs

2010-09-10 Thread Andrew Bruno
Hi Mark Chris, Thank you for the responses. I have gone about and installed a fresh Apache (on a seperate box), and have documented my steps in http://bruniglobal.blogspot.com/2010/09/load-balancing-4-tomcats-with-apache-22.html So far so good. I can load balance across all 4 tomcats, BUT I

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-10 Thread Amol Puglia
Hello Mladen, I have pasted entire tomcat logs in my earlier post. I have a question regarding addition of jcmroute in tomcat server.xml file. I already have application specific entry in server.xml for jvmroute which is shown as below. Engine name=Catalina defaultHost=server_name

Is it possible to have shared JDBC resources in Tomcat 6.0 cluster?

2010-09-10 Thread Michael Knümann
Hi I'm currently working on migrating single server web application for deployment in a cluster. We have JDBC connection pools to talk with several databases. I'm going to divide the max db connection attribute for each by the number of nodes then. But I'm wondering if it is possible to

Re: Is it possible to have shared JDBC resources in Tomcat 6.0 cluster?

2010-09-10 Thread Mark Thomas
On 10/09/2010 09:59, Michael Knümann wrote: Hi I'm currently working on migrating single server web application for deployment in a cluster. We have JDBC connection pools to talk with several databases. I'm going to divide the max db connection attribute for each by the number of nodes

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-10 Thread Mladen Turk
On 09/10/2010 10:21 AM, Amol Puglia wrote: Hello Mladen, I already have application specific entry in server.xml for jvmroute which is shown as below. Engine name=Catalina defaultHost=server_name jvmRoute=marsstage_rmiserver_3 As per the loadbalancing document we would have to add following

How to compile mod_proxy_ajp.so and mod_proxy_balancer.so on apache 2.0.59

2010-09-10 Thread Amol Puglia
Hello Team, Please let me know the steps  to compile mod_proxy_ajp.so and mod_proxy_balancer.so with apache 2.0.59 Thanks in advance!!!

Re: Apache AJP to 4 TCs

2010-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 9/10/2010 2:52 AM, Andrew Bruno wrote: Thank you for the responses. I have gone about and installed a fresh Apache (on a seperate box), and have documented my steps in

Re: How to compile mod_proxy_ajp.so and mod_proxy_balancer.so on apache 2.0.59

2010-09-10 Thread Pid
On 10/09/2010 11:13, Amol Puglia wrote: Hello Team, Please let me know the steps to compile mod_proxy_ajp.so and mod_proxy_balancer.so with apache 2.0.59 Thanks in advance!!! You can't. mod_proxy_ajp is Apache 2.2 specific. p 0x62590808.asc Description: application/pgp-keys

WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
I've read that you can secure direct access to a JSP by placing it in the WEB-INF directory. I know you can also secure direct access to a JSP by creating a security constraint using URL patterns and assigning role names that do not exist. I've also heard that when you secure a URL using a

directory listing using context.xml

2010-09-10 Thread Leo Donahue - PLANDEVX
I see this question a lot. If you want to create a web app that shows nothing more than a directory listing, you use the docBase attribute of context.xml in META-INF for your web app? You would also need a default servlet and mapping in web.xml that enables directory listing. Is that all?

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: WEB-INF I've read that you can secure direct access to a JSP by placing it in the WEB-INF directory. That's an appropriate thing to do, not just for JSPs. I know you can also secure direct access to a JSP by

Re: WEB-INF

2010-09-10 Thread michel
- Original Message - From: Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov To: 'Tomcat Users List' users@tomcat.apache.org Sent: Friday, September 10, 2010 10:13 AM Subject: WEB-INF I've read that you can secure direct access to a JSP by placing it in the WEB-INF directory. I

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: WEB-INF From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: WEB-INF Is there a difference between securing the URL and securing the resource? Quick quiz: what does the acronym URL stand for?

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: michel [mailto:compu...@videotron.ca] Subject: Re: WEB-INF You get direct access to any JSP if you specify the URL. Not true. There is no direct client access to anything under WEB-INF. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: michel [mailto:compu...@videotron.ca] Subject: Re: WEB-INF - Original Message - From: Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov To: 'Tomcat Users List' users@tomcat.apache.org Sent: Friday, September 10, 2010 10:13 AM Subject: WEB-INF I've read that you can secure

Re: WEB-INF

2010-09-10 Thread michel
- Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 10, 2010 10:32 AM Subject: RE: WEB-INF From: michel [mailto:compu...@videotron.ca] Subject: Re: WEB-INF You get direct access to any

RE: directory listing using context.xml

2010-09-10 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: directory listing using context.xml If you want to create a web app that shows nothing more than a directory listing, you use the docBase attribute of context.xml in META-INF for your web app? You don't need a

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: michel [mailto:compu...@videotron.ca] Subject: Re: WEB-INF do you mean things like URL rewrites and such are ignored if you puta JSP in WEB-INF? Redirects to anything in WEB-INF will fail, since the redirect is actually issued by the client. A forward to something in WEB-INF will

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: WEB-INF I'm trying to understand why there are so many of these kinds of questions. I think mostly because people often do not read the actual specs. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: WEB-INF

2010-09-10 Thread Wesley Acheson
Leo judging from the answers you've got. I think it may be better to state what you want to achieve. I'm not clear if you want to prevent access or allow access at the moment. Especially with the security role and no access. Is it that you want to protect your source code. Prevent access, prevent

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: WEB-INF I'm trying to understand why there are so many of these kinds of questions. I think mostly because people often do not read the actual specs. - Chuck This one?

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: WEB-INF Leo judging from the answers you've got. I think it may be better to state what you want to achieve. I'm not clear if you want to prevent access or allow access at the moment. Especially with the security role and no

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: WEB-INF This one? http://jcp.org/aboutJava/communityprocess/final/jsr315/index.html That's the primary one for Tomcat 7. Unfortunately, I think the 3.0 spec took a step backwards in readability compared to the

RE: WEB-INF

2010-09-10 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: WEB-INF I want to understand why it is a good practice to place them in WEB-INF To avoid uncontrolled access to your code. For example, if the resources were in a client-accessible area, the resource would have

Tomcat 6.0.29 W2K3 x64 isapi_redirect

2010-09-10 Thread Alexander Diedler
Hello all, I have a problem, that i don´t understand why it not works. I have a new W2K3 (64-Bit) Server R2 with IIS and Tomcat 6.0.29 x64 installed and ISAPI 1.2.30 64 bit. But I got only white pages. If I connect the 32-Bit ISAPI-Connector I got „Unzulässige Funktion.“ Or in english „Invalid

Re: WEB-INF

2010-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, I'll chime in. :) On 9/10/2010 10:13 AM, Leo Donahue - PLANDEVX wrote: I've read that you can secure direct access to a JSP by placing it in the WEB-INF directory. I know you can also secure direct access to a JSP by creating a security

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: WEB-INF I want to understand why it is a good practice to place them in WEB-INF To avoid uncontrolled access to your code. For example, if the resources were in a client-accessible area, the resource would have to

logging question

2010-09-10 Thread André Warnier
Hi. Under tomcat 5.5, a foreign webapp writes to STDOUT and STDERR, clogging up one of the system logfiles (/var/log/daemon.log). The tomcat5.5 startup script on this platform runs it under jsvc, and seems to redirect all its STDOUT and STDERR to the syslog facility, which I suppose directs

Re: logging question

2010-09-10 Thread Konstantin Kolinko
2010/9/10 André Warnier a...@ice-sa.com: Under tomcat 5.5, a foreign webapp writes to STDOUT and STDERR, clogging up one of the system logfiles (/var/log/daemon.log). Try setting swallowOutput=true in the context file, http://tomcat.apache.org/tomcat-5.5-doc/config/context.html It works if

RE: WEB-INF

2010-09-10 Thread Leo Donahue - PLANDEVX
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: WEB-INF -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, I'll chime in. :) On 9/10/2010 10:13 AM, Leo Donahue - PLANDEVX wrote: I've read that you can secure direct access to a JSP by placing it in the WEB-INF

context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-10 Thread Jason Britton
Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/ directory? I've got a foo.war file in the webapps directory, it gets exploded upon startup. It has its context definition residing in the file

Re: Tomcat 5.0 which gets stuck

2010-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 9/8/2010 2:10 PM, Caldarale, Charles R wrote: From: Sumeet Chitte [mailto:chittesum...@gmail.com] Subject: Re: Tomcat 5.0 which gets stuck This server uses a third party tool, which uses Apache Tomcat 5.0. Please be aware that

TR: Tomcat Manager undeploy link inactive

2010-09-10 Thread alain.lheureux
Hi guys, my tomcat manager app does not provide the option to undeploy webapps. In fact the usual undeploy link is not a link anymore but just a text. Please see the attached image for an example. Any idea on how to fix this? Thanks!

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread Caldarale, Charles R
From: alain.lheur...@uquebec.ca [mailto:alain.lheur...@uquebec.ca] Subject: TR: Tomcat Manager undeploy link inactive my tomcat manager app does not provide the option to undeploy webapps. So I'll guess you're using Tomcat 4.1.2? Or maybe you could actually tell us the exact version, so

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread alain.lheureux
Yeah I totally forgot about my Tomcat version, sorry about that. So, I am using Tomcat 5.5.28. For the image, I guess it is not really needed anyway, the fact is the undeploy link is no more a link but just text. The user I am connecting with as the admin and manager roles. And I am using the

monitoring tomcat application

2010-09-10 Thread Tarun Gupta
Hello, Does anyone know what's the best way to monitor a tomcat application remotely? I need a way to programmatically ping Tomcat and collect performance statistics - Any language would do: perl/java, I need to integrate the monitoring to another application. I am looking to collect the

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread Caldarale, Charles R
From: alain.lheur...@uquebec.ca [mailto:alain.lheur...@uquebec.ca] Subject: RE: Tomcat Manager undeploy link inactive So, I am using Tomcat 5.5.28. I had to go to the archives to download and install that. the fact is the undeploy link is no more a link but just text. I don't see that

Re: monitoring tomcat application

2010-09-10 Thread Martin Kuen
Hi TG, assuming you are using a sun 1.6 jdk to run tomcat: http://download.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html http://download.oracle.com/javase/tutorial/jmx/index.html http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html jmx (Java Management Extensions) is

building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
HI I'm trying to build tomcat 5.5 trunk (to look further at Marks comment. http://marc.info/?l=tomcat-userm=128350009319985w=2 ). Trying to run ant download on build.xml gives me an error. Does the build.xml depend on me having subversion installed on my machine? The error I get when trying to

Re: building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
Actually I'm not being smart in these questions at all. What I want to do is investigate the code that writes the server.xml It doesn't matter if I'm able to build it or not. There is some code that tries to save server.xml in the 5.5. tree. It was used by the admin app. Mark Is anyone familiar

RE: building tomcat 5.5 trunk

2010-09-10 Thread Caldarale, Charles R
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: building tomcat 5.5 trunk Is anyone familiar with the part of code that tries to write server.xml and where to find it. Familiar would be a bit strong, but at least some of the code you're looking for is in these locations

Re: building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 12:32 AM, Wesley Acheson wesley.ache...@gmail.com wrote: but I can't figure out what Catalina:type=StoreConfig refers to. I don't see a StoreConfig class and I'm not familiar with JMX. If its refering to a method called storeConfig I can only see that in classes that

Re: building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 12:49 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: building tomcat 5.5 trunk Is anyone familiar with the part of code that tries to write server.xml and where to find it. Familiar would

RE: building tomcat 5.5 trunk

2010-09-10 Thread Caldarale, Charles R
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: building tomcat 5.5 trunk Reason I couldn't find the class in the 5.5 branch is a bit embarasing. I didn't set the classpath in eclipse and the find class shortcut doesn't see it. There's a reason I use grep... - Chuck

Re: building tomcat 5.5 trunk

2010-09-10 Thread Konstantin Kolinko
2010/9/11 Wesley Acheson wesley.ache...@gmail.com: HI I'm trying to build tomcat 5.5 trunk (to look further at Marks comment. http://marc.info/?l=tomcat-userm=128350009319985w=2 ). Trying to run ant download on build.xml gives me an error.  Does the build.xml depend on me having subversion