Hi,
I am running a web-application on tomcat 5.0 . Using blackDown jdk.1.4.2_06.
After running some user interactions , the tomcat becomes slow..
When i do a check on the back ground threads i see many jvm threads running ..
27288 pts/0S 0:34 /usr/local/j2sdk1.4.2_06/bin/java -Xms700m
Hi
When i do a check on the back ground threads i see many jvm threads
running ..
27288 pts/0S 0:34 /usr/local/j2sdk1.4.2_06/bin/java -Xms700m
-Xmx800m -XX:+UseConcMarkSweepGC -
27289 pts/0S 0:01 /usr/local/j2sdk1.4.2_06/bin/java -Xms700m
-Xmx800m -XX:+UseConcMarkSweepGC -
Yes you can ... are you using a web server in front of Tomcat or have you setup
Tomcat to handle port 80 directly? Do you have multiple web applications or is
it just this one?
Allistair
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 06:22
To:
Really great ! Thank you a lot for your help !
Richard
-Message d'origine-
De : Carl Olivier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 19 novembre 2004 07:10
À : Tomcat Users List
Objet : RE: SSL
Alternatively, if you wish to accept HTTP connections, but redirect (forced
to https) you
No worries. Recopied list in.
Allistair
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 10:34
To: Allistair Crossley
Subject: Re: Webapps Root Folder
Thanks again it worked.
Richard
On Fri, 19 Nov 2004 18:30:19 +0800, Richard
[EMAIL
Is there a means to write this security constraint at the context definition
level ?
Richard
-Message d'origine-
De : Carl Olivier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 19 novembre 2004 07:10
À : Tomcat Users List
Objet : RE: SSL
Alternatively, if you wish to accept HTTP
Hi,
Having run our web application on 5.5.4 for a couple of days, I have studied
the stdout logs to find that we are getting severe errors relating to mbeans.
Here are some time intervals:
10:43
11:10
11:14
11:24
This time pattern stays fairly consistent as above.
Each time the errors occur,
Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.
Serve php with apache, serve everything else to tomcat.
Kind Regards,
Andy Savage
--
Bluewire
Hello Satish.
From my experiance such problems are the result of errors in the
application code.
At least I had some problems in our application ranging from wrong
session management, causing threads to be waiting forever and wrong
keyboard input management. We had default buttons in the app,
Well, not at the definition entry itself, but you can modify the
security-contraint url-pattern to only force the redirection under
certain contexts. You can also have multiple security-constraint entries.
For example:
security-constraint
web-resource-collection
Those examples again - did not come out too great!
security-constraint
web-resource-collection
web-resource-nameHTTP to HTTPS
redirection/web-resource-name
url-pattern/shopping/*/url-pattern
Thank you a lot Carl
Richard
-Message d'origine-
De : Carl Olivier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 19 novembre 2004 13:19
À : Tomcat Users List
Objet : RE: SSL
Those examples again - did not come out too great!
security-constraint
Hello,
I'm searching the internet for this question, but can't find the answer.
If I use mod_jk with sticky_session=true and session replication between to
tomcat nodes.
Does mod_jk send the session to another server if the 'sticky' server fails?
Ronald.
Hello,
I found these two bug reports, looking similar to my issue below.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27104
http://issues.apache.org/bugzilla/show_bug.cgi?id=31328
Are there any comments/ideas on this for version 5.0.x?
Ronald.
On Tue Nov 16 18:23:14 CET 2004 Ronald Klop
Hi,
I think I already know the answer to this, but I'll ask anyways: does it
happen with Tomcat standalone? My guess is no.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:32 AM
To: [EMAIL
Hi,
Attachments usually don't make it to the list, so you need to post your
code inline.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Wout Perquin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 2:14 AM
To: Tomcat Users List
Subject: RE: write and read
Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November
Hi Yoav,
Tomcat standalone no.
IIS Tomcat SQL Server
Content Management System
However, we have the same setup on test and production servers and test does
not exhibit this behaviour, perhaps due to load, or so on I expect.
Cheers, Allistair
-Original Message-
Hi,
The next step, then, is to run a stress test in your test environment.
See if you get the same errors.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 8:45 AM
To: Tomcat Users List
Hi Yoav,
I am guessing you don't know why this is happening? or are you just trying to
get me to get this tested in another environment so you know to take it
seriously ;) ?
Cheers! Allistair.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004
Hi,
I am guessing you don't know why this is happening?
That guess is right, and then some. As you might know by now, I don't
care to spend my time on connector issues.
or are you just trying
to get me to get this tested in another environment so you know to take
it
seriously ;) ?
No, that's
I'm using ssl with tomcat 5.0.28
I use a keystore that contains several certificates
How can I tell tomcat which one to use for SSL transaction ?
Is there a parameter like alias ?
Valerie
-
To unsubscribe, e-mail: [EMAIL
Hi
OK, ran an e-Load script covering home page (database query heavy), 2
navigations (medium) and 1 full text search. Under a load of 50 virtual users
(started at same time) * 2 iterations of the script, this produces more load
then normal usage. No errors at all from the test Tomcat. Hm.
Hi
OK, ran an e-Load script covering home page (database query heavy), 2
navigations (medium) and 1 full text search. Under a load of 50 virtual users
(started at same time) * 2 iterations of the script, this produces more load
then normal usage. No errors at all from the test Tomcat. Hm.
I would like to, but we are not allowed to use pooling yet.
--- Seth Ladd [EMAIL PROTECTED] wrote:
Norris Shelton wrote:
We have the manager app for each of our contexts set-up to
use
the DB to authenticate users. Unfortunately, it is using
TONS
of connections. Over an 8 min period, it
OK, we figured it out. Someone was using the connection to
monitoring. This monitoring took 24 hits every 3 seconds across
all of our websites.
Thx for your assistance.
--- Norris Shelton [EMAIL PROTECTED] wrote:
Sorry, I forgot to specify the version.
TC 4.1.12
--- Norris Shelton
Hi!
I have 3 virtual hosts in tomcat, each with it's own java app/context (total
of 3 apps). When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on UNIX,
does this max out 512m for each context, or does it set it for everthing
that runs under tomcat?
--Dan
Greetings all. I am moving one application I have from standard http
over to https. I found this article
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
which I think will help me get it configured. My question is, is
there a tag I need to add in the web.xml descriptor file to
Hi,
That's the redirectPort connector attribute. If an https request comes
into a non-secure connector, and that connector has a redirectPort, the
request will be redirected.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Xeth Waxman [mailto:[EMAIL PROTECTED]
Sent:
From: Wick, Daniel [mailto:[EMAIL PROTECTED]
When I set JAVA_OPTS=-Xmx 512m, in the
bin/setenv.sh on UNIX,
does this max out 512m for each context, or does it set it
for everthing that runs under tomcat?
It sets it for the Java virtual machine. Since all three contexts run in
one virtual
You may want to check if your SuSe 9.x has ipv6
enabled. It slows down connectivity because it also
attempts to look up ipv6 addresses and that could
possibly be causing your timeout. Try to disable ipv6
and see how it performs.
--- Quinton Delpeche [EMAIL PROTECTED]
wrote:
Greetings,
It
are you using frames or in anyway have your system setup to access the same
session by more than one thread?
Filip
- Original Message -
From: Ronald Klop [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: Ronald Klop [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:35 AM
Also, you'll need something like the following in your web.xml.
security-constraint
web-resource-collection
web-resource-name/web-resource-name
url-pattern/*/url-pattern
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
They are all sharing one JVM and it's resources. Java knows nothing of
tomcat or contexts.
[EMAIL PROTECTED] 11/19/04 8:59 AM
Hi!
I have 3 virtual hosts in tomcat, each with it's own java app/context
(total
of 3 apps). When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on
UNIX,
does this max
Does the web-resource-name attribute need to be the name of my
application, or can it be blank? Also, the url pattern should
actually be the url of the web app correct, not /*, correct - the /*
was just a placeholder?
On Fri, 19 Nov 2004 10:17:45 -0600, Jonathan Eric Miller
[EMAIL PROTECTED]
I guess I could have deduced that from seeing only 1 java process...but I'm
happy to have the validation of the group! Many thanks!
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:35 AM
To: [EMAIL PROTECTED]
Subject: Re:
I'm sure this sounds really dumb, so I apologize, but I don't think I
use a connector. I use Tomcat as my standalone web server as well.
Am I not understanding something?
On Fri, 19 Nov 2004 11:05:19 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
That's the redirectPort connector
Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but
After I refresh it, the apache service is
Hi,
It's for everything under the Tomcat instance, since one Tomcat instance
is one JVM, no matter how many Hosts or webapps you have on it.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Wick, Daniel [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:00 AM
You can config SSL with Tomcat5.0.28 by read these:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
On Fri, 19 Nov 2004 15:52:58 +0100, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm using ssl with tomcat 5.0.28
I use a keystore that contains several certificates
How can I tell
I need a configuration example to build this
I was finding a lot,
is possible that can be a bug?
anyone has get to work with these versions?
--
Un saludo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi,
I am getting an error while try to bring up my Embedded Tomcat server.
Following is given as the root cause of the Exception:
at EmbeddedTomcat.main(EmbeddedTomcat.java:126)
Caused by: java.util.MissingResourceException: Can't find bundle for
base name
Hi,
Do you mean ... into two Services?
Andoni.
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 18, 2004 5:53 PM
Subject: RE: SSL
Hi,
Yeah, reorganize your server.xml into two engines, with one connector
Tomcat is fine and all but in this case it is definitely not the right tool
for the job. I know you've had problems with Apache but I'd go look at it
again. I am running apache 1.3 and I have a 5 line workers.properties, and
one line in server.xml, my connector has never been a problem.
Hello,
I'm loading a native library within tomcat - the library is loaded with the
System.loadLibrary() via a static object so that it is only loaded once -
will tomcat manage any threading issues for calls to the library from the
JNI wrapper class?
Thanks,
Dan
Hi,
No.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:59 AM
To: [EMAIL PROTECTED]
Subject: JNI, tomcat thread safety
Hello,
I'm loading a native library within tomcat - the library is loaded
Hi,
Does the web-resource-name attribute need to be the name of my
application, or can it be blank? Also, the url pattern should
actually be the url of the web app correct, not /*, correct - the /*
was just a placeholder?
No, the /* is not a placeholder. It's an actual url-pattern that
Tomcat won't do anything to manage this. I think this is more a generic
JNI question.
Multiple threads can access your native library concurrently. What it's
going to boil down to is whether or not you native library is
thread-safe, and whether you want to impose some degree of
Back at it...
This is what I have in my log4j.properties file:
# Set root logger priority to DEBUG and its appenders
log4j.rootLogger=DEBUG, A1
# A1 PROPERTIES
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.File=webapp.log
log4j.appender.A1.DatePattern='.'-ww
I've recently installed WebDAV app as part of a 5.0.27 and 5.5.54 install.
I also have it installed on 4.1.29.
When I access a page from a browser (e.g. Firefox), via:
http://localhost:8080/webdav on 4.1.29, it returns to me the page at
http://localhost:8080/webdav/index.html.
When I do
Hi,
I'd like to know how to handle JDBCRealm's SQLExceptions in a graceful fashion.
Also, I'd need to know how to differenciate between a login failed
because authentication (user does not exist in de DB) or authorization
(user/password ok but no permission to acces that resource).
This is
While re-deploying an application I did the following:
- Stopped the application from the manager
- Undeployed the application from the manager
- Stopped Tomcat (5.0.28)
- Started Tomcat
- Tried to deploy a WAR file located on my C: drive to the server
- Manager went completely blank... no
Thanks for the suggestion. BTW, what is the OS you are using, mine is
winXP professional, I heard apache is
Not suitable or not tuned for win but UNIX/LINUX, that's why it's not
stable on winXP platform, just an
Afterthrought.
David
-Original Message-
From: Andoni [mailto:[EMAIL
Hi,
Apache httd is ROCK-solid on any of its supported platforms, including
Windows. The problems arise with the connection between httpd and
Tomcat.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: David Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004
The webdav servlets are exactly the same, give or take a few formatting
differences.
There are difference between 4.1.x and 5.x in how requests for
http://host/webapp/ are handled.
Generally, you can use a context for webdav, or you can use it with a browser to
server content. Trying to mix the
Hello all,
I am trying to integrate modk_jk2 with httpd and
tomcat5 on Fedora Core 2, but I am unable to integrate
it.
http://localhost/jkstatus works fine
but when I try to request the standard examples
provided in tomcat using
http://localhost/servlets-examples/ - it gives error.
I am using
Under Linux kernel 2.6 and Jdk 1.5 (5.0), the server could handle up to
400 client threads. There are couple time out error. Other than that,
it works fine. Slow but fine. However, the desktop and other
application is much more responsive compared to kernel 2.4. Please
notes that each of
Mark,
I understand the issue w/ contexts (and I believe I understand the issue
w/ not being able to handle JSPs), **but I don't understand why the base
behavior is different**.
Are you suggesting that the 4.1.x, 5.x is causing a difference in the
Webdav behavior that would prevent
Yoav, just curious how do your pronounce your name. Mine is easy because it
goes with Donuts but yours I can not find any restaurants or shops sharing
the same. Being that are you an active participant to this forum I deem this
email relevent. - Duncan
- Original Message -
From: Shapira,
From what I recall, TC4 forwards to the index page whereas TC5 sends a
redirect.
I am sure one of the other committers will correct me if I am wrong here ;)
You then get into exactly how the mappings, welcome files etc are processed and
in what order. Off the top of my head, I don't recall the
Hi,
Interesting question ;) It's like Joab (from the bible, but I'm not
religious), but the Y is strong and actually sounds like a why not a
jay.
And a good weekend to all,
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Duncan Krebs [mailto:[EMAIL PROTECTED]
Sent:
Hi Yoav,
Thanks for your time. I have changed my design and now no longer require to
read from the local file system.
It keeps on puzzling me why I couldnt, but it no longer blocks my project.
Best regards, Wout Perquin
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
That sounds like what I'm seeing. IE 6 is not redirecting. Thanks for
the clarification. :)
Brian
Mark Thomas [EMAIL PROTECTED] wrote on 11/19/2004 03:02:58 PM:
From what I recall, TC4 forwards to the index page whereas TC5 sends
a redirect.
I am sure one of the other committers will
My mind was playing tricks on me. My last reply wasn't accurate. I'll do
more research. Thanks for the clarification.
Brian
- Forwarded by Brian K Bonner/paraware on 11/19/2004 03:40 PM -
Brian K Bonner/paraware wrote on 11/19/2004 03:37:01 PM:
That sounds like what I'm seeing. IE
I fixed this, in cvs head and tomcat 5.0 branch. please try it out.
Filip
- Original Message -
From: Filip Hanik - Dev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: Ronald Klop [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:17 AM
Subject: Re: NoSuchElementException
Hi Lars,
I solved your (my) problem. Just added a
#define in_addr_t unsigned long
into the jk_connect.h and compiled. Runs smoothly so far. Darn C code ;-)
Thanks,
Lars
PS: me, myself and I
Lars George wrote:
Hi,
We are trying to compile mod_jk 1.2.6 on a Linux system with 2.2 kernel
where we get
OK, I probably need to start over.
I'd like to access content from http://localhost:8080/abc with my browser
and be able to see the Index.html rendered properly.
I'd like to access http://localhost:8080/abc from GoLive and see the list
of files.
I suspect I can't have it both ways, true?
I noticed there have been some commits since the last official release
in March, so I've built a version based on the latest snapshot. I've
also added a How to page for people interested in building it
themselves.
On Fri, 19 Nov 2004 14:20:40 -0500, Vy Ho [EMAIL PROTECTED] wrote:
Under Linux kernel 2.6 and Jdk 1.5 (5.0), the server could handle up to
400 client threads. There are couple time out error. Other than that,
it works fine. Slow but fine. However, the desktop and other
application is
From: Brian K Bonner [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 9:10 PM
To: Tomcat Users List
Subject: RE: WebDav behavior
OK, I probably need to start over.
I'd like to access content from http://localhost:8080/abc
with my browser
and be able to see the Index.html
I've updated the delta request to avoid these errors in the next release of
tomcat5.0 and tomcat 5.5
Filip
- Original Message -
From: Ronald Klop
To: Filip Hanik - Dev
Sent: Friday, November 19, 2004 10:44 AM
Subject: Re: NoSuchElementException in cluster
Yes, but we
I have been using IIS 5.1 with JK2 for more than 18 months. Then this
afternoon, suddenly JK2 starts to crash IIS. When I hit a web page, the
first time I got 500 error. If I refresh the page two more times, IIS
will crash.
In the jk2.log file, I can see those debug info:
[Fri Nov 19 17:09:18
Sorry guys, I gave up digging into it and haven't seen such problems in
archives...
Tomcat 4.1.31 on Solaris.
I enabled cgi scripting:
changes in web.xml:
--
servlet
servlet-namecgi/servlet-name
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
I had to write some byte-streaming code and it took me
quite a while to find my problem because I had manged to
get my behaviour byte-for-byte identical to Tomcat 4.1.x
behaviour.
My bug was that I wasn't outputting CRLF before each separator.
The same bug still exists in DefaultServlet.java in
I was able to map two contexts to the same docbase, one a normal web.xml
context (recognizing welcome files) and one that supported WevDAV ops
(producing directory lists). See this post:
( RE: Multiple contexts mapped to single docbase)
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using ssl with tomcat 5.0.28
I use a keystore that contains several certificates
How can I tell tomcat which one to use for SSL transaction ?
Is there a parameter like alias ?
The correct attribute is 'keyAlias' to specify which
Dear Partners:
Any information how to integrate Tomcat 5 and Apache 2.+ in
windows platform is appreciated.
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Friday 19 November 2004 18:04, sven morales wrote:
Hi Everybody,
You may want to check if your SuSe 9.x has ipv6
enabled. It slows down connectivity because it also
attempts to look up ipv6 addresses and that could
possibly be causing your timeout. Try to disable ipv6
and see how it
Greetings.
Where is this specified? In which element?
Thanks!
Carl
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 20, 2004 4:42 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem with ssl
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
79 matches
Mail list logo