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 open

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 e-mail

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

Re: Maximum number of simultaneous HTTP Requests / Performance

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 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

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 access?

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 w

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 pos

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: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Rajeev Jha
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 means keeping 3000 thread

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 means

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
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 > > keep 3000 of thos

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 try

can't load server.xml

2006-04-03 Thread Ali Kassem
Hi, I am using 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 But when I create a new user with permissions to logs and work directories, and try to startup t

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 wo

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Tp
Remy Maucherat schrieb: 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 keep

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 f

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 implemen

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 w

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Rajeev Jha
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 replace the servlet con

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 Leon Rosenberg
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 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

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 rep

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 s

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 org.apache.coyote.http11.Http11Protocol

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

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 > t

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

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 polli

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 simp

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 sh

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] Sen

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 fou

Re: Rephrased: Maximum number of simultaneous HTTP connections

2006-04-03 Thread Remy Maucherat
On 4/3/06, Daniel Guggi <[EMAIL PROTECTED]> wrote: > 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

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 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 server.xmlwith

Slower file upload across WAN using AJP connector

2006-04-03 Thread Su,Tong X (MCD)
Hi All, We have a NY based intranet web app (Tomcat hosted) with a global client base. To improve performance in Tokyo/Hong Kong, we have deployed an Apache server in Tokyo to locally serve the static content (style, script, and image files), while proxying the dynamic content requests over the WA

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? Thanks

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 P.

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'

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. -- xx

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/ http://www

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 pro

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' t

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). http://java.sun.com/j2se/1.5.0/docs/api/j

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 name="vvAbcDe

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 T

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: http://www.apache.org/dist/tomcat/tomcat-con

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 is

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 PRO

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!? Tir

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 java.library.path

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: and now undeploy can properly remove the webapp directory. Apparently there is a problem

[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: 'users@tomcat.apache

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 [ajp-800

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. T

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 followin

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 issues

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 olicy.rejectedExecution(Thre

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 ot

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 Sub

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 secu

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

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. ---

Re: 5.5.16 & native library

2006-04-03 Thread Eric Wulff
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? Eric On 4/3/06, David Rees <[EMAIL PROTECTED]> wrote: > On 4/3/06, Eric Wulff <[EMAIL PROTECTED]> wrote: > > > > Doesn't seem too serious but I've found litt

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 deployin

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 ht

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): faile

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 r

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 respons

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

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 olicy.rej

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, n

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 load

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 MyAppli

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 Hello

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 servlet

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 Inh

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
I didn't use ServletContextlistener beause my inner classes don't know anything about a servlet or http (MVC) and the core is used across services, swing and swt applications, etc. -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:46 PM To: To

RE: Tomcat tag question

2006-04-03 Thread John Powers
Or use a filter to append that tag onto any response that is html... -Original Message- From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 2:38 PM To: Tomcat Users List Subject: Re: Tomcat tag question MW Mike Weiner (5028) wrote: > Dear List readers > > Sorr

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 Message--

  1   2   >