2009/6/9 Bill Barker wbar...@wilshire.com:
Incidentally I discovered you can't welcome-file-list by having an empty
element, you have to have at least one welcome-file in there or the
default servlet will use the one in $CATALINA_BASE/conf/web.xml . Bug or
feature?
I'd say an enhancement
2009/6/9 Dick Eastlake dickeastl...@yahoo.com:
I currently start Tomcat with the Procrun Service Manager.
It's an app called Apache Tomcat Properties with six tabbed forms: general,
log on, logging, java, startup and shutdown.
To start Tomcat I press the start button in the general tab.
Issue : mod_jk apparently does not use the retries parameter when
“sticky_session_force” is set to false.
Configuration: Apache 2.0.53 (3 instances), mod_jk 1.2.28, 15 Tomcat 6.x
instances Load balanced , No Session Replication
Description:
Ours is a high load application and using default
definitiv möglicherweise?
Martin
Most likely ;), but what should the snippet tell me?
Alexander
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi,
Thanks for the responses both of you. The only reason I didn't
go for 1.1.16 is the readme.txt said that the latest stable version is
1.1.14. I've given 1.1.16 a try anyway, with the same problem.
I've also tried shutting down the service, then starting up the server
using
Just to nitpick, there is no proper capitalisation, since the RFC says
that headers are case-insensitive.
I know, I referred to proper as in what the target machine expects.
Apart from that, I would offer the following subjective advice, in the
form of suggestions :
- it sounds like you
On 08.06.2009 19:57, syed shah wrote:
Hi Christopher,
I want to do this cause i am handling the synchronization myself and infact
i am using innodb so
i dont want multiple instance of the servlet, although i can handle multiple
threads in there.
OK, then do not use SingleThreadModel,
On 08.06.2009 21:49, Alexander Diedler wrote:
Hi,
Since we modify our server to use mod_jk to serve sites there is an
error with a Tomcat Action, that requires a HTML Auth.
If we open the URL http://www.bla.de/?action=Import in a Browser, there
is a Auth-Dialog to fill in Username and
On 08.06.2009 22:15, Chris Markle wrote:
Folks,
Going to try this again since I got no reply to my first inquiry. I'd
like to log a bug report along the lines of request getAttributeNames
method does not return all request attributes (e.g.,
org.apache.tomcat.sendfile.support). Either that
--- Original Message ---
From: Joseph S j...@selectacast.net
To: Tomcat Users List users@tomcat.apache.org
Sent: 09/06/09, 01:58:45
Subject: Re: Problem with overriding the default servlet on tc 6.0.18
Joseph S wrote:
After restarting tomcat it started working by itself, but
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexander,
On 6/8/2009 12:34 PM, Alexander Müller wrote:
apparently? Hm, in this case I'd double-check whether whatever
problem you're having is indeed caused by the case of the header
names. Just to make sure you're not barking at the wrong tree.
Hi,
I'm running tomcat 6 and am having the problem that swallowOutput
doesn't work for my service threads (i.e. threads owned by the webapp,
created in ServletContextListener.contextInitialized() and managed
entirely by me).
I noticed that swallowOutput=true doesn't seem to affect these child
Can anyone help explain what is going on with the Tomcat link
creation/interpretation and what we could do to get this working correctly?
Apache Tomcat Version 5.5.26
JRE_HOME: /usr/java/jdk1.6.0_07
CATALINA_BASE: /usr/local/tomcat5
Running on Virtual Server VMWare
within a 64bit Windows 2003
Is it only certain headers that are a problem, or is it all headers?
If it's only some, you could specifically code these such that they are
handled with the desired capitalization, and pass everything else through.
Or, if there are some rules to the capitalization requirements (like the
Konstantin: That worked. Started throwing all kinds of
Java.security.AccessControlExceptions. Now I can get to work on the policy.
Many Thanks!
--- On Mon, 6/8/09, Konstantin Kolinko knst.koli...@gmail.com wrote:
From: Konstantin Kolinko knst.koli...@gmail.com
Subject: Re: Starting Tomcat 6.0
Ranier,
Yes, there are request attributes, that you can retrieve via
getAttribute(), but are not visible in getAttributeNames(). Those are
mostly somehow connector internal attributes, but yes, some of them can
be interesting to use in a webapp. Unfortunately this will not be easy to
fix,
Mark Thomas wrote:
--- Original Message ---
From: Joseph S j...@selectacast.net
To: Tomcat Users List users@tomcat.apache.org
Sent: 09/06/09, 01:58:45
Subject: Re: Problem with overriding the default servlet on tc 6.0.18
Joseph S wrote:
After restarting tomcat it started
We are having a memory leak in tomcat 6.0.18. We are using it as a client of
a Weblogic Server 10. We have monitored the memory consumed and we have
noticed that it grows up permanently. We have extended the memory VM
parameters till 1G and it's only a way to delay the end: the free memory is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 6/8/2009 1:51 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: how to force tomcat to make a single istance of a
servlet
Usually, only one instance of your servlet will be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Syed,
On 6/8/2009 1:57 PM, syed shah wrote:
I want to do this cause i am handling the synchronization myself
How are you managing the synchronization yourself? What needs to be
protected? Why can't you simply use synchronized access to a shared
Hi all,
I am trying to set the following system property/value in setenv.sh
com.sun.jndi.ldap.connect.pool.protocol=plain ssl
on Apache Tomcat/6.0.16, and I cannot for the life of me figure out
how to escape the quotes and get the server to start.
If I enclose the whole CATALINA_OPTS in
The IRI http://tomcat.apache.org/tomcat-5.5-doc/apr.html has the
information quoted below about the tcnative-1.dll.
Windows binaries are provided for tcnative-1, which is a statically
compiled .dll which includes OpenSSL and APR. It can be downloaded from
here http://tomcat.heanet.ie/native/
Joseph S wrote:
Mark Thomas wrote:
--- Original Message ---
From: Joseph S j...@selectacast.net
To: Tomcat Users List users@tomcat.apache.org
Sent: 09/06/09, 01:58:45
Subject: Re: Problem with overriding the default servlet on tc 6.0.18
Joseph S wrote:
After restarting
We use a tool called monit. It is very light weight and comes with its own
embedded web server. It integrates easily with init and can use existing
runlevel rc scripts to manage services. Best of all it is open source.
Thanks,
Anoop
On Mon, Jun 8, 2009 at 9:28 AM, Chetan Chheda
Derrick Koes wrote:
The IRI http://tomcat.apache.org/tomcat-5.5-doc/apr.html has the
information quoted below about the tcnative-1.dll.
Windows binaries are provided for tcnative-1, which is a statically
compiled .dll which includes OpenSSL and APR. It can be downloaded from
here
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bap,
On 6/9/2009 1:06 PM, Bap wrote:
I am trying to set the following system property/value in setenv.sh
com.sun.jndi.ldap.connect.pool.protocol=plain ssl
If I enclose the whole CATALINA_OPTS in single quotes, then the value
looks fine when
My companys web application uses log4j 1.2.8 for logging and have just recently
switched from Weblogic to Tomcat 6.0.18.
Since the we switched to Tomcat, when we do some logging within a servlet
private static final Log log = LogFactory.getLog(ExceptionHandlerServlet.class);
log.error(some
Konstantin Kolinko wrote:
2009/6/9 Dick Eastlake dickeastl...@yahoo.com:
...
Konstantin,
unless I am mistaken, the OP is just trying to protect some *pages* from
non-authenticated access.
You don't need the Security Manager for that, just stuff like
security-constraint in the webapp's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 6/8/2009 10:49 PM, Christopher Piggott wrote:
I just switched from Tomcat 5.5 to Tomcat 6 on an Ubuntu server.
Are you using the Ubuntu-managed version of Tomcat, or are you using one
that you installed from an official package from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 6/9/2009 9:46 AM, Christopher Piggott wrote:
I'm running tomcat 6 and am having the problem that swallowOutput
doesn't work for my service threads (i.e. threads owned by the webapp,
created in ServletContextListener.contextInitialized()
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas,
On 6/9/2009 3:31 PM, Imner, Andreas wrote:
My companys web application uses log4j 1.2.8 for logging and have
just recently switched from Weblogic to Tomcat 6.0.18.
Since the we switched to Tomcat, when we do some logging within a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 6/9/2009 9:49 AM, ledbettd wrote:
Inside both the header.jsp and footer.html files the same link is included:
/prds.jsp prds
Both the default.jsp and pudire.jsp files include the footer.html and create
the
Rainer, do you want to have a go at this one ?
Original Message
Subject: Re: [us...@httpd] 503 status seems to get cached - how do I
disable caching?
Date: Tue, 9 Jun 2009 15:37:25 -0500
From: Jenny Brown skyw...@gmail.com
Reply-To: us...@httpd.apache.org
To:
Christopher Schultz-2 wrote:
How about the code from footer.jsp (or header.jsp) that actually
generates the links?
%= response.encodeURL(request.getContextPath()
+ link text
Thanks for the help, Chris. The code in footer and header were just a list
of HTML A links, not real
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: swallowOutput=true not working. Why?
2) There was no host-specific one, so I added the file
/etc/tomcat6/Catalina/localhost/context.xml with the contents:
Context swallowOutput=true/
This file will control
Thanx for that, that sets the header for me, but to something static.
Only problem I have is I can't seem to figure out how to set it to the hostname
of the tomcat server, or a tomcat variable (set from the hostname of the server
- i.e. -Dmyjvmroute=`/bin/hostname -s` and then trying to use
Does the APR keep-alive poller have any effect if AJP (native jk
connector so that web server can be used) is *not* used? Are all the
underlying sockets managed by the poller even if AJP is not in use?
This isn't clear in the Professional Tomcat 6 book (only reference other
than online docs I
I'm looking at a new web hosting they give Private JVM Heap Size what is the
min jvm heap size would you go with ?
(By the way, did you solve your other problem of not getting *any*
stdout output swallowed when swallowOutput=true?)
Yep. I put it in what is essentially $CATALINA_HOME/conf/context.xml
which means it's server-wide and not host-specific ... and as you
pointed out, is a setting for all webapps.
Y
On Tue, Jun 9, 2009 at 3:45 PM, Christopher
Schultzch...@christopherschultz.net wrote:
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.target=System.out
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
I've
Hello,
This is an urgent request. Any feedback is really appreciated.
I have two web applications (let us call main app., and helper app.) running
on Tomcat with an Apache server in from of Tomcat. Both Apache and Tomcat
are running on the same host. The first web app on Tomcat is running as
my tomcat6 service unable to startup with error 0 code. i already tried put
msvcr71.dll in tomcat/bin directory. still the same
i'm using tomcat 6.0.18 with windows xp 32bits system
in console, i able to start up the tomcat, but not on service. any suggestion
what i missed out?
my process
Derrick Koes wrote:
Does the APR keep-alive poller have any effect if AJP (native jk
connector so that web server can be used) is *not* used?
Yes, there is Http11AprProcessor and Http11AprProtocol classes.
In case of http the socket is put in the poller during
connection Keep-Alive stage. This
43 matches
Mail list logo