Hi all,
Using tomcat 5.0.28 embedded in an application server. In this tomcat, I have
an application in which classes and libs are symlinks to other parts of the
FileSystem.
I tried several AllowSymlink configurations (inside contetx, outside context,
etc.) and several catalina.policy
Hi!
I simple add this lines (in bold) to server.xml
Ok, as ususal, the problem was that the application server used an API that
do not restart tomcat but simply restart the Catalina Engine, so it was not
reading the conf files.
Your hellp helped me to search somewhere else for the problem.
You need to give the CATALINA_HOME ad such variables, I think.
Some versions of sudo do not transmit environment variables.
François.
-Original Message-
From: Fay, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 12:19 AM
To: 'Tomcat Users List'
Subject: shutdown
I have two machines with two ethernet inetrfaces. On the first machine, the
multicat annouces are made on eth0 (private network) and on the other one on
eth2 (publmic network). Setting mcastBindAddr does not correct this
behaviour. I can't see what can force tomcat to use the private interface on
Francois JEANMOUGIN :
I have two machines with two ethernet inetrfaces. On the first machine,
the
multicat annouces are made on eth0 (private network) and on the other one
on
eth2 (publmic network). Setting mcastBindAddr does not correct this
behaviour. I can't see what can force tomcat
I have this error, a lot of time, on an application. Anyone knows where it
can come from?
Apr 27, 2005 7:02:37 AM org.apache.commons.modeler.Registry
unregisterComponent
SEVERE: Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at
Peter Rossbach :
Hello Francois,
I have implemented a new restart algo at the current Tomcat 5.5 cvs head.
Compile it and test it. I hope then this strange failure is gone. :-)
Hello,
Thank you for your kind help, but the site is a production site, I really
can't try an unstable (or not
Hi,
I have several webapps using the TCP sessions cluster. It works well but
fails for one application. If I try to restart a tomcat (on node), I have a
lot of problems at startup.
We are using jakarta-tomcat-5.0.28 and jdk-1.5.0_02 on linux.
First, it fails to receive HeartBeat.
INFO:
Okay, but I don't get jk1 for apache2 as a ready debian-package.
I prefer ready-built packages, because otherwise I could miss some
important compiling options or get some version-dependancy-errors or such.
It is an open bug in debian. For a reason I don't know, they made a
correlation
That's why I use catalina.base and catalina.home (CATALINA_BASE and
CATALINA_HOME) as described in RUNNING.txt so that tomcat installation is
independent of webapps installtion. I just have to take care about syntax
incompatibility in server.xml (for example).
The method is described in
(4)
java.lang.ClassNotFoundException: org.apache.catalina.Container
Ouch! Are you sure your tomcat installtion is OK? You could have a version
mismatch (between TC4 and TC5) or a jar found at two places or any other
reason why tomcat can't find this class. This is not an XML issue, this is a
class
Hi all,
Continuing to try to implement AJP13 for Apache2.0.50 and tomact5.0.27, I
just found that the documentation for the AJP connector remain incomplete for
me. The link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
states that:
The standard implementation of AJP Connector
Hi all,
Sounds like something old. I just tried to put one of our applications behind
apache (2.0.50) using mod_jk (1.2.6) on linux. We have a problem with
pictures posted (method POST, content-type multipart/form-data). The error on
tomcat is :
2004-08-16 11:32:22,698 [TP-Processor6] ERROR
Hi everyone,
Sorry to bother you, but at the end of the page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
There is a broken link to:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/
It is not that I need a so special configuration at the time, but I am lost
Hi all, I have this strange error :
SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new
native thread) executing [EMAIL PROTECTED],
terminating thread
I use those parameters :
-verbose:gc -Xms756m -Xmx1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
And the ParNew before
Hi all,
Using various tomcat versions, I found that Host definitions in tomcat are case
sensitive. This is annoying. It does not follow RFC 2616 (HTTP1.1 definition, Host:
header) and makes some wap terminals fall in finding some servers (they do not lower
the domain name while writing the
I think they are, because it finds the commons-digester.jar! In fact I use
both CATALINA_BASE and CATALINA_HOME, but Catalina.jar is in the same
directory with the same permissions as commons-digester.jar, which is
used, clearly.
'can't understand.
For those interested, someone added old
Hi all,
I really can't find what I've done wrong in copying the tomcat environement from one
machine to another. I have this exception (with standard server.xml) :
Mar 11, 2004 12:29:36 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
-Original Message-
From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 2:23 PM
To: 'Tomcat Users List'
Subject: RE: Strange exception at tomcat 4.1.29 startup
Maybe path, libraries or environment variables are different.
Well, maybe, but it
To be clear, in the beginning of the exception, you see that
org.apache.commons.digester.Digester is loaded. It is in the file :
server/lib/commons-digester.jar
StandardServer is in the file :
server/lib/catalina.jar
(unzip tells me everything is fine in this jar :
testing:
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 4:10 PM
To: 'Tomcat Users List'
Subject: RE: Strange exception at tomcat 4.1.29 startup
did you copy the startup scripts as well, from the old machine, and did
you alter those scripts
it compiled well, but can't load. Is there any util to see all symbols
of library?
Try ldd :
$ ldd mod_jk.so
libc.so.6 = /lib/i686/libc.so.6 (0x4200)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
Nothing obvious :).
François.
Hi all,
Just a little (simple) question :
I have (from my well known so called developers) several web applications. In
additions to the web applications, I have several virtual hosts. God. Several
Host are pointing to the same context (same Context path, docBase, appBase). So, now,
the
From: Remy Maucherat [mailto:[EMAIL PROTECTED] :
Sent: Tuesday, March 02, 2004 4:33 PM
[...]
I think I would deploy your context in the same way that the manager is
deployed, but I have a bit of trouble imagining your setup.
Exactly. It is the same way the manager would be deployed. How is
From: Remy Maucherat [mailto:[EMAIL PROTECTED] :
Is this really needed ? Many (most) context related container
configuration stuff can be put in context files.
Reloading server.xml is not supported without restarting the whole
server, and there's the possibility of messing with the config
From: amit varshney [mailto:[EMAIL PROTECTED]
Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: memory leak in tomcat 5.0.16 ?
There is a known memory leak in 5.0.16, I'd upgrade to 5.0.18 and see if
this fixes your problem.
Note
-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:04 PM
Would someone please decipher the following line in
$CATALINA_HOME/logs/catalina.out?
[GC 28827K-22937K(64896K), 0.0062130 secs]
A GC (not a Full GC) freed 6MB of unused
Hi all,
In http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
It is written :
If you have Tomcat configured to support multiple virtual hosts (websites) you would
need to configure a Manager for each.
Bu I would NOT! :). All the applications (and so the websites) of a specific
-Original Message-
The other day Tomcat threw an OutOfMemoryException. This is our
development version of Tomcat. Looking at the Windows processes revealed
Tomcat at 158MB.
Let me do some divination. You are using a SUN Jvm, with no Xms nor Xmx parameter. So,
the memory allocated
hi,
How can we run the tomcat as root, where we can configure it
For which bad reason do you want to do this bad thing?
François.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
If it's the latter, tomcat ships with commons-daemon
(http://jakarta.apache.org/commons/daemon) which allows you to run
listening to port 80 on unix system. I could swear we have a specific
how-to on the issue, but you might just have to settle for the daemon
docs for now.
Because I started
I have this strange error in tomcat4 :
java.security.AccessControlException: access denied
(java.util.PropertyPermission catalina.base read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at
And this is from strace log:
16313 open(/proc/stat, O_RDONLY) = -1 EACCES (Permission
denied)
16313 open(/proc/cpuinfo, O_RDONLY) = -1 EACCES (Permission
denied)
16313 open(/proc/meminfo, O_RDONLY) = -1 EACCES (Permission
denied)
16313 open(/proc/self/stat, O_RDONLY) = -1
Hi,
Do u know how to access a microsoft access database located on a
windows
machine from a j2ee application running on Tomcat on a Linux machine ?
Thanks
There is an official JDBC form Microsoft. Not that bad. You need to define a
connection pool for best performances.
François.
It exists, but you're probably blacklisted on it :)
-Message d'origine-
De : Hart, Justin [mailto:[EMAIL PROTECTED]
Envoyé : lundi 17 novembre 2003 15:03
À : Tomcat Users List
Objet : RE: Testing] Am I blacklisted?
Could I suggest the formation of such a list?
j/k
Justin
0SECTION XHPI subcomponent dump routine
NULL ==
1HPTIMEWed Nov 12 08:19:26 2003
1HPSIGRECV SIGSEGV received in ?? at 0x41cc8e85 in
/opt/IBMJava2-141/jre/bin/libjitc.so. Processing
terminated.
1HPFULLVERSION J2RE 1.4.1 IBM build
Hi all,
In the doc, I can read :
Persistent Manager Implementation
WARNING - Use of this Manager implementation has not been thoroughly tested, and
should be considered experimental!
Wel, well, well. Is the documentation outdated or may I use it blindly? What sort of
DB could anyone advice
I don't know what system you are using and how you are working with the other team. I
would share the shared directory (via NFS on UNIX).
François.
Hi,
but in development, where both projects may be updated all the time,
I'd prefer to skip the extra overhead of either jaring all files,
or
web app classpath in server xml?
Thanks for the reply.
You mean its possible to map several directories to one (the lib
folder) in
unix?
We are using windows 2000 machines however, no can do :(
-Original Message-
From: Francois JEANMOUGIN
[mailto:[EMAIL PROTECTED]
Sent: den 6
Hi all,
I would like to use an SQL backend for the tomcat sessions like documented in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html
I see :
create table tomcat_sessions (
session_id varchar(100) not null primary key,
[...]
The DBA says that setting a primary key
-Message d'origine-
De : Robert Charbonneau [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 31 octobre 2003 06:17
À : Tomcat Users Mailing List
Objet : Opinions
Does anyone have an opinion of Tomcat running in a very high traffic
environment, let's say, 100K - 500K unique
org.apache.commons.dbcp.DbcpException
: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC]Unable
to connect. Invalid URL
The URL is invalid.
valuejdbc:microsoft:sqlserver://192.168.0.12:1433/Northwind/value
Here is the URL
On my servers, my devs are using:
No, you're right. You can make Apache listen on port 80 while running
as root because it'll change the process' ownership when it opens a
new
connection. There is no portable way of doing this in Java; therefore,
Hey! And they call it an advanced language?
you have to run Tomcat as root
Right and wrong ;-). Tomcat 5 ships with the (source for) commons-
daemon,
which gives Tomcat this same capability on *nix boxes. Of course,
commons-daemon works with Tomcat 4.1 and Tomcat 3.3 as well (as well
as any
other Java programs that need this feature).
Oh. Could you please
It's a little thin, but what there is is at
http://jakarta.apache.org/commons/daemon/
Hu! It's in early developments or is it suitable for production ?
And, in a sysadmin point of view, what does that means:
There two ways to use jsvc: via a Class that implements the Daemon interface or via
yes, you lack quite some features if you stick to those.
but just imagine the features you lack by not knowing java.
I don't think anyone will dare to rewrite the C code of apache to
change its behaviour. I feel it's a week point of apache :-)
Well, I think I'm a shameless troller. Anyway,
Hu! It's in early developments or is it suitable for production ?
It's ready for production. People are already using it in production
with tomcat 5. Of course, I'm biased ;)
Well, there is that beta flag in front of tomcat5 that tell me that your opinion is
more than biased :). Of
Your question, and my answer regarding ready for production, was for
commons-daemon itself. I also happen to believe* tomcat5 is fine: the
only reason it's beta and not stable is the specs aren't out.
* = I voted for beta, not stable, for this reason.
OK.
Sorry I couldn't help you
I assume you've read the JSVC page at
http://jakarta.apache.org/commons/daemon/jsvc.html.
Yes.
I also assume you've downloaded, installed tomcat5 (5.0.14
preferably),
so you can see how jsvc is used there.
No, I hope to find it the doc before. I'll try.
What, beyond the above
Francois,
can you tell me more about this:
Tomcat 4.1.27 bug when running at the MaxConnector limit
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21763
I have to check the changelog but it should be closed in (freshly released) 4.1.29.
François.
(Where the hell did 4.1.28 gone
-Message d'origine-
De : Daniel Gibby [mailto:[EMAIL PROTECTED]
Envoyé : lundi 27 octobre 2003 17:19
À : Tomcat Users List
Objet : Re: Tomcat in combination with SMP and Sun java 1.4.1-01 or
IBM java 1.3.x?
See thread tomcat jitters than hangs.
Set environment variable for
What actually happens for me is that all java processes die but one.
This one process keeps the HTTP port
open but does not serve any requests made to the application.
This is a known bug, as far as I know, there is a bugfix that will be included in
4.1.28 (hopefully released soon). The story
When I run the same application on a uniprocessor (either a athlon
2400xp+ or single PIII550)
the application runs stable for weeks, any idea's what might cause the
problem?
We found the same, and if you look at the traces, it appears to be a JITC problem. So
probably a bad optimization
Francois,
If you've solved this problem, please disregard this message. I've
marked
this issue as off topic because it relates to Linux and not Tomcat.
Well, counting FDs is linux related, but why is there so much FDs opened could be
tomcat related (even if, as a bofh, I would say it's
I would suggest that you always run tomcat as the tomcat user, and
make
developer and root start it as the tomcat user.
That can be easily done with a startup script instead of calling
$TOMCAT_HOME/bin/startup.sh directly or whatever it is.
I would make sure that the directories all have
I would guess that it's quite unperfomant the way you do it.
You should at leat read and write bigger chunks (1K to 8k
are common values.
Really efficient values are FS blocksize (linux defaults to 4096b).
No?
François.
Hi all,
One of my developers reached the limit of file descriptors using tomcat. With no more
than 400 clients at a time and 500 threads, we have more than 20 (two hundred
thousands) of FD opened. As far as I can read (just try to read a lsof output with
more than 20 lines), each
-Message d'origine-
De : Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 22 octobre 2003 15:09
À : Tomcat Users List
Objet : RE: linux : Limit of file descriptor
Those are shared fd's.
Nope, those are real FDs
(Otherwise you would have hit the limit much earlier
For what it is worth, we run vanilla RedHat 8.0 servers and have to
bump
up the number handles available to Tomcat using ulimit, (otherwise it
is
limited to ~1024). We have a complex application that does a lot of
proxied access work. Despite that, we have only run out of file
descriptors
Francois:
H. Are you running with a fronting web server, (i.e. Apache, IIS,
etc), or Tomcat stand alone?
Standalone.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Message d'origine-
De : Zhao Hui [mailto:[EMAIL PROTECTED]
Envoyé : mardi 21 octobre 2003 01:35
À : Tomcat Users List
Objet : Re: tomcat jitters, then hangs - please help
Hi folks,
We encountered the same problem where tomcat on our linux box will
hang
occasionally after
I believe that I am having the same problem with IBMJava,
Be careful that, according to IBM documentation, 1.4.0 and 1.4.1 do NOT handle the
libpthread so-called optimizations the same way. Please give your version of the Jvm,
thanks.
François.
I couldn't figure out how to restrict Coyote/JK2 AJP 1.3 connector to
the local loopback interface.
Actually, I would expect the default settings in workers.properties
(worker.ajp13.host=localhost) to only bind to the local loopback
device,
You should try the address attribute under the
Hi,
LD_ASSUME_KERNEL
Problem: Tomcat Server becomes unresponsive to new requests after
several
hours, regardless of load.
OS RH9; Tomcat 4 or 5; VM Sun or IBM (JDK 1.4)
Solve: (tcsh): setenv LD_ASSUME_KERNEL 2.2.5
[...]
Q: would the assume kernel 2.4 work as well ? I believe it would,
Yoav,
So then if there is a DoS vulnerability in the normal jakarata tomcat
4.0.x distributions, would the developers consider that important
enough
to be looked at/fixed? I'm just trying to figure out whether the
vulnerability in the debian tomcat would affect the normal jakarta
Yes, but modifying org.apache.catalina.logger.FileLogger is clearly a
tomcat developer concept :). Of course, if I could, I would. I
remember
a
Not for this list, it's not. Many tomcat users modify/extend/create
their own Loggers, Valve, Manager, and other tomcat plug-ins.
Okay, here I
From : Stefan Gybas [mailto:[EMAIL PROTECTED]
Please read http://bugs.debian.org/215506, I have explained there why
we can't upgrade to a new upstream release for security updates.
Sorry. I didn't notice the change in the dependencies. Well, 4.0 users should consider
using apache frontend
Hi all,
I'm new to this list, and, of course, I have a question. I try to make a
LinuxVirtualServer with several tomcat instances. So, I have servers with tomcat, Jvm,
etc, installed (formerly JAVA_HOME and CATALINA_HOME) and I find the CATALINA_BASE
directories on a file server. That is,
Well, I answer to myself, I expect to convince myself from my own existence...
What I would like to do is to use a variable in the attributes of the Logger
definition (either prefix or suffix). I don't know if I could do it using XSL (and if
I could, I don't know how to) or if you have a better
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 16 octobre 2003 17:12
À : Tomcat Users List
Objet : RE: Customizing Logger file names
Herk. Sorry for the header...
Howdy,
Grunt.
What I would like to do is to use a variable in
-Message d'origine-
Howdy,
Grunt.
Huh?
Sorry. Kind of private joke.
So the server.xml file is the same for multiple servers, but the
logging
directory is also the same for all the servers? I assume it's a
directory other than $CATALINA_HOME/logs, then? You could
72 matches
Mail list logo