Re: Tomcat 9 Session replication

2022-01-31 Thread Keiichi Fujino
Hi If you use StaticMembershipService, you must set Cluster#channelStartOptions to 15 (default). 2022年1月31日(月) 16:47 Alan F : > OK with your advice I tried what I thought would work from example and > doesn't at all. The old example below works but this doesn’t even detect > members. > > Below

Re: StaticMembers within Multiple Clusters

2019-02-12 Thread Keiichi Fujino
2019年2月12日(火) 1:28 Tim K : > On Fri, Jan 18, 2019, 12:44 PM Tim K wrote: > > > On Fri, Jan 18, 2019 at 11:05 AM Christopher Schultz > > wrote: > > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA256 > > > > > > Tim, > > > > > > On 1/18/19 06:38, Tim K wrote: > > > > Thanks for this.

Re: Protecting a cluster from malicious membership

2019-02-11 Thread Keiichi Fujino
2019年2月12日(火) 1:44 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark, > > On 2/11/19 03:49, Mark Thomas wrote: > > On 10/02/2019 14:37, Christopher Schultz wrote: > >> All, > >> > >> I'm looking at the security of Tomcat's Clustering components, > >> and I think

Re: StaticMembers within Multiple Clusters

2019-01-15 Thread Keiichi Fujino
Hi If you use StaticMembershipInterceptor, you must set the Cluster#channelStartOptions to 3 to avoid starting membershipservice. If you are using Tomcat 9, you can also use StaticMembershipService instead of StaticMembershipInterceptor. 2019年1月10日(木) 22:39 Tim K : > On Wed, Jan 9, 2019, 2:16

Re: 9.0.13 encrypted cluster traffic

2018-12-24 Thread Keiichi Fujino
2018年12月23日(日) 2:10 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Keiichi, > > On 12/21/18 02:58, Keiichi Fujino wrote: > > 2018年12月21日(金) 12:11 Christopher Schultz > > : > > > > Tim, > > > > On 12/20/18

Re: 9.0.13 encrypted cluster traffic

2018-12-20 Thread Keiichi Fujino
2018年12月21日(金) 12:11 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Tim, > > On 12/20/18 10:18, Tim K wrote: > >> > >> I just downloaded and tried 9.0.14 but I'm still getting the same > >> BadPaddingException upon starting the second instance. I > >> confirmed the

Re: [ANN] New committer: Woonsan Ko

2018-12-19 Thread Keiichi Fujino
Congratulations! Welcome Woonsan! 2018年12月19日(水) 18:56 Mark Thomas : > On behalf of the Tomcat committers I am pleased to announce that > Woonsan Ko (woonsan) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Kind regards, > > Mark > >

Re: Translations update

2018-12-14 Thread Keiichi Fujino
2018年12月14日(金) 13:46 Woonsan Ko : > Hi all, > > Korean translation has just got to 100% line! Congrats to all the > contributors! > I also see Japanese fellows making a breakthrough, approaching the > finish line. Congrats in advance! > I will proofread Korean translations next week one more or

Re: How to make database connection pool show in JMX

2018-01-25 Thread Keiichi Fujino
Hi The Docs of jdbc-pool describe like this. == If you're running outside of a container, you can register the DataSource yourself under any object name you specify, and it propagates the registration to the underlying pool. To do this you would call

Re: Beginner help setting up test vertical cluster

2017-11-01 Thread Keiichi Fujino
Hi Dave. Your Interceptor settings are as follows. > > > > >uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"> >className="org.apache.catalina.tribes.membership.StaticMember" > domain="clustertest"

Re: tomcat 8.5.23 dbcp not honoring autocommit = false?

2017-10-17 Thread Keiichi Fujino
Hi You have set factory="org.apache.tomcat.jdbc.pool.DataSourceFactory". In other words, you do not use (tomcat)DBCP, you are using Tomcat jdbc-pool. In DBCP, the default of rollbackOnReturn attribute is true. However, in Tomcat jdbc-pool, the default of rollbackOnReturn( and commitOnReturn )

Re: Cluster StaticMember (McastService:Required property "tcpListenPort" is missing)

2017-08-21 Thread Keiichi Fujino
Hi https://bz.apache.org/bugzilla/show_bug.cgi?id=61448#c2 2017-08-18 20:47 GMT+09:00 Carlos Peon Costa : > Hello, > > It seems to me that it's always necessary to initialize > membershipService, maybe something like that (untested): > > ---

Re: Problem with ServletContext replication

