Re: Tomcat session replikation reports: IllegalStateException: setAttribute: Session [..] has already been invalidated

2016-05-23 Thread Knut Sander
Am 23.05.2016 um 10:57 schrieb Keiichi Fujino: > Is the channelSendOptions default? yes, everything is default so I expect channelSendOptions = 8 (SEND_OPTIONS_ASYNCHRONOUS). > In DeltaManager, > when the session expired, if there is a change in the session, replicates > the attributes of

nio connector

2016-05-23 Thread Ja kub
Hello, In which scenario nio connector will outerform basic io connector and vice versa ? What would be high level design of corresponding performance tests showing advantages of each connector ? BR Jakub

Re: Tomcat 8 disable parts

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lance, On 5/20/16 2:52 PM, Campbell, Lance wrote: > Thanks for all of the posts. The one about using Tomcat 3.3 was > great. ??! > I will just keep using the defaults. A few MB here or there is not > a big concern to me. - -chris -BEGIN

Re: Soap service in Tomcat - Slow

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gokul, On 5/23/16 1:11 PM, Gokul wrote: > Hello, > > I have a webservice application deployed in Tomcat 7 and getting 6 > secs response time for method calls. > > Below is my environment information. > > Tomcat Version: Tomcat/7.0.69 Java

Soap service in Tomcat - Slow

2016-05-23 Thread Gokul
Hello, I have a webservice application deployed in Tomcat 7 and getting 6 secs response time for method calls. Below is my environment information. Tomcat Version: Tomcat/7.0.69 Java Version : JRE7 OS: RHEL 6.7 So, everytime when a webservice method is called the total time taken for each

Re: The connection was reset.

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bjørn, On 5/23/16 8:25 AM, Bjørn T Johansen wrote: > On Fri, 20 May 2016 13:49:35 +0200 André Warnier (tomcat) > wrote: > >> On 20.05.2016 12:54, Bjørn T Johansen wrote: >>> When I access the status page everything works fine but

Re: nio connector

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 5/23/16 11:38 AM, Ja kub wrote: > In which scenario nio connector will outerform basic io connector > and vice versa ? In Tomcat 8.5 and higher, NIO will always outperform the BIO connector because the BIO connector has been completely

Re: Soap service in Tomcat - Slow

2016-05-23 Thread Mark Thomas
On 23/05/2016 18:40, Christopher Schultz wrote: > Gokul, > > On 5/23/16 1:11 PM, Gokul wrote: >> Hello, > >> I have a webservice application deployed in Tomcat 7 and getting 6 >> secs response time for method calls. > >> Below is my environment information. > >> Tomcat Version: Tomcat/7.0.69

Re: nio connector

2016-05-23 Thread Ja kub
Christopher, Thx for response, pleas confirm or deny if I understand well. BIO uses thread per http connection (tcp connection). (Shame I didn't realize it!) NIO uses thread per request. With NIO thread is returned to pool as soon as request is finished (doGet ends). With BIO thread is returned

Re: nio connector

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 5/23/16 8:03 PM, Ja kub wrote: > Christopher, Thx for response, pleas confirm or deny if I > understand well. > > BIO uses thread per http connection (tcp connection). (Shame I > didn't realize it!) NIO uses thread per request. It's

Re: tomcat cluster questions

2016-05-23 Thread Keiichi Fujino
2016-05-19 17:55 GMT+09:00 Hans-Joachim Kliemeck < hans-joachim.kliem...@hays.de>: > Hey, > > currently i'm building up a tomcat cluster and after studying the > documentation/source some questions came up: > > Is it really necessary to add a LocalMember xml element to the >

Re: Tomcat session replikation reports: IllegalStateException: setAttribute: Session [..] has already been invalidated

2016-05-23 Thread Keiichi Fujino
Is the channelSendOptions default? In DeltaManager, when the session expired, if there is a change in the session, replicates the attributes of session. And then, replicates the invalidated of the session. Usually, although this order is not reversed, if you want to ensure this order, you can set

Re: The connection was reset.

2016-05-23 Thread tomcat
On 23.05.2016 14:25, Bjørn T Johansen wrote: On Fri, 20 May 2016 13:49:35 +0200 André Warnier (tomcat) wrote: On 20.05.2016 12:54, Bjørn T Johansen wrote: When I access the status page everything works fine but when I try to access the manager page, I get the following

Re: The connection was reset.

2016-05-23 Thread Bjørn T Johansen
On Fri, 20 May 2016 13:49:35 +0200 André Warnier (tomcat) wrote: > On 20.05.2016 12:54, Bjørn T Johansen wrote: > > When I access the status page everything works fine but when I try to > > access the manager page, I get the following error: > > > > This site can’t be reached >

AW: tomcat cluster questions

2016-05-23 Thread Hans-Joachim Kliemeck
Hey, > If you do not set the LocalMember, > the implementation class of local members will become MemberImpl rather than > the StaticMember. > In addition, you can not explicitly specify the domain and the uniqueId of > local member. > If you do not mind these, there is no problem if you do not

Re: The connection was reset.

2016-05-23 Thread tomcat
On 23.05.2016 14:48, Bjørn T Johansen wrote: On Mon, 23 May 2016 14:39:25 +0200 André Warnier (tomcat) wrote: On 23.05.2016 14:25, Bjørn T Johansen wrote: On Fri, 20 May 2016 13:49:35 +0200 André Warnier (tomcat) wrote: On 20.05.2016 12:54, Bjørn T

Re: The connection was reset.

2016-05-23 Thread Bjørn T Johansen
On Mon, 23 May 2016 14:54:14 +0200 André Warnier (tomcat) wrote: > On 23.05.2016 14:48, Bjørn T Johansen wrote: > > On Mon, 23 May 2016 14:39:25 +0200 > > André Warnier (tomcat) wrote: > > > >> On 23.05.2016 14:25, Bjørn T Johansen wrote: > >>> On Fri, 20

Re: The connection was reset.

2016-05-23 Thread Bjørn T Johansen
On Mon, 23 May 2016 14:39:25 +0200 André Warnier (tomcat) wrote: > On 23.05.2016 14:25, Bjørn T Johansen wrote: > > On Fri, 20 May 2016 13:49:35 +0200 > > André Warnier (tomcat) wrote: > > > >> On 20.05.2016 12:54, Bjørn T Johansen wrote: > >>> When I

Re: The connection was reset.

2016-05-23 Thread tomcat
On 23.05.2016 15:08, Bjørn T Johansen wrote: On Mon, 23 May 2016 14:54:14 +0200 André Warnier (tomcat) wrote: On 23.05.2016 14:48, Bjørn T Johansen wrote: On Mon, 23 May 2016 14:39:25 +0200 André Warnier (tomcat) wrote: On 23.05.2016 14:25, Bjørn T