Re: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Abdul Qayyum
Hi Tim Lucia, I'm guessing you can add a global error-page to Tomcat's conf/web.xml, but then it would apply to all apps on the server. This may or may not work for you. This is my target. If my tomcat recieves a context which is not in my tomcat, it should send customised page. And

Tomcat as a deoman

2007-05-17 Thread Prashant Thakkar
Hi, I would like to know how i can run tomcat5.0 as a deoman on REHL4. -- Prashant Thakkar - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Tomcat as a deoman

2007-05-17 Thread David Smith
Easy -- 1. Download tomcat 5.0 and install. Get it working usng the standard start/stop scripts. I highly recommend using us to go in as the tomcat user and making sure it works under those credentials. 2. Download commons-daemon. If you can find binaries for REHL4, go for it. Otherwise

RE: Tomcat as a deoman

2007-05-17 Thread Tim Lucia
Here is /etc/init.d/tomcat from a RHEL4 system: #!/bin/bash # # tomcat # # description: Start up the Tomcat servlet engine. # # Source function library. . /etc/init.d/functions RETVAL=$? export JAVA_HOME=/usr/java CATALINA_HOME=/usr/local/tomcat case $1 in start) if [ -f

Re: Tomcat as a deoman

2007-05-17 Thread Pid
look for jsvc in the tomcat/bin directory, build it and most of the work is done for you. p Tim Lucia wrote: Here is /etc/init.d/tomcat from a RHEL4 system: #!/bin/bash # # tomcat # # description: Start up the Tomcat servlet engine. # # Source function library. . /etc/init.d/functions

