Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
Thanks Rémy and Mark for the quick feedback and explanations! On Mar 19, 2014 6:40 PM, "Mark Thomas" wrote: > On 19/03/2014 17:04, Rémy Maucherat wrote: > > 2014-03-19 17:47 GMT+01:00 Yann Simon : > > > >>> This is because you're forking a thread, it won't concurrently invoke > the > >>> two even

?????? tomcat 5 logs

2014-03-19 Thread ????????
the source of my problem is that in the application ,we just used many system.out sentence as a log output instead of using log4j, because it is really a old applicaiton ; now we need to capture the the system.out information as a log; your answer : On Windows... I'm not sure what options ar

Re: Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread marcos
On Thu, Mar 20, 2014 at 12:34 AM, marcos wrote: > > > > On Thu, Mar 20, 2014 at 12:29 AM, Mark Eggers wrote: > >> On 3/19/2014 7:43 PM, marcos wrote: >> >>> On Wed, Mar 19, 2014 at 8:48 PM, Mark Eggers >>> wrote: >>> >>> On 3/19/2014 1:45 PM, marcos wrote: Tomcat 7.0.52 > Ant 1.9

Re: Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread marcos
On Thu, Mar 20, 2014 at 12:29 AM, Mark Eggers wrote: > On 3/19/2014 7:43 PM, marcos wrote: > >> On Wed, Mar 19, 2014 at 8:48 PM, Mark Eggers >> wrote: >> >> On 3/19/2014 1:45 PM, marcos wrote: >>> >>> Tomcat 7.0.52 Ant 1.9.2 Windows 7 I am trying to use an Ant task to

Re: Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread Mark Eggers
On 3/19/2014 7:43 PM, marcos wrote: On Wed, Mar 19, 2014 at 8:48 PM, Mark Eggers wrote: On 3/19/2014 1:45 PM, marcos wrote: Tomcat 7.0.52 Ant 1.9.2 Windows 7 I am trying to use an Ant task to deploy a specific version of a tomcat app. I want to do this bacause of the parallel deployment fe

Re: Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread marcos
On Wed, Mar 19, 2014 at 8:48 PM, Mark Eggers wrote: > On 3/19/2014 1:45 PM, marcos wrote: > >> Tomcat 7.0.52 >> Ant 1.9.2 >> Windows 7 >> >> >> I am trying to use an Ant task to deploy a specific version of a tomcat >> app. I want to do this bacause of the parallel deployment feature. >> >> My ta

Re: WebSocket - very slow socket write (~15 min)

2014-03-19 Thread Rossen Stoyanchev
Oops, and here is the (missing) link to original report: [1] https://github.com/rstoyanchev/spring-websocket-portfolio/issues/31

WebSocket - very slow socket write (~15 min)

2014-03-19 Thread Rossen Stoyanchev
hi, The scenario involves a mobile phone switching from wifi to (unstable) mobile network. The phone looses the connection but the server doesn't seem aware. Basically the server tries to send a message and blocks the thread on which this is done. From the logs it seems to take about 15 minutes be

Re: Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread Mark Eggers
On 3/19/2014 1:45 PM, marcos wrote: Tomcat 7.0.52 Ant 1.9.2 Windows 7 I am trying to use an Ant task to deploy a specific version of a tomcat app. I want to do this bacause of the parallel deployment feature. My task so far: http://host/manager/text"; username="${deploy.user}" password="$

Using Ant to deploy a specific version of a Tomcat webapp

