init
This commit is contained in:
31
java/org/apache/catalina/ha/tcp/Constants.java
Normal file
31
java/org/apache/catalina/ha/tcp/Constants.java
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
package org.apache.catalina.ha.tcp;
|
||||
|
||||
/**
|
||||
* Manifest constants for the <code>org.apache.catalina.ha.tcp</code>
|
||||
* package.
|
||||
*
|
||||
* @author Peter Rossbach
|
||||
*/
|
||||
public class Constants {
|
||||
|
||||
public static final String Package = "org.apache.catalina.ha.tcp";
|
||||
|
||||
}
|
||||
42
java/org/apache/catalina/ha/tcp/LocalStrings.properties
Normal file
42
java/org/apache/catalina/ha/tcp/LocalStrings.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.crossContext.add=add Cross Context session replication container to replicationValve threadlocal
|
||||
ReplicationValve.crossContext.registerSession=register Cross context session id=[{0}] from context [{1}]
|
||||
ReplicationValve.crossContext.remove=remove Cross Context session replication container from replicationValve threadlocal
|
||||
ReplicationValve.crossContext.sendDelta=send Cross Context session delta from context [{0}].
|
||||
ReplicationValve.filter.failure=Unable to compile filter=[{0}]
|
||||
ReplicationValve.filter.loading=Loading request filter=[{0}]
|
||||
ReplicationValve.invoke.uri=Invoking replication request on [{0}]
|
||||
ReplicationValve.nocluster=No cluster configured for this request.
|
||||
ReplicationValve.resetDeltaRequest=Cluster is standalone: reset Session Request Delta at context [{0}]
|
||||
ReplicationValve.send.failure=Unable to perform replication request.
|
||||
ReplicationValve.send.invalid.failure=Unable to send session [id={0}] invalid message over cluster.
|
||||
ReplicationValve.session.found=Context [{0}]: Found session [{1}] but it isn''t a ClusterSession.
|
||||
ReplicationValve.session.indicator=Context [{0}]: Primarity of session [{1}] in request attribute [{2}] is [{3}].
|
||||
ReplicationValve.session.invalid=Context [{0}]: Requested session [{1}] is invalid, removed or not replicated at this node.
|
||||
ReplicationValve.stats=Average request time=[{0}] ms with cluster overhead time=[{1}] ms for [{2}] requests, [{3}] send requests, [{4}] cross context requests, and [{5}] filter requests (Total request=[{6}] ms, total cluster request=[{7}] ms).
|
||||
|
||||
simpleTcpCluster.clustermanager.cloneFailed=Unable to clone cluster manager, defaulting to org.apache.catalina.ha.session.DeltaManager
|
||||
simpleTcpCluster.clustermanager.notImplement=Manager [{0}] does not implement ClusterManager, addition to cluster has been aborted.
|
||||
simpleTcpCluster.member.addFailed=Unable to connect to replication system.
|
||||
simpleTcpCluster.member.added=Replication member added:[{0}]
|
||||
simpleTcpCluster.member.disappeared=Received member disappeared:[{0}]
|
||||
simpleTcpCluster.member.removeFailed=Unable remove cluster node from replication system.
|
||||
simpleTcpCluster.sendFailed=Unable to send message through cluster sender.
|
||||
simpleTcpCluster.start=Cluster is about to start
|
||||
simpleTcpCluster.startUnable=Unable to start cluster.
|
||||
simpleTcpCluster.stopUnable=Unable to stop cluster.
|
||||
simpleTcpCluster.unableSend.localMember=Unable to send message to local member [{0}]
|
||||
20
java/org/apache/catalina/ha/tcp/LocalStrings_de.properties
Normal file
20
java/org/apache/catalina/ha/tcp/LocalStrings_de.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.filter.failure=Kann Filter [{0}] nicht kompilieren
|
||||
ReplicationValve.session.indicator=Context [{0}]: Primärität der Session [{1}] in Request Attribut [{2}] ist [{3}].
|
||||
|
||||
simpleTcpCluster.clustermanager.notImplement=Manager [{0}] implementiert nicht ClusterManager. Das Hinzufügen dieses Managers zum Cluster wurde daher abgebrochen.
|
||||
simpleTcpCluster.stopUnable=Cluster kann nicht gestoppt werden.
|
||||
35
java/org/apache/catalina/ha/tcp/LocalStrings_es.properties
Normal file
35
java/org/apache/catalina/ha/tcp/LocalStrings_es.properties
Normal file
@@ -0,0 +1,35 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.crossContext.add=añadir contenedor de réplica de sesión de Contexto Cruzado a replicationValve threadlocal
|
||||
ReplicationValve.crossContext.registerSession=retistrar id de sesión de Contexto Cruzado=[{0}] desde contexto [{1}]
|
||||
ReplicationValve.crossContext.remove=quitar contenedor de réplica de sesión de Contexto Cruzado a replicationValve threadlocal
|
||||
ReplicationValve.crossContext.sendDelta=enviar delta de sesión de Contexto Cruzado desde contexto [{0}].
|
||||
ReplicationValve.filter.failure=No puedo compilar filtror=[{0}]
|
||||
ReplicationValve.filter.loading=Cargando filtros de requerimiento=[{0}]
|
||||
ReplicationValve.invoke.uri=Invocando requerimiento de réplica en [{0}]
|
||||
ReplicationValve.nocluster=No cluster configured for this request.
|
||||
ReplicationValve.resetDeltaRequest=Cluster is standalone: reset Session Request Delta at context [{0}]
|
||||
ReplicationValve.send.failure=Unable to perform replication request.
|
||||
ReplicationValve.send.invalid.failure=Unable to send session [id={0}] invalid message over cluster.
|
||||
ReplicationValve.session.found=Context [{0}]: Found session [{1}] but it isn''t a ClusterSession.
|
||||
ReplicationValve.session.indicator=Context [{0}]: Primarity of session [{0}] in request attribute [{1}] is [{2}].
|
||||
ReplicationValve.session.invalid=Context [{0}]: Requested session [{1}] is invalid, removed or not replicated at this node.
|
||||
ReplicationValve.stats=Average request time= [{0}] ms for Cluster overhead time=[{1}] ms for [{2}] requests [{3}] filter requests [{4}] send requests [{5}] cross context requests (Request=[{6}] ms Cluster=[{7}] ms).
|
||||
|
||||
simpleTcpCluster.clustermanager.notImplement=Manejador [{0}] no implementa ClusterManager, la adición al cluster ha sido abortada.\n
|
||||
simpleTcpCluster.member.addFailed=Incapaz de conectar con el sistema de replicación
|
||||
simpleTcpCluster.member.removeFailed=Imposible remover el nodo del sistema de replicación
|
||||
simpleTcpCluster.stopUnable=Inmposible deterner el cluster
|
||||
42
java/org/apache/catalina/ha/tcp/LocalStrings_fr.properties
Normal file
42
java/org/apache/catalina/ha/tcp/LocalStrings_fr.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.crossContext.add=Ajout du conteneur de réplication de la session multi contexte au ThreadLocal de replicationValve
|
||||
ReplicationValve.crossContext.registerSession=enregistrement de la session multi contexte id=[{0}] du contexte [{1}]
|
||||
ReplicationValve.crossContext.remove=Retrait du conteneur de réplication de la session multi contexte au ThreadLocal de replicationValve
|
||||
ReplicationValve.crossContext.sendDelta=Envoi du delta de la session multi contexte du contexte [{0}]
|
||||
ReplicationValve.filter.failure=Incapacité de compiler le filtre=[{0}]
|
||||
ReplicationValve.filter.loading=Chargement du filtre de requête [{0}]
|
||||
ReplicationValve.invoke.uri=Invocation de la requête de réplication sur [{0}]
|
||||
ReplicationValve.nocluster=Aucun cluster de configuré pour cette requête
|
||||
ReplicationValve.resetDeltaRequest=Le cluster se suffit à lui-même: réinitialisation du delta de la requête de session [{0}]
|
||||
ReplicationValve.send.failure=Impossible d'effectuer la requête de réplication
|
||||
ReplicationValve.send.invalid.failure=Incapable d'envoyer le message invalide de la session [id={0}] sur le cluster
|
||||
ReplicationValve.session.found=Le Contexte [{0}] a touvé la session [{1}] mais ce n''est pas une ClusterSession.
|
||||
ReplicationValve.session.indicator=Contexte [{0}] : la primarité de la session [{1}] dans l''attribut de requête [{2}] est [{3}].
|
||||
ReplicationValve.session.invalid=Contexte [{0}]: la session demandée [{1}] est invalide, non répliquée, ou enlevée sur ce nœud
|
||||
ReplicationValve.stats=Temps de requête moyen= [{0}] ms pour le Cluster le temps ajouté est de=[{1}] ms pour [{2}] requêtes [{3}] requêtes d''envoi [{4}] requêtes multi contextes et [{5}] requêtes fitrées (Total requêtes=[{6}] ms total requêtes du cluster=[{7}] ms)
|
||||
|
||||
simpleTcpCluster.clustermanager.cloneFailed=Impossible de cloner le gestionnaire du cluster, le org.apache.catalina.ha.session.DeltaManager par défaut sera utilisé
|
||||
simpleTcpCluster.clustermanager.notImplement=Le gestionnaire ("Manager") [{0}] n''implémente pas ClusterManager. Son ajout au cluster a été abandonné.
|
||||
simpleTcpCluster.member.addFailed=Impossible de se connecter au système de réplication
|
||||
simpleTcpCluster.member.added=Membre de réplication ajouté : [{0}]
|
||||
simpleTcpCluster.member.disappeared=Le membre recu a disparu: [{0}]
|
||||
simpleTcpCluster.member.removeFailed=Impossible d'enlever un nœud du cluster du système de réplication
|
||||
simpleTcpCluster.sendFailed=Impossible d'envoyer un message à travers l'expéditeur du cluster
|
||||
simpleTcpCluster.start=Le cluster va démarrer
|
||||
simpleTcpCluster.startUnable=Impossible de démarre le cluster
|
||||
simpleTcpCluster.stopUnable=Incapable d'arrêter le cluster
|
||||
simpleTcpCluster.unableSend.localMember=Impossible d''envoyer un message au membre local [{0}]
|
||||
42
java/org/apache/catalina/ha/tcp/LocalStrings_ja.properties
Normal file
42
java/org/apache/catalina/ha/tcp/LocalStrings_ja.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.crossContext.add=クロスコンテキストセッションレプリケーションコンテナをreplicationValveスレッドローカルに追加
|
||||
ReplicationValve.crossContext.registerSession=コンテキスト[{1}]からクロスコンテキストセッションID = [{0}]を登録する
|
||||
ReplicationValve.crossContext.remove=replication Contextセッションレプリケーションコンテナをスレッドローカルから削除します。
|
||||
ReplicationValve.crossContext.sendDelta=コンテキスト[{0}]からのクロスコンテキストセッションデルタを送信します。
|
||||
ReplicationValve.filter.failure=フィルター文字列=[{0}] がコンパイルできません。
|
||||
ReplicationValve.filter.loading=リクエストフィルタ= [{0}]のロード
|
||||
ReplicationValve.invoke.uri=[{0}]のレプリケーションリクエストを呼び出します。
|
||||
ReplicationValve.nocluster=このリクエストに対して構成されたクラスタはありません。
|
||||
ReplicationValve.resetDeltaRequest=クラスタはスタンドアロンである:コンテキスト[{0}]でセッションのデルタリクエストをリセットします。
|
||||
ReplicationValve.send.failure=レプリケーションリクエストを実行できません。
|
||||
ReplicationValve.send.invalid.failure=セッション[id = {0}]無効メッセージをクラスタに送信できません。
|
||||
ReplicationValve.session.found=コンテキスト [{0}]: セッション [{1}] は ClusterSession ではありません。
|
||||
ReplicationValve.session.indicator=Context [{0}]:リクエスト属性[{2}]のセッション[{1}]のプライマリは[{3}]です。
|
||||
ReplicationValve.session.invalid=コンテキスト [{0}]: 不正なセッション [{1}] が要求されました。消去された、あるいは、このノードに複製されなかった可能性があります。
|
||||
ReplicationValve.stats=[{2}]リクエストの平均要求時間= [{0}] ms、クラスタオーバーヘッド時間= [{1}] ms、[{3}]リクエストの送信、[{4}]クロスコンテキストリクエスト、[{5} }]フィルタリクエスト(合計リクエスト= [{6}] ms、クラスタ全体リクエスト= [{7}] ms)。
|
||||
|
||||
simpleTcpCluster.clustermanager.cloneFailed=クラスタマネージャをクローンできません。デフォルトはorg.apache.catalina.ha.session.DeltaManagerです。
|
||||
simpleTcpCluster.clustermanager.notImplement=クラス [{0}] は ClusterManager を実装していません。それにクラスターはすでに停止しています。
|
||||
simpleTcpCluster.member.addFailed=レプリケーションシステムに接続できません。
|
||||
simpleTcpCluster.member.added=レプリケーションメンバーを追加しました: [{0}]
|
||||
simpleTcpCluster.member.disappeared=メッセージ消失を受信しました: [{0}]
|
||||
simpleTcpCluster.member.removeFailed=レプリケーションシステムからクラスターノードを削除できませんでした。
|
||||
simpleTcpCluster.sendFailed=クラスタセンダ経由でメッセージを送信できませんでした。
|
||||
simpleTcpCluster.start=Clusterを起動します。
|
||||
simpleTcpCluster.startUnable=クラスタを起動出来ません。
|
||||
simpleTcpCluster.stopUnable=クラスタを停止できません。
|
||||
simpleTcpCluster.unableSend.localMember=ローカルメンバー [{0}] にメッセージを送信できません。
|
||||
42
java/org/apache/catalina/ha/tcp/LocalStrings_ko.properties
Normal file
42
java/org/apache/catalina/ha/tcp/LocalStrings_ko.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.crossContext.add=교차 컨텍스트 세션 복제 컨테이너를 replicationValve의 threadlocal에 추가합니다.
|
||||
ReplicationValve.crossContext.registerSession=컨텍스트 [{1}](으)로부터 세션 ID가 [{0}]인 교차 컨텍스트 세션을 등록합니다.
|
||||
ReplicationValve.crossContext.remove=replicationValve의 threadlocal로부터, 교차 컨텍스트 세션 복제 컨테이너를 제거합니다.
|
||||
ReplicationValve.crossContext.sendDelta=컨텍스트 [{0}](으)로부터 교차 컨텍스트 세션 델타를 보냅니다.
|
||||
ReplicationValve.filter.failure=필터 컴파일을 할 수 없습니다. filter=[{0}]
|
||||
ReplicationValve.filter.loading=요청 필터를 로드합니다: [{0}]
|
||||
ReplicationValve.invoke.uri=[{0}]에 복제 요청을 호출합니다.
|
||||
ReplicationValve.nocluster=이 요청을 위해 설정된 클러스터가 없습니다.
|
||||
ReplicationValve.resetDeltaRequest=클러스터가 독립형(standalone)입니다: 컨텍스트 [{0}]에서 세션 요청 델타를 재설정(reset)합니다.
|
||||
ReplicationValve.send.failure=복제 요청을 수행 할 수 없습니다.
|
||||
ReplicationValve.send.invalid.failure=세션 [id={0}] 유효하지 않음 메시지를 클러스터에 전송할 수 없습니다.
|
||||
ReplicationValve.session.found=컨텍스트 [{0}]에서 세션 [{1}]을(를) 발견했으나, 이는 ClusterSession이 아닙니다.
|
||||
ReplicationValve.session.indicator=컨텍스트 [{0}]: 요청 속성 [{2}]에 있는 세션 [{1}]의 Primary 여부: [{3}]
|
||||
ReplicationValve.session.invalid=컨텍스트 [{0}]: 요청된 세션 [{1}]이(가), 유효하지 않거나, 제거되었거나, 또는 이 클러스터 노드로 복제되지 않았습니다.
|
||||
ReplicationValve.stats=[{2}]개의 요청들, [{3}]개의 전송 요청들, [{4}]개의 교차 컨텍스트 요청들, 그리고 [{5}]개의 필터 요청들을 처리하는 동안, 평균 요청 시간=[{0}] 밀리초, 클러스터 오버헤드 시간=[{1}] 밀리초가 소요되었습니다. (총 요청 처리 시간=[{6}] 밀리초, 총 클러스터 요청 처리 시간=[{7}] 밀리초)
|
||||
|
||||
simpleTcpCluster.clustermanager.cloneFailed=클러스터 매니저를 복제할 수 없습니다. 기본 값인 org.apache.catalina.ha.session.DeltaManager를 사용합니다.
|
||||
simpleTcpCluster.clustermanager.notImplement=매니저 [{0}]이(가) ClusterManager 인터페이스를 구현하지 않습니다. 클러스터에 추가하려는 시도는 중단됩니다.
|
||||
simpleTcpCluster.member.addFailed=복제 시스템에 연결할 수 없습니다.
|
||||
simpleTcpCluster.member.added=복제 멤버가 추가됨: [{0}]
|
||||
simpleTcpCluster.member.disappeared=멤버 사라짐 메시지를 수신했습니다: [{0}]
|
||||
simpleTcpCluster.member.removeFailed=복제 시스템으로부터 클러스터 노드를 제거할 수 없습니다.
|
||||
simpleTcpCluster.sendFailed=클러스터 sender를 통해 메시지를 보낼 수 없습니다.
|
||||
simpleTcpCluster.start=클러스터가 막 시작하려 합니다.
|
||||
simpleTcpCluster.startUnable=클러스터를 시작할 수 없습니다.
|
||||
simpleTcpCluster.stopUnable=클러스터를 중지시킬 수 없습니다.
|
||||
simpleTcpCluster.unableSend.localMember=로컬 멤버 [{0}]에게 메시지를 보낼 수 없습니다.
|
||||
@@ -0,0 +1,24 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ReplicationValve.filter.failure=无法编译 filter = [{0}]
|
||||
ReplicationValve.session.found=上下文[{0}]:找到会话[{1}]但它不是ClusterSession。
|
||||
ReplicationValve.session.invalid=上下文[{0}]:请求的会话[{1}]在此节点上无效,已删除或未复制。
|
||||
|
||||
simpleTcpCluster.clustermanager.notImplement=连接器 [{0}] 不能继承 ClusterManager,除非集群被停止。
|
||||
simpleTcpCluster.member.addFailed=无法连接到复制系统。
|
||||
simpleTcpCluster.member.disappeared=收到成员消失:[{0}]
|
||||
simpleTcpCluster.member.removeFailed=无法从复制系统中移除集群节点
|
||||
simpleTcpCluster.stopUnable=无法停止集群
|
||||
631
java/org/apache/catalina/ha/tcp/ReplicationValve.java
Normal file
631
java/org/apache/catalina/ha/tcp/ReplicationValve.java
Normal file
File diff suppressed because it is too large
Load Diff
63
java/org/apache/catalina/ha/tcp/SendMessageData.java
Normal file
63
java/org/apache/catalina/ha/tcp/SendMessageData.java
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.catalina.ha.tcp;
|
||||
|
||||
import org.apache.catalina.tribes.Member;
|
||||
|
||||
/**
|
||||
* @author Peter Rossbach
|
||||
*/
|
||||
public class SendMessageData {
|
||||
|
||||
private Object message ;
|
||||
private Member destination ;
|
||||
private Exception exception ;
|
||||
|
||||
|
||||
/**
|
||||
* @param message The message to send
|
||||
* @param destination Member destination
|
||||
* @param exception Associated error
|
||||
*/
|
||||
public SendMessageData(Object message, Member destination,
|
||||
Exception exception) {
|
||||
super();
|
||||
this.message = message;
|
||||
this.destination = destination;
|
||||
this.exception = exception;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the destination.
|
||||
*/
|
||||
public Member getDestination() {
|
||||
return destination;
|
||||
}
|
||||
/**
|
||||
* @return the exception.
|
||||
*/
|
||||
public Exception getException() {
|
||||
return exception;
|
||||
}
|
||||
/**
|
||||
* @return the message.
|
||||
*/
|
||||
public Object getMessage() {
|
||||
return message;
|
||||
}
|
||||
}
|
||||
853
java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java
Normal file
853
java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java
Normal file
File diff suppressed because it is too large
Load Diff
152
java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml
Normal file
152
java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml
Normal file
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!DOCTYPE mbeans-descriptors PUBLIC
|
||||
"-//Apache Software Foundation//DTD Model MBeans Configuration File"
|
||||
"http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">
|
||||
<mbeans-descriptors>
|
||||
<mbean
|
||||
name="SimpleTcpCluster"
|
||||
description="Tcp Cluster implementation"
|
||||
domain="Catalina"
|
||||
group="Cluster"
|
||||
type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
|
||||
<attribute
|
||||
name="channelSendOptions"
|
||||
description="This sets channel behaviour on sent messages."
|
||||
type="int"/>
|
||||
<attribute
|
||||
name="channelStartOptions"
|
||||
description="This sets channel start behaviour."
|
||||
type="java.lang.String"/>
|
||||
<attribute
|
||||
name="clusterName"
|
||||
description="name of cluster"
|
||||
type="java.lang.String"/>
|
||||
<attribute
|
||||
name="heartbeatBackgroundEnabled"
|
||||
description="enable that container background thread call channel heartbeat, default is that channel manage heartbeat itself."
|
||||
is="true"
|
||||
type="boolean"/>
|
||||
<attribute
|
||||
name="notifyLifecycleListenerOnFailure"
|
||||
description="notify lifecycleListener from message transfer failure"
|
||||
is="true"
|
||||
type="boolean"/>
|
||||
<attribute
|
||||
name="stateName"
|
||||
description="The name of the LifecycleState that this component is currently in"
|
||||
type="java.lang.String"
|
||||
writeable="false"/>
|
||||
<operation
|
||||
name="send"
|
||||
description="send message to all cluster members"
|
||||
impact="ACTION"
|
||||
returnType="void">
|
||||
<parameter
|
||||
name="message"
|
||||
description="replication message"
|
||||
type="org.apache.catalina.ha.ClusterMessage"/>
|
||||
</operation>
|
||||
<operation
|
||||
name="start"
|
||||
description="Start the cluster"
|
||||
impact="ACTION"
|
||||
returnType="void"/>
|
||||
<operation
|
||||
name="stop"
|
||||
description="Stop the cluster"
|
||||
impact="ACTION"
|
||||
returnType="void"/>
|
||||
</mbean>
|
||||
<mbean
|
||||
name="ReplicationValve"
|
||||
description="Valve for simple tcp replication"
|
||||
domain="Catalina"
|
||||
group="Valve"
|
||||
type="org.apache.catalina.ha.tcp.ReplicationValve">
|
||||
<attribute
|
||||
name="asyncSupported"
|
||||
description="Does this valve support async reporting?"
|
||||
is="true"
|
||||
type="boolean"/>
|
||||
<attribute
|
||||
name="doProcessingStats"
|
||||
getMethod="doStatistics"
|
||||
setMethod="setStatistics"
|
||||
description="active statistics counting"
|
||||
type="boolean"/>
|
||||
<attribute
|
||||
name="filter"
|
||||
description="resource filter to disable session replication check"
|
||||
type="java.lang.String"/>
|
||||
<attribute
|
||||
name="lastSendTime"
|
||||
description="last replicated request time"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="nrOfCrossContextSendRequests"
|
||||
description="number of send cross context session requests"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="nrOfFilterRequests"
|
||||
description="number of filtered requests"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="nrOfSendRequests"
|
||||
description="number of send requests"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="nrOfRequests"
|
||||
description="number of replicated requests"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="primaryIndicator"
|
||||
is="true"
|
||||
description="set indicator that request processing is at primary session node"
|
||||
type="boolean"/>
|
||||
<attribute
|
||||
name="primaryIndicatorName"
|
||||
description="Request attribute name to indicate that request processing is at primary session node"
|
||||
type="java.lang.String"/>
|
||||
<attribute
|
||||
name="stateName"
|
||||
description="The name of the LifecycleState that this component is currently in"
|
||||
type="java.lang.String"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="totalSendTime"
|
||||
description="total replicated send time"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<attribute
|
||||
name="totalRequestTime"
|
||||
description="total replicated request time"
|
||||
type="long"
|
||||
writeable="false"/>
|
||||
<operation
|
||||
name="resetStatistics"
|
||||
description="Reset all statistics"
|
||||
impact="ACTION"
|
||||
returnType="void"/>
|
||||
</mbean>
|
||||
</mbeans-descriptors>
|
||||
Reference in New Issue
Block a user