1

状況は次のとおりです。

私はwebsphereNetworkDeployment v8.0.0.3を使用しています。2つのキューを使用するアプリケーションがあります。1つのキューは内部アプリケーション用です(パブリッシャーとコンシューマーは同じアプリケーション内にあります)。他のキューは、他のアプリケーションにデプロイされた他のモジュールによって使用されます。セル内のサーバー。

そこで、セルスコープレベルで1番目のキューを構成し、クラスタースコープレベルで2番目のキューを構成しました。

名前空間バインディングを追加するまで、すべてが機能していました。その後、すべてのjmsjndiオブジェクトClusterScopedは、dumpNameSpace.sh出力内に存在しなくなります。

スコープの解像度のような継ぎ目は、名前空間バインディングの存在によって変更されます。これは確かに奇妙なことですが、WASの2つの異なるインストールで同じ動作をしました。

これを知っている人に感謝します。

アップデート

これは、機能するjndiダンプと機能しないjndiダンプの違いです。

--- clsdumpOk   2012-08-07 11:49:43.000000000 +0200
+++ clsdumpKo2  2012-08-07 11:49:59.000000000 +0200
@@ -454,28 +454,12 @@
 (top)/clusters/TestCluster/jdbc/modulobase
 (top)/clusters/TestCluster/jms
 (top)/clusters/TestCluster/jms/as
-(top)/clusters/TestCluster/jms/as/BatchRequest
-(top)/clusters/TestCluster/jms/as/BatchResponse
 (top)/clusters/TestCluster/jms/as/ciccio
-(top)/clusters/TestCluster/jms/as/FSCleaner
 (top)/clusters/TestCluster/jms/as/License
 (top)/clusters/TestCluster/jms/as/Mailer
-(top)/clusters/TestCluster/jms/as/Plans
-(top)/clusters/TestCluster/jms/as/RiaResponse
-(top)/clusters/TestCluster/jms/ConnectionFactory
-(top)/clusters/TestCluster/jms/pac
-(top)/clusters/TestCluster/jms/pac/as
-(top)/clusters/TestCluster/jms/pac/as/Events
 (top)/clusters/TestCluster/jms/queue
-(top)/clusters/TestCluster/jms/queue/batch-request
-(top)/clusters/TestCluster/jms/queue/batch-response
-(top)/clusters/TestCluster/jms/QueueConnectionFactory
-(top)/clusters/TestCluster/jms/queue/events
-(top)/clusters/TestCluster/jms/queue/filesystem-cleaner
 (top)/clusters/TestCluster/jms/queue/license
 (top)/clusters/TestCluster/jms/queue/mailer
-(top)/clusters/TestCluster/jms/queue/plans
-(top)/clusters/TestCluster/jms/TopicConnectionFactory
 (top)/clusters/TestCluster/jta
 (top)/clusters/TestCluster/jta/usertransaction
 (top)/clusters/TestCluster/SecurityServer
@@ -495,8 +479,10 @@
 (top)/clusters/TestCluster/url/casCfgFile
 (top)/clusters/TestCluster/UserRegistry
 (top)/clusters/TestCluster/wb25
-(top)/clusters/TestCluster/wb25/topic
-(top)/clusters/TestCluster/wb25/topic/ria-response
+(top)/clusters/TestCluster/wb25/conf
+(top)/clusters/TestCluster/wb25/conf/locking
+(top)/clusters/TestCluster/wb25/conf/locking/lockingEnabled
+(top)/clusters/TestCluster/wb25/conf/rootFolder
 (top)/clusters/TestCluster/wm
 (top)/clusters/TestCluster/wm/ard
 (top)/clusters/TestCluster/wm/default

あなたが一度見ることができるように

+(トップ)/ clusters / TestCluster / wb25 / conf / locking / lockingEnabled

追加されます

残りはすべて削除されます。本当に変です。

4

1 に答える 1

1

WebSphere for Environment->ネーミング->ネームスペース・バインディングの問題は次のとおりです。いくつかのJNDIノードにネーミングを設定した場合:url/someVariableまたは一般的にsomething/someVar

URL、JDBC、JMSなどの他のオブジェクトに同じ「何か」を使用するよりも

名前空間バインディングは「何か」を読み取り専用モードにし、WebSphereが他のリソースを構成しようとすると失敗します。

アプリケーションサーバーの最初の再起動時にのみこれを取得するため、構成中にこれを見つけることはできません。

したがって、jndi内で名前を選択するときは注意してください。

于 2013-08-13T02:49:42.140 に答える