Hi,
We are using Tomcat 6.0.24 running on two different machines. In our
workers.properties file, we have
worker.worker1.fail_on_status=500,503
to cause instances to gracefully fail over if there is a problem on one
instance. This is great, but if one app server is repeatedly failing over
to
3:32 PM, laredotornado wrote:
We're using 6.0.24, running on two servers. In our workers.properties
file
on the web server, we have ...
===Begin workers.properties ==
worker.lbroute.balance_workers=worker1,worker2
worker.worker1.type=ajp13
worker.worker1.host
Hi,
We're using 6.0.24, running on two servers. In our workers.properties file
on the web server, we have ...
===Begin workers.properties ==
worker.lbroute.balance_workers=worker1,worker2
worker.worker1.type=ajp13
worker.worker1.host=ip_addr1
worker.worker1.port=8000
Hi,
We're using Tomcat 6.0.24. We would like Tomcat to kill stuck threads after
a certain period of time, but Tomcat doesn't appear to be doing this.
Specifically, when the database doesn't return results, the connections just
build up. Here are our settings in workers.properties
You mean set timeouts at the database level? What if the Tomcat thread is
hung for some other reason? Is there any setting that will cause Tomcat to
kill a thread if that thread is stuck? - Dave
Mark Thomas wrote:
On 02/02/2011 15:22, laredotornado wrote:
Hi,
We're using Tomcat
Hi,
I'm using Tomcat 6.0.26. Where is it configured, or where do I look to see
what files Tomcat has served? I'm trying to make sure Tomcat is not serving
static files that Apache can serve more efficiently.
Thanks, - Dave
--
View this message in context:
I haven't done any benchmarks, and I'm assuming some of the folks on this
thread are the Tomcat developers and can speak first hand to the speed. If
so, I would encourage you to update the wiki ...
http://wiki.apache.org/tomcat/FAQ/Connectors
because it mentions that Apache is faster at
=true
Konstantin Kolinko wrote:
2010/10/6 laredotornado laredotorn...@gmail.com:
Hi,
I'm using Tomcat 6.0.26 with Java 1.6. I'm getting a strange
NullPointerException from a Tomcat class. My code is …
if (request != null
request.getParameter(FORM_SUBMIT_SITE_NAME
Hi,
I'm using Tomcat 6.0.26 with Java 1.6. I'm getting a strange
NullPointerException from a Tomcat class. My code is …
if (request != null
request.getParameter(FORM_SUBMIT_SITE_NAME +
FormSubmit) != null) {
and the stack trace is below. I have verified I'm not passing a
Hi,
I'm using Tomcat 6.0.26. I'm noticing that when our JSPs pages are served,
we frequently have ?s where apostrophes should be. We think this is
because the database-driven content contains the Microsoft style apostrophe.
My question is, if I adjust the character encoding on Tomcat, will
Hi,
I'm using Tomcat 6.0.26, Java 1.6 on Linux kernel 2.6.18-164.11.1.el5. I'm
trying to figure out if there if we can figure out how much of our allocated
heap memory is actually being used. Grateful for any thoughts you might
have, - Dave
--
View this message in context:
Hi,
I'm using Tomcat 6.0.26 on Red Hat Linux. How do I count the number of
Tomcat threads currently executing?
Thanks, - Dave
--
View this message in context:
http://old.nabble.com/How-to-count-number-of-active-threads--tp29270494p29270494.html
Sent from the Tomcat - User mailing list
Hi,
I'm using Tomcat 6.0.26, Java 1.6 and wondering what tools/strategies you
use to tune your garbage collection parameters?
Further, does anyone know how to read entries in the garbage collection log?
Entries in my log look like
Desired survivor size 10944512 bytes, new threshold 1 (max 15)
Hi,
I'm using Tomcat 6.0.26. I want to map all of my /play/sports/* files to a
servlet, except the subdirectory, /play/sports/includes/*. I don't know how
to specify not in a mapping, so I only have ...
servlet-mapping
servlet-nameSportsSearchServlet/servlet-name
I like your idea about specifying the DefaultServlet, but what do you mean by
the DefaultServlet ? - Dave
n828cl wrote:
From: laredotornado [mailto:laredotorn...@gmail.com]
Subject: Servlet mapping question -- way to include everythign EXCEPT a
directory?
I don't know how to specify
the other apps would continue to use the old version? - Dave
Pid * wrote:
On 27/06/2010 20:04, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26. There is one JAR file I repeatedly rebuild and
deploy and I was wondering if there is any way, obscure or otherwise, to
deploy this JAR file
Hi,
I'm using Tomcat 6.0.26. There is one JAR file I repeatedly rebuild and
deploy and I was wondering if there is any way, obscure or otherwise, to
deploy this JAR file without having to restart Tomcat.
Thanks for any insights, - Dave
--
View this message in context:
additional query params?
Thanks, - Dave
Pid * wrote:
On 24/06/2010 19:24, laredotornado wrote:
I tried this too and still got the 404.
servlet-mapping
servlet-nameMusicVenueServlet/servlet-name
url-pattern/play/music/venues/*/url-pattern
Hi,
I'm using Tomcat 6.0.26. I'm having an issue mapping a url-pattern to a
servlet and was wondering if you can see what I'm doing wrong. In my
WEB-INF/web.xml I have
servlet-mapping
servlet-nameMusicVenueServlet/servlet-name
tried escaping the period in the file extension (\.jsp), but no
luck. Any ideas how to troubleshoot the problem further? - Dave
n828cl wrote:
From: laredotornado [mailto:laredotorn...@gmail.com]
Subject: Servlet mapping issue
url-pattern/play/music/includes/venue-listing/url-pattern
You
Hi,
I'm using Tomcat 6.0.26. I notice that when I define an error page for my
JSPs
%@ page errorPage=/error-pages/500.jsp %
The error page gets called properly, but the stack trace of the error is no
longer written to my localhost log file, where it used to be output before I
inserted the
to consider changing your approach
to incorporate filters/servlets for some of your processing...
On Wed, May 26, 2010 at 1:26 PM, laredotornado laredotorn...@gmail.com
wrote:
I tried your suggestion, and sadly it didn't work.
What is the difference between what the errorPage directive does
Armbrust wrote:
On Wed, May 26, 2010 at 12:26 PM, laredotornado laredotorn...@gmail.com
wrote:
I tried your suggestion, and sadly it didn't work.
What is the difference between what the errorPage directive does and what
the web.xml error-page clause does? - Dave
I don't think
of the page
%@ page contentType=text/html; charset=UTF-8 isErrorPage=true
On Thu, May 27, 2010 at 12:06 PM, laredotornado
laredotorn...@gmail.comwrote:
Actually that is directly related and I'm seeing the same exception in my
logs. Thanks so much for this -- I would have been spending a lot
Hi,
I'm running Tomcat 6.0.26 on Mac 10.6.3. I have this in my WEB-INF/web.xml
file ...
error-page
exception-typeException/exception-type
location/error-pages/500.jsp/location
/error-page
but when I create a JSP page with
%=
-typejava.lang.Exception/exception-type
location/error-pages/500.jsp/location
/error-page
Good luck,
--
Dave Cherkassky
VP of Software Development
DJiNN Software Inc.
On 26/05/2010 10:34 AM, laredotornado wrote:
Hi,
I'm running Tomcat 6.0.26 on Mac 10.6.3. I have
, laredotornado wrote:
Thanks for this suggestion. Just to be sure I'm understanding correctly,
the procedure would be
1. Add an error-page element to my xml doc that will be visited whenever
an
exception is generated from my JSP or servlet.
2. Configure valve to output a stack trace
: SHA1
Dave,
On 5/20/2010 5:30 PM, laredotornado wrote:
Is there a way to configure Tomcat to record what the URL was in the
browser
when this error occurred?
Do you have any error-page elements in your web.xml? Do you have
custom error pages? If you do, the best place to put this kind
Hi,
I'm using Tomcat 6.0.26 on Mac 10.3.6. In our localhost file, we often get
exceptions that resemble ...
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at
org.apache.jsp.play.music.news.details_jsp._jspService(details_jsp.java:456)
Hi,
I'm using Tomcat 6.0.26. I wanted to know if there was any setting that
would cause the compiler to complain if an EL variable was never defined.
For example if I have
p${resul}/p
the result will be p/p because I haven't defined resul in any
scope. I was hoping an exception
Hi,
We are using Tomcat 6.0.26. We want to be able to get some kind of report
of the errors that are being spit out to our localhost file (and
catalina.out as well, but localhost is the priority). Do you know of any
tool that can produce a report saying, This error occurred X number of
times
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. I'm troubleshooting a
NullPointerException occurring in one of my JSPs and all I'm told from the
stack trace is what line of the compiled Java file it occurred in. However,
I can't find this file anywhere on my file system. Where do they usually
get
Hi,
Im running Tomcat 6.0.26. In my app, I'm getting a
java.lang.ClassNotFoundException: javax.validation.ValidatorFactory
exception. Does anyone know where to find the ValidatorFactory class? More
generally, is there a web site taht will tell me what JAR a particular class
belongs to?
Is this just the documentation ? I'm not able to find the JAR file to
download from this page.
Thanks, - Dave
Joseph Morgan-2 wrote:
http://jcp.org/en/jsr/detail?id=303
-Original Message-
From: laredotornado [mailto:laredotorn...@gmail.com]
Sent: Thursday, April 22, 2010 12
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat to generate simply localhost.log for whatever day today
Hi,
I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to use
http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/
directory. However, when I visit http://localhost/index.jsp, I just get the
raw page with all the uncompiled, JSP code. Below is the directive I'm
What specifically is wrong? Why are the pages being served without being
compiled?
Thanks, - Dave
Konstantin Kolinko wrote:
2010/4/15 laredotornado laredotorn...@gmail.com:
Hi,
I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to use
http://localhost/ to access content
Hi,
I'm using Tomcat 6.0.26 on a Mac 10.6.3. Where is the best place to store
the CATALINA_OPTS environment variable? I'm running Tomcat as a daemon on
my system.
Thanks, - Dave
--
View this message in context:
Yes, what is the best place to set it.
I have created a script under /Library/LaunchDaemons/.
Thanks, - Dave
Pid * wrote:
On 14/04/2010 15:20, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26 on a Mac 10.6.3. Where is the best place to
store
the CATALINA_OPTS environment
Hi,
I've installed Tomcat 6.0.26 on my Mac 10.6.3 system. I'm trying to run it
as a daemon on system startup and I was following the instructions here --
http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-JSVC. But the site
says to untar the ~/Downloads/tomcat-plist.tar.gz file and I can't
40 matches
Mail list logo