Maximum number of simultaneous HTTP Requests / Performance

2006-04-03 Thread Tp
Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The biggest issue is performance. The chat's output window requires one open HTTP connection per client. This means, that when you have 3000 people following the chat that the server has

Re: Maximum number of simultaneous HTTP Requests / Performance

2006-04-03 Thread Rajeev Jha
NBIO will not help very much ;o) we are running such an application and want to migrate to apache/tomcat. The issue is, all the optimizations you hear about are done from the request's side which is of not much use in this case. The limiting factor would be * how many connections can you

change alias in https

2006-04-03 Thread Sebastien . Dicque
Hello, I need to use another alias than tomcat in https with tomcat 5.5 (keytool -genkey -alias newalias -keyalg RSA -keystore /etc/keystore -storepass mysecretpass). Have you got any idea? Thanks Sébastien Dicque SA BULL NV Papiermolenstraat 51 Rue du Moulin à Papier Brussel 1160 Bruxelles

Re: Maximum number of simultaneous HTTP Requests / Performance

2006-04-03 Thread Remy Maucherat
On 4/3/06, Tp [EMAIL PROTECTED] wrote: Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The biggest issue is performance. The chat's output window requires one open HTTP connection per client. This means, that when you have 3000 people

Tomcat on other JVM

2006-04-03 Thread Krish B
hi, can i run Tomcat on Non - Sun JVM e.g) IBM. Regards Krish

Re: is it possible to determin the requested resource when using realm authentication?

2006-04-03 Thread Franck Borel
Hi Jay, I believe that I already know the answer to this. But, if possible, it would be nice to have some confirmation. I have an application that uses JAASRealm for authentication. Within my LoginModule class, is it possible to determine which resource the user is currently trying to

Re: getsession if you know the id?

2006-04-03 Thread Franck Borel
If you know the id of a session is there anyway to get it out of the application? Sorry, this is to vague to know what you are doing. Which application do mean? -- Franck - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Maximum number of simultaneous HTTP Requests / Performance

2006-04-03 Thread Tp
Remy Maucherat schrieb: On 4/3/06, Tp [EMAIL PROTECTED] wrote: Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The biggest issue is performance. The chat's output window requires one open HTTP connection per client. This means, that

Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The chat's output window requires one open HTTP connection per client, which means that you need at least 3000 simultaneous ie. open HTTP connections for 3000 chatters. To the former

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread David Delbecq
Tp a écrit : Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The chat's output window requires one open HTTP connection per client, which means that you need at least 3000 simultaneous ie. open HTTP connections for 3000 chatters.

RE: Tomcat Connector - Remote acessing

2006-04-03 Thread Indraveni
Yes I am using Tomcat + Apache, using mod_jk module I connected these two servers. I am able to access the examples folder of tomcat which is having the jsp and servlet files. I am able to execute these jsp and servlet programes using localhost/examples. Apache is listening to port 80

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Rajeev Jha schrieb: Tp wrote: And there seems to be no workaround, because the connection will close after the doGet() and doPost() method finishes (is that actually true?). So, the only way to keep 3000 simultaneous connections is to keep 3000 of those methods from returning, wehich

Can't load server.xml

2006-04-03 Thread Ali Kassem
Hi, I amusing tomcat 5.5.9 with fedora (linux), and I am using jdk 1.5.0_06 The CATALINA_HOME, JAVA_HOME are defined, When I try to startup the tomcat as root user every thing is ok, it start (with port 8080) But when I create a new user with permissions to logs and work directories, and

Re: Can't load server.xml

