URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi, We have tomcat 5.5.17 installed, and all requests for / are forwarded to a login page that we maintain, so it was assumed that the manager application was not accessible, however if I put https://webapp:8443/manager/html a login prompt pops up. I dont see any mapping for this url in our

Connection errors with mod_proxy_balancer and tomcat 5.5

2009-03-25 Thread Janning Vygen
Hi, we encounter some strange errors with our apache (v2.2) fronting 4 tomcat (v5.5) server. We are loadbalancing with sticky sessions to our tomcats. Everything runs fine beside the fact that 0.1% of all requests get a 503 http status code. The rate raises under load, but it is at least

Re: root context path - war file not unwar'd

2009-03-25 Thread Pid
Andrew Eells wrote: If it helps it's also possible to deploy your war file with any name at all and have it deployed as the default context / - without the need to name it ROOT.war. The trick is to have it located outside the Tomcat directory and have the ROOT.xml context docBase point to

Re: Tomcat 5.5.27 Pool/DBCP Locks and Configuration issues

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/23/2009 9:39 PM, Caldarale, Charles R wrote: From: Shaun Farrugia [mailto:sfarru...@fry.com] Subject: Tomcat 5.5.27 Pool/DBCP Locks and Configuration issues 4) Are there known issues on 5.5.27 when running abandonedobjectpool

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 4:34 AM, Ockleford Paul (NHS Connecting for Health) wrote: We have tomcat 5.5.17 installed, and all requests for / are forwarded to a login page that we maintain, so it was assumed that the manager application was not

Re: Session lost when app. is redeployed

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adriano, On 3/24/2009 7:13 AM, Adriano dos Santos Fernandes wrote: So my question is how to update an application, when it have full serializable sessions, and the new application classes are compatible with the serialized session? I didn't see

Re: Tomcat and Database Problem

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CC, On 3/23/2009 11:24 AM, CutKiller wrote: But the validationQuery was set at the Resources Tags. Context path=/testAdmin docBase=testAdmin debug=0 reloadable=true crossContext=true What version of TC are you running? You shouldn't be

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi Chris, Thanks for that. Yes the forward for / is to our web app, I edited the file /tomcat/conf/Catalina/localhost/manger.xml to forward on any request to our admin login page. Thanks for the link. Paul Paul Ockleford Developer Systems and Service Delivery NHS Connecting for Health

Re: Tomcat Error Message

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conandor, On 3/23/2009 5:36 AM, conandor wrote: Why I keep having this error message whenever I start tomcat. Can anyone tell me why? [snip] INFO: Starting Servlet Engine: Apache Tomcat/5.5.20 [snip] LifeCycleServletContextListener:

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 8:35 AM, Ockleford Paul (NHS Connecting for Health) wrote: Yes the forward for / is to our web app, I edited the file /tomcat/conf/Catalina/localhost/manger.xml to forward on any request to our admin login page. Exactly how did

Re: SEVERE: BAD packet singnature 18245

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Saju, On 3/24/2009 12:05 AM, Saju K K wrote: I am using only one connector with tomcat( NIO connector) , In that case also i get the same error . No, you're not: Connector port=8080 address=serdev41 connectionTimeout=5000 minProcessors=5

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi Chris, I edited the url context: Context docBase=/applications/healthspace privileged=true antiResourceLocking=false antiJARLocking=false !-- Link to the user database we will get roles from -- ResourceLink name=users global=UserDatabase

Re: Fw: [OT] Tomcat 5 with HADR

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tyson, On 3/20/2009 9:21 AM, Tyson Beffa wrote: Do you have any suggestions for setting up db2 High-Availability Disaster Recovery with tomcat5. This sounds like it's entirely handled by the database and the JDBC driver. I would check the

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
When I say forward on any request that is actually probably a misleading statement, I changed the url context for the manager web application to point to our web app that handles any contexts from that point on. Paul Ockleford Developer Systems and Service Delivery NHS Connecting for Health

Re: root context path - war file not unwar'd

2009-03-25 Thread Andrew Eells
pid-2 is right in that the path shouldn't be used here, if i remove this Tomcat still deploys myapp.war as / as it's using the name of the ROOT.xml file to infer the actual path. i misread the tomcat context documentation http://tomcat.apache.org/tomcat-5.5-doc/config/context.html. deploying

Port range

