A small update on the matter:
I've managed to track it down, but the details are rather application
specific, so I don't want to bore you, but the scenario looks as
follows:
- something posts a rather normal looking request to an url that is
yet supported but obsolete (should be actually served
it would probably be much easier to make this job a separate cron
process on one machine, or if it _must_ be in tomcat (why?) tie it to
an ip adress or server name, so the task just checks that it can only
run on tomcat1 or tomcat 10, or whatever...
Otherwise you'll need to check logs on all
Hello TC users all, I am attempting to employ:
mod_jk/mod_proxy_http/mod_proxy_ajp to proxy requests from my httpd to TC. I
have a .war deployed to accept the requests. I am having some issues with the
CSS content not getting rendered. Reading the TC doco I came across the
following Red
OS : RedHat Linux
Tomcat version : 5.5.20
Am able to configure the logging level at individual war files, by referring to
log4j.properties in web.xml.
Could someone let me know, how to configure the logging level also the file
appender type at global level, please ?
Thanks
From: Jay [mailto:difficult...@yahoo.com]
Subject: Logging configuration in Tomcat
Could someone let me know, how to configure the logging level
also the file appender type at global level, please ?
Not sure what you mean for at global level; if you're asking about Tomcat's
internal
Ok, thanks; I'll look into terracotta.
Lucas Galfaso wrote:
Hi,
This should be strait forward if you use terracotta. If you have a
NFS that all Tomcat instances share, using FileChannel::lock is way
cheaper than any other solution.
-lg
On Sun, Jan 11, 2009 at 2:30 AM, Rusty Wright
That's exactly how it is now; it's on what's called our app server which
is a single machine.
The problem with our app server is that the developers aren't allowed
access to it; the software is updated and installed by our production
control/release management team.
So, for example, if I
I made this by modifying one for a different service.
It's set up so that tomcat runs as the user tomcat. In order to do that you'll
need to tweak the ownership of the files in the tomcat directory. I just made
everything owned by tomcat except webapps, which I own, but which is group
owned
If you're looking for a way to have a central log4j file for all apps, that may
not be easily done. I don't know how it is now, but I remember that in
previous versions of tomcat sharing tomcat's logging was problematic, which I
think may have been due to Commons Logging.
But that's just my
Hello Rusty,
On Sun, Jan 11, 2009 at 6:10 PM, Rusty Wright rusty.wri...@gmail.com wrote:
The reason making it a web app appeals to me is that then I can have it log
to a database, and I can tweak its configuration via a web page. And I can
have a checkbox, disable/enable so I can turn it off
Too many bins; I meant /tmp/zzz (as it is in the script).
Rusty Wright wrote:
What options are available to you to determine if the daemon is ready?
For example, does it create a lock file? If so, you could modify your
tomcat startup script in /etc/init.d, the one that calls
Hmm, I see your point. I'll discuss it with others here and see what they
think.
Leon Rosenberg wrote:
Hello Rusty,
On Sun, Jan 11, 2009 at 6:10 PM, Rusty Wright rusty.wri...@gmail.com wrote:
The reason making it a web app appeals to me is that then I can have it log
to a database, and I
Hi,
I am running Tomcat 5.5 Server from a Windows Vista Home Premium OS.
When I try to print from a servlet and use the following code to get a
PrintService.
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
It return a null value.
However I am able to get the
From: Tan Raymond [mailto:hexad...@yahoo.com.sg]
Subject: Unsuccessful printing from Servlet
PrintServiceLookup.lookupDefaultPrintService();
It return a null value.
Are you running Tomcat as a Windows service? Try running it with the
startup.bat script instead; services don't appear to
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: Re: Memory Leak(?) causing tomcat to store 57610801
tomcat objects in ONE request
The other explanation would be a direct infinite loop in
the application, but that should also be visible in the
thread dump and its not.
Caldarale, Charles R wrote:
From: Tan Raymond [mailto:hexad...@yahoo.com.sg]
Subject: Unsuccessful printing from Servlet
PrintServiceLookup.lookupDefaultPrintService();
It return a null value.
Are you running Tomcat as a Windows service? Try running it with the
startup.bat script instead;
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Unsuccessful printing from Servlet
You can change the user under which the Tomcat service runs, using the
My Computer .. Manage .. Services .. applet.
Actually, I had tried that, setting my normal account via the tomcat6w.exe
Logon
Thanks Rusty.
I was hoping for a 'Java' solution ( as in 'OS independent').
The daemon is a java application (actually the activemq JMS broker);
Is there a way for me to have org.apache.catalina.startup.Bootstrap
block till it receives a JMS notification or some such? The desired
startup
From: uma...@comcast.net [mailto:uma...@comcast.net]
Subject: Re: Implementing service chaining with Tomcat6
Is there a way for me to have org.apache.catalina.startup.Bootstrap
block till it receives a JMS notification or some such?
I'm not aware of any Tomcat configuration settings that
Chuck
Thank you for the reply. This is what I was looking for.
My actual problem is that, as it is, catalina.out is growing and I want it to
be rolled once its size reaches the specified limit. In simple words, I want
something like, RollingFileAppender.
Could you let me know, how to
From: Jay [mailto:difficult...@yahoo.com]
Subject: RE: Logging configuration in Tomcat
My actual problem is that, as it is, catalina.out is growing
Sounds like your webapps are using System.out or System.err for their logging,
which is poor practice. They should be using a proper logging
hi.. i too have the same issue..
did anyone find solution?
Bernardo Cabezas wrote:
Hi Philip
Philip Wigg-2 wrote:
jk-8300 - Max threads: 200 Current thread count: 200 Current thread
busy: 199 Max processing time: 1667835 ms Processing time: 20958.227 s
Request count: 131357 Error
From: Hari Prasad [mailto:ursha...@yahoo.co.in]
hi.. i too have the same issue..
did anyone find solution?
1. JkOptions +DisableReuse
2. Use correct timeouts and CPing/CPong
I'd go with option 1. YMMV.
Mark
-
To
23 matches
Mail list logo