svn commit: r407176 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread mturk
Author: mturk Date: Tue May 16 23:33:41 2006 New Revision: 407176 URL: http://svn.apache.org/viewcvs?rev=407176&view=rev Log: Use APR_UNSPEC for IPv6 and address=null. Backport from 5.5 branch. Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: tomcat/t

Tomcat server seems to cache URLconnections for around 5 seconds.

2006-05-16 Thread Bhat, Deepak (STSD)
Hi all, I am facing a problem with my application trying to retrieve data through the tomcat server.My client side is an applet.The server part of the code retrieves data & puts it in an xml file.The client opens a URL connection to get the data from xml file.It is observed that when the c

Re: Ongoing stuff

2006-05-16 Thread DC102659
Really, is this the way to get ride of it? Back and forth?

Re: Ongoing stuff

2006-05-16 Thread DC102659
I still have it, it's complicated.

Re: Ongoing stuff

2006-05-16 Thread Remy Maucherat
Costin Manolache wrote: For example, I would assume what you need is: 1. a servlet to tell tomcat to not close the connection ( "I'm not done, but I'm going to sleep waiting for events for a while" ) 2. a way for a thread/event to tell tomcat to resume a particular request, and 3. a way for tom

Re: JKStatus Bug?

2006-05-16 Thread Rainer Jung
Hi David, done ;) It would be nice, if you could test SVN trunk. I also added some small documentation parts. The new attribute is called "jvm_route" and it also has been included into the status worker. If you've never built mod_jk from the repository: there is no "configure" in the reposi

svn commit: r407096 - in /tomcat/connectors/trunk/jk: native/TODO native/common/jk_lb_worker.c native/common/jk_lb_worker.h native/common/jk_shm.h native/common/jk_status.c native/common/jk_util.c xdo

2006-05-16 Thread rjung
Author: rjung Date: Tue May 16 15:52:39 2006 New Revision: 407096 URL: http://svn.apache.org/viewcvs?rev=407096&view=rev Log: Adding attribute "distance" to balanced workers. Express Preferences between the balanced workers of an lb worker. A load balancer will never choose some balanced worker i

svn commit: r407093 - in /tomcat/connectors/trunk/jk: native/common/jk_lb_worker.c native/common/jk_shm.h native/common/jk_status.c native/common/jk_util.c xdocs/config/workers.xml

2006-05-16 Thread rjung
Author: rjung Date: Tue May 16 15:21:23 2006 New Revision: 407093 URL: http://svn.apache.org/viewcvs?rev=407093&view=rev Log: Add attribute jvm_route to balanced workers. Default value is equal to the worker name. This attribute is used to match session stickyness. It's useful, if you want to incl

DO NOT REPLY [Bug 39594] New: - Bug for creating relative context in the server.xml

2006-05-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: JKStatus Bug?

2006-05-16 Thread dhay
Actually that's the other way my colleague and I came up with. It seems a little clumsier, but will work for us. > I'll see, what I can do ... Thanks. What kind of timeframe are we looking at? cheers, David |-+> | | Rainer Jung | |

Re: JKStatus Bug?

2006-05-16 Thread Rainer Jung
Hi David, no internally it works like that: an lb worker has an internal representation of the status of it's balanced workers. This is created during initialization, so each lb worker has his own view of the balanced workers. They don't share any information, like disable/stop, error or usag

Re: JKStatus Bug?

2006-05-16 Thread dhay
Hi Rainer, Thanks for the reply. As far as configuration change suggestions, how about making things more fine-grained, so you can specify the worker within the balancer - eg: worker.adminloadbalancer.BLUFF.disabled=1 Presumably something like that is happening within jkstatus? cheers, Da

DO NOT REPLY [Bug 39592] New: - SSI does not correctly process HEAD request

2006-05-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: JKStatus Bug?