2017-03-01 Thread Keiichi Fujino
Hi. This seems to ReplicatedContext's bug. In the current code, the class loader is passed to ReplicationMap as Null. It is necessary to call super.startInternal() before initializing the ReplicationMap. Please open bugzilla. 2017-03-02 10:15 GMT+09:00 Andrew Gillett : >

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
${catalina.base}/logs 10catalina.org.apache.juli.AsyncFileHandler.prefix = MESSAGES. 10catalina.org.apache.juli.AsyncFileHandler.bufferSize = -1 org.apache.catalina.tribes.MESSAGES.level = FINEST org.apache.catalina.tribes.MESSAGES.handlers = 10catalina.org.apache.juli.AsyncFileHandler > On Thu, Feb 9, 2017 at 11:40 AM, Keiichi Fujino <

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
2017-02-09 19:21 GMT+09:00 Fady Haikal <fadyhai...@gmail.com>: > i already restarted it after changing the parameter to 8 > However, I can not see the log that context has been restarted in the log you showed. You may need to restart Tomcat. > > On Thu, Feb 9, 2017 at 12:16

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
a.tribes.group.GroupChannel.heartbeat( > GroupChannel.java:166) > at org.apache.catalina.tribes.group.GroupChannel$HeartbeatThread.run( > GroupChannel.java:697) > > On Thu, Feb 9, 2017 at 12:04 PM, Keiichi Fujino <kfuj...@apache.org> > wrote: > > These logs seem to b

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
These logs seem to be the tomcat memory leak detections logs during context restart. It is a different issue from this thread's topic. Anyway, Can you see the log likea "AbstractReplicatedMap[xxx] initialization was completed in xxx ms." in your log file? 2017-02-09 18:49 GMT+09:00 Fady Haikal

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
:00 Fady Haikal <fadyhai...@gmail.com>: > The is set under the context.xml > > notifyListenersOnReplication="true" >mapSendOptions="6"/> > > On Thu, Feb 9, 2017 at 11:21 AM, Keiichi Fujino <kfuj...@apache

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
ilter=".*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|. > *\.html|.*\.css|.*\.txt"/> >className="org.apache.catalina.ha.session.JvmRouteBinderValve"/> > >tempDir="D:/imaljava/TomcatNode1/tmp/war-temp/

Re: Operation has timed out

2017-02-09 Thread Keiichi Fujino
Hi You seems to be using BackupManager. What is set for mapSendOptions? The Cluster module uses the Tomcat JULI logging FW, so you can enable logging on the org.apache.catalina.tribes.MESSAGES, you can track messages. Note for using the org.apache.catalina.tribes.MESSAGES: The

Re: TomcatCon @ ApacheCon

2017-02-06 Thread Keiichi Fujino
Hi, I've submitted a proposal for Tomcat Clustering. http://events.linuxfoundation.org/cfp/proposals/6216/13474 > -- > Keiichi.Fujino > > >

Re: Question about suspectTimeout property of pool configuration - possible Bug - does only work with removeAbandoned = true which seems odd

2016-08-23 Thread Keiichi Fujino
2016-08-19 0:52 GMT+09:00 Torsten Krah : > Hi, > > looking at the doc: > > https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html > > there is: > > suspectTimeout > > (int) Timeout value in seconds. Default value is 0. > Similar to to the removeAbandonedTimeout value but

Re: Problem with Cluster after upgrade to Tomcat 8.0.36.

2016-08-02 Thread Keiichi Fujino
2016-08-01 22:48 GMT+09:00 false : > Hi all. > > Tomcat-8.0.36; JDK 1.8.0_102; CentOS 6.8. After upgrade from 8.0.28 to > 8.0.36 I have problem with my cluster. I use static membership cluster with > two nodes with BackupManager. After update I have errors in

Re: Viewing Tomcat DB connection statement cache size via JMX MBeans

2016-07-03 Thread Keiichi Fujino
2016-07-01 13:18 GMT+09:00 Manisha Sapiah : > Hi, > > I want to know, is there any way to get Tomcat DB connection statement > cache size via JMX MBeans. Thanks in advance. > > Which DB Connnection Pool do you use? DBCP or Tomcat jdbc-pool. If you use the Tomcat jdbc-pool,

Re: tomcat 7 connection pool validation interval

2016-07-03 Thread Keiichi Fujino
2016-06-30 23:32 GMT+09:00 Nir Dweck : > I am using tomcat connection pool (tomcat 7) in my application (java > application) to connect to a remote Oracle DB on an Azure machine. My > connection pool configuration is as follow: > > PoolProperties p = new PoolProperties();

Re: tomcat cluster questions

