Re: java thread open after Tomcat shutting down

2010-12-03 Thread Pid
On 12/3/10 6:59 PM, Mark Thomas wrote: > On 03/12/2010 18:36, pix_siro wrote: >> >> Hi all, >> I'm working on Ubuntu 9.10, I have implemented a Java application and I have >> installed it on Tomcat 7.0.4 with a WAR file. When I shut down Tomcat with >> the command ./shutdown.sh, a java thread remai

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Pid
On 12/3/10 5:53 PM, Konstantin Preißer wrote: > On 12/03/10 18:05 PM, Pid wrote: >> So, if you can consistently repeat this, can you also confirm >> that changing the date of the static error page prevents the >> 304 from being sent on a subsequent request? > > Hello, > > when I change the date o

Re: tomcat 7 in debian/ubuntu

2010-12-03 Thread Jason Brittain
Hi Rodrigo. As far as I am aware, there is currently no Tomcat 7 debian package tree being worked on, nor am I currently working on one. I have recently been discussing the possibility of working on a Tomcat 7 package that goes across both deb and RPM formats (in an attempt to merge lots of dupli

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jordan, On 12/3/2010 2:56 PM, Jordan Michaels wrote: > It's what makes me think that the... > > sun.net.client.defaultConnectTimeout (default: -1) > sun.net.client.defaultReadTimeout (default: -1) > > settings are involved somehow... - From the doc

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
Michael Ludwig schrieb am 03.12.2010 um 20:51 (+0100): > Michael Ludwig schrieb am 03.12.2010 um 20:31 (+0100): > > > networkaddress.cache.ttl > > > Wondering myself what the default value is? > > > > sun.net.inetaddr.ttl > > > So is the "implementation specific period of time" the value ta

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
On 12/03/2010 11:31 AM, Michael Ludwig wrote: Moin Jordan, Jordan Michaels schrieb am 03.12.2010 um 10:39 (-0800): Would any of you be able to point me to some documentation on how the JVM handles DNS resolving? I'm hoping there are JVM settings that can be tweaked to help force the JVM to fa

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
Michael Ludwig schrieb am 03.12.2010 um 20:31 (+0100): > Networking Properties > http://download.oracle.com/javase/6/docs/technotes/guides/net/properties.html#nct > > networkaddress.cache.ttl > Wondering myself what the default value is? > > sun.net.inetaddr.ttl > So is the "implementation

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
Moin Jordan, Jordan Michaels schrieb am 03.12.2010 um 10:39 (-0800): > Would any of you be able to point me to some documentation on how > the JVM handles DNS resolving? I'm hoping there are JVM settings > that can be tweaked to help force the JVM to fail over to the > secondary resolver. > > I'

Re: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
On 12/03/2010 11:11 AM, Caldarale, Charles R wrote: From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: SOT: JVM and DNS Failover However, the JVM doesn't seem to be doing that. Whenever this name server goes offline, the application dies because something it's doing (we didn't write

RE: JVM and DNS Failover

2010-12-03 Thread Caldarale, Charles R
> From: Jordan Michaels [mailto:jor...@viviotech.net] > Subject: SOT: JVM and DNS Failover > However, the JVM doesn't seem to be doing that. Whenever this name > server goes offline, the application dies because something it's doing > (we didn't write it) needs to resolve in order for the site

Re: java thread open after Tomcat shutting down

2010-12-03 Thread Mark Thomas
On 03/12/2010 18:36, pix_siro wrote: > > Hi all, > I'm working on Ubuntu 9.10, I have implemented a Java application and I have > installed it on Tomcat 7.0.4 with a WAR file. When I shut down Tomcat with > the command ./shutdown.sh, a java thread remains open. Notice that > application have a con

IIS7 & AJP13

2010-12-03 Thread CRANFORD, CHRIS
I have II7 setup with the ISAPI AJP connector and it works just dandy when using a single worker pointed to a particular tomcat instance. I now need to use some rewrite functionality so that the following occurs: http://mydomain.com/sdm => tomcat SDM instance and runs webapp /myapp http://mydoma

SOT: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
Hey Folks, I apologize for the slightly off-topic post but I'm having trouble researching this issue so I figured it might be worthwhile to make a post where folks more familiar with the intricacies of the JVM might be able to point me in the right direction. We have an application running o

java thread open after Tomcat shutting down

2010-12-03 Thread pix_siro
Hi all, I'm working on Ubuntu 9.10, I have implemented a Java application and I have installed it on Tomcat 7.0.4 with a WAR file. When I shut down Tomcat with the command ./shutdown.sh, a java thread remains open. Notice that application have a connection with a postgres db but the connections ar

tomcat 7 in debian/ubuntu

2010-12-03 Thread Rodrigo Asensio
anyone knows when debian/ubuntu is getting the package for tomcat 7 ??

Re: Does tomcat 7 support websocket?

2010-12-03 Thread Mark Thomas
On 03/12/2010 18:07, Ben wrote: > Hi, > > I know it got servlet 3.0 support, but does it support websocket handshake n > bi-direction talk? No to websocket. It does support comet. Mark - To unsubscribe, e-mail: users-unsubscr.

Does tomcat 7 support websocket?

2010-12-03 Thread Ben
Hi, I know it got servlet 3.0 support, but does it support websocket handshake n bi-direction talk? Tks. PeiSong - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.a

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Konstantin Preißer
On 12/03/10 18:05 PM, Pid wrote: > So, if you can consistently repeat this, can you also confirm > that changing the date of the static error page prevents the > 304 from being sent on a subsequent request? Hello, when I change the date of the static error page so that it is newer than the one wh

Re: APR/Native: when to use it?

2010-12-03 Thread Mark Thomas
On 03/12/2010 09:35, André Warnier wrote: > David Dabbs wrote: >> Would it provide better performance for AJP connector processing? > > Not at all. The comparison you have been pointed to refers to HTTP > connectors. > AJP is another (different) protocol, and has a different connector. The AJP c

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Pid
On 11/29/10 8:38 PM, Konstantin Preißer wrote: >> At the moment I can't reproduce this issue any more. It happened >> some days ago, when I was viewing the webapp by Firefox and >> pressed F5 several times, when I noticed that Firefox sometimes >> displayed HTTP Headers as plain text. I used a n

Parsing request bodies in HTTP PUT messages

2010-12-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, There have been some questions over the past few months about this topic, and I'd like to let everyone know that there's a patch in the Trunk to support it: https://issues.apache.org/bugzilla/show_bug.cgi?id=48692 Note that the patch allows you

Re: Tomcat SSL godaddy

2010-12-03 Thread Ognjen Blagojevic
On 3.12.2010 14:53, Nathaniel Thalluri wrote: I still haven't been able to resolve this issue. Does anyone have any suggestions? Provide more details about the problem: 1. If you open your site with e.g. Firefox, and certificate is not valid, under section "technical details", you will see de

Re: Tomcat SSL godaddy

2010-12-03 Thread Nathaniel Thalluri
I still haven't been able to resolve this issue. Does anyone have any suggestions? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Konstantin Preißer
> Now if I do a GET-Request with an "If-modified-since" header to a file which > doesn't exist, Tomcat returns a 302 Not Modified response instead of 404 Not > Found. I think this is because Tomcat compares the date after the > "Is-modified-since" header to the date of the static 404 error file, th

Re: How to schedule events on Tomcat

2010-12-03 Thread Jan Pernica
Make servlet, start it at context start (load on startup), run thread and control time :) On 2.12.2010 22:08, Brian wrote: Wht I want to do is to call a method inside an object in the same java web app. Trying to do that from the OS would not be a good solution for me. -Original Messag

Re: automatic deployment without server.xml - bad request

2010-12-03 Thread Pid
On 12/2/10 11:39 PM, Justin Case wrote: > But what do you think about the 400 > error? Is it really appropriate as answer in this setup? Well, 404 might be appropriate from the client's point of view. I think I remember the recent suggestion of a default ROOT application, used when no other is p

Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-03 Thread Pid
On 12/3/10 5:23 AM, Konstantin Kolinko wrote: > 2010/12/3 Bill Wang : >> Is it possible? > > I do not think that it is possible. > > Maybe you are running more than 2 tomcat instances (e.g. failed to > stop some old one properly). > > > Maybe one of them runs with wrong $CATALINA_HOME or wrong

Re: migrating to Tomcat 7, when

2010-12-03 Thread Pid
On 12/3/10 9:09 AM, Justin Case wrote: > Hi all, > > I see discussions about migration to Tomcat 7. Do you think it is the right > moment to count your production apps on it? My thought is "no way Jose" but > maybe I'm missing something... It's beta, but it's not poor quality. Code /has/ chang

Re: migrating to Tomcat 7, when

2010-12-03 Thread Ronald Klop
Op vrijdag, 3 december 2010 10:09 schreef Justin Case : Hi all, I see discussions about migration to Tomcat 7. Do you think it is the right moment to count your production apps on it? My thought is "no way Jose" but maybe I'm missing something... Thank you, JC The answer probab

Re: APR/Native: when to use it?

2010-12-03 Thread André Warnier
David Dabbs wrote: Would it provide better performance for AJP connector processing? Not at all. The comparison you have been pointed to refers to HTTP connectors. AJP is another (different) protocol, and has a different connector. Thanks, David -Original Message- From: Caldarale

migrating to Tomcat 7, when

2010-12-03 Thread Justin Case
Hi all, I see discussions about migration to Tomcat 7. Do you think it is the right moment to count your production apps on it? My thought is "no way Jose" but maybe I'm missing something... Thank you, JC - To unsubs

Re: automatic deployment without server.xml - bad request

2010-12-03 Thread Justin Case
> From: Markus Schönhaber > > Yes, it is an error. But in this case, I, too, consider the error erroneous. > A status code of 400 basically means that the request was syntactically > b0rked. But, as I understand it, that's not the problem here: the > request is syntactically fine - it fails be