Jerome Benezech wrote:
> 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
Hi,
I have this error : javax.servlet.ServletException: Java heap space
But I can find how I can change this in catalina.sh.
Can you have the solution?
Cordially
Aurelien Allienne
> As far as I am aware you cannot resolve this problem
> except by switching
> to LDAP for your authentication. (Although I would
> be happy to be
> corrected!)
In this case, which user would be authenticated in
LDAP ? If th user connecting to LDAP is 'tomcat', the
issue remains no ?
>
> Which
As far as I am aware you cannot resolve this problem except by switching
to LDAP for your authentication. (Although I would be happy to be
corrected!)
For any larger scale hosting, LDAP provides a more secure solution.
(However it does add an extra point of failure). Any hosting solution
wher
Hi M.Hockings,
If you tell us exactly wot it is u trying to do maybe we can find a
solution... but here is an idea.
A session is just a cookie stored under the domain name... so JSessionID is
given a unique number like AABB445566778899 and that number is tracked.
When you store stuff in a sessi
Would something like this do ?
www.mydomain.com
...
--- 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
> http://mydomain.com/mywebapp ?
>
> I noticed that Tomcat creates 2 directorie
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
$TOMCAT_HOME/work/Catalina/www.mydoma
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 ar
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 w
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
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
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,
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 rewrit
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. URL
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 classes
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 o
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
http://www.linux
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 like
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 networ
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.
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
speci
> 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 create
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 Tomca
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
style
$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 successfull
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
>
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 tomcat-
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: mailtools#al
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: displ
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 . Is there a much more elegant way of shutting
> down tomcat, while still using jsvc???
jsvc -stop ...
Regards
m
Hi all,
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 . Is there a much more elegant way of shutting
down tomcat, while still using jsvc??? I feel that shutting tomcat down this
w
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
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,
http://tomcat.apache.org/tomcat-4.1-d
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 tag. I have placed my
custom error page in webapps/ROOT directory.
Thanks for your support.
On 5/17/07, Tim Lucia <[EMAIL PROTECTED]> wrote:
> -
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 PROTECTED]
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 mo
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 again
Edit the file tomcat-users.xml in your conf directory of tomcat.
Add roles using
Then add user
Close the file ... restart tomcat and close all browser instance and hit
http://localhost:8080/manager/html/list
username is admin password is admin ...
Let me know if this works
Regard
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 d
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
*messag
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 CATAL
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 t
> -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.x
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
Hello,
I need to do in Tomcat 6 the equivalent of these Resin 2 directives :
Thank you.
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 $CATALIN
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
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: [EMAI
48 matches
Mail list logo