2009-03-25 Thread Venky Vasant
I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat server port and HTTP connector port for all windows servers. Regards Venkat

RE: Port range

2009-03-25 Thread Darren Kukulka
netstat -a from a Command window, will show you all the ports in use on any Windows server. -Original Message- From: Venky Vasant [mailto:venkat...@yahoo.com] Sent: 25 March 2009 13:10 To: users@tomcat.apache.org Subject: Port range I am sure this is very simple question but i could

Re: Cannot create PoolableConnectionFactory

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mel, On 3/23/2009 1:24 AM, Mel McGuire wrote: No problem seen with mysql or the mysql command line utility. Tomcat comes up and down alright. [snip] url=jdbc:mysql://localhost:3306/nlocalhost removeAbandoned=true

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 9:00 AM, Ockleford Paul (NHS Connecting for Health) wrote: I edited the url context: What is the URL context? Context docBase=/applications/healthspace Do you mean you changed the docbase? Why didn't you just undeploy the

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 9:01 AM, Ockleford Paul (NHS Connecting for Health) wrote: When I say forward on any request that is actually probably a misleading statement, I changed the url context for the manager web application to point to our web app

Re: Port range

2009-03-25 Thread David kerber
Venky Vasant wrote: I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat server port and HTTP connector port for all windows servers. Regards Venkat You can use any

Re: Port range

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vanky, On 3/25/2009 9:09 AM, Venky Vasant wrote: I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat server port and HTTP

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi Chris, Thanks again, we don't want to use it at all, and the problem stemmed only from the fact that we have a pen test due and although the manager app wasn't actually accessible (we never changed the tomcat-users file) browsing to the url reported a tomcat standard error page that

Re: Port range

2009-03-25 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vanky, On 3/25/2009 9:09 AM, Venky Vasant wrote: I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat

Re: reversed proxy stopped working with tomcat cluster

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 János, On 3/20/2009 1:48 PM, János Löbb wrote: Connector port=8280 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8643 / Connector port=8209 protocol=AJP/1.3 redirectPort=8643 / [snip]

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 9:24 AM, Ockleford Paul (NHS Connecting for Health) wrote: Thanks again, we don't want to use it at all Then undeploy it: 1. Stop Tomcat 2. Remove the file $CATALINA_HOME/conf/[enginename]/[hostname]/manager.xml (I would

RE: URL: /manager/html

2009-03-25 Thread Caldarale, Charles R
From: Ockleford Paul (NHS Connecting for Health) [mailto:paul.ocklef...@nhs.net] Subject: RE: URL: /manager/html How would I undeploy the entire app so that browsing to the url /manager/ would not result in a standard error page? Just delete the manager webapp: 1) remove

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi, Thanks for the replies from both of you (Chris and Chuck). One final question, what attribute of the server element would I need to change if I wanted to stop the tomcat version being reported in the http header? Looking at the docs there are only 4 attributes, is it classname? Would I

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hi again! I got it, I was looking at the wrong connector doc.. server The Server header for the http response. Unless you are paranoid, you won't need this feature. If I set the server value to I am guessing this will stop the sending of the server version. Cheers -Original

Re: URL: /manager/html

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/25/2009 10:10 AM, Ockleford Paul (NHS Connecting for Health) wrote: If I set the server value to I am guessing this will stop the sending of the server version. Correct, though it might send Server: which has the same effect. I

RE: URL: /manager/html

2009-03-25 Thread Ockleford Paul (NHS Connecting for Health)
Hey thanks again! All of our tomcat servers run on a private network for the health service so nothing hits the internet ever so I guess we would never make it onto their stats anyway. The only reason I would like to hide it is paranoia really, as we have the pen test they will undoubtedly

Apache2 / Tomcat6 application presented while calling www.mydomain.de

2009-03-25 Thread Newgro
Hi *, i'm looking for a solution to configure the application (war) which is responding on calling a url like www.mydomain.de I use Apache2 Webserver infront of tomat 6.0.18. I setup everything from the tutorial found here http://www.mogilowski.net/?p=121lang=de-de

RE: Apache2 / Tomcat6 application presented while callingwww.mydomain.de

2009-03-25 Thread Caldarale, Charles R
From: Newgro [mailto:per.new...@gmx.ch] Subject: Apache2 / Tomcat6 application presented while callingwww.mydomain.de I use Apache2 Webserver infront of tomat 6.0.18. Why? Unless you have a compelling reason (e.g., PHP), just run Tomcat stanadalone. If i call the url (www.mydomain.de)