2014-03-19 Thread marcos
Tomcat 7.0.52 Ant 1.9.2 Windows 7 I am trying to use an Ant task to deploy a specific version of a tomcat app. I want to do this bacause of the parallel deployment feature. My task so far: http://host/manager/text"; username="${deploy.user}" password="${deploy.pass}" path="/" war="file:${bui

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Mark Thomas
On 19/03/2014 17:04, Rémy Maucherat wrote: > 2014-03-19 17:47 GMT+01:00 Yann Simon : > >>> This is because you're forking a thread, it won't concurrently invoke the >>> two events (which would be invalid). >> >> Can you explain more please? I have difficulties to understand your >> sentence. >> >

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:24 GMT+01:00 Rémy Maucherat : > 2014-03-19 17:10 GMT+01:00 Yann Simon : > >> 2014-03-19 17:05 GMT+01:00 Rémy Maucherat : >> > 2014-03-19 16:36 GMT+01:00 Yann Simon : >> > >> >> I have maybe found another problem: >> >> onAllDataRead is called with the same thread that is calling input

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Rémy Maucherat
2014-03-19 17:47 GMT+01:00 Yann Simon : > > This is because you're forking a thread, it won't concurrently invoke the > > two events (which would be invalid). > > Can you explain more please? I have difficulties to understand your > sentence. > It means the container has to wait until onReadPossi

Re: mod_jk - Failover behaviour and load + patch

2014-03-19 Thread Frederik Nosi
Hi, On 03/19/2014 05:26 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 3/19/14, 10:00 AM, Frederik Nosi wrote: worker.list = worker_test,worker_status worker.worker_status.type=status worker.worker_test.type = lb worker.worker_test.balance_workers

Re: mod_jk - Failover behaviour and load

2014-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 3/19/14, 10:00 AM, Frederik Nosi wrote: > worker.list = worker_test,worker_status > worker.worker_status.type=status > > worker.worker_test.type = lb worker.worker_test.balance_workers = > test1,test2,test3,test4 worker.worker_test.st

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Rémy Maucherat
2014-03-19 17:10 GMT+01:00 Yann Simon : > 2014-03-19 17:05 GMT+01:00 Rémy Maucherat : > > 2014-03-19 16:36 GMT+01:00 Yann Simon : > > > >> I have maybe found another problem: > >> onAllDataRead is called with the same thread that is calling input.read. > >> > > > > I am not aware of any requiremen

Trouble registering an MBean with mbeans-descriptors.xml

2014-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm trying to write my own MBean, and I have it working: the bean is registered and I can browse it using jconsole, etc., call methods, etc. At one point during the process, I believe I had the beans-descriptors.xml file actually being loaded,

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Rémy Maucherat
2014-03-19 16:36 GMT+01:00 Yann Simon : > I have maybe found another problem: > onAllDataRead is called with the same thread that is calling input.read. > I am not aware of any requirement that says this is not allowed. Rémy

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:05 GMT+01:00 Rémy Maucherat : > 2014-03-19 16:36 GMT+01:00 Yann Simon : > >> I have maybe found another problem: >> onAllDataRead is called with the same thread that is calling input.read. >> > > I am not aware of any requirement that says this is not allowed. > > Rémy You're right,

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Mark Thomas
On 19/03/2014 15:36, Yann Simon wrote: > Hi, > > I have maybe found another problem: > onAllDataRead is called with the same thread that is calling input.read. > > I updated the sample to show the problem: > https://github.com/yanns/servlet31_async/commit/3c7618a51a8efd76956a6a29e27f350f7dbe835b

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 16:42 GMT+01:00 Mark Thomas : > On 19/03/2014 15:36, Yann Simon wrote: >> Hi, >> >> I have maybe found another problem: >> onAllDataRead is called with the same thread that is calling input.read. >> >> I updated the sample to show the problem: >> https://github.com/yanns/servlet31_async/

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
Hi, I have maybe found another problem: onAllDataRead is called with the same thread that is calling input.read. I updated the sample to show the problem: https://github.com/yanns/servlet31_async/commit/3c7618a51a8efd76956a6a29e27f350f7dbe835b The servlet displays a wrong size of the uploaded fi

Re: jax-ws and tomcat 7 with ssl

2014-03-19 Thread Leo Donahue
On Tue, Mar 18, 2014 at 2:58 PM, Maria Cristina Siena < mariacristinasi...@sourcecable.net> wrote: > Hi, > > I developed a web service using jax-ws and configured Tomcat to support > SSL connection. Here are my steps: > > ** Step 1 - Generate a self-signed server certificate > > Use JDK 1.7 ke

