If you are using the JIO Connector (the default if APR isn't installed),
then you should just be able to specify keystoreType="PKCS11" on the
element, and configure the PKCS11 setting as in the JCE
documents for your Java vendor. If you have more than just the one Tomcat
key, then you will al
I had problems with Windows Service Installer too, I'm not sure if it
was my mistake.
I don't remember if I forgot to stop and start Tomcat properly, or if
the JAVA_HOME was set correctly.
So, to solve the problem I uninstalled Tomcat , and got the ZIP
archive. With the ZIP archive there haven't
On 5/31/07, Ralf Schneider <[EMAIL PROTECTED]> wrote:
I use the above configuration and have a problem when the Tomcat is restarted.
Then the Apache does not forward the requests until it has been restarted
too.
What's your ProxyPass retry set to?
--
Hassan Schroeder
Hi All,
I was wondering if any of you had experience with this. I want to add a form
on the homepage of an application that allows the user to quickly log in
(see below) and take them to the protected page. I've never done this before
and unfortunately the form below doesn't seem to work, it basi
Hi all,
I've installed Tomcat 5.5.23 on a RedHat AS 4. Tomcat is communicating
Apache by mod_jk.
It just stop running last night and I have to run it again today's
morning.
I've found some messages from Tomcat log file, catalina.out.
31/05/2007 20:22:40 org.apache.coyote.http11.Http11B
Hi Rob,
check catalina.out, there should be some message of
log4j complaining if it has been loaded but cannot work.
You may also add -Dlog4.debug to the java command line,
this makes log4j output debug messages on stdout.
If you don't see any output of log4j, then I'd suggest
calling java with
Hello,
I was looking at the following:
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
and I was wondering if there is an update to the section
"Using Tomcat auto-configure" for Tomcat 6.x as the text explicitly
states the following:
"Please note that this example
tomcat and java versions would help a lot :-)
Leon
On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
We have been experiencing a problem where Tomcat causes CPU usage to go to
100%. This slows down our web servers. Has anyone else ever experienced such
a problem?
We average 150 acti
Hi,
I use the above configuration and have a problem when the Tomcat is restarted.
Then the Apache does not forward the requests until it has been restarted
too. Is there a solution for this problem preventing from manually restarting
the Apache?
Best regards,
Ralf.
--
Well I found one problem with my workers.properties, but it didn't fix
my problem. I used the deprecated 'balanced_workers' on my load
balancer configuration instead of the balance_workers. So I'm still
stuck, any suggestions?
Tim Alberts wrote:
I have two tomcat servers (5.5.23) and running
I have two tomcat servers (5.5.23) and running mod_jk (1.2.20) with load
balancing behind apache. I have a web application that needs to
maintain session information. What I'm seeing is that the load balance
is alternating requests between the servers equally, as expected, but
sessions are ge
Exactly what I was looking for - thanks!
Robert
On 5/31/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
check out AccessLogValve
Filip
robert lazarski wrote:
> Hi all, I have a requirement to get in our logs some data - in Apac
getting a little off-topic (but on-topic for your other post): don't
you have a test-server with the identical environment as the
prod-server where you could try to recreate the same race-conditions?
cheers
gregor
-
Yes, but I don't have the traffic or re
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
check out AccessLogValve
Filip
robert lazarski wrote:
Hi all, I have a requirement to get in our logs some data - in Apache the
log format is:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{forensic-id}n\"
Hi all, I have a requirement to get in our logs some data - in Apache the
log format is:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{forensic-id}n\" \"%{X-ClientSide}" combined-ClientSide
How can I get that type of data into tomcat's logs? I have APR running if
th
Tom, Charles is correct about using the binary distributions at
tomcat.apache.org. There isn't a lot of need to use rpms since there
are extremely few dependencies. The only one I can think of for a base
install is Java. The only other setup you need to do is to set
JAVA_HOME and then run s
Hello,
I would like to use TOMCAT 6 as an HTTPS server on our windows/linux
servers, using a PCI based PKCS11 token that stores the keys for TLS
connectivity. Up until now, we've enabled TLS connections using the
keystoreFile/keystorePass, truststoreFile/truststorePass attribute pairs
in server
hi barry,
thanks for the offer, but i guess i've found the solution:
we're using around 15 different servlets, each making use of it's own
datasource belonging to a different connection-pool:
so it looks, as if the message always shows up when each pool is
created, meaning, you're right with yo
> From: Tom H [mailto:[EMAIL PROTECTED]
> Subject: rpm for tomcat 5.5 compatitble with java 1.6
>
> Are there are repositories maintaining a Tomcat 5.5 that is
> compatible with the Sun java SE 1.6 rpm available at the moment?
Sure - use a real Tomcat download:
http://tomcat.apache.org/download
Hi,
I have been asked to install tomcat 5.5 with Java 1.6 on a box for a
developer. I was hoping to stick with RH packages, but this combination
does not seem to be available yet.
Are there are repositories maintaining a Tomcat 5.5 that is compatible
with the Sun java SE 1.6 rpm available at
and unfortunately, as I'd posted in a reply with a different topic you might
have seen, there's (at the moment) no way for me to see the console in the prod
setting, so I can't verify that's happening, but I'd be inclined to think with
my current configuration that message is only getting gener
maybe I've set or allocated enough (about 100) connections so I only get that
once?
I'd be happy to send you my server.xml config if you'd like.
-Original Message-
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 11:10 AM
To: Tomcat Users List
Subject: Re: Co
hi barry,
from my understanding, the output seems to be created every time when
the pool needs to create a new physical connection to the database,
i.e. you've specified "maxActive=10", only 5 are used & busy, a 6th
gets created due to an additional request and -> voilá, there you go.
anyways, s
Thanks, we did that:
David Smith wrote:
If you set tomcatAuthentication="false" in your connector configuration
for the AJP connector, the credentials will come through. It's set to
true by default causing tomcat to ignore the REMOTE_USER header from
Apache.
--David
Patrick Ward
that's true, and I get something similar as that the first time Tomcat (the
apps) make a call to the database, but only initially. It doesn't keep posting
to the console afterwards.
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 3:44 AM
To: To
in this line,
I think you need to have className="org.apache.log4j.Logger"
although I say that...I've been trying to get log4j configured in my
environment with zero luck, too.
But that's what I read in one tutorial page I saw.
-Original Message-
From: mélanie langlois [mail
I might have one for youlet me know if you found it or not.
-Original Message-
From: Teh Noranis Mohd Aris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 9:48 PM
To: Tomcat Users List
Subject: Re: Servlet and Random Access File
I would like to refer to an example servlet whe
What's your definition of a "connection?" Is it a session? I've had an
average of about 300 active sessions which amounted to about 15,000
unique visits per day. This was on a machine with substantially less
power than yours.
We average 150 active connections per web server. What do other
ok, thanks, guys, I'll try to do that.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 9:16 AM
To: Tomcat Users List
Subject: Re: Tomcat stopped logging
Plus console output is almost always redirected to catalina.out. If you
can read that, yo
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Hogging CPU
>
> We have been experiencing a problem where Tomcat causes CPU
> usage to go to 100%.
Odds are it's one of your webapps, not Tomcat. Try running a CPU
profiler to see where time is being spent. You could als
We have been experiencing a problem where Tomcat causes CPU usage to go to
100%. This slows down our web servers. Has anyone else ever experienced such
a problem?
We average 150 active connections per web server. What do others average?
How do others configure initial memory pool, maximum
Plus console output is almost always redirected to catalina.out. If you
can read that, you should be seeing all the console output.
--David
Daniel Stephens wrote:
well the localhost log should have the stack trace you need. Try and get
them to do David's suggesstion that's a good one.
On 5/3
I've used ant to write a deploy task which is parameterized. Then I can
wrap an iteration task around it and undeploy + deploy on all n Tomcats.
It does depend on
http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html
Thanx guys.
Great application.
--
View this message in context:
http://www.nabble.com/Monitoring-connection-pools-created-by-tomcat-tf3845859.html#a10894272
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To
Filip;
first off, thanks loads for your hint. So by now I can at least stop
playing with the FarmWarDeveloper and focus on other things...
[Filip Hanik - Dev Lists <[EMAIL PROTECTED]> @ Thu, 31 May 2007
15:44:59 +0200]
> hi Kristian, Farm deployer is currently broken, has been for a while
> and
hi Kristian, Farm deployer is currently broken, has been for a while and
needs to be completely revised.
Filip
Kristian Rink wrote:
Folks;
being knee-deep into building a test system to see whether our
clustered applications also will work in a tc 6.0 clustered environment
(currently they ru
Folks;
being knee-deep into building a test system to see whether our
clustered applications also will work in a tc 6.0 clustered environment
(currently they run atop 5.5), and the cluster configuration (having an
apache2+mod-jk in front) seems to work well having an application that
already runs
Hello,
I am trying to run a webservice with Tomcat 5.5. We had Axis 1.1
running on Tomcat 4.1 for a year and without any problems we were able
to deploy our service.
Recently, we have upgraded Tomcat to 5.5 and I copied all the files from
old to new webapps but our service is not running.
well the localhost log should have the stack trace you need. Try and get
them to do David's suggesstion that's a good one.
On 5/30/07, Propes, Barry L <[EMAIL PROTECTED]> wrote:
I can try...the thing is, I can actually read the logs through a shared
directory. Just can't see the console to see
Hello,
I am trying to run a webservice with Tomcat 5.5. We had Axis 1.1
running on Tomcat 4.1 for a year and without any problems we were able
to deploy our service.
Recently, we have upgraded Tomcat to 5.5 and I copied all the files from
old to new webapps but our service is not running.
I see there's still a lot of options on the table and the only part
that has anything to do with tomcat is the user interface.
A good starting point might be to look at database backed webapps with a
similar UI. All you'd have to do to them is change the persistence from
a database to fil
Sorin Juco wrote:
> Hello,
>
> I use tomcat 6.0.13 with jdk 6 on windows.
>
> I created a jdbc resource(connection pool) in the standard way.
> My question is how can I monitor the connection pool. In glassfish for
> example I have the admin app in which I can monitor the pool and see the
> act
http://www.lambdaprobe.org/
> -Original Message-
> From: Sorin Juco [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 31, 2007 6:49 AM
> To: users@tomcat.apache.org
> Subject: Monitoring connection pools created by tomcat
>
>
> Hello,
>
> I use tomcat 6.0.13 with jdk 6 on windows.
>
> I
Hi All,
Just wondering if anybody has had any 'weirdness' when running a 32-bit
mod_jk connector under Apache (in our case mod_jk v1.2.20 under Apache
2.2.4) against a 64-bit installation of Tomcat (5.5.20 with 1.5.0_10 SUN
Java)on separate servers.
We've had scenarios where the connect
Hello,
I use tomcat 6.0.13 with jdk 6 on windows.
I created a jdbc resource(connection pool) in the standard way.
My question is how can I monitor the connection pool. In glassfish for
example I have the admin app in which I can monitor the pool and see the
active connections, idle connections
Aaargl so that means there's no possibility to get rid of this output?
I mean I don't need a possibility to divert it into a log-file, just
getting rid of the output would help...
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B
Ok I got it all working.
The server.xml supplied with tomcat 5.5 is slightly misleading IMO.
I assumed that the deployDir could be anywhere as long as it was
accessible to the tomcat user. But after searching nabble I tried
setting it to the webapps dir and it all sprung into life.
On 5/30/07
Unless things changed in the last 1.5 years (when I looked it up last
time): DBCP uses System.out.println() and not regular logging for the
output of exactly those lines :(
Regards,
Rainer
Gregor Schneider wrote:
Hi guys,
we're using a JDBC-datasource with the following definition in
$CATAL
Hi guys,
we're using a JDBC-datasource with the following definition in
$CATALIN_HOME/conf/Catalina/localhost/IndexCLUE.xml:
In catalina.out, we always find the following output:
AbandonedObjectPool is used ([EMAIL PROTECTED]
e)
LogAbandoned: false
RemoveAbandoned: true
RemoveAbando
Teh, there are so many ways suggest you get the Java Sun Tut, its very
good.
Look at properties, serialization, and file handling. Have a look at lite
dB's like Derby.
Maybe Mysql, or Postgres as well.
If you like frameworks, maybe even hybernate.
There is no example servlet... just find the
50 matches
Mail list logo