Websphere Portal 8.5.5.2 2つのWindowsサーバー・ノードのクラスターがあります。 別のJenkins Build Server(Windowsも)があります。プラグインを正しく設定し、テスト接続をクリックすると接続が成功します。jenkins Websphereデプロイヤー・プラグインは接続に成功しましたが、デプロイメントに失敗します
13:51:31 Started by user Jenkins
13:51:31 Building in workspace C:\Jenkins\workspace\Deploy
13:51:31 Connecting to IBM WebSphere Application Server...
13:51:31 The following artifacts will be deployed in this order...
13:51:31 -------------------------------------------
13:51:31 AdvisorsThemeEAR_20160505.ear
13:51:31 -------------------------------------------
13:51:31 Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: ADMA0092E: An unexpected exception occurred while preparing task MapJaspiProvider. Check the server machine First Failure Data Capture tool (FFDC) for more information.
13:51:31 at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.getAppName(WebSphereDeploymentService.java:193)
13:51:31 at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.getAppName(WebSphereDeploymentService.java:169)
13:51:31 at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.getAppName(WebSphereDeployerPlugin.java:318)
13:51:31 at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.createArtifact(WebSphereDeployerPlugin.java:275)
13:51:31 at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:197)
13:51:31 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
13:51:31 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
13:51:31 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
13:51:31 at hudson.model.Build$BuildExecution.post2(Build.java:185)
13:51:31 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
13:51:31 at hudson.model.Run.execute(Run.java:1763)
13:51:31 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
13:51:31 at hudson.model.ResourceController.execute(ResourceController.java:98)
13:51:31 at hudson.model.Executor.run(Executor.java:410)
13:51:31 Caused by: com.ibm.websphere.management.application.client.AppDeploymentException: ADMA0092E: An unexpected exception occurred while preparing task MapJaspiProvider. Check the server machine First Failure Data Capture tool (FFDC) for more information. [Root exception is java.lang.NoSuchMethodError: com.ibm.ejs.models.base.bindings.applicationbnd.ApplicationBinding.getJaspiRefBinding()Lcom/ibm/ejs/models/base/bindings/commonbnd/JaspiRefBinding;]
13:51:31 at com.ibm.websphere.management.application.client.AppDeploymentController.getNthTask(AppDeploymentController.java:575)
13:51:31 at com.ibm.websphere.management.application.client.AppDeploymentController.getNextTask(AppDeploymentController.java:611)
13:51:31 at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.getAppName(WebSphereDeploymentService.java:185)
13:51:31 ... 13 more
13:51:31 Caused by: java.lang.NoSuchMethodError: com.ibm.ejs.models.base.bindings.applicationbnd.ApplicationBinding.getJaspiRefBinding()Lcom/ibm/ejs/models/base/bindings/commonbnd/JaspiRefBinding;
13:51:31 at com.ibm.ws.security.jaspi.MapJaspiHelper.prepareTask(MapJaspiHelper.java:148)
13:51:31 at com.ibm.websphere.management.application.client.AppDeploymentController.prepareTask(AppDeploymentController.java:586)
13:51:31 at com.ibm.websphere.management.application.client.AppDeploymentController.getNthTask(AppDeploymentController.java:567)
13:51:31 ... 15 more
13:51:31
13:51:31 Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
13:51:31 Finished: FAILURE
私はプラグイン(SOAPポート、セル、ノード、サーバーに設定したのと同じパラメータを使用してwsadminコマンドを使用してEARファイルをデプロイできることを確認:EARファイルをデプロイするために、今構築実行し、それがエラーを返し ...)それは成功しました。
私には何が欠けていますか?私は同様のエラーメッセージを検索しようとしましたが、何も見つかりませんでした。 また、ffdcログを検索しようとしましたが、プラグインを実行してもログが更新されないため、私は愚かです。
シン・クライアントのJARが何らかの不一致で使用されていると思います(MapJaspiHelperとApplicationBindingは両方とも内部WebSphere Application Serverクラスです)。 JenkinsサーバーをWebSphere JARで構成していますか? '-verbose:class' JVM引数を使ってJenkinsプロセスを実行すると、それらのクラスがどのJARからロードされているのかが分かります。他のすべてが失敗した場合は、障害がIBMクラスにあるため、IBMとPMRを開く必要があります。 –