how do i configure multiple domains in one tomcat inatance

2009-03-25 Thread Srinivas Jonnalagadda
hi, I am using apache http server, openSSL, mod_jk and tomcat 5.5.9 on solaris 10 server. I need a way to create multiple domains in the same tomcat instance or server. for example i should be able to copy my war files into two dirs dir1 and dir2. Same Tomcat should be able to pickup

Re: how do i configure multiple domains in one tomcat inatance

2009-03-25 Thread Mark Thomas
Srinivas Jonnalagadda wrote: hi, I am using apache http server, openSSL, mod_jk and tomcat 5.5.9 on solaris 10 server. I need a way to create multiple domains in the same tomcat instance or server. for example i should be able to copy my war files into two dirs dir1 and dir2. Same Tomcat

Re: Tomcat and Database Problem

2009-03-25 Thread rodrigoferreira
David, Oracle have a view named v$sqlarea that contains all SQL Queries, and in my case Select * from dual appears :( So validationQuery is sending this query. Christopher, I don't expect many long-time queries... So what's your opinion? Tnks all! Christopher Schultz-2 wrote:

tomcat startup

2009-03-25 Thread Nathan Aaron
Is it possible to start Tomcat and not start deployed Contexts. For example I have several statically deployed contexts. When I start Tomcat I do not want them to be available. Is this possible? Thanks, Nathan - To

Re: reversed proxy stopped working with tomcat cluster

2009-03-25 Thread János Löbb
Hi Chris, In our production environment we have 3 Xserves, all running apache2 , mod+jk and Tomcat. There are about 5-6 web applications running on these 3 servers standalone, -non-clustered - and there will be more. The there Xserves are doing other things too, not just web serving.

RE: tomcat startup

2009-03-25 Thread Caldarale, Charles R
From: Nathan Aaron [mailto:naa...@glenraven.com] Subject: tomcat startup Is it possible to start Tomcat and not start deployed Contexts. Set deployOnStartup in the Host element to false: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html - Chuck THIS COMMUNICATION MAY CONTAIN

Help with Security Manager

2009-03-25 Thread Security Management
So, I'm trying to configure my webapp to be able to create/read/write a directory outside of the webapp directory. I start tomcat with the -security option after adding the following to the bottom of the catalina.policy file: grant codeBase ${tomcat-home}/webapps/smc-appsuite {

Re: reversed proxy stopped working with tomcat cluster

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 János, On 3/25/2009 11:53 AM, János Löbb wrote: In our production environment we have 3 Xserves, all running apache2 , mod+jk and Tomcat. There are about 5-6 web applications running on these 3 servers standalone, -non-clustered - and there

Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Mike Reidy
Hello, I would like to be able to configure system properties at Tomcat start-up *without* adding them to the startup command line, for example you might add -Dxx.yyy.zzz=123 to the command line to add a system property called xxx.yyy.zzz with a value of 123. I want something other than this

RE: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Caldarale, Charles R
From: Mike Reidy [mailto:mike.re...@gmail.com] Subject: Setting Tomcat System Properies **without** -D on Command Line If this is not the case is there a standard way that would be the recommended way of writing a custom plugin for Tomcat to do this? Tomcat supports use of an

RE: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Martin Gainty
take a look at init-param implementation in web.xml http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1039383 HTH Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Tim Funk
The custom way would be to write a startup listener that its only goal is to load a prop file and promote its properties into the System environment. It could look somethng like this: package cowbell; import org.apache.catalina.Lifecycle; import org.apache.catalina.LifecycleEvent; import

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Rainer Jung
On 25.03.2009 18:54, Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat start-up *without* adding them to the startup command line, for example you might add -Dxx.yyy.zzz=123 to the command line to add a system property called xxx.yyy.zzz with a value of

Re: Session lost when app. is redeployed

2009-03-25 Thread Joseph Millet
Not sure this might be of use but Apache normally has a *graceful *restart option that's normally tailored to such needs. On Wed, Mar 25, 2009 at 1:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adriano, On 3/24/2009 7:13 AM,

Re: tomcat startup

2009-03-25 Thread Nathan Aaron
Thanks, I changed the following in the server.xml: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true deployXML=true xmlValidation=false xmlNamespaceAware=false to Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true deployXML=true xmlValidation=false

RE: Session lost when app. is redeployed

2009-03-25 Thread Martin Gainty
Adriano- from what I've seen the normal way of handling the webapp reload is to clean off the work folder *.ser files this would be considered 'normal behaviour' since your webapp configuration has changed the attributes for any previous serialised objects would be changed as well.. thus

Training classes for Apache web server and Tomcat

2009-03-25 Thread Jhary
I am looking for good comprehensive training courses for installing, configuring and managing the Apache web server and the Tomcat server. Do you know of such classes being offered anywhere? Thanks, Scott -- View this message in context:

RE: tomcat startup

2009-03-25 Thread Caldarale, Charles R
From: Nathan Aaron [mailto:naa...@glenraven.com] Subject: Re: tomcat startup All the contexts started when Tomcat started. What version of Tomcat are you using? (You should always state that in the first post of a new thread, along with the JRE/JDK and platform you're on.) - Chuck THIS

Re: reversed proxy stopped working with tomcat cluster

2009-03-25 Thread Rainer Jung
On 20.03.2009 18:48, János Löbb wrote: Hi, I have two real machines. One of them is a Windows XP running Apache 2.2.10 + mod_jk /release date of 10/30/2008/ + Tomcat 6.0.16. The other one is a Mac with OSX 10.5.6 with Apache 2.2.9 + mod_jk 1.2.26 and Tomcat 6.0.16. The XP machine runs one

RE: tomcat startup

2009-03-25 Thread Martin Gainty
Hello Aaron did you try to update catalina.properties as rainier suggested? in any event please post your catalina.properties Martin __ Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note Diese Nachricht ist vertraulich.

RE: tomcat startup

2009-03-25 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: tomcat startup did you try to update catalina.properties as rainier suggested? Rainer's comment was in a completely different thread for a completely different problem. in any event please post your catalina.properties Totally

Re: Session lost when app. is redeployed

2009-03-25 Thread Adriano dos Santos Fernandes
Martin Gainty wrote: Adriano- from what I've seen the normal way of handling the webapp reload is to clean off the work folder *.ser files this would be considered 'normal behaviour' since your webapp configuration has changed the attributes for any previous serialised objects would be

Serving Multiple Application Versions within the same Context

2009-03-25 Thread behofmann
I'm creating a web application where I want to define each region (Development, User Acceptance Testing, and Production) as separate contexts. Ultimately, clients will use www.mycompany.com/production/index.jsp to access my web application. While designing this application, I would like the

RE: Serving Multiple Application Versions within the same Context

2009-03-25 Thread Caldarale, Charles R
From: behofmann [mailto:behofm...@gmail.com] Subject: Serving Multiple Application Versions within the same Context While designing this application, I would like the ability to serve multiple application versions within the same context. Do you really want to do that? Wouldn't it be

RE: Serving Multiple Application Versions within the same Context

2009-03-25 Thread behofmann
Chuck, Thank you for the quick informative reply. My main objective is to have my client's URL not change and have any redirection to a different version be transparent to them. What exactly would you recommend? Since I've never seen the webapps/production#1.0.war approach, I would have to

RE: Serving Multiple Application Versions within the same Context

2009-03-25 Thread Caldarale, Charles R
From: behofmann [mailto:behofm...@gmail.com] Subject: RE: Serving Multiple Application Versions within the same Context My main objective is to have my client's URL not change and have any redirection to a different version be transparent to them. Which is why the filter in the otherwise

RE: tomcat startup

2009-03-25 Thread Caldarale, Charles R
From: Nathan Aaron [mailto:naa...@glenraven.com] Subject: Re: tomcat startup Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true deployXML=true xmlValidation=false xmlNamespaceAware=false deployOnStartup=false This had no effect. All the contexts started when Tomcat

RE: Session lost when app. is redeployed

2009-03-25 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed I mainly used Lambda Probe. I now also tried: - stop the application - touch the war - start the application - application is undeployed and deployed, and session is lost I

RE: Session lost when app. is redeployed

2009-03-25 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Session lost when app. is redeployed from what I've seen the normal way of handling the webapp reload is to clean off the work folder *.ser files Don't confuse reload with undeploy; Tomcat creates the SESSIONS.ser file when a