RE: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Tim Lucia
-Original Message- From: Abdul Qayyum [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 2:01 AM To: Tomcat Users List Subject: Re: displaying customized error page in tomcat 5.5.12 Hi Tim Lucia, I'm guessing you can add a global error-page to Tomcat's conf/web.xml, but

Correct (any?) way to use custom Context class

2007-05-17 Thread Andrei Tchijov
I am trying to make tomcat (5.5) to use my custom context class for directory based(deployed) web applications. So far I have tried to stick it in 2 places: - conf/context.xml ( as className attribute to Context node. As per documentation ), - conf/server.xml ( as contextClass attribute

Re: Tomcat on centOS

2007-05-17 Thread [EMAIL PROTECTED]
My startup.sh is: #!/bin/sh # - # Start Script for the CATALINA Server # # $Id: startup.sh,v 1.4 2004/11/17 20:17:46 yoavs Exp $ # - export

urgent help needed

2007-05-17 Thread bhavik shah
Hi, We have tomcat4.1 installed on HPUX Box. I stopped the tomcat server I deploy one application on the tomcat server and start it when I tried to navigate to http://hostname:portno it gives me the following error: HTTP Status 404 - / -- *type* Status report

Help in using the Manager application

2007-05-17 Thread Venkat Venkataramanan
Hello: I installed Tomcat 5.5.3 . I made sure that there was a user with the manager role in the tomcat-users.xml. Howver, when I tried the url, http://localhost:8080/manager/list, I get a http 403 error. type Status report message Access to the requested resource has been

RE: Help in using the Manager application

2007-05-17 Thread Raghupathy, Gurumoorthy
Edit the file tomcat-users.xml in your conf directory of tomcat. Add roles using role rolename=manager/ role rolename=admin/ Then add user user username=admin password=admin roles=admin,manager/ Close the file ... restart tomcat and close all browser instance and hit

Re: Dynamic URIs Using one Context

2007-05-17 Thread Nathan Hook
Excellent. This might sound a tad bit on the dense side, but are there any links to examples of how to use wildcard certificates with IP address mapping for both Apache and Tomcat? I've tried to find some examples on the web, but I am unable to find anything with substance. Thank you

Re: urgent help needed

2007-05-17 Thread Filip Hanik - Dev Lists
there is something wrong in this sucker /opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar are you using symlinks? if so, http://tomcat.apache.org/tomcat-4.1-doc/config/context.html#allowLinking you end up getting a FileNotFoundException, turning on debug logging, might yield

RE: Help in using the Manager application

2007-05-17 Thread Venkat Venkataramanan
Guru: I actually followed the same steps but now, after restarting, it works. I did restart the server before, though! Thanks anyway. -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 11:10 AM To: Tomcat Users List; [EMAIL

Re: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Abdul Qayyum
Hi Tim, Thanks for that explanation. We are not using any web server, so, I cannot configure in httpd file. I resolved the problem using the same error-page tag. I have placed my custom error page in webapps/ROOT directory. Thanks for your support. On 5/17/07, Tim Lucia [EMAIL PROTECTED]

Re: urgent help needed

2007-05-17 Thread bhavik shah
I remove the jar file and it worked fine Regards bhavik On 5/17/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: there is something wrong in this sucker /opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar are you using symlinks? if so,

Tomcat not listening

2007-05-17 Thread Arnab Ganguly
Hi , I very new to Tomact.When I bring up the process the Tomcat comes up properly but it doesn't listen on the ports mentioned in server.xml. I am not able to figure it outThanks in advance. Regards -A

Re: Tomcat jsvc: shutting down

2007-05-17 Thread Markus Schönhaber
reym wrote: I have successfully installed Tomcat5.5 on port 80 using jsvc, on a CENTOS4 platform. Once snag, i can only stop it by issuing a SIGTERM to the process, ie kill -9 tomcat-process-id. Is there a much more elegant way of shutting down tomcat, while still using jsvc??? jsvc -stop

RE: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Tim Lucia
That will work, but only if the root (/) context is available and running. This may or may not solve some or all of your problem(s). Tim -Original Message- From: Abdul Qayyum [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 12:08 PM To: Tomcat Users List Subject: Re:

Re: Problem deploying existing webapp in new Tomcat container

2007-05-17 Thread Rob Tanner
Since it's your favorite subject... :-) Following the directions in the context.html doc (the fisrt URL below), and not changing the default values for engine and host, the first thing I did was to add the path ${CATALINA_HOME}/conf/Catalina/localhost. I created one xml file named:

Re: Tomcat as a deoman

2007-05-17 Thread Mark Deneen
Attached is the script I use to start/stop tomcat. The shutdown method waits a configurable amount of time for the instance to terminate cleanly and then terminates the process. Obviously one would need to tweak the script to fit in their environment. tomcat-prod goes in /etc/init.d and

Re: Tomcat jsvc: shutting down

2007-05-17 Thread reym
ta!! Kind regards, reym Mark Shifman wrote: $TOMCAT_HOME/bin/jsvc-src/native/Tomcat5.sh has a function below stop) # # Stop Tomcat # $DAEMON_HOME/src/native/unix/jsvc \ -stop \ -pidfile $PID_FILE \ org.apache.catalina.startup.Bootstrap exit $?

Re: Tomcat jsvc: shutting down

2007-05-17 Thread Mark Shifman
$TOMCAT_HOME/bin/jsvc-src/native/Tomcat5.sh has a function below stop) # # Stop Tomcat # $DAEMON_HOME/src/native/unix/jsvc \ -stop \ -pidfile $PID_FILE \ org.apache.catalina.startup.Bootstrap exit $? ;; *) Markus Schönhaber wrote: reym wrote: I have

Getting Expression language working in Tomcat 5.5

2007-05-17 Thread Eric Dimick Eastman
Hello all, I'm sending a note mainly for inclusion in the archive. I'm sure almost everyone here knows this. I think it would have saved me some time. We recently upgraded from Tomcat 4.1 to Tomcat 5.5. I was excited to try creating SimpleTagSupport handlers that easily worked with JSTL

Re: Problem deploying existing webapp in new Tomcat container

2007-05-17 Thread Rob Tanner
I also found this log, and I assume it's related to the problem: WARNING: A docBase /var/apache/apache-tomcat-6.0.13/webapps/GroupAliases inside the host appBase has been specified, and will be ignored You can see in the dump of mailtools#aliases.xml that indeed I do specify a docBase. In

RE: Problem deploying existing webapp in new Tomcat container

2007-05-17 Thread Caldarale, Charles R
From: Rob Tanner [mailto:[EMAIL PROTECTED] Subject: Re: Problem deploying existing webapp in new Tomcat container the first thing I did was to add the path ${CATALINA_HOME}/conf/Catalina/localhost. What does add the path mean? That directory should have already existed. I created one

Re: Problem deploying existing webapp in new Tomcat container

2007-05-17 Thread Pid
Rob Tanner wrote: I also found this log, and I assume it's related to the problem: WARNING: A docBase /var/apache/apache-tomcat-6.0.13/webapps/GroupAliases inside the host appBase has been specified, and will be ignored You can see in the dump of mailtools#aliases.xml that indeed I do

Re: Tomcat 6.0.10 problems with httpd 2.2.4 and mod_proxy_ajp

2007-05-17 Thread Mark Deneen
I just wanted to let anyone else who has experienced this problem that it appears mod_jk works without any issue at all. mod_proxy_http would occasionally corrupt the output stream. We would see random hex values sprinkled throughout the servlet response. Anyway, mod_jk is the winner for now.

Suspected mod_jk connection problems

2007-05-17 Thread tomcat
Hello All, I have a server that is not too heavily trafficked (yet!) that, to the user appears to hang on pages. This appears to be happening most often to users outside my network, as it has not been encountered by our developers unless they are working from home. I am not seeing any

How to get Tomcat to give a new session for a new window

2007-05-17 Thread M.Hockings
I would like, somehow, to be able to programatically create a new session on demand but I can't quite figure out how to get Tomcat to give me one. That is, for our webapp it can detect at logon when a session is in use and currently gives the user an already-in-use message. What we would

Re: Suspected mod_jk connection problems

2007-05-17 Thread Martin Gainty
I used to work with a Sys Admin whose expertise was chaing the sys admin password when asked about issues such as interconnecting thru Pix he would say let me get back to you..it sounds like this sys admin is working for you now Anyway here is a quick tutorial on configuring pix

HELP: Verisign's intermediate certificate problem

2007-05-17 Thread BBQ
Hi. I'm new to Tomcat, taking over for a SysAdmin who departed suddenly after 8 years. Our existing Verisign SSL 1-year certificate just expired. I obtained a new one from them with the option use existing data. We are using Tomcat without Apache. The problem is that in our server.xml file

transaction manager cannot load in Tomcat 6

2007-05-17 Thread Molina, Teresa
I've been trying to use Tomcat 6 (with Java 6) on FC6, but I cannot seem to get the third-party transaction manager integrated as in previous versions. I have configured everything just as in Tomcat 5.5, but there seems to be a change in the classloading structure, which simply prevents the

Re: How to get Tomcat to give a new session for a new window

2007-05-17 Thread Len Popp
I'm not sure it's possible to do what you want, but if it is here's part of the answer: You have to use URL rewriting instead of session cookies to track the sessions. The browser doesn't know that two tabs are supposed to use different session IDs; it'll use the same session cookie for both.

Re: How to get Tomcat to give a new session for a new window

2007-05-17 Thread M.Hockings
Thanks Len, I was rather afraid that rewriting may be at least part of the solution but I was optimistic (hopeful?) that there was something we've missed. Mike -- Len Popp wrote: I'm not sure it's possible to do what you want, but if it is here's part of the answer: You have to use URL

Re: Missing ETag in 304 Header

2007-05-17 Thread Rashmi Rubdi
On 5/16/07, Joe Mun [EMAIL PROTECTED] wrote: Hi guys... so according to the HTTP 1.1 spec ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html), 304 Not Modified responses must include the ETag in the header. However, Tomcat doesn't seem to be adding it... I am serving a static text file,

I've been trying to unsubscribe from this list for years.

2007-05-17 Thread Keith Adams
No matter how many times I send a blank email to: [EMAIL PROTECTED], like the one I sent at 11.19 Eastern this morning, nothing happens. I use a rule to delete them permanently when I'm in Outlook, but when I use my company's web outlook, it can only move them to the deleted-items folder, which

Re: I've been trying to unsubscribe from this list for years.

2007-05-17 Thread Pulkit Singhal
You don't leave the mob and you don't leave tomcat users list. Just some humor. On 5/17/07, Keith Adams [EMAIL PROTECTED] wrote: No matter how many times I send a blank email to: [EMAIL PROTECTED], like the one I sent at 11.19 Eastern this morning, nothing happens. I use a rule to delete them

Re: I've been trying to unsubscribe from this list for years.

2007-05-17 Thread Rashmi Rubdi
When you send an email to [EMAIL PROTECTED] add the word Unsubscribe to the email's subject and body, that worked for me when I was trying to switch my e-mails. I think it sends you an additional e-mail to confirm unsubscription, reply to that one as well. Then you should receive a final email

UserDatabase security

2007-05-17 Thread Jerome Benezech
Hi, I have a question regarding Tomcat server UserDatabase on Linux. When choosing a MemoryUserDatabase, tomcat users and passwords are declared in a tomcat-users.xml file. The tomcat user running the server must have read permission on this file. At the same time, all webapps running in tomcat

Tomcat URL redirect ?

2007-05-17 Thread Jerome Benezech
Hi, Is there a way to configure Tomcat so that the URL http://www.mydomain.com/myapp would be the same as http://mydomain.com/mywebapp ? I noticed that Tomcat creates 2 directories under $TOMCAT_HOME/work/Catalina: $TOMCAT_HOME/work/Catalina/mydomain.com and

Re: Tomcat URL redirect ?

2007-05-17 Thread Jerome Benezech
Would something like this do ? Host name=mydomain.com appbase=... Aliaswww.mydomain.com/Alias Context.../Context /Host --- Jerome Benezech [EMAIL PROTECTED] wrote: Hi, Is there a way to configure Tomcat so that the URL http://www.mydomain.com/myapp would be the same as