2006-04-03 Thread Markus Schönhaber
Ali Kassem wrote: I amusing tomcat 5.5.9 with fedora (linux), and I am using jdk 1.5.0_06 The CATALINA_HOME, JAVA_HOME are defined, When I try to startup the tomcat as root user every thing is ok, it start (with port 8080) But when I create a new user with permissions to logs and work How

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
David Delbecq schrieb: Tp a écrit : Hi, we have to develop a high performance chat based only on HTML and HTTP only for a television company. The chat's output window requires one open HTTP connection per client, which means that you need at least 3000 simultaneous ie. open HTTP connections

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Tp [EMAIL PROTECTED] wrote: The hype friendly continuation name has no business being associated with this particular feature, since the said feature is not continuations (which is a fancy - and IMO forward thinking and actually useful - programming model for implementing the

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Rajeev Jha
Remy Maucherat wrote: On 4/3/06, Rajeev Jha [EMAIL PROTECTED] wrote: Tp wrote: And there seems to be no workaround, because the connection will close after the doGet() and doPost() method finishes (is that actually true?). So, the only way to keep 3000 simultaneous connections is to

RE: Tomcat Connector - Remote acessing

2006-04-03 Thread Tim Lucia
If I understand this correctly, and I am not certain I do, it would appear to be a problem with your httpd virtual host configuration. Is it true that: http://localhost/examples/ (httpd-Tomcat) http://localhost:8080/examples/(Tomcat) http://192.9.200.62:8080/examples (Tomcat) all

RE: Tomcat Connector - Remote acessing

2006-04-03 Thread Indraveni
Exactly... This is my situation. I dint do any extra configuration for httpd.conf file in Apache. I am attaching the httpd.conf file to this mail. Please check it out and let me know if there is anythign that I need to change. ThankyouIndraveniTim Lucia [EMAIL PROTECTED] wrote: If I understand

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Remy Maucherat schrieb: On 4/3/06, Tp [EMAIL PROTECTED] wrote: The hype friendly continuation name has no business being associated with this particular feature, since the said feature is not continuations (which is a fancy - and IMO forward thinking and actually useful - programming model for

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Rajeev Jha schrieb: Remy Maucherat wrote: Yes, but you need the 5000 or so threads to do this, and there's no workaround. So it is the real problem since it forces you to use polling. How about bypassing the servlets alltogether? we can take any exisitng http/ajp13 connector code and

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Leon Rosenberg schrieb: On 4/3/06, Rajeev Jha [EMAIL PROTECTED] wrote: Remy Maucherat wrote: Yes, but you need the 5000 or so threads to do this, and there's no workaround. So it is the real problem since it forces you to use polling. How about bypassing the servlets alltogether? we

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Leon Rosenberg [EMAIL PROTECTED] wrote: Why then using tomcat at all? What's wrong with writing own app, which listens on a socket and does whatever it has to do? Before you have to rape tomcat to perform a task it was never designed for... Yes, indeed. In many cases, it would seem

tomcat users file

2006-04-03 Thread Ali Kassem
Hi I am using tomcat 5.5.9 with linux, and jdk1.5.0_6 When I start the tomcat as root user every thing it started, but when I start it with another user It start 8080 port but I get the message in Catalina.out: ... ... Apr 4, 2006 2:54:27 AM

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Tp [EMAIL PROTECTED] wrote: Well, I don't know what you understand under polling. I guess you mean the clients will have to sent GET and POST requests repeately, right? The load is going to be even higher with polling. That's I would not introduce any polling. How would I do this

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Daniel Guggi
Why then using tomcat at all? What's wrong with writing own app, which listens on a socket and does whatever it has to do? Before you have to rape tomcat to perform a task it was never designed for... Well, that's a good question. The outcome of this thread might be just that. But it

Re: tomcat users file

2006-04-03 Thread Hadraba Petr
Hi, check if the different user has read permissions for the /opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new file PETR On 4/3/06, Ali Kassem [EMAIL PROTECTED] wrote: Hi I am using tomcat 5.5.9 with linux, and jdk1.5.0_6 When I start the tomcat as root user every thing it started, but

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Remy Maucherat schrieb: On 4/3/06, Tp [EMAIL PROTECTED] wrote: Well, I don't know what you understand under polling. I guess you mean the clients will have to sent GET and POST requests repeately, right? The load is going to be even higher with polling. That's I would not introduce any

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Daniel Guggi
Hi! Right. I said you need to use polling, or use 5000 threads (which is not a problem if you have enough memory). Are you sure that 5000 threads is not a problem when you have enough memory. I'd be worried about wasting lots of cpu because of context-switching??? lg

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread David Delbecq
Here a diagram: Client sends GET - Server Server sends HEADERS (Content Encoding: Chunked) - Client Server sends chunks - Client Client displays them whenever they arrive. Just one point. If your 'client' is a classical browser it won't work like this out of the box, for the simple reason

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Tp [EMAIL PROTECTED] wrote: Remy Maucherat schrieb: But you said that the connection will not close, when the doGet() or doPost() method returns, which of course make a lot of sense. Otherwise Persistent connections would not be possible at all. So if that's true, then I should be

Apache Tomcat Native library not found on the java.library.path

2006-04-03 Thread sean . harrison
I compiled and installed the Apache Tomcat connector v.1.1.2 per http://tomcat.apache.org/tomcat-5.5-doc/apr.html but I still get this error upon startup. INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

RE: Tomcat on other JVM

2006-04-03 Thread Richard Mixon
This is done quite commonly. For almost a year I used IBM 64bit JVM on SuSE Linux running dual AMD Opteron chips. Went back to Sun eventually when I upgraded OS versions - but the IBM JVM and Tomcat worked well. HTH - Richard -Original Message- From: Krish B [mailto:[EMAIL PROTECTED]

RE: Apache Tomcat Native library not found on the java.library.pa th

2006-04-03 Thread KEREM ERKAN
Add /usr/local/apr/lib to LD_LIBRARY_PATH before starting Tomcat. That will do it. Regards, Kerem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:40 PM To: users@tomcat.apache.org Subject: Apache Tomcat Native library not found

Tomcat 5.5/Active Directory/JNDI/server.xml Question (Not Realm related)

2006-04-03 Thread Jason Beck
Hello, I am trying to create a Resource ... block inside my server.xml file similar to a JDBC Resource, only this on is for Active Directory connections (through LDAP port 389). I have written a simple class, created a .jar from it and added it to $CATALINA_HOME/common/lib. I have configured

Context files disapearring

2006-04-03 Thread tomcat
Hello, I am using Tomcat 5.5.16 and every now and then, my context.xml files get deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This seems to be random and it is becoming very frustrating. Does anyone know what's causing this to happen? and how the problem can be fixed?

RE: tomcat users file

2006-04-03 Thread Ali Kassem
Thanks, but i don't have file called tomcat-users.xml.new And the user have read permission to tomcat-users.xml Ali KASSEM Project Leader - IT Dept. Banque Du Liban P.O.Box:11/5544 Beirut, Lebanon Tel:961-1-75 ext 4110 Fax:961-1-343316 Ali KASSEM Project Leader - IT Dept. Banque Du Liban

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Remy Maucherat schrieb: On 4/3/06, Tp [EMAIL PROTECTED] wrote: Remy Maucherat schrieb: But you said that the connection will not close, when the doGet() or doPost() method returns, which of course make a lot of sense. Otherwise Persistent connections would not be possible at all. So if that's

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
David Delbecq schrieb: Here a diagram: Client sends GET - Server Server sends HEADERS (Content Encoding: Chunked) - Client Server sends chunks - Client Client displays them whenever they arrive. Just one point. If your 'client' is a classical browser it won't work like this out of the box,

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Tp [EMAIL PROTECTED] wrote: Also the reference to the OutputStream itself? I mean it should stay open until the connection closes. Are you sure? This OutputStream object is a fake facade, and loses its relationship to the actual socket at the end of the request. --

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Darryl L. Miles
Tp wrote: Well, that's a good question. The outcome of this thread might be just that. But it would have been nice to use existing software infrastructure. Maybe look at the IRC protocol ? Has existing infrastructure, heritage and eco-system. http://www.irchelp.org/irchelp/rfc/

Re: Context files disapearring

2006-04-03 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: I am using Tomcat 5.5.16 and every now and then, my context.xml files get deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This seems to be random and it is becoming very frustrating. Does anyone know what's causing this to happen? and how the problem

RE: getsession if you know the id?

2006-04-03 Thread John Powers
We were using a list of sessions to report who is logged in now. however our sessions don't look like they are being collected by the GC. We have a serious memory problem. I was thinking this list may be a problem so I was removing all the actual httpsessions from it and was going to just 'get'

RE: getsession if you know the id?

2006-04-03 Thread John Powers
The application object in jsps...the hosts in the server.xml. the context of the httpsessions for each user. -Original Message- From: Franck Borel [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:28 AM To: Tomcat Users List Subject: Re: getsession if you know the id? If

Re: getsession if you know the id?

2006-04-03 Thread Leon Rosenberg
On 4/3/06, John Powers [EMAIL PROTECTED] wrote: We were using a list of sessions to report who is logged in now. however our sessions don't look like they are being collected by the GC. Which is right since you maintain a reference to the session object it can't be GCed. you should check the

Re: getsession if you know the id?

2006-04-03 Thread David Delbecq
Pack you HttpSessions in WeakReference objects so they can be GCed (*not* SoftReferences as suggested because SoftReference are only GCed when outofmemory, while WeakReference are gced about as soon as the object is not reachable anymore by hardreference).

JSP 2.x *.tag files problem

2006-04-03 Thread Darryl L. Miles
My question is about the use of *.tag files, to have the container (TC) automatically build tag libraries from my test.tag file. But some aspects don't work as I would naturally expect and I don't know if this is my lack of understanding or a genuine bug. When I use %@ attribute

Re: Context files disapearring

2006-04-03 Thread tomcat
Thanks for the response. I've never seen it happen randomly either... but what can I say? I shutdown my server yesterday (as in powered it off) and when I restarted it, all the context files were gone including the manager.xml. Any thoughts?? Aladin [EMAIL PROTECTED] wrote: I am using

Re: mod_jk Connector: version question

2006-04-03 Thread Rainer Jung
1.2.15 ist current stable for linux also. The page is wrong. I don't know where the binaries come from, so unfortunately at the moment there seems to be no binary download. If you build yourself, take 1.2.15 sources. Paul Smith wrote: I notice here:

Re: tomcat users file

2006-04-03 Thread Rainer Jung
During startup, tomcat reads tomcat-users.xml and then immediately writes it out again as tomcat-users.xml.new and afterwards renames tomcat-users.xml.new to tomcat-users.xml (I don't know who invented that ...). So either: - the runtime user has write access to the directory tomcat-users.xml

Re: Context files disapearring

2006-04-03 Thread David Smith
Sounds to me like some other process is responsible for this. Out of curiosity, what platform are you on (Windows, Linux, etc., ...) and where is tomcat installed? --David [EMAIL PROTECTED] wrote: Thanks for the response. I've never seen it happen randomly either... but what can I say? I

Re: Context files disapearring

2006-04-03 Thread tomcat
I'm running tomcat on Linux machine (FC2) and it is installed in: /usr/local/jakarta/tomcat Aladin Sounds to me like some other process is responsible for this. Out of curiosity, what platform are you on (Windows, Linux, etc., ...) and where is tomcat installed? --David [EMAIL

Can any body send me a sample war file to demonstrate Connection pool in tomcat 5.5

2006-04-03 Thread rao krishna
Can any body send me a sample war file which demonstrate Connection pool in tomcat 5.5 using jndi look up procedure. I tried a lot But I could n't. Any alternate in apache tomcat5.5 also ok. Please help me as soon as possible. __ Do You Yahoo!?

RE: Can any body send me a sample war file to demonstrate Connection pool in tomcat 5.5

2006-04-03 Thread Farrow, Marc
You need to add a new Data Source either globally or within your context. Give it a name say jdbc/connectionname. Check Tomcat documentation on how to do this. Then in your java code write this to get your Data Source reference and connection via this code: Context ctx =

RE: Apache Tomcat Native library not found on the java.library.path

2006-04-03 Thread sean . harrison
Thanks, Kerem. I added the following to the top of catalina.sh LD_LIBRARY_PATH=/usr/local/apr/lib export LD_LIBRARY_PATH but on startup I still get INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the

RE: jsf-impl.jar does not get deleted on app undeploy

2006-04-03 Thread Jim Freeby
Not sure if you found the answer, but this sounds like the same problem as a previous post (see subject Ant Deploy Task Problem) My solution is I updated my META-INF/context.xml as follows: Context reloadable=true antiResourceLocking=true /Context and now undeploy can properly

[REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread Richard Mundell
Apologies for the repost but I sent this last week but didn't get any replies. In the hope that the people with the answers on this might've missed it, I'm trying again... ;-) _ From: Richard Mundell [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 11:33 AM To:

Re: change alias in https

2006-04-03 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello, I need to use another alias than tomcat in https with tomcat 5.5 (keytool -genkey -alias newalias -keyalg RSA -keystore /etc/keystore -storepass mysecretpass). Have you got any idea? Thanks Try setting the (undocumented) keyAlias property on the connector.

Tomcat 5.5.15 in debug mode?

2006-04-03 Thread John Cherouvim
Hello I have a serious problem with Tomcat 5.5.15 on windows 2003 with Java 1.5.0_06-b05. Tomcat runs as service in mode jvm (and not mode java, not sure what that is but anyway). Every request on the server gives me this block of debug log on stdout.log 2006-04-03 17:51:36,421 DEBUG

Re: Tomcat 5.5.15 in debug mode?

2006-04-03 Thread Mark Thomas
When starting a new thread (i.e. sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

tomcat 5.5.16 vs 5.0.28 - web app context

2006-04-03 Thread Eric Wulff
Hi, I'm having problems getting my webapp to be recognized at the root of my development tomcat server 5.5.16 (http://localhost:8080). I've been using tomcat 5.0.28 for 1.5 years and accomplished this by putting a webAppName.xml file at catalina.home/conf/Catalina/localhost containing the

5.5.16 native library

2006-04-03 Thread Eric Wulff
I just installed java 5 and tomcat 5.5.16 in order to experiment with trails. I'm ready to start developing using ruby on rails or trails. I'm hoping trails is my answer because my experience is with server side java - not ruby. Anyway, I'm having problems getting going on tomcat 5.5.16 and one

Re: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread David Smith
Given you've indicated all the headaches occurred in the move from 5.5.9 to 5.5.15, you might want to take a look at the change log in relation to your environment. Are your connectors configured the same (acceptCount, maxThreads)? Beyond that, issue 1 implies something else may be causing

help for context

2006-04-03 Thread Qaiser Mehmood
Getting this error while stoping tomcat : SEVERE: Destroy method on bean with name 'jbi' threw an exception edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionExceptio n at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$AbortP

RE: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread Richard Mundell
Hi David, There's nothing in any of the log indicating any problems. We uninstalled Tomcat 5.5.15 on the server and installed 5.5.9 with identical configuration (with the exception of reconfiguring the HTTPS connector to use the Java Key Store rather than OpenSSL-style certificate and key). No

Re: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread David Smith
When I said change log, I meant the text file that lists out all the changes the developers made between releases. What issues they fixed and what not. Is your install using the APR native library that I believe was introduced somewhere around 5.5.15? --David Richard Mundell wrote: Hi David,

RE: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread Richard Mundell
In 5.5.15 we switched to using the (ever-so-well-documented) APR native library so I suspect it's the OpenSSL code in the APR library which is causing the problem. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 2:18 PM To: Tomcat Users List

Re: Context files disapearring

2006-04-03 Thread David Smith
I'm not very familiar with Redhat's offerings. My main dist of unix is Mandriva (used to be Mandrake). At any rate, deleting the context xml files is not normal tomcat behavior in any version I've ever run (tomcat 3.3 - 5.5). If I were sitting in front of the machine, I'd be looking to some

Re: 5.5.16 native library

2006-04-03 Thread David Rees
On 4/3/06, Eric Wulff [EMAIL PROTECTED] wrote: Doesn't seem too serious but I've found little doc on it. I downloaded the tomcat-native.zip but there is no readme, install, config file and I haven't been able to find documentation about install config for this. 2 questions... How serious

Re: Get JDBCRealm's current user

2006-04-03 Thread Rapthor
request.getRemoteUser() was the method I was searching for! Thanks :) -- View this message in context: http://www.nabble.com/Get-JDBCRealm%27s-current-user-t1341315.html#a3731063 Sent from the Tomcat - User forum at Nabble.com.

Undeploy/deploy WAR clears out files in symlink?

2006-04-03 Thread Michael Atlas
Hello, I currently deploy my JSP application via the ant WAR tasks to my production server. After it gets deployed, I have a directory that needs to be a symlink on the server: /opt/tomcat/webapps/myapp/userfiles/specialfiles - /specialfiles I make this symlink in my ant script after

Re: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread David Smith
It'd be interesting if you removed the APR library and tried it to see if your issues can be isolated to that library. Also I think (I generally haven't been following the APR module too closely) there have been some bug fixes for the 5.5.16 version. --David Richard Mundell wrote: In 5.5.15 we

Tomcat tag question

2006-04-03 Thread MW Mike Weiner \(5028\)
Dear List readers Sorry to bother you with what is most likely a silly question, but i have been googling, and found no real answers and was hoping you might know. I am doing another Tomcat project and to that end, i need to get tomcat to behave in a certain way, namely i need tomcat to add an

Request Entity Too Large with mod_jk and SSL Client Certs

2006-04-03 Thread Seth Milder
Hi list, I am seeing this in the logs when posting to a particular URL: [Mon Apr 03 14:52:06 2006] [13089:15648] [debug] ajp_get_endpoint::jk_ajp_common.c (2131): acquired connection cache slot=0 [Mon Apr 03 14:52:06 2006] [13089:15648] [error] ajp_marshal_into_msgb::jk_ajp_common.c (490):

tomcat pauses for no reason at all

2006-04-03 Thread Javier Gonzalez
Hi, I have a tomcat server (Tomcat 5.5.16, sun jdk 1.5, linux 2.6), and, for no reason at all, after some time it decides to pause, with this message in the catalina.outlogs: org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-x-x-x-x Any attempt to connect will

Re: [REPOST] Tomcat 5.5.15 - HTTPS hanging and intermittent Page Cannot be Displayed problems

2006-04-03 Thread Markus Schönhaber
Richard Mundell wrote: In 5.5.15 we switched to using the (ever-so-well-documented) APR native library so I suspect it's the OpenSSL code in the APR library which is causing the problem. First thing I'd try is to update to tomcat-native 1.1.2. This fixes an issue where sometimes the response

Re: 5.5.16 native library

2006-04-03 Thread Markus Schönhaber
Eric Wulff wrote: many thx Dave, I won't worry about until I clearly need to then. Another question - is this issue related to the Apache Portable Runtime? Yes. http://tomcat.apache.org/tomcat-5.5-doc/apr.html Regards mks

Re: tomcat pauses for no reason at all

2006-04-03 Thread Markus Schönhaber
Javier Gonzalez wrote: I have a tomcat server (Tomcat 5.5.16, sun jdk 1.5, linux 2.6), and, for no reason at all, after some time it decides to pause, with this message in the catalina.outlogs: org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-x-x-x-x Any

How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
Hello. I need to have an application that has a seperate thread that loads when tomcat loads. It scans my db every once in a while, to find out if any new info has to be processed. I have tried to find out from the docs how to do this, but I can't find it. Thanks for your help, Bruce.

help for context

2006-04-03 Thread Qaiser Mehmood
Getting this error while stoping tomcat , plz help me: SEVERE: Destroy method on bean with name 'jbi' threw an exception edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionExceptio n at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$AbortP

Re: Tomcat tag question

2006-04-03 Thread Darryl L. Miles
MW Mike Weiner (5028) wrote: Dear List readers Sorry to bother you with what is most likely a silly question, but i have been googling, and found no real answers and was hoping you might know. I am doing another Tomcat project and to that end, i need to get tomcat to behave in a certain way,

RE: How to run a thread on app startup

2006-04-03 Thread Tim Lucia
Google for ServletContextListener -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:31 PM To: users@tomcat.apache.org Subject: How to run a thread on app startup Hello. I need to have an application that has a seperate thread that loads

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
I figured out that the best way to do that is with a variable of type InheritableThreadLocal that keeps a copy per thread. We have 4 webapps over the same framework and all works in the same way. The servlet creates a new instance of MyApplication and sets this singleton by thread in the

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
Hello Tim. Thanks for the information. Bruce. Tim Lucia wrote: Google for ServletContextListener -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:31 PM To: users@tomcat.apache.org Subject: How to run a thread on app startup

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
Hello Rodrigo. Thanks very much for the information. Bruce. Asensio, Rodrigo wrote: I figured out that the best way to do that is with a variable of type InheritableThreadLocal that keeps a copy per thread. We have 4 webapps over the same framework and all works in the same way. The

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
Here you have more info public class Application { public static final int WEB_APPLICATION = 0; public static final int WEB_SERVICE = 1; public static final int WINDOWS_STANDALONE = 2; public static final int WINDOWS_PROCESS = 3; private static InheritableThreadLocal instance = new

RE: How to run a thread on app startup

2006-04-03 Thread Jim Freeby
Have you considered using Quartz to run recurring jobs? It comes with a Servlet that can be used to initialize your jobs when Tomcat starts up :) -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 12:51 PM To: Tomcat Users List Subject: RE:

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
Hello Jim. Actually, I have never heard of Quartz. I will look it up and consider it. Thanks, Bruce. Jim Freeby wrote: Have you considered using Quartz to run recurring jobs? It comes with a Servlet that can be used to initialize your jobs when Tomcat starts up :) -Original

Deploying with Static Context Descriptors

2006-04-03 Thread sean . harrison
I'm migrating web applications from Tomcat v.4 to v.5.5 and having some trouble adapting my old virtual hosts setup with the 5.5 recommended methods. According to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html In addition to nesting Context elements inside a Host element, you can

Re: Deploying with Static Context Descriptors

2006-04-03 Thread Eric Wulff
I'm having the exact same problem and have followed a similar path looking for a solution - but no success yet. I'll keep the list posted if I find anything. I eagerly await suggestions here too of course. thx Eric On 4/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm migrating web

[OT] Better JSP Performance with Opteron

2006-04-03 Thread Leon Rosenberg
Hi, recently I found (ok actually our sysadmin did) this articles on the web, and wanted to share some thoughts. http://www.devx.com/amd/Article/30529 http://www.devx.com/amd/Article/30785 The article describes, that using opteron and large memory pages can give significant performance wins. I

list hosts under tomcat

2006-04-03 Thread John Powers
/manager/list Give you a list of the contexts in the current virtual host inside tomcat. Is there a way to get a list (preferably xml) of the hosts defined in tomcat?I have a servlet in each host that I want to call and aggregate the info, but I need a list of the hosts so I can know who to

RE: list hosts under tomcat

2006-04-03 Thread Tim Lucia
http://localhost:8080/manager/status/all will give you pretty much all available information on the tomcat you ask about. It's in HTML. http://localhost:8080/manager/status?XML=true - doesn't show the hosts, as far as I can tell. -Original Message- From: John Powers [mailto:[EMAIL

Re: [OT] Better JSP Performance with Opteron

2006-04-03 Thread Rainer Jung
Using large pages to eliminate TLB misses has nothing to do with the size of the objects. From the view of the operating system java heap is just a huge and continuous chunk of memory. Anything what's inside is managed by the JVM. But whenever the JVM needs to access an adress it needs to make

Re: Deploying with Static Context Descriptors

2006-04-03 Thread Eric Wulff
ok, I solved the problem for my configuration and perhaps my solution will help you. I'm running tomcat 5.5.16 on win XP and java 1.5_06. I have my webapp sitting in a directory titled ROOT instead of appName as I had it in tomcat 5.0.28 (of course I renamed the original ROOT directory to

Re: [OT] Better JSP Performance with Opteron

2006-04-03 Thread Leon Rosenberg
Ok, my fault, read page and java in one sentence - map to Java Page - Java Server Page. Must be a circuit error in the brain. Anyway, does it mean, that a proper configured JVM on an opteron processor, will be significantly faster? Could be very interesting for caches... Leon On 4/3/06, Rainer

Character Encoding : Unix vs Windows

2006-04-03 Thread Nigel Blake
Problem : Creating a URL type with parameters that have a space between them causes an IOException in a javabean when called from Tomcat 5.0.0.27 on a Unix installation. Using the same bean and JSP code causes no problem when invoked on the same version of Tomcat on a Windows installation.

Re: Character Encoding : Unix vs Windows

2006-04-03 Thread Michael Jouravlev
On 4/3/06, Nigel Blake [EMAIL PROTECTED] wrote: Problem : Creating a URL type with parameters that have a space between them causes an IOException in a javabean when called from Tomcat 5.0.0.27 on a Unix installation. Using the same bean and JSP code causes no problem when invoked on the same

RE: Character Encoding : Unix vs Windows

2006-04-03 Thread Derrick Koes
java.net.URLEncoder.encode -Original Message- From: Nigel Blake [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 5:43 PM To: users@tomcat.apache.org Subject: Character Encoding : Unix vs Windows Problem : Creating a URL type with parameters that have a space between them causes

Re: [OT] Better JSP Performance with Opteron

2006-04-03 Thread Rainer Jung
Leon Rosenberg wrote: Ok, my fault, read page and java in one sentence - map to Java Page - Java Server Page. Must be a circuit error in the brain. Anyway, does it mean, that a proper configured JVM on an opteron processor, will be significantly faster? Could be very interesting for caches...

  1   2   >