how to link a webapp deployed on one tomcat server on another tomcat server?

2011-08-23 Thread sanre6
i have a main domain tomcat server ,i want to link a webapp that's deployed in an another tomcat server which is in the LAN of the main server . i do not want to use apache2 server and i cant deploy the app on the main server .how can i do this ,any suggestions are welcome thanks sanre6

[Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread quanba
Hi there, I am a newbie to Apache Tomcat. While studying the host-manager application, I found the file $CATALINA_HOME/webapps/host-manager/manager.xml. This file seems to be the configuration file for the manager application (not the host-manager): Context

Logging in options in Tomcat 6.0.26

2011-08-23 Thread Martin O'Shea
Hello I wonder if anyone can advise? I am using Tomcat 6.0.26 in an application with a MySQL 5.* back end database. Currently my users' username and userrole details are stored in the User table of the database. At the moment though, there is no actual logging in facility in the

Re: [Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread Mark Thomas
On 23/08/2011 10:12, quanba wrote: Hi there, I am a newbie to Apache Tomcat. While studying the host-manager application, I found the file $CATALINA_HOME/webapps/host-manager/manager.xml. This file seems to be the configuration file for the manager application (not the host-manager):

Re: Logging in options in Tomcat 6.0.26

2011-08-23 Thread Pid
On 23/08/2011 10:48, Martin O'Shea wrote: Hello I wonder if anyone can advise? I am using Tomcat 6.0.26 in an application with a MySQL 5.* back end database. Currently my users' username and userrole details are stored in the User table of the database. At the moment though, there is

Re: how to link a webapp deployed on one tomcat server on another tomcat server?

2011-08-23 Thread Pid
On 23/08/2011 08:32, sanre6 wrote: i have a main domain tomcat server ,i want to link a webapp that's deployed in an another tomcat server which is in the LAN of the main server . i do not want to use apache2 server and i cant deploy the app on the main server .how can i do this ,any

RE: Tomcat 5.5.28 on 64 bit windows server 2008.

2011-08-23 Thread eurotrans-Verlag
Hi, -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, August 22, 2011 5:35 PM To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.28 on 64 bit windows server 2008. Allow me to clear that up: 1) If no address= parameter is given in the

IPv6 support dropped in Tomcat Native 1.1.22 (on Windows)?

2011-08-23 Thread Konstantin Preißer
Hi all, while reading the thread Tomcat 5.5.28 on 64 bit windows server 2008., I was experimenting with various Tomcat versions and noticed that IPv6 support seems to have been dropped in the Windows version (32 bit as well as 64 bit) of TC Native 1.1.22 (which is included in Tomcat 7.0.20). I

RE: Tomcat 5.5.28 on 64 bit windows server 2008.

2011-08-23 Thread Jeffrey Janner
-Original Message- From: eurotrans-Verlag [mailto:verlag.preis...@t-online.de] Sent: Tuesday, August 23, 2011 7:14 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.28 on 64 bit windows server 2008. Hi, This seems to only apply to Tomcat 5.5.x, however. When Tomcat 7.0.20

RE: Moving init params from web.xml to context.xml

2011-08-23 Thread Jeffrey Janner
If it helps generate a reply, I'm deploying into Tomcat 6.0.3x running under JDK 1.6.0_2x. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, August 22, 2011 3:12 PM To: 'Tomcat Users List' Subject: Moving init params from web.xml to

Re: Cache-Control headers not being added to secure requests

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 8/22/2011 5:39 PM, Zampani, Michael wrote: However, I'm still confused about - {request.isSecure()} means that the headers are only added if the request is not secure since responses from secure requests must not be cached I don't

Re: AW: AW: How to cancel upload?

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen, On 8/21/2011 9:21 AM, Steffen Heil (Mailinglisten) wrote: Hi Actually, I'm not entirely correct and I am now remembering this has been discussed before on either this list or the tomcat-dev list. Do you remember anything else about

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Mark Shifman
from tomcat configuration docs http://tomcat.apache.org/tomcat-7.0-doc/config/context.html You can configure named values that will be made visible to the web application as servlet context initialization parameters by nesting Parameter elements inside this

Re: About SSO between Apache2 and Tomcat...

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 8/21/2011 7:30 AM, pushme wrote: Here's what i'd like to do: 1. User authenticates against Joomla (running on Apache). For those playing along at home, Joomla is PHP-based. Pushme, how does Joomla perform it's

RE: Multiple Tomcat Instances with Multiple IPs

2011-08-23 Thread Vickie Troy-McKoy
I've been out for a few days; but, thanks for your input. It does seem like a firewall issue; and I've put a ticket into the right people to open up that port. When it's completed, I'll continue and see what I get. Again, thanks for your input. ___

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Marvin Addison
This is equivalent to the inclusion of the following element in the web application deployment descriptor (/WEB-INF/web.xml): context-param param-namecompanyName/param-name param-valueMy Company, Incorporated/param-value /context-param but does not require modification of the

RE: Moving init params from web.xml to context.xml

2011-08-23 Thread Jeffrey Janner
-Original Message- From: Marvin Addison [mailto:marvin.addi...@gmail.com] Sent: Tuesday, August 23, 2011 9:43 AM To: Tomcat Users List Subject: Re: Moving init params from web.xml to context.xml This is equivalent to the inclusion of the following element in the web application

Need Help - Vulnerability Details

2011-08-23 Thread Chirag Suthar
Hi, We are using *Tomcat 6.0.26* with* Windows Server 2008 R2 Enterprise *as Operating system. We performed security scan on environment and observed Apache Tomcat NIO Connector Denial of Service. Here we go with the detail description and observation:* * * * *Description:* A denial of

Appropriate version of Java

2011-08-23 Thread Rafael Giovanni Florez Arango - EyS
Should I install an Apache Tomcat 6.0.30 server, however I have the following question, what is the appropriate version of Java for this version of Tomcat? Thank in advance any opinions or experience with it. Rafael Flórez A.

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Marvin Addison
I can get with the Dev team and see if they are willing to re-code for the possibility (or even need to). It's a valuable change that dramatically increases your deployment options; well worth the effort IMO. M - To

Re: Need Help - Vulnerability Details

2011-08-23 Thread Daniel Baktiar
i think it's already release 6.0.33 now. your version 6.0.26 is quite outdated. please upgrade to the latest one. http://tomcat.apache.org/download-60.cgi --- daniel baktiar On Wed, Aug 24, 2011 at 12:39 AM, Chirag Suthar cbsut...@gmail.com wrote: Hi, We are using *Tomcat 6.0.26* with*

Re: Appropriate version of Java

2011-08-23 Thread Edoardo Panfili
Il 23/08/11 18:41, Rafael Giovanni Florez Arango - EyS ha scritto: Should I install an Apache Tomcat 6.0.30 server, however I have the following question, what is the appropriate version of Java for this version of Tomcat? Latest version of java 1.6 works fine form me. I am using 1.6.0_26

Re: Need Help - Vulnerability Details

2011-08-23 Thread Mark Eggers
- Original Message - From: Chirag Suthar cbsut...@gmail.com To: users@tomcat.apache.org Cc: Sent: Tuesday, August 23, 2011 9:39 AM Subject: Need Help - Vulnerability Details Hi, We are using *Tomcat 6.0.26* with* Windows Server 2008 R2 Enterprise *as Operating system. We

RE: Cache-Control headers not being added to secure requests

2011-08-23 Thread Zampani, Michael
Chris, Doesn't the entire securePagesWithPragma flag fail the robustness principle? It's specifically there to fix caching issues with IE, similar to the issue we're now seeing. I understand how I would create a Filter to do this, but I'm trying to understand why this behavior was removed

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/23/2011 12:38 PM, Jeffrey Janner wrote: Thanks Marvin. That is what I was thinking, the two are separate entities, with separate methods of accessing them. Not being a developer, I wasn't positive though. I can get with the Dev

Re: Cache-Control headers not being added to secure requests

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 8/23/2011 2:09 PM, Zampani, Michael wrote: It seems as though the kernel of logic here is that 'pages with security-constraints' should have these headers automatically added. There should be a specific reason to add the additional

jvmRoute generation

2011-08-23 Thread Andrew Todd
I'm working on putting together a clustered environment with sticky sessions, and I'm wondering if there's any way of automatically generating a jvmRoute value in the engine container (https://tomcat.apache.org/tomcat-7.0-doc/config/engine.html) rather than setting one manually for each Tomcat

Re: Cache-Control headers not being added to secure requests

2011-08-23 Thread Mark Thomas
On 23/08/2011 19:09, Zampani, Michael wrote: Chris, Doesn't the entire securePagesWithPragma flag fail the robustness principle? It's specifically there to fix caching issues with IE, similar to the issue we're now seeing. I understand how I would create a Filter to do this, but I'm

Re: jvmRoute generation

2011-08-23 Thread Mark Thomas
On 23/08/2011 20:22, Andrew Todd wrote: I'm working on putting together a clustered environment with sticky sessions, and I'm wondering if there's any way of automatically generating a jvmRoute value in the engine container (https://tomcat.apache.org/tomcat-7.0-doc/config/engine.html) rather

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 3:22 PM, Andrew Todd wrote: I'm working on putting together a clustered environment with sticky sessions, and I'm wondering if there's any way of automatically generating a jvmRoute value in the engine container

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-23 Thread Konstantin Preißer
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, July 26, 2011 6:15 PM To: Tomcat Users List Subject: Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32 Konstantin, Such a class would definitely be useful to post

Choosing an AJP Connector

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been using Tomcat fronted by Apache httpd (terminating SSL I might add) for years and I've never given any thought to which flavor of AJP connector I've been using. We don't build APR as part of our standard build process and it's unclear

RE: Cache-Control headers not being added to secure requests

2011-08-23 Thread Zampani, Michael
Wonderful! Should I file a bug report for this? It's only a 1 line diff. Thanks, Michael -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August 23, 2011 12:49 PM To: Tomcat Users List Subject: Re: Cache-Control headers not being added to secure requests

Re: Choosing an AJP Connector

2011-08-23 Thread Mark Thomas
On 23/08/2011 21:37, Christopher Schultz wrote: All, I've been using Tomcat fronted by Apache httpd (terminating SSL I might add) for years and I've never given any thought to which flavor of AJP connector I've been using. We don't build APR as part of our standard build process and it's

Re: Cache-Control headers not being added to secure requests

2011-08-23 Thread Mark Thomas
On 23/08/2011 21:40, Zampani, Michael wrote: Wonderful! Should I file a bug report for this? It's only a 1 line diff. Please do. Please also include the various references in this thread so folks coming to this later have the full info. Mark Thanks, Michael -Original

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 8/23/2011 4:02 PM, Konstantin Preißer wrote: I see that you changed the flush() method in the decorator class to pass flush() calls to the underlying stream as long as the stream is set to be active. The reason that I didn't

Re: jvmRoute generation

2011-08-23 Thread Andrew Todd
On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz ch...@christopherschultz.net wrote: You should be able to use a parametric replacement using a system property. That way, the file is the same across all installations but the system property can be set locally. Something like this:

Re: Choosing an AJP Connector

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/23/2011 4:43 PM, Mark Thomas wrote: On 23/08/2011 21:37, Christopher Schultz wrote: But, since I'm using AJP, there is a one-to-one relationship between request processors at the httpd level and in Tomcat, so being able to handle

Re: Choosing an AJP Connector

2011-08-23 Thread Mark Thomas
On 23/08/2011 21:50, Christopher Schultz wrote: Mark, On 8/23/2011 4:43 PM, Mark Thomas wrote: On 23/08/2011 21:37, Christopher Schultz wrote: But, since I'm using AJP, there is a one-to-one relationship between request processors at the httpd level and in Tomcat, so being able to handle

RE: jvmRoute generation

2011-08-23 Thread Jeffrey Janner
-Original Message- From: Andrew Todd [mailto:andrew.todd...@gmail.com] Sent: Tuesday, August 23, 2011 3:50 PM To: Tomcat Users List Subject: Re: jvmRoute generation On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz ch...@christopherschultz.net wrote: You should be able to use

Re: jvmRoute generation

2011-08-23 Thread Andrew Todd
On Tue, Aug 23, 2011 at 5:08 PM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Why on God's Green Earth would you want a random jvmRoute value? I'm new at this, explain to me why I wouldn't. I have to deploy to a cluster, and my understanding is that the Apache front-end server doesn't care

Re: Choosing an AJP Connector

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/23/2011 4:59 PM, Mark Thomas wrote: [The NIO code is ]not really [any less robust]. The code between all the connectors is getting more similar as I reduce the duplication. That should mean fewer bugs/inconsistencies and simpler fixes

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 4:49 PM, Andrew Todd wrote: On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz ch...@christopherschultz.net wrote: You should be able to use a parametric replacement using a system property. That way, the file is the same

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 5:25 PM, Andrew Todd wrote: On Tue, Aug 23, 2011 at 5:08 PM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Why on God's Green Earth would you want a random jvmRoute value? I'm new at this, explain to me why I

Re: [OT] Re: How to handle the AWT-Windows thread?

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 8/21/2011 4:53 AM, Pid wrote: On 21/08/2011 01:19, Christopher Schultz wrote: I'm not sure how one would intercept the call, though. I've never looked into it, but I would guess that Toolkit.getDefaultToolkit can be configured to return

Conditional Branch from Servlet to URL

2011-08-23 Thread Donald Jolley
I have a book on Tomcat. In a section entitled, Forwarding HTTP Requests reference is made to the fact that sometimes it's desirable to branch form a servlet to an alternative URL upon the occurrence of some condition such as encountering an exception. The book provides the following sample code

RE: Conditional Branch from Servlet to URL

2011-08-23 Thread Leo Donahue - PLANDEVX
From: Donald Jolley [jolleyt...@gmail.com] Subject: Conditional Branch from Servlet to URL I'm not at all surprised about the request and response symbols as they appear to be undefined. I really expected that getRequestDispatcher would have been found in

Re: [Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread quanba
Thanks Mark, that's exactly the answer I want Mark Thomas wrote: On 23/08/2011 10:12, quanba wrote: Hi there, I am a newbie to Apache Tomcat. While studying the host-manager application, I found the file $CATALINA_HOME/webapps/host-manager/manager.xml. This file seems to be the