2016-05-24 Thread Keiichi Fujino
Hi, 2016-05-23 18:56 GMT+09:00 Hans-Joachim Kliemeck < hans-joachim.kliem...@hays.de>: > 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

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: 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: Session replication will never happen after disabling session persistence across Tomcat restarts

2016-04-24 Thread Keiichi Fujino
2016-04-23 15:29 GMT+09:00 sanigo : > Hi! >I have tested quite a few times to confirm that session replication > will not happen after uncommenting in > conf/context.xml. >If the line is commented out, the session replication will work > happily. > Is there a

Re: [Tomcat-JDBC] RemovedAbandoned doesn't trigger JdbcInterceptors

2015-12-17 Thread Keiichi Fujino
2015-12-17 22:25 GMT+09:00 Robert Anderson : > Hi, > > When a connection is closed by "ResetAbandoned" the invoke() method from > JdbcInterceptor is not called. Is it the expected behaviour? > > Yes. The JdbcInterceptor.invoke() method is not called when removeAbandoned. The

Re: [ANN] New committer: Martin Grigorov

2015-10-26 Thread Keiichi Fujino
2015-10-26 23:35 GMT+09:00 Mark Thomas : > On behalf of the Tomcat committers I am pleased to announce that > Martin Grigorov (mgrigorov) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Welcome! > Regards, > > Mark > >

Re: Cluster - Session replication error: Unable to apply diff

2015-04-21 Thread Keiichi Fujino
Fixed at r1675020. 2015-04-20 16:18 GMT+09:00 Keiichi Fujino kfuj...@apache.org: This NPE has been caused by that apply the diff data to a ReplicatedMapEntry that has not set a MapOwner. Usually, ReplicatedMapEntry always has to have the MapOwner. I think this is probably a bug. Please open

Re: Cluster - Session replication error: Unable to apply diff

2015-04-20 Thread Keiichi Fujino
This NPE has been caused by that apply the diff data to a ReplicatedMapEntry that has not set a MapOwner. Usually, ReplicatedMapEntry always has to have the MapOwner. I think this is probably a bug. Please open Bugzilla entry. I will scrutinize the code. 2015-04-20 15:04 GMT+09:00 Keiichi Fujino

Re: Cluster - Session replication error: Unable to apply diff

2015-04-20 Thread Keiichi Fujino
Hi Are there other error or exception in your log? Please show us your cluster configuration in your server.xml. e.g. - What is mapSendOptions? - Which Interceptor do you use? 2015-04-15 3:55 GMT+09:00 Théo Chamley theo...@mley.fr: Hello, I have a working Tomcat 8.0.15 cluster with 3

Re: FarmWarDeployer via tomcat web manager

2015-04-14 Thread Keiichi Fujino
via tomcat web manager From: Keiichi Fujino [mailto:kfuj...@apache.org] Subject: Re: FarmWarDeployer via tomcat web manager I changed war-listen path to webapps, and everything works fine untils I restart my Tomcat 1 (master node). After restarting tomcat my war file goes empty

Re: FarmWarDeployer via tomcat web manager

2015-04-14 Thread Keiichi Fujino
2015-04-14 15:58 GMT+09:00 kimmo.sundg...@heeros.com: Keiichi Fujino kfuj...@apache.org wrote on 14.04.2015 09:33:21: From: Keiichi Fujino kfuj...@apache.org To: Tomcat Users List users@tomcat.apache.org Date: 14.04.2015 09:33 Subject: Re: FarmWarDeployer via tomcat web manager 2015

Re: FarmWarDeployer via tomcat web manager

2015-04-13 Thread Keiichi Fujino
2015-04-13 18:42 GMT+09:00 kimmo.sundg...@heeros.com: Hi I newbie on the Tomcat. I have HA architecture including Cisco ACE Loadbalancer, 3 servers with RHEL 7 + httpd 2.4 + mod_proxy AJP+ Tomcat 8.0.18. I have problem with FarmWarDeployer. I would like to use FarmWarDeployer via Tomcat

Re: Single Sign On Replication with New Tomcat Cluster Nodes

2014-12-09 Thread Keiichi Fujino
I examined the code of ClusterSingleSignOn. This behavior seems to be bug. There seems to be some other problems. a) When a new node is started, SingleSignOnEntry of cache is not replicated. (you mentioned.) b) ClusterSingleSignOn does not implement ClusterValve. c) Unsupported to BackupManager.

Re: [ANN] New committer: Felix Schumacher

2014-09-21 Thread Keiichi Fujino
Welcome! Enjoy! 2014-09-19 16:49 GMT+09:00 Rainer Jung rj...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Felix Schumacher (fschumacher) has been voted in as a new Tomcat committer. Please join me in welcoming him. Regards, Rainer

