-
Bug
-
Resolution: Unresolved
-
Critical
-
WebSphere version 8.5.5.12. Java Version 1.8.0_152
Jenkins version - 2.117. jdk1.8.0_144
WebSphere Admin console global security is disabled. Test Connection is successful. "Show available target" shows the cell, node, server and used the same string as deployment target. Provided the application name, EAR/WAR path, deployment target, Generated EAR level and Generated context. Rest are default. Rest of the settings are default.
Also it is a Maven project, source code is fetched from Bitbucket, and can see the generated ear/war on the Jenkins server after the successful deployment.WebSphere version 8.5.5.12. Java Version 1.8.0_152 Jenkins version - 2.117. jdk1.8.0_144 WebSphere Admin console global security is disabled. Test Connection is successful. "Show available target" shows the cell, node, server and used the same string as deployment target. Provided the application name, EAR/WAR path, deployment target, Generated EAR level and Generated context. Rest are default. Rest of the settings are default. Also it is a Maven project, source code is fetched from Bitbucket, and can see the generated ear/war on the Jenkins server after the successful deployment.
The issue is Jenkins reports that the build/deployment is successful but I do not see the new code being reflected or the application does not run. It works if I take the ear/war and manually deploy it.
here is Jenkins logs
13:23:48 Generating EAR For Artifact: iatse_war_new*13:23:51* Artifact is being deployed to virtual host: default_host*13:24:13* Deploying 'iatse_war_new' to IBM WebSphere Application Server*13:24:47* Starting Application 'iatse_war_new'...13:24:52 Finished: SUCCESS
WebSphere logs
- [6/27/18 13:24:19:331 PDT] 000000ae SystemOut O 2018-06-27 13:24:19.331 INFO 8096 — [ Thread-89] c.i.w.m.a.InstallSchedulerImpl : ADMA5016I: Installation of iatse_war_new started.
- [6/27/18 13:24:33:222 PDT] 000000ae SystemOut O 2018-06-27 13:24:33.222 INFO 8096 — [ Thread-89] c.i.w.m.application.task.CompileJspTask : No JSPs found in [C:/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp/appmgmt/mbean/AppManagement_16442e42a58_1/app_16442eb0bad/ext/iatse.war/]
- [6/27/18 13:24:46:784 PDT] 0000003b SystemOut O 2018-06-27 13:24:46.784 WARN 8096 — [rable Alarm : 0] c.i.ws.naming.bootstrap.ConfigInfoImpl : NMSV0821W: An unexpected error occurred while reading application deployment data. Error data:
com.ibm.ws.naming.distcos.NameSpaceConfigurationException: An unexpected error occurred while reading application deployment data. - Caused by: java.io.FileNotFoundException: C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\TS01TWASDEVNode01Cell\applications\DefaultEARNew.ear\deployments\DefaultEARNew\deployment.xml (The system cannot find the file specified.)
- [6/27/18 13:24:46:847 PDT] 000000ae SystemOut O 2018-06-27 13:24:46.847 INFO 8096 — [ Thread-89] c.i.w.m.a.InstallSchedulerImpl : ADMA5013I: Application iatse_war_new installed successfully.
[6/27/18 13:24:51:222 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.222 WARN 8096 — [rThreadPool : 7] com.ibm.ws.management.AdminHelper : ADMN1009I: An attempt is made to start the iatse_war_new application.
[6/27/18 13:24:51:253 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.253 WARN 8096 — [rThreadPool : 7] c.i.w.r.c.CompositionUnitMgrImpl : WSVR0190I: Starting composition unit WebSphere:cuname=iatse_war_new in BLA WebSphere:blaname=iatse_war_new.
[6/27/18 13:24:51:269 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.269 ERROR 8096 — [rThreadPool : 7] com.ibm.config.eclipse.wtp : Failed to extract binaries to temporary location:
Binaries files were not added! - [6/27/18 13:24:51:269 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.269 ERROR 8096 — [rThreadPool : 7] com.ibm.config.eclipse.wtp : Failed to extract binaries to temporary location:
Binaries files were not added!
This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@9684fc7e ] Container [ com.ibm.etools.commonarchive.impl.EARFileImpl@924d9b7e (URI: C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\TS01TWASDEVNode01Cell\applications\iatse_war_new.ear\deployments\iatse_war_new, lastModified: 0, size: 0, directoryEntry: <unset>, originalURI: C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\TS01TWASDEVNode01Cell\applications\iatse_war_new.ear\deployments\iatse_war_new) (types: null) ] - [6/27/18 13:24:51:269 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.269 WARN 8096 — [rThreadPool : 7] c.i.w.r.component.ApplicationMgrImpl : WSVR0200I: Starting application: iatse_war_new
- [6/27/18 13:24:51:284 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.284 WARN 8096 — [rThreadPool : 7] c.i.w.r.component.ApplicationMgrImpl : WSVR0204I: Application: iatse_war_new Application build level: Unknown
- [6/27/18 13:24:51:300 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.300 ERROR 8096 — [rThreadPool : 7] com.ibm.config.eclipse.wtp : Failed to extract binaries to temporary location:
Binaries files were not added!
This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@1bd09f31 ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@12aba493 (URI: WEB-INF/lib/spring-web-4.3.9.RELEASE.jar, lastModified: 1530131085034, size: 0, directoryEntry: <unset>, originalURI: WEB-INF/lib/spring-web-4.3.9.RELEASE.jar) (types: null) ] - [6/27/18 13:24:51:300 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.300 ERROR 8096 — [rThreadPool : 7] com.ibm.config.eclipse.wtp : Failed to extract binaries to temporary location:
Binaries files were not added!
This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@1897fd0a ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl@e2d62881 (URI: WEB-INF/lib-provided/tomcat-embed-websocket-8.5.15.jar, lastModified: 1530131085050, size: 0, directoryEntry: <unset>, originalURI: WEB-INF/lib-provided/tomcat-embed-websocket-8.5.15.jar) (types: null) ]
[6/27/18 13:24:51:316 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.316 WARN 8096 — [rThreadPool : 7] com.ibm.ws.webcontainer.annotation : SRVE8000W: Skipped class that failed to initialize for annotation scanning. - [6/27/18 13:24:51:316 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.316 INFO 8096 — [rThreadPool : 7] com.ibm.ws.webcontainer.webapp : SRVE0169I: Loading Web Module: iatse.war.
- [6/27/18 13:24:51:331 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.331 INFO 8096 — [rThreadPool : 7] com.ibm.ws.session.WASSessionCore : SESN0176I: Will create a new session context for application key default_host/iatsenew
[6/27/18 13:24:51:331 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.331 ERROR 8096 — [rThreadPool : 7] com.ibm.ws.webcontainer.util : SRVE8043E: An IOException occured searching jarFile [] for fileName [/WEB-INF/sip.xml] java.io.FileNotFoundException: C:\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\TS01TWASDEVNode01Cell\iatse_war_new.ear\iatse.war\WEB-INF\lib\spring-web-4.3.9.RELEASE.jar (The system cannot find the path specified.) - [6/27/18 13:24:51:331 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.331 INFO 8096 — [rThreadPool : 7] com.ibm.ws.webcontainer : SRVE0250I: Web Module null has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[6/27/18 13:24:51:331 PDT] 000000aa SystemOut O 2018-06-27 13:24:51.331 WARN 8096 — [rThreadPool : 7] c.i.w.r.component.ApplicationMgrImpl : WSVR0221I: Application started: iatse_war_new
Admin Console
- Admin console in WebSphere shows that the application is installed.
In the Physical path:
- In WebSphere under the "installed" apps folder, I do not see the the app created
If it is a already installed app, I do not see the changes in the code. If it is installed as a new app, this does nor run at all