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
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:
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
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
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
-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
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
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
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
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
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
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
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
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
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]
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,
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
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
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:
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:
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
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 $?
$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
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
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
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
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
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.
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
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
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
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
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
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.
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
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,
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
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
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
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
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
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
42 matches
Mail list logo