Re: mod_jk - Failover behaviour and load

2014-03-19 Thread Frederik Nosi
Hi again, sorry for the html email, top posting and for putting you in CC, got used to this on other mailing lists. Thanks, Frederik - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

Re: mod_jk - Failover behaviour and load

2014-03-19 Thread Frederik Nosi
Hi, sure, the conf follows: = worker.list = worker_test,worker_status worker.worker_status.type=status worker.worker_test.type = lb worker.worker_test.balance_workers = test1,test2,test3,test4 worker.worker_test.sticky_session = true worker.worker_test.sticky_session_force = false

Re: tomcat 5 logs

2014-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 改变自己, On 3/19/14, 6:03 AM, 改变自己 wrote: > now my boss let me get the tomcat console information(including > the startup information and visit information ) and store it in a > file; at the same time the file must be produced automaticlly every > day;

Re: tomcat-native libraries

2014-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 3/19/14, 6:00 AM, Randeep wrote: > These are the connectors I can see in my server.xml > > connectionTimeout="2" redirectPort="8443" /> port="8009" protocol="AJP/1.3" redirectPort="8443" /> Since you don't have tcnative available

Re: mod_jk - Failover behaviour and load

2014-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 3/18/14, 10:22 PM, Frederik Nosi wrote: > Each apache httpd talks with every tomcat. > > mod_jk is configured with load balancing by business, sticky > sessions, only one try for ajp worker (so if it's busy i dont add > more stuff to

Re: Webinar On Hadoop!

2014-03-19 Thread Mark Thomas
This idiot has been banned. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Webinar On Hadoop!

2014-03-19 Thread Vivek Kumar
Hi , Want to Know Big Data / Hadoop ? If yes , join us for Free Webinar by industry experts at below link. *FREE webinar on Hadoop, Hosted by : Manoj , Research Director* *Join us for a webinar on Mar 19, 2014 at 8:00 PM IST.* *Register now!* https://attendee.gotowebinar.com/register/5418099

Re: [Off Topic] Forwarding tomcat logs

2014-03-19 Thread Daniel Mikusa
On Mar 19, 2014, at 5:37 AM, Randeep wrote: > Chris, > > > On Wed, Mar 19, 2014 at 1:01 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Dan, >> >> On 3/18/14, 10:40 AM, Daniel Mikusa wrote: >>> On Mar 18, 2014, at

tomcat 5 logs

2014-03-19 Thread ????????
hello ,my friends now my boss let me get the tomcat console information(including the startup information and visit information ) and store it in a file; at the same time the file must be produced automaticlly every day; now i configed the startup.bat file which can get the the information

Re: tomcat-native libraries

2014-03-19 Thread Randeep
Chris,Martin, On Wed, Mar 19, 2014 at 12:59 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Randeep, > > On 3/18/14, 10:27 AM, Randeep wrote: > >> I'm not sure about what kind of connector I'm using. This is my > >> configura

Re: [Off Topic] Forwarding tomcat logs

2014-03-19 Thread Randeep
Chris, On Wed, Mar 19, 2014 at 1:01 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dan, > > On 3/18/14, 10:40 AM, Daniel Mikusa wrote: > > On Mar 18, 2014, at 10:13 AM, Randeep > > wrote: > > > >> Hi, > >> > >> I have serve

RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-19 Thread Seema Patel
Martin, When Chris Schultz said I was asking multiple questions, I did apologize to him. My knowledge of all this is limited as I'm new to it, so please don't make sarcastic comments to a newbie, we all have to start somewhere and I thought the purpose of this user list was to help everyone out,

Re: [Off Topic] Forwarding tomcat logs

2014-03-19 Thread Brett Delle Grazie
Hi, On 18 March 2014 14:40, Daniel Mikusa wrote: > On Mar 18, 2014, at 10:13 AM, Randeep wrote: > > > Hi, > > > > I have servers in Amazon Web Services Platform. > > > > My servers are Centos 5.4 > > > > I have httpd-2.2+mod_jk+tomcat-6.0.37 stack on them > > > > I'm using elastic load balance