wsadmin ツールを開始または使用する際に問題が発生する場合は、この情報を使用します。
以下のエラーは、この Jython スクリプトを実行すると発生する場合があります。
Jython スクリプト
"profile_root/bin/wsadmin.sh -lang jython -profile profile_name -host host_name -f script_file.py"
エラー・メッセージ
WASX7209I: ノード node_name のプロセス "server1" に、SOAP コネクターを使って接続しました。 プロセスのタイプは UnManagedProcess です。
WASX7016E: Exception received while reading file "script_file.py"; exception information: sun.io.MalformedInputException
WASX7017E: Exception received while running file "script_file.py"; exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (innermost last): File "<string>" line 89, in ? NameError: log
デフォルトでは wsadmin ユーティリティーは、始動時にアプリケーション・サーバーに接続しようとします。これは、実行中のアプリケーション・サーバーに作用するコマンドがあるためです。このエラーは、その接続が確立できなかったことを示します。
START dmgr_proc_name,JOBNAME=server_short_name, ENV=cell_short_name.node_short_name.server_short_name
これにより、即時に wsadmin を起動してデプロイメント・マネージャーに接続するか、 または接続先のノードとアプリケーション・サーバーを開始できます。
wsadmin が送信時に使用するポートは、wsadmin が接続しようとしているサーバー・プロセスによって異なります。
このエラーは、通常、コマンド名のミススペルが原因です。$AdminConfig help コマンドを使用して、使用できるコマンドについての情報を入手してください。コマンド名には大/小文字の区別があることに注意してください。
-c の後のコマンドが有効である場合は、 シェルが変数置換を行おうとしたことが問題の原因である可能性があります。 変数置換が発生する可能性があるのは、Unix システム・サービスで wsadmin -c が、ドル記号を含み、 二重引用符で囲まれたコマンドを呼び出した場合です。 これが問題になっていることを確認するには、そのコマンドにエスケープしていないドル記号が含まれているかどうか (例えば wsadmin -c "$AdminApp install ....") を確認します。.
#let's misspell "Server" set serverName [$AdminControl queryNames type=Srever,*] $AdminControl getAttributes $serverName
set serverName[$AdminControl queryNames node=mynode,type=Server,name=server1,*] if {$serverName == ""} {puts "queryNames returned empty - check query argument"} else {$AdminControl getAttributes $serverName}
wsadmin コマンドより後の Jacl 構文の詳細については、Tcl 開発者サイト、http://www.tcl.tk を参照してください。
このエラーは、スクリプト・クライアントに参照されるコード・ページと Jacl スクリプトが書き込まれているコード・ページの混同が原因で発生します。
このエラーは、エンドポイントの活動化のバス FVTSIBus01 のメッセージング・エンジン trueliesNode01.server1-FVTSIBus01 の宛先 MPOutBoundServicePortDestination に対して例外が発行された場合に発生します。
com.ibm.websphere.sib.exception.SINotPossibleInCurrentConfigurationException: CWSIP0111E: 名前 MPOutBoundServicePortDestination の宛先は、メッセージング・エンジン {1} で削除されています。
このエラーは無害なため、無視してもかまいません。
WebSphere Application Server Network Deployment バージョン 5.0.1 以降では、ファイル転送サービスが拡張され、役割ベースの認証が提供されています。 2 つのバージョンのファイル転送 Web アプリケーションが提供されています。 デフォルトでは、その呼び出し元を認証しないバージョンがインストールされています。 このデフォルトを使用すると、 WebSphere Application Server Network Deployment バージョン 5.0 と バージョン 5.0.1 以降との間の互換性がサポートされます。 ファイル転送アプリケーションの無許可使用を防止するため、 ファイル転送の認証をオンにしておくことをお勧めします。 ただし、WebSphere Application Server Network Deployment 環境内に バージョン 5.0 クライアントが存在している場合、グローバル・セキュリティーがオンになっていると、 バージョン 5.0 クライアントは、保護されたファイル転送アプリケーションと通信することができません。
WebSphere Application Server バージョン 6.x では、 混合セルがサポートされ、ファイル転送はシステム・アプリケーションとなりました。 セル内のすべてのノードがバージョン 5.0.1 以降である場合、 デプロイメント・マネージャーでファイル転送アプリケーションを再デプロイすることによって、 ファイル転送サービスにおける認証をアクティブにすることができます。 互換性のあるバージョンは、${app_server_root}/systemApps/filetransfer.ear ディレクトリーに用意されています。 セキュア・バージョンは、${app_server_root}/systemApps/filetransferSecured.ear ディレクトリーに用意されています。
WebSphere Application Server バージョン 6.x でも、 ノードが管理対象セルに統合されていない限り、 WebSphere Application Server または WebSphere Application Server Express でファイル転送サービスがサポートされます。 このノードが統合されている場合、そのノードはデプロイメント・マネージャーのファイル転送を利用します。
ファイル転送の再デプロイを支援するために、wsadmin Jacl スクリプトが用意されています。 このスクリプトは redeployFileTransfer.jacl で、${app_server_root}/bin ディレクトリー内にあります。 デプロイメント・マネージャーとすべてのノードを バージョン 5.0.1 以降にした後、このスクリプトを実行することにより、保護ファイル転送サービスをデプロイできます。 このスクリプトを bin ディレクトリーから実行するための構文は、次のとおりです。
wsadmin -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationXxx cell_name node_name server_nameここで、「Xxx」は「On」または「Off」です。
wsadmin -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationOn managedCell managedCellManager dmgr"または
wsadmin -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationOn baseCell base server1"
wsadmin -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationOff managedCell managedCellManager dmgr"または
wsadmin -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationOff baseNodeCell baseNode server1"
$AdminConfig list Node のように、 $AdminConfig list の出力を構文解析するスクリプトがある場合、「Node not found.」などのエラーを受け取る場合があります。 スクリプトは、$AdminConfig; の出力を構文解析しないようにする必要があります。ただし、この構文解析を行うスクリプトがある場合は、出力形式に変更を反映させるために、 そのスクリプトを WebSphere Application Server V6.0 用に更新する必要があります。
セキュリティーが有効な場合、.bat ファイルの実行にはユーザー ID とパスワードが必要です。 V6.0.2 では、ユーザー ID とパスワードがコマンド行で指定されなかった場合に、それらを求めるプロンプトを出す新しいフィーチャーが導入されました。 ただし、このフィーチャーは、6.0 レベルで作成されたプロファイルでは使用できません。
V6.0 レベルで作成されたプロファイルのプロパティー・ファイルは、V6.0.2 リフレッシュ・パックを適用しても更新されません。
com.ibm.SOAP.loginSource=prompt
WSAdminClientLogin { com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy required del egate=com.ibm.ws.security.common.auth.module.WSAdminClientLoginModuleImpl; };
SET JAASSOAP=-Djava.security.auth.login.config=app_server_root/properties/wsjaas_client.conf
新規 V5.0/V5.1 サーバーの作成時に必須ポートが定義されていない
混合セル環境でデフォルト・テンプレートを使用して新規の V5.0 または V5.1 サーバーを作成しましたが、新しく作成されたサーバーに対して、すべての必須ポートが定義されていません。
<serverEntries xmi:id="ServerEntry_3" serverName="default_5X" serverType="APPLICATION_SERVER"> <specialEndpoints xmi:id="NamedEndPoint_25" endPointName="BOOTSTRAP_ADDRESS"> <endPoint xmi:id="EndPoint_25" host="$(node.host.name)" port="2809"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_26" endPointName="SOAP_CONNECTOR_ADDRESS"> <endPoint xmi:id="EndPoint_26" host="$(node.host.name)" port="8880"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_27" endPointName="SAS_SSL_ SERVERAUTH_LISTENER_ADDRESS"> <endPoint xmi:id="EndPoint_27" host="$(node.host.name)" port="0"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_28" endPointName="CSIV2_ SSL_SERVERAUTH_LISTENER_ADDRESS"> <endPoint xmi:id="EndPoint_28" host="$(node.host.name)" port="0"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_29" endPointName="CSIV2_ SSL_MUTUALAUTH_LISTENER_ADDRESS"> <endPoint xmi:id="EndPoint_29" host="$(node.host.name)" port="0"/> </specialEndpoints> </serverEntries>
<serverEntries xmi:id="ServerEntry_4" serverDisplayName="default ZOS_5X" serverName="defaultZOS_5X" serverType="APPLICATION_SERVER" serverUniqueId="BB80B67909190083000000DC0010200209390F08"> <specialEndpoints xmi:id="NamedEndPoint_31" endPointName="BOOTSTRAP_ADDRESS"> <endPoint xmi:id="EndPoint_31" host="$(node.host.name)" port="2809"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_32" endPointName="SOAP_CONNECTOR_ADDRESS"> <endPoint xmi:id="EndPoint_32" host="$(node.host.name)" port="8880"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_33" endPointName="ORB_SSL_LISTENER_ADDRESS"> <endPoint xmi:id="EndPoint_33" host="*" port="0"/> </specialEndpoints> <specialEndpoints xmi:id="NamedEndPoint_34" endPointName="ORB_LISTENER_ADDRESS"> <endPoint xmi:id="EndPoint_34" host="*" port="0"/> </specialEndpoints> </serverEntries>
xmi:ids は、すべてこのファイル内で固有のものにする必要があります。
この問題は、コマンド $AdmnApp searchJNDIReferences を、メッセージ宛先の JNDI 名を使用して実行すると発生します。 このコマンドは、アプリケーションのデプロイメント記述子で定義されているメッセージ宛先参照を収集できません。 アプリケーション・サーバーに対して構成したメッセージ宛先は、1 つのエレメントではなく、メッセージ駆動型 Bean (MDB) およびメッセージ宛先参照の 2 つのエレメント上のメッセージ宛先リンクで定義されています。
現在、この問題に対する予備手段はありません。 $AdmnApp searchJNDIReferences コマンドは、2 つのエレメント上に定義されているメッセージ宛先の参照を戻すことができません。
[12/7/05 17:09:51:266 CST] 0000000a SystemOut O AWXJR0006E ファイル C:¥cc_was602¥WebSphere¥AppServer¥profiles¥AppSrv01¥etc¥tam¥amwas.t54Node01_.amjacc.pr operties が見つかりませんでした。 [12/7/05 17:09:51:266 CST] 0000000a distSecurityC E SECJ0391E: ポリシー・オブジェクトを プロバイダーのポリシー実装 {0} に設定していてエラーが発生しました。例外は {1} です。 [12/7/05 17:09:51:281 CST] 0000000a distSecurityC E SECJ0324E: Java 2 セキュリティーと 動的ポリシーの初期化中のエラー。
wsadmin.bat -user wsadmin -password pw1 -f enableTAM.jacl "*" TAMHostName:7135" TAMHostName:7136:1" "cn=wsadmin,o=ibm,c=us" "o=ibm,c=us" "sec_master" sec_master pw1 "9990:9999"