2006-05-16 Thread Rainer Jung
Hi, it's true, that jkstatus doesn't persist changes. There is no functionality there to write a workers.properties (it's somewhere near the end of the TODO). Concerning disabled: Yes, disabled at the moment is an attribute belonging to a worker and when using stickyness for any jvmRoute you

Re: Ongoing stuff

2006-05-16 Thread Costin Manolache
I think Jetty had an intersting approach on this, with their so called 'continuation'. I didn't like their use of exceptions to control the flow. +1 on adding the functionality ( as long as you're ok with eventually adding the same on the nio connector on sandbox :-), but it would be great to rev

svn commit: r406994 - /tomcat/container/tc5.5.x/modules/groupcom/test/java/org/apache/catalina/tribes/test/channel/TestChannelOptionFlag.java

2006-05-16 Thread fhanik
Author: fhanik Date: Tue May 16 10:12:32 2006 New Revision: 406994 URL: http://svn.apache.org/viewcvs?rev=406994&view=rev Log: More checks Modified: tomcat/container/tc5.5.x/modules/groupcom/test/java/org/apache/catalina/tribes/test/channel/TestChannelOptionFlag.java Modified: tomcat/conta

svn commit: r406993 - /tomcat/container/tc5.5.x/modules/groupcom/test/java/org/apache/catalina/tribes/test/channel/TestChannelOptionFlag.java

2006-05-16 Thread fhanik
Author: fhanik Date: Tue May 16 10:12:03 2006 New Revision: 406993 URL: http://svn.apache.org/viewcvs?rev=406993&view=rev Log: Added test for checking option flag dependencies Added: tomcat/container/tc5.5.x/modules/groupcom/test/java/org/apache/catalina/tribes/test/channel/TestChannelOption

Re: Ongoing stuff

2006-05-16 Thread Remy Maucherat
Costin Manolache wrote: For those of us who don't know much about 'comet' - could you explain a bit more ? A small example, some pointers to what APIs are needed ( if it's not service ), why service doesn't work, etc. There's some documentation here: http://alex.dojotoolkit.org/wp-content/Lo

svn commit: r406989 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java

2006-05-16 Thread fhanik
Author: fhanik Date: Tue May 16 10:01:22 2006 New Revision: 406989 URL: http://svn.apache.org/viewcvs?rev=406989&view=rev Log: Documented the group channel Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java Modified: tomcat/cont

JKStatus Bug?

2006-05-16 Thread dhay
Hi, We're using 3 load-balancers to seperate our requests up (client and admin etc.) and numerous tomcat servers (we're running Apache in front). We need to be able to disable servers on a load-balancer level - so I need to disable 2 of the 3 load balancers on a particular server, say. We can do

Re: svn commit: r406942 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Markus Schönhaber
Mladen Turk wrote: > I will. Just needed a second confirmation if it's working as expected. Oops, sorry for the noise. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: svn commit: r406942 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Mladen Turk
Markus Schönhaber wrote: You might also want to change tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java I will. Just needed a second confirmation if it's working as expected. Regards, Mladen. - To

Re: svn commit: r406942 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > Modified: > tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.ja Thanks, Mladen. You might also want to change     tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Regards mks --

Re: Ongoing stuff

2006-05-16 Thread Costin Manolache
For those of us who don't know much about 'comet' - could you explain a bit more ? A small example, some pointers to what APIs are needed ( if it's not service ), why service doesn't work, etc. Costin On 5/16/06, Remy Maucherat <[EMAIL PROTECTED]> wrote: Hi, I am proposing to add a new featur

DO NOT REPLY [Bug 35869] - Can't run as a service on Windows Server 2003 64-Bit Edition

2006-05-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

svn commit: r406942 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread mturk
Author: mturk Date: Tue May 16 06:45:44 2006 New Revision: 406942 URL: http://svn.apache.org/viewcvs?rev=406942&view=rev Log: Use APR_UNSPEC for IPv6 and address=null. Thanks to Markus Schönhaber for spotting that. Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEnd

Re: svn commit: r406857 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Markus Schönhaber
Am Dienstag, den 16.05.2006, 13:30 +0200 schrieb Mladen Turk: > Markus Schönhaber wrote: > > Using APR_UNSPEC was introduced to make the APR Connector also listen on > > IPv6 addresses if no specific address is configured - this way > > resembling the behaviour of the Base Connector. > > http://iss

Re: Ongoing stuff

2006-05-16 Thread Remy Maucherat
Kevin A. Palfreyman wrote: Remy, This sounds interesting, but can I ask how this differs from what Pushlets does using standard servlets? (http://www.pushlets.com/) We use these extensively, so obviously something that provides similar functionality but with a lighter-weight backend might be

DO NOT REPLY [Bug 20268] - Tomcat 5.0.2 takes 100% CPU

2006-05-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: svn commit: r406857 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Mladen Turk
Markus Schönhaber wrote: Could you please explain the reason for this change? Sure :) Using APR_UNSPEC was introduced to make the APR Connector also listen on IPv6 addresses if no specific address is configured - this way resembling the behaviour of the Base Connector. http://issues.apache.

RE: Ongoing stuff

2006-05-16 Thread Kevin A. Palfreyman
Remy, This sounds interesting, but can I ask how this differs from what Pushlets does using standard servlets? (http://www.pushlets.com/) We use these extensively, so obviously something that provides similar functionality but with a lighter-weight backend might be interesting, but I'd love to

Re: svn commit: r406857 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread Markus Schönhaber
Am Dienstag, den 16.05.2006, 07:09 + schrieb [EMAIL PROTECTED]: > Author: mturk > Date: Tue May 16 00:09:43 2006 > New Revision: 406857 > > URL: http://svn.apache.org/viewcvs?rev=406857&view=rev > Log: > Use APR_UNSPEC only if the provided address > actually is the IPV6 address. > > Modified:

Ongoing stuff

2006-05-16 Thread Remy Maucherat
Hi, I am proposing to add a new feature in the development branch to support comet (aka, being able to push data on a HTTP connection, outside of the execution of the service method of the servlet). Certain applications require this sort of capability (like gtalk; to be honest, I don't know t

Re: StandardContext.init(), MapperListener.init()

2006-05-16 Thread Remy Maucherat
Costin Manolache wrote: Hi, I'm trying to understand the 2 methods - is there any particular reason for getting the info via JMX instead of just calling the methods ? Would it be safe to use the direct calls ? For example, in StandardContext we get 'configClass' attribute from the parent - my u

Re: problem in installing tomcat.

2006-05-16 Thread bossert
Yoo, Wrap you application in a war file including the packages you use and deploy using tomcat manager... Use IDE like Eclipse to make war files... Greetings O. On Thu, 2006-05-04 at 09:28 +0530, [EMAIL PROTECTED] wrote: > Hi, > I am new to JSP and Tomcat. > this is a very basic question that I

svn commit: r406860 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread mturk
Author: mturk Date: Tue May 16 00:14:46 2006 New Revision: 406860 URL: http://svn.apache.org/viewcvs?rev=406860&view=rev Log: Use APR_UNSPEC only if the provided address actually is the IPV6 address. Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: to

svn commit: r406859 - /tomcat/build/tc5.5.x/build.properties.default

2006-05-16 Thread mturk
Author: mturk Date: Tue May 16 00:11:24 2006 New Revision: 406859 URL: http://svn.apache.org/viewcvs?rev=406859&view=rev Log: Increment the current version number. Modified: tomcat/build/tc5.5.x/build.properties.default Modified: tomcat/build/tc5.5.x/build.properties.default URL: http://svn

svn commit: r406857 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java

2006-05-16 Thread mturk
Author: mturk Date: Tue May 16 00:09:43 2006 New Revision: 406857 URL: http://svn.apache.org/viewcvs?rev=406857&view=rev Log: Use APR_UNSPEC only if the provided address actually is the IPV6 address. Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java Mod