Re: clustermembers don't detect shutdown of other members

2014-03-26 Thread Keiichi Fujino
The above code because it is used by the custom class of your own, I am not able to reproduce this, but at least, as far as I see this code, TcpPingInterceptor do not seem to use. If using both TcpFailureDetector and StaticMembershipInterceptor, TcpFailureDetector manages the membership of the

Re: Apache Tomcat Summit at ApacheCon NA 2014

2014-01-27 Thread Keiichi Fujino
2014-01-23 Mark Thomas ma...@apache.org ApacheCon NA will be in Denver 7th to 11th April. The schedule for ApacheCon NA 2014 has been firmed up. There is an opportunity for a project summit on either the Thursday or the Friday. Since the BarCamp has been scheduled for the Thursday the Friday

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
DeltaManager starts session sync phase by sending a SESSION-GET-ALL message at startup. DeltaManager that has received the SESSION-GET-ALL message sends all session data by sending a ALL-SESSION-DATA message. Then sends a SESSION-STATE-TRANSFERED message in order to notify the transmission

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
this? please show more detail. On Tue, Dec 17, 2013 at 10:25 AM, Keiichi Fujino kfuj...@apache.org wrote: DeltaManager starts session sync phase by sending a SESSION-GET-ALL message at startup. DeltaManager that has received the SESSION-GET-ALL message sends all session data by sending

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
java.util.logging.ConsoleHandler.level = FINEST org.apache.catalina.tribes.tipis.AbstractReplicatedMap.level = FINEST Thanks again, On Tue, Dec 17, 2013 at 11:54 AM, Keiichi Fujino kfuj...@apache.org wrote: It seems that there is no problem. Initialization of AbstractReplicatedMap

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
In order to trace create session completely, it was necessary that changing log level of LazyReplicatedMap. (sorry about that.) However this log indicates that session replication works. For example. Dec 17, 2013 1:52:21 PM org.apache.catalina.tribes.tipis.AbstractReplicatedMap messageReceived

Re: BackupManager start fails under heavy load

2013-07-02 Thread Keiichi Fujino
2013/6/28 Patrick Savage patrick.sav...@3pillarglobal.com We have an issue in our Tomcat 7.0.30 clustered production environment on RHEL 5 where Tomcat fails to start our application when other nodes in the cluster are under extremely heavy load. It fails because the BackupManager cannot

Re: Static Membership Session Replication

2012-09-24 Thread Keiichi Fujino
Hi According to this log, it does not seem to able to register for membership. In your configuration, TcpFailureDetector behaves as an administrator of a membership. Therefore, TcpFailureDetector#performBasicCheck logs following messages. [WARNING: Member added, even though we werent

Re: Tomcat 7 Manager App Authentication failure

2012-06-29 Thread Keiichi Fujino
Hi Is etc/tomcat5/tomcat-users.xml correct? The absolute path needs to start with /. The correct pathname is /etc/tomcat5/tomcat-users.xml. 2012/6/29 kl2eativ kl2ea...@gmail.com: Hello. I am having problems trying to authenticate my tomcat 7 manager app. I keep getting a 401 Unauthorized

Re: FarmWarDeployer undeploy on slave node when tomcat restart

2011-10-21 Thread Keiichi Fujino
I checked FarmWarDeployer's code. When WAR is updated, FarmWarDeployer sends UndeployMessage and sends FileMessage after that. The node which received UndeployMessage undeploys war. The node which received FileMessage deploys war. If FileMessage is received while processing UndeployMessage, the

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Keiichi Fujino
2010/12/3 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome Sylvain! -- Keiichi.Fujino

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-23 Thread Keiichi Fujino
2010/11/23 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congratulations! -- Keiichi.Fujino

Re: Redeploy problem in 6.0.20

2009-10-18 Thread Keiichi Fujino
I don't know target date for the release of 6.0.21. Andrew Morgan wrote: On Thu, 15 Oct 2009, Keiichi Fujino wrote: Hi Andrew. Check this BZ47343. https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 Perhaps, it is the same as this BugReport. This bug is corrected by 6.0.21

Re: Redeploy problem in 6.0.20

2009-10-15 Thread Keiichi Fujino
Hi Andrew. Check this BZ47343. https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 Perhaps, it is the same as this BugReport. This bug is corrected by 6.0.21. Best Regards. -- View this message in context: http://www.nabble.com/Redeploy-problem-in-6.0.20-tp25915514p25919112.html Sent