Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/25/2011 7:49 PM, Konstantin Kolinko wrote: > 2011/3/25 Francis GALIEGUE : >> Scenario: >> >> * tomcat starts, as user u1, with only the manager application in place; >> * it is configured as to not deploy automatically; >> * user u1 c

Lack of shutdown port (port="-1") behavior does not appear to match documentation

2011-03-25 Thread Steven Schlansker
Hi everyone, I'm running Tomcat 6.0.32 on Linux and am encountering a pretty confusing mismatch between documentation and reality. Hoping you can verify that this is a problem or point out where I'm doing things wrong. We are running multiple tomcats on the same server (to provide additional l

Re: Tomcat 7.0.11, manager application: is this expected?

2011-03-25 Thread Konstantin Kolinko
2011/3/24 Francis GALIEGUE : > On Thu, Mar 24, 2011 at 17:03, Mark Thomas wrote: > [...] >> >> The only validation done is that the path is either zero length or >> starts with a '/'. Anything else is permitted. Could the validation be >> stricter? Sure. But in this case all you get (if I a readin

Re: Startup error in 6.0.20 with JSF application

2011-03-25 Thread Konstantin Kolinko
2011/3/24 Murugan, Subash : > > Also we tried upgrading the myFaces version to 1.2 for 6.0.20 version but > still the issue occurs. Why not with 6.0.32? There were a lot of fixes since 6.0.20. Best regards, Konstantin Kolinko -

Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-25 Thread Konstantin Kolinko
2011/3/25 Francis GALIEGUE : > Scenario: > > * tomcat starts, as user u1, with only the manager application in place; > * it is configured as to not deploy automatically; > * user u1 copies a webapp tree into $CATALINA_HOME/webapps, which it > can since it has write/execute access to this directory

Re: Cannot set JAVA_HOME for jsvc/Tomcat 7.0.11... i've tried EVERYTHING

2011-03-25 Thread Konstantin Kolinko
2011/3/24 Kevin : > Hi, I'm pulling my hair trying to install Tomcat 7.0.11 on my machine. > > Here's my info at a glance: > OS: Ubuntu 10.10 > Tomcat version: 7.0.11 > Tomcat main folder path: /usr/local/apache-tomcat-7.0.11/ > JDK version (via the java -version command) : 1.6.0.24 > JDK location:

Re: manager app problem

2011-03-25 Thread Konstantin Kolinko
2011/3/26 Propes, Barry L : > Hello Tomcat community, > > I'm again experiencing an oddity with the manager app. > > I'm using Tomcat 6.0.26 on Win XP Pro, and JDK 1.6.0_18. Hope I included > everything here that's needed. > > I'm not getting an error generated to the logs out of this, just the ge

Re: [partially OT] Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-25 Thread André Warnier
Mark Thomas wrote: ... For 1, it is not necessary. Stopping the app makes it eligible for GC. However, Tomcat 7.0.11 onwards does stop it (see [1]) since this forces the database connections to be closed immediately rather than waiting for GC. Since this is viewed as a 'nice to have' rather tha

Re: reverse proxy with SSO using CAS.

2011-03-25 Thread André Warnier
Jorge Infante Osorio wrote: -Mensaje original- De: André Warnier [mailto:a...@ice-sa.com] Enviado el: viernes, 25 de marzo de 2011 13:09 Para: Tomcat Users List Asunto: Re: reverse proxy with SSO using CAS. Jorge Infante Osorio wrote: I have an issue in reverse proxy with apache, tomc

RE: manager app problem

2011-03-25 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: manager app problem > I'm using Tomcat 6.0.26 on Win XP Pro, and JDK 1.6.0_18. > Hope I included everything here that's needed. Not quite; let's see your actual server.xml (without comments), rather than just a description of w

manager app problem

2011-03-25 Thread Propes, Barry L
Hello Tomcat community, I'm again experiencing an oddity with the manager app. I'm using Tomcat 6.0.26 on Win XP Pro, and JDK 1.6.0_18. Hope I included everything here that's needed. I'm not getting an error generated to the logs out of this, just the generic "requested resource (/manager/stat

Tomcat 7.0.11: bug with manager application when undeploying

2011-03-25 Thread Francis GALIEGUE
Scenario: * tomcat starts, as user u1, with only the manager application in place; * it is configured as to not deploy automatically; * user u1 copies a webapp tree into $CATALINA_HOME/webapps, which it can since it has write/execute access to this directory; * the manager webapp is called to depl

Re: Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-25 Thread Mark Thomas
On 25/03/2011 17:53, Paul Gifford wrote: > We're having a disagreement in the office about the JNDI datasources. We're > running Tomcat 6 and using the built-in DBCP as our connection pool. DBCP > is configured in the server's context.xml. Our webapp gets a datasource > using JNDI via Spring JDB

RE: reverse proxy with SSO using CAS.

2011-03-25 Thread Jorge Infante Osorio
-Mensaje original- De: André Warnier [mailto:a...@ice-sa.com] Enviado el: viernes, 25 de marzo de 2011 13:09 Para: Tomcat Users List Asunto: Re: reverse proxy with SSO using CAS. Jorge Infante Osorio wrote: > I have an issue in reverse proxy with apache, tomcat and SSO using CAS. > >

Re: Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2011 1:53 PM, Paul Gifford wrote: > We're having a disagreement in the office about the JNDI datasources. We're > running Tomcat 6 and using the built-in DBCP as our connection pool. DBCP > is configured in the server's context.xml. O

Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-25 Thread Paul Gifford
We're having a disagreement in the office about the JNDI datasources. We're running Tomcat 6 and using the built-in DBCP as our connection pool. DBCP is configured in the server's context.xml. Our webapp gets a datasource using JNDI via Spring JDBC. There are two schools of thought on the team.

Re: reverse proxy with SSO using CAS.

2011-03-25 Thread André Warnier
Jorge Infante Osorio wrote: I have an issue in reverse proxy with apache, tomcat and SSO using CAS. The problem is that my reverse proxy work just fine when I use an Apache Server as the reverse proxy with two back-end tomcats. But when the I include SSO with CAS to authenticate the user wit

Re: reverse proxy with SSO using CAS.

2011-03-25 Thread Mark Thomas
On 25/03/2011 16:35, Jorge Infante Osorio wrote: > I have an issue in reverse proxy with apache, tomcat and SSO using CAS. > > The problem is that my reverse proxy work just fine when I use an Apache > Server as the reverse proxy with two back-end tomcats. > > But when the I include SSO with CA

reverse proxy with SSO using CAS.

2011-03-25 Thread Jorge Infante Osorio
I have an issue in reverse proxy with apache, tomcat and SSO using CAS. The problem is that my reverse proxy work just fine when I use an Apache Server as the reverse proxy with two back-end tomcats. But when the I include SSO with CAS to authenticate the user with access to the tomcat servers

Re: reverse proxy and tomcat

2011-03-25 Thread André Warnier
Jorge Infante Osorio wrote: Hi André. An Excellent explanation. Thanks for the compliment, but I think that you should repost your new question differently : create a *new* email message, copy your text into it, and post it to the list. When you hit "reply" on an existing message, some messag

RE: reverse proxy and tomcat

2011-03-25 Thread Jorge Infante Osorio
Hi André. An Excellent explanation. I have an issue in reverse proxy with apache, tomcat and SSO using CAS. The problem is that my reverse proxy work just fine when I use an Apache Server as the reverse proxy with two back-end tomcats. But when the I include SSO with CAS to authenticate the u

RE: How to detect down of tomcat.

2011-03-25 Thread Jorge Infante Osorio
Thanks a lot Darryl. Jorge. De: Darryl Lewis [mailto:darryl.le...@unsw.edu.au] Enviado el: martes, 22 de marzo de 2011 4:05 Para: Jorge Infante Osorio; Tomcat Users List Asunto: Re: How to detect down of tomcat. This needs to be run as root Put it in a cron job to fire every minute #!/bin/sh D

RE: axis

2011-03-25 Thread Jorge Infante Osorio
You just need to download the axis2 war and deploy it inside tomcat as any other application. Jorge. -Mensaje original- De: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] Enviado el: lunes, 14 de marzo de 2011 15:38 Para: users@tomcat.apache.org Asunto: axis Does tomcat

Re: Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread André Warnier
Jimmy Mic wrote: We have a cloud based centOS 5.5 configuration with tomcat 6.0 installed for the good half past year, that a previous engineer (long gone) setup for us. Last week, I asked one our guys to install svn over ssl on the server. That is working great, but in the process, he broke ou

Re: tomcat code in version control

2011-03-25 Thread Hassan Schroeder
On Thu, Mar 24, 2011 at 11:03 PM, Bill Wang wrote: > We have one tomcat application install in our tomcat server > > it is successfully deployed. Now we are thinking to source version control > on it. Whoa! Cart? Horse? Seriously? > Do I need import all below folders and files to version contro

Re: Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread Chris Beckey
I'd concur with Jeff here and suspect that the JSP's are being served from httpd and not Tomcat. He may have set up httpd with the expectation that it would be the front-end for Tomcat as that is a pretty common configuration. If that is why he did so I would suggest that you search on the apache

RE: Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread Jeffrey Janner
There's a port setting in httpd.conf that you can customize. Sounds like what you need. I just suggested the consult because it can get complicated depending on your requirements. Yours now sound simple enough that changing the httpd.conf port setting should suffice. > -Original Message--

Re: Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread Jimmy Mic
Hi Jeff, Thanks for the reply. For the time being, having tomcat be the primary (and as needed) sole web server is by far the priority. So, I'd be happy to know what to do to get the other server out of the way, or at least, on our customized port (not 80 or 8080). Nothing against consultation

RE: Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread Jeffrey Janner
Jimmy - It sounds as if you have competing web servers set up, i.e., both httpd and tomcat are set up to run on the same port. You have several options available for solving this problem, and the best solution depends on your requirements. I would start by reading the available documentation on

Broken tomcat 6.0 config after SSL install.

2011-03-25 Thread Jimmy Mic
We have a cloud based centOS 5.5 configuration with tomcat 6.0 installed for the good half past year, that a previous engineer (long gone) setup for us. Last week, I asked one our guys to install svn over ssl on the server. That is working great, but in the process, he broke our tomcat server and

Re: Can't get jkmanager working

2011-03-25 Thread André Warnier
Maybe it is just a question of perspective. An Apache httpd VirtualHost is not a separate entity, like a child process or a thread. It is just a "personality" which any Apache child temporarily takes, during the processing of one single request. At the next request processed by this same Apache