Re: building tomcat 5.5 trunk

2010-09-10 Thread Konstantin Kolinko
2010/9/11 Wesley Acheson : > HI I'm trying to build tomcat 5.5 trunk (to look further at Marks > comment. http://marc.info/?l=tomcat-user&m=128350009319985&w=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 mach

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... - Ch

Re: building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 12:49 AM, Caldarale, Charles R 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 be a bit strong

Re: building tomcat 5.5 trunk

2010-09-10 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 12:32 AM, Wesley Acheson 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 eventually call the

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 locati

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 famili

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-user&m=128350009319985&w=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: 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 most

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 th

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 follo

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

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,

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 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 t

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 conf/Catalina/

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 >> t

Re: logging question

2010-09-10 Thread Konstantin Kolinko
2010/9/10 André Warnier : > > 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 an app writ

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 i

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 ha

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 c

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 fu

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 hav

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

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 n

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? http://jcp.org/aboutJava/community

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 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/

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 wil

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 michel
- Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" 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 JSP if you specify the URL. Not true. There i

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" >To: "'Tomcat Users List'" >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 >

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 an

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 acrony

Re: WEB-INF

2010-09-10 Thread michel
- Original Message - From: "Leo Donahue - PLANDEVX" To: "'Tomcat Users List'" 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 know you can also secure direct access to a JSP b

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

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? So

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 s

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

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 > > http://bruniglobal.blogspot.com/2010/09/load-balancing-4-tomca

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: 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. As per the loadbalancing document we would have to add following entry in the server.xml file I am unable to add above entry as already we

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 >

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 h

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. As per the loadbalancing document we would have to add