Re: Hand Authentication to Apache

2009-11-10 Thread Ivan Eulaers
Tomcat 6 has been installed by my hosting provider, and I don't know how it is connected to Apache. I'm not a technical expert, and I'm only looking for a solution. This is my server.xml www.pa.be --- On Tue, 11/10/09, Christopher Schultz wrote: > From: Christopher Schultz

Re: Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-10 Thread Filip Hanik - Dev Lists
200 OK is immediate, but the body is left open. meaning, the chunk is left. you can share your tcpdump and tomcat logs Filip On 11/10/2009 07:08 AM, georgi danov wrote: Hi, I have a CometProcessor servlet that receives events and queues them for processing by separate thread pool (a.k.a

Re: debugging model classes tied to Tomcat datasources

2009-11-10 Thread Eric P
> I'll bet the only thing your code does with a JNDI string is perform the lookup and get a Datasource. You could implement multiple constructors allowing your code to be initialized w/ a JNDI string, DataSource object, or url/username/password. The code utilizing the model classes would simpl

Re: [OT] WebappClassLoader and undeploy

2009-11-10 Thread Elli Albek
Sorry Mark. Well this class loading scheme (context class loader -> static variable) sounds little like a bug. Thanks for that startup class. I think it will solve a problem that we have (using imageio). So you just add it as high up as possible in the server.xml hierarchy? E --

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cae, On 11/10/2009 6:36 PM, Cae Fernandes wrote: > I wanna do a per-user basis transfer rate limit. My business "core" sort of > depends on this. > It could be like a rapidshare type of business. If you can't do this with a piece of network hardware,

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-10 Thread Cae Fernandes
Well, I've never run Apache before, I've been looking into MPM configuration for tomcat, but it seems like running apache may be too much for tomcat, and I`m afraid it could hurt performance in comparison to coyoto. Even though I've seen a comparison between tomcat and apache httpd mpm, and tomc

RE: remote debug

2009-11-10 Thread Martin Gainty
> To whom it may concern, mg>the friendliest greeting ive seen all week mg>contact us...@maven.apache.org and display your pom.xml (and location of your repositories) > > On 11/10/2009 2:18 AM, maven apache wrote: > > hi: > > I am so sorry to ask this problem again but I do can not make it wor

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
>What do you mean "different hash"? the hasCode of the java object >So, the sessionDestroyed method is called, yet the session appears to >continue to live and be accessible? Yikes I have HttpSessionObj1 with ID 1 and hash A HttpSessionObj2 with ID 1 and hash B A is destroyed B is ne

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
>"Request the war file"? That sounds, well, a little imprecise, what >*exactly* are you requesting? I request with a browser the doGet method of a servlet, inside the toGet I call "request.getSession(true);" >They're in different classloaders, (assuming you mean .hashCode()), so >that's expec

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread Pid
On 10/11/2009 21:44, mauroS wrote: hello, I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 I have one EAR file with two WAR files inside. I added HttpSessionListener in web.xml to both wars. If I request both war files from the same browser "Request the war file"? That sounds, well, a l

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mauro, On 11/10/2009 4:44 PM, mauroS wrote: > I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 > > I have one EAR file with two WAR files inside. > > I added HttpSessionListener in web.xml to both wars. > > If I request both war files from the sa

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread André Warnier
mauroS wrote: hello, I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 I have one EAR file with two WAR files inside. I added HttpSessionListener in web.xml to both wars. If I request both war files from the same browser I have two HttpSession objects with different hash but with the same se

HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
hello, I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 I have one EAR file with two WAR files inside. I added HttpSessionListener in web.xml to both wars. If I request both war files from the same browser I have two HttpSession objects with different hash but with the same sessionID. That i

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Rainer Jung
On 10.11.2009 22:30, André Warnier wrote: > Rainer Jung wrote: >> On 10.11.2009 21:32, Christopher Schultz wrote: Could you provide the translation? >>> www.lmgttfy.com? >>> >>> http://translate.google.com/translate_t?hl=en&ie=UTF-8&text=Nach+der+Mittagspause+stellte+Mark+Thomas+im+Tomcat-Tra

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread André Warnier
André Warnier wrote: Rainer Jung wrote: On 10.11.2009 21:32, Christopher Schultz wrote: Could you provide the translation? www.lmgttfy.com? http://translate.google.com/translate_t?hl=en&ie=UTF-8&text=Nach+der+Mittagspause+stellte+Mark+Thomas+im+Tomcat-Track+die+Neuerungen+in+Tomcat+7+vor.+Die

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread André Warnier
Rainer Jung wrote: On 10.11.2009 21:32, Christopher Schultz wrote: Could you provide the translation? www.lmgttfy.com? http://translate.google.com/translate_t?hl=en&ie=UTF-8&text=Nach+der+Mittagspause+stellte+Mark+Thomas+im+Tomcat-Track+die+Neuerungen+in+Tomcat+7+vor.+Die+neue+Tomcat-Version+w

Re: remote debug

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/10/2009 2:18 AM, maven apache wrote: > hi: > I am so sorry to ask this problem again but I do can not make it work. I > have seen the faq, and the doc pages,also I go to the goole to search but > .. > > I am using to

Re: tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/10/2009 4:02 PM, André Warnier wrote: > Caldarale, Charles R wrote: >>> From: Simão Fontes [mailto:simao.fon...@fccn.pt] >>> Subject: tomcat 5.5.25 - Multiple Connectors and performance lost >>> >>> I have 4 web applications that communic

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 11/10/2009 3:55 PM, Rainer Jung wrote: > On 10.11.2009 21:32, Christopher Schultz wrote: >>> Could you provide the translation? >> >> www.lmgttfy.com? >> >> http://translate.google.com/translate_t?hl=en&ie=UTF-8&text=Nach+der+Mittagspause+

Re: [OT] WebappClassLoader and undeploy

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/9/2009 6:47 PM, Mark Thomas wrote: > Give this a go: > http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java You gotta love Sun: private static boolean defaultUseCaches = true

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carlos, On 11/10/2009 8:47 AM, Cae Fernandes wrote: > Is there any kind of bandwidth limiter ou transfer rate limiter readily > available for tomcat? > > I know that for apache 2.2.x there is: > > mod_curb - http://www.steve.org.uk/Software/mod_curb

Re: tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-10 Thread André Warnier
Caldarale, Charles R wrote: From: Simão Fontes [mailto:simao.fon...@fccn.pt] Subject: tomcat 5.5.25 - Multiple Connectors and performance lost I have 4 web applications that communicate with each other. My problem consists in getting the information form the various applications when the number

Re: Tomcat startup exception

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/9/2009 11:08 AM, Pid wrote: > On 09/11/2009 15:46, André Warnier wrote: >> and mimsy were the borogroves > > Aha! You've employed the Inclined Sandle Variation presuming that will > flummox me; but I have the perfect riposte: marmoset sin

Re: Tomcat startup exception

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Milan, On 11/9/2009 6:32 AM, Milan Tomic wrote: > I have just installed it and moved some apps from tomcat 5.0. You should start over with the server.xml that came with Tomcat 6.0 and add whatever configuration you need. TC 5.0 server.xml is unlikel

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Rainer Jung
On 10.11.2009 21:32, Christopher Schultz wrote: >> Could you provide the translation? > > www.lmgttfy.com? > > http://translate.google.com/translate_t?hl=en&ie=UTF-8&text=Nach+der+Mittagspause+stellte+Mark+Thomas+im+Tomcat-Track+die+Neuerungen+in+Tomcat+7+vor.+Die+neue+Tomcat-Version+wird+die+Se

Re: Want to customise the tomcat's session logic

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/9/2009 9:55 PM, André Warnier wrote: > Christopher Schultz wrote: >> >> I wish you'd tell us what the heck you're trying to do because I'm >> certain there's an easier way to do it. >> > Like maybe just add an attribute to the session, co

Re: Uploading Images - Refresh Directory

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mshowers, On 11/10/2009 9:14 AM, mshowers wrote: > Looking for some help - I am using DWR (ajax) to upload image files to my web > app. > > The app is running on Tomcat v6.0. > > I'm putting the files into a directory in WebContent\images or > WebC

Re: [OT] ConnectionPool question

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 11/10/2009 9:18 AM, Josh Gooding wrote: > the reason there are multiple recycleConnection methods is because if a RS > is passed to the front presentation layer, I have to have a way to close it, > I have to be able to get the statement and c

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 11/10/2009 11:26 AM, Rainer Jung wrote: > It's possible, that this would work as a workaround. The usual "let some > bits dripple to keep the connection active" strategy. Ugh. Why not have the request fire-off a report-generation thread th

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/10/2009 2:53 AM, thomas2004 wrote: >> Just to confirm: you have a single request that takes 20-40 minutes to >> fulfill? Or do you issue a request to generate the report and then, >> later, issue a request to retrieve the (already-genera

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 11/10/2009 11:41 AM, Jorge Medina wrote: > Ich kann nicht alles verstehen. Mein deutche ist night zu gut. Nein, das ist dein Deutsch sehr beschissen. > Could you provide the translation? www.lmgttfy.com? http://translate.google.com/tran

Re: Secure login only, not rest of app

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 11/10/2009 7:48 AM, Robert Denison wrote: > If the Valve acts before the filter then I would guess my idea can't > work because the login will have already happened before I get chance > to redirect to https. Therefore meaning the login pro

Re: Secure login only, not rest of app

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 11/10/2009 5:07 AM, Robert Denison wrote: > if (logged in) { > if (https) goto http > } else { > if (http) goto https > } I've outlined this in another post, but I'll repeat it, here: 1. Modify your login page to check for HTTPS. If t

Re: Hand Authentication to Apache

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 11/10/2009 2:26 PM, Ivan Eulaers wrote: > Today, Tomcat has been installed on my server. When I now want to access > those secured directories, I get an error by Tomcat "The requested resource > is not available". How can I repair this? Ar

Re: SEVERE: All threads (700) are currently busy, waiting. Increase maxThreads (700) or check the servlet status

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias, On 11/6/2009 8:56 AM, Tobias Crefeld wrote: > Am Fri, 6 Nov 2009 08:24:14 +0100 > schrieb "Joan Monplet Ortega" : > >> Yeah, It's the one Tomcat. We have 4GB RAM on production Server and >> We run it with 1GB. > > Not too much RAM... how man

Re: Inactive sessions won't be removed

2009-11-10 Thread Pid
On 10/11/2009 19:52, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 11/5/2009 4:47 AM, Christian Stöber wrote: What version of Tomcat are you running? Sorry, I've forgotten. I'm running Tomcat 6.0.20. I can't imagine why the sessions are not expiring

Re: SEVERE: All threads (700) are currently busy, waiting. Increase maxThreads (700) or check the servlet status

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/6/2009 3:02 AM, André Warnier wrote: > But, during a keepalive connection, usually the server needs to dedicate > one process, or child or thread, to this connection. So this > child/thread is blocked, and cannot server requests from oth

Re: Inactive sessions won't be removed

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 11/5/2009 4:47 AM, Christian Stöber wrote: >> What version of Tomcat are you running? > > Sorry, I've forgotten. I'm running Tomcat 6.0.20. I can't imagine why the sessions are not expiring. Is it possible that you're misreading the ou

RE: Secure login only, not rest of app

2009-11-10 Thread Gerwood Stewart
Pid Regarding the login. I don't know what architecture you have but what your asking is possible. what Peter indicated below is more likely. It doesn't look like you are using spring but you might want to look at some of the ways they do such this. I do know you can enforce the use of https i

Re: Hand Authentication to Apache

2009-11-10 Thread Pid
On 10/11/2009 19:26, Ivan Eulaers wrote: I have set up a basic "extranet" where clients can browse directories and view the files in those directories. Access is handled by basic authentication of Apache. In the directories that are open for a specific client I've created a .htaccess file (see

Hand Authentication to Apache

2009-11-10 Thread Ivan Eulaers
I have set up a basic "extranet" where clients can browse directories and view the files in those directories. Access is handled by basic authentication of Apache. In the directories that are open for a specific client I've created a .htaccess file (see example below). Today, Tomcat has been in

RE: tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-10 Thread Caldarale, Charles R
> From: Simão Fontes [mailto:simao.fon...@fccn.pt] > Subject: tomcat 5.5.25 - Multiple Connectors and performance lost > > I have 4 web applications that communicate with each other. My problem > consists in getting the information form the various applications when > the number of threads is reac

tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-10 Thread Simão Fontes
Hello, I need help configuring a tomcat server, 5.5.25, running on Redhat EL 5.2. I have 4 web applications that communicate with each other. My problem consists in getting the information form the various applications when the number of threads is reached only by one application. When I conta

RE: Connect tomcat to Active Directory with jndi

2009-11-10 Thread A A
I think this value should be the active directory group name, isn´t it ?? --- El mar, 10/11/09, Jorge Medina escribió: De: Jorge Medina Asunto: RE: Connect tomcat to Active Directory with jndi Para: "Tomcat Users List" Fecha: martes, 10 de noviembre, 2009 18:55 Is that a typo on the role na

Re: Tomcat build for the patch https://issues.apache.org/bugzilla/show_bug.cgi?id=47316#c3

2009-11-10 Thread Mark Thomas
Krishnamurthi, Venkat wrote: > Hi, > > Is there an alternative to building from source as mentioned in the > workaround? Pay someone to do it for you? > Is there a tomcat build available for the patch reported here? No. > If not, will it be available anytime soon? Releases happen when they happ

Tomcat build for the patch https://issues.apache.org/bugzilla/show_bug.cgi?id=47316#c3

2009-11-10 Thread Krishnamurthi, Venkat
Hi, Is there an alternative to building from source as mentioned in the workaround? Is there a tomcat build available for the patch reported here? If not, will it be available anytime soon? Please let us know. Also, we are not using server.xml to start tomcat. We are use the embedded program

RE: Connect tomcat to Active Directory with jndi

2009-11-10 Thread Jorge Medina
Is that a typo on the role name? Active-directory-Group-Name Should it be Active-Directory-Group-Name ? You may ask in Spanish at http://groups.google.com/group/javasos -Jorge -Original Message- From: A A [mailto:masvalesolo...@yahoo.es] Sent: Tuesday, November 10, 2009 11:20 AM To: u

RE: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Jorge Medina
Ich kann nicht alles verstehen. Mein deutche ist night zu gut. Could you provide the translation? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 10, 2009 11:01 AM To: Tomcat Users List Subject: [OT] Of the dissemination, or globalisation, of Tomca

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 17:12, André Warnier wrote: > Rainer Jung wrote: >> On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. >>> I've moved the socket_timeout and the reply_timeout two days ago but it >>> doesn't help. >> > ... > Hi. > Just my To

Connect tomcat to Active Directory with jndi

2009-11-10 Thread A A
Hi, (Sorry for my english) Im trying  to authenticate an application using Windows Active Directory, with jndi realm connector. Looking for information Ive seen that the realm jndi configuration is able to set up at the server.xml, or in the context.xml aplication and web.xml.In my case I want

RE: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-11-10 Thread shaiAhr
Caldarale, Charles R wrote: > >> From: shaiAhr [mailto:shai.aharonov...@comverse.com] >> Subject: Re: Having trouble with Tomcat 6.0.20 embedded in Red5 >> >> does this mean that in order to work with embedded tomcat >> I must either compile 6.0.20 by myself or wait for 6.0.21? > > If the fix

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Pid
On 10/11/2009 16:01, André Warnier wrote: Nach der Mittagspause stellte Mark Thomas im Tomcat-Track die Neuerungen in Tomcat 7 vor. Die neue Tomcat-Version wird die Servlet-3.0-API unterstützen. Die API-Implementierung ist weit fortgeschritten – soweit die API-Definition selbst schon stabil ist.

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread André Warnier
Rainer Jung wrote: On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. ... Hi. Just my Tomcat- and Java-dummy look on this. As I understand the basic i

[OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread André Warnier
Mark, Nach der Mittagspause stellte Mark Thomas im Tomcat-Track die Neuerungen in Tomcat 7 vor. Die neue Tomcat-Version wird die Servlet-3.0-API unterstützen. Die API-Implementierung ist weit fortgeschritten – soweit die API-Definition selbst schon stabil ist. Zu den neuen Funktionen gehört u

RE: Tomcat Coyote HTTP11Protocol Pause

2009-11-10 Thread Caldarale, Charles R
> From: Arunkumar Janarthanan [mailto:arunkumar.webad...@gmail.com] > Subject: Re: Tomcat Coyote HTTP11Protocol Pause > > little keen to know what this error means cause my develoipers > debating for a while now it is not the application problem. No, it almost certainly *is* an application probl

RE: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-11-10 Thread Caldarale, Charles R
> From: shaiAhr [mailto:shai.aharonov...@comverse.com] > Subject: Re: Having trouble with Tomcat 6.0.20 embedded in Red5 > > does this mean that in order to work with embedded tomcat > I must either compile 6.0.20 by myself or wait for 6.0.21? If the fix is required for your environment, then yes

RE: Secure login only, not rest of app

2009-11-10 Thread Caldarale, Charles R
> From: Robert Denison [mailto:r...@blim.org] > Subject: Re: Secure login only, not rest of app > > Simple question but can you do one /* constraint and then override that > with a subsequent /images (and css etc) constraint Yes, that's required by the servlet spec - longest match wins. - Chuck

Re: Tomcat Coyote HTTP11Protocol Pause

2009-11-10 Thread Arunkumar Janarthanan
Hi Pid, Thanks for throwing light on the issue and it is much appreciated, little keen to know what this error means cause my develoipers debating for a while now it is not the application problem. Could I know what is the Action page is trying to do and gets this exception, is this possible as t

Re: Tomcat Coyote HTTP11Protocol Pause

2009-11-10 Thread Pid
On 10/11/2009 14:31, Arunkumar Janarthanan wrote: Hi Chuk, Thank you for the assistance, when we looked into the logs the Home page for this application throws the below exception followed by HTTP 500 error. Please advice. # #

Re: Tomcat Coyote HTTP11Protocol Pause

2009-11-10 Thread Arunkumar Janarthanan
Hi Chuk, Thank you for the assistance, when we looked into the logs the Home page for this application throws the below exception followed by HTTP 500 error. Please advice. # # LEVEL: SEVERE S

Re: [OT] ConnectionPool question

2009-11-10 Thread Josh Gooding
I'm glad I amuse all of you :P Chris, the reason there are multiple recycleConnection methods is because if a RS is passed to the front presentation layer, I have to have a way to close it, I have to be able to get the statement and connection somehow, and I don't want that in my code. >From

Uploading Images - Refresh Directory

2009-11-10 Thread mshowers
Looking for some help - I am using DWR (ajax) to upload image files to my web app. The app is running on Tomcat v6.0. I'm putting the files into a directory in WebContent\images or WebContent\images\ When I upload the images, I then want to display them on my page. heres the problem. Even if

Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-10 Thread georgi danov
Hi, I have a CometProcessor servlet that receives events and queues them for processing by separate thread pool (a.k.a. asynchronous processor). I do that because I could get 1000s of concurrent requests for job that includes IO wait and I don¹t want to have 1000s of threads lying around wa

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 14:26, thomas2004 wrote: > >> Remove the socket_timeout. Please let us know, whether that helped. > > I've moved the socket_timeout and the reply_timeout two days ago but it > doesn't help. > My workersproperties looks now as follow: > > [code] > worker.worker_portfolio_son1.conne

Re: Secure login only, not rest of app

2009-11-10 Thread Pid
On 10/11/2009 13:25, Robert Denison wrote: Thanks peter, Don't suppose anyone can point me to any documentation that talks about getting caching working properly for tomcat and static content can they? It's not so much a case of Tomcat, unfortunately your app is also affected by browser type

tomcat: bandwidth limiter / transfer rate limit ?

2009-11-10 Thread Cae Fernandes
Hello, Is there any kind of bandwidth limiter ou transfer rate limiter readily available for tomcat? I know that for apache 2.2.x there is: mod_curb - http://www.steve.org.uk/Software/mod_curb/ mod_cband - http://codee.pl/cband.html I know that I can probably come up with a servlet that outpu

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-11-10 Thread shaiAhr
Mark Thomas wrote: > > Mondain wrote: >> Mark,Thanks for the patch; it works like a champ! Now how can I use this >> with future releases of Tomcat? Will I have to reapply it each time? > > Thanks for testing. Assuming it gets the necessary 3 +1s, it will be in > 6.0.21 onwards. > > Mark > >

Re: Tomcat 5.5.26 hangs

2009-11-10 Thread conrad-tomcat . users . 2009
Hi, for completeness: the issue seems to have been resolved. The problems were apparently caused by a misconfigured router between the webservers and the appservers. Am Mittwoch, 14. Oktober 2009 schrieb Mark Thomas: > > > Any idea how to gain more information? > > Jk debug logs > wireshark > com

Re: Secure login only, not rest of app

2009-11-10 Thread Pid
On 10/11/2009 12:48, Robert Denison wrote: Just to pick up on the point below. If the Valve acts before the filter then I would guess my idea can't work because the login will have already happened before I get chance to redirect to https. Therefore meaning the login process will have happened

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread thomas2004
>Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. My workersproperties looks now as follow: [code] worker.worker_portfolio_son1.connection_pool_timeout=600 worker.worker_portfolio_son1.socke

Re: Secure login only, not rest of app

2009-11-10 Thread Robert Denison
Thanks peter, Don't suppose anyone can point me to any documentation that talks about getting caching working properly for tomcat and static content can they? R. On 10 Nov 2009, at 13:14, Peter Crowther wrote: > 2009/11/10 Robert Denison : >> I assume that the standard way of dealing with sta

Re: Secure login only, not rest of app

2009-11-10 Thread Peter Crowther
2009/11/10 Robert Denison : > I assume that the standard way of dealing with static caching is to have e.g. > an images (css etc) directory and have that not secure? No, as on most browsers that will pop up a dialog box with something like "this page contains both secure and insecure items. Do y

Re: Secure login only, not rest of app

2009-11-10 Thread Robert Denison
Just to pick up on the point below. If the Valve acts before the filter then I would guess my idea can't work because the login will have already happened before I get chance to redirect to https. Therefore meaning the login process will have happened unencrypted... R. On 10 Nov 2009, at 10:4

Re: Secure login only, not rest of app

2009-11-10 Thread Robert Denison
I assume that the standard way of dealing with static caching is to have e.g. an images (css etc) directory and have that not secure? Simple question but can you do one /* constraint and then override that with a subsequent /images (and css etc) constraint or is there a different preferred way

Re: Suggested workaround for bug 47316

2009-11-10 Thread Konstantin Kolinko
2009/11/10 Amol Wate (awate) : > Hi Mark, > I tried it but the approach did not succeed. As in this thread > http://www.mail-archive.com/users@tomcat.apache.org/msg62626.html > > Is there any other workaround? > Thanks > Amol > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.o

Re: Secure login only, not rest of app

2009-11-10 Thread Robert Denison
Ugh, I didn't know about the interference with caching (I am fairly new to this) so it seems that adds weight to the idea of not securing anything but the login process I'll give these ideas a try and report back so it's public info. Thanks again P. R. On 10 Nov 2009, at 10:42, Pid wrote:

Re: Secure login only, not rest of app

2009-11-10 Thread Pid
On 10/11/2009 10:07, Robert Denison wrote: Hi P, Thanks very much for your reasoned helpful response. I fancied securing only login because I only want logged in users to see the service and I want the login to be secure (passwords are safe) but the data itself is irrelevant so I figure why s

RE: Suggested workaround for bug 47316

2009-11-10 Thread Amol Wate (awate)
Hi Mark, I tried it but the approach did not succeed. As in this thread http://www.mail-archive.com/users@tomcat.apache.org/msg62626.html Is there any other workaround? Thanks Amol -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, November 10, 2009 3:33 PM To:

Re: Secure login only, not rest of app

2009-11-10 Thread Robert Denison
Hi P, Thanks very much for your reasoned helpful response. I fancied securing only login because I only want logged in users to see the service and I want the login to be secure (passwords are safe) but the data itself is irrelevant so I figure why spend cpu cycles encrypting/decrypting normal

Re: tomcat caching

2009-11-10 Thread Pid
On 10/11/2009 08:44, fireportal wrote: Hi, i have this problem of i am able to edit the xml file but when i try to link it up with a piechart using amchart, the data shown is that of the previous data before the update. It is only when i open up the xml file to refresh it that it is able to show

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 09.11.2009 11:27, thomas2004 wrote: > > I newly installed the mod_jk 1.2.28 and since then got problem (see below). > > ** > We have a web application deployed on Jboss (RH Linux OS). The access to the > web application is via a Apache Httpd Web Server. One of the function

Re: Suggested workaround for bug 47316

2009-11-10 Thread Mark Thomas
Amol Wate (awate) wrote: > Is there a suggested workaround for the bug 47316 In config file, > Service and engine names must match without building the tomcat > source. > > https://issues.apache.org/bugzilla/show_bug.cgi?id=47316#c3 > > We are using a programmatic interface, not the server.x

Re: WebappClassLoader and undeploy

2009-11-10 Thread Mark Thomas
Elli Albek wrote: > Thomas, My given name is is Mark. Thomas is my family name. > what is the issue with javax.imageio? Do they really use > context class loader for loading static variables? Yes. First call to most methods in that library trigger a call to sun.awt.AppContext.getAppContext() whi

Suggested workaround for bug 47316

2009-11-10 Thread Amol Wate (awate)
Is there a suggested workaround for the bug 47316 In config file, Service and engine names must match without building the tomcat source. https://issues.apache.org/bugzilla/show_bug.cgi?id=47316#c3 We are using a programmatic interface, not the server.xml. Thanks In Advance Amol

tomcat caching

2009-11-10 Thread fireportal
Hi, i have this problem of i am able to edit the xml file but when i try to link it up with a piechart using amchart, the data shown is that of the previous data before the update. It is only when i open up the xml file to refresh it that it is able to show the new data. Tried setting cachingAllow

RE: Deploying and building a war file

2009-11-10 Thread Karthik Nanjangude
Hi >> i have to rebuild the war file meaning >> i >> have to recompile everything. I have been using Eclipse / Tomcat for build deploy and as far as the Compilation is considered correct, But why rebuild the **.war" , Can u write an ANT script to copy the modified *.class or *.jsp or *.proper