RE: Websphere logs confuses me and also deployment fails

senthilkumartd Kumar, modified 7 Years ago. New Member Posts: 4 Join Date: 2/26/18 Recent Posts

Hi,

 

I am trying to deploy a portlet in Websphere 8.5 with Liferay 6.2

 

While deploying the following logs were found in systemOut.log

 

[8/6/18 14:58:32:037 MYT] 00000132 SystemOut     O 14:58:32,035 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing MYTest-portlet.war
[8/6/18 14:58:32:039 MYT] 00000132 SystemOut     O 14:58:32,038 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:79] Copying portlets for /opt/LR/LR_01/deploy/MYTest-portlet.war
[8/6/18 14:58:32:058 MYT] 00000132 SystemOut     O 14:58:32,057 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:863] Deploying MYTest-portlet.war
[8/6/18 14:58:32:058 MYT] 00000132 SystemOut     O   Expanding: /opt/LR/LR_01/deploy/MYTest-portlet.war into /opt/LR/LR_01/tmp/20180806145832058
[8/6/18 14:58:32:104 MYT] 00000132 SystemOut     O   Copying 1 file to /opt/LR/LR_01/tmp/20180806145832058/WEB-INF
[8/6/18 14:58:32:106 MYT] 00000132 SystemOut     O   Copying 1 file to /opt/LR/LR_01/tmp/20180806145832058/WEB-INF/classes
[8/6/18 14:58:32:107 MYT] 00000132 SystemOut     O   Copying 1 file to /opt/LR/LR_01/tmp/20180806145832058/WEB-INF/classes
[8/6/18 14:58:32:112 MYT] 00000132 SystemOut     O   Copying 1 file to /opt/LR/LR_01/tmp/20180806145832058/WEB-INF
[8/6/18 14:58:32:113 MYT] 00000132 SystemOut     O   Copying 1 file to /opt/LR/LR_01/tmp/20180806145832058/WEB-INF/jsp
[8/6/18 14:58:32:655 MYT] 00000132 SystemOut     O 14:58:32,655 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2391] Modifying Servlet 3.0 /opt/LR/LR_01/tmp/20180806145832058/WEB-INF/web.xml
[8/6/18 14:58:32:660 MYT] 00000132 SystemOut     O   Building war: /opt/LR/LR_01/tmp/20180806145832656
[8/6/18 14:58:32:838 MYT] 00000132 SystemOut     O   Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
[8/6/18 14:58:32:842 MYT] 00000132 SystemOut     O   Deleting directory /opt/LR/LR_01/tmp/20180806145832058
[8/6/18 14:58:32:846 MYT] 00000132 SystemOut     O 14:58:32,846 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:1670] Do not install the plugin with wsadmin since the property "auto.deploy.websphere.wsadmin.app.manager.query"is not configured
[8/6/18 14:58:32:846 MYT] 00000132 SystemOut     O 14:58:32,846 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:91] Portlets for /opt/LR/LR_01/deploy/MYTest-portlet.war copied successfully. Deployment will start in a few seconds.
[8/6/18 14:59:50:069 MYT] 00000197 AdminHelper   A   ADMN1008I: An attempt is made to start the MyTest-portlet_war application. (User ID = ldap.produban.gs.corp:389/x051020)
[8/6/18 14:59:50:108 MYT] 00000197 CompositionUn A   WSVR0190I: Starting composition unit WebSphere:cuname=MyTest-portlet_war in BLA WebSphere:blaname=MyTest-portlet_war.
[8/6/18 14:59:50:128 MYT] 00000197 ApplicationMg A   WSVR0200I: Starting application: MyTest-portlet_war
[8/6/18 14:59:50:129 MYT] 00000197 ApplicationMg A   WSVR0204I: Application: MyTest-portlet_war  Application build level: Unknown
[8/6/18 14:59:50:351 MYT] 00000197 webapp        I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: MyTest-portlet.
[8/6/18 14:59:50:417 MYT] 00000197 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/MyTest-portlet
[8/6/18 14:59:50:590 MYT] 00000197 SystemOut     O 14:59:50,588 INFO  [Default : 1][HotDeployEvent:145] Plugin MyTest-portlet requires marketplace-portlet
[8/6/18 14:59:50:590 MYT] 00000197 SystemOut     O 14:59:50,590 INFO  [Default : 1][HotDeployImpl:217] Deploying MyTest-portlet from queue
[8/6/18 14:59:50:591 MYT] 00000197 SystemOut     O 14:59:50,591 INFO  [Default : 1][PluginPackageUtil:1016] Reading plugin package for MyTest-portlet
[8/6/18 14:59:50:645 MYT] 00000197 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [MyTest-portlet_war#MYTest-portlet.war]:.Initializing Spring root WebApplicationContext
[8/6/18 14:59:50:673 MYT] 00000197 SystemOut     O 14:59:50,672 INFO  [Default : 1][PortletHotDeployListener:344] Registering portlets for MyTest-portlet
[8/6/18 14:59:50:705 MYT] 00000197 SystemOut     O 14:59:50,704 INFO  [Default : 1][PortletHotDeployListener:492] 1 portlet for MyTest-portlet is available for use
[8/6/18 14:59:50:723 MYT] 00000197 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [MyTest-portlet_war] [/MyTest-portlet] [Dynamic Resource Servlet]: Initialization successful.
[8/6/18 14:59:50:724 MYT] 00000197 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [MyTest-portlet_war] [/MyTest-portlet] [mytest Servlet]: Initialization successful.
[8/6/18 14:59:50:726 MYT] 00000197 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper doDestroy SRVE0253I: [MyTest-portlet_war] [/MyTest-portlet] [Dynamic Resource Servlet]: Destroy successful.
[8/6/18 14:59:50:726 MYT] 00000197 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper doDestroy SRVE0253I: [MyTest-portlet_war] [/MyTest-portlet] [mytest Servlet]: Destroy successful.
[8/6/18 14:59:50:732 MYT] 00000197 SystemOut     O 14:59:50,732 INFO  [Default : 1][HotDeployEvent:145] Plugin MyTest-portlet requires marketplace-portlet
[8/6/18 14:59:50:733 MYT] 00000197 SystemOut     O 14:59:50,732 INFO  [Default : 1][PortletHotDeployListener:525] Unregistering portlets for MyTest-portlet
[8/6/18 14:59:50:737 MYT] 00000197 SystemOut     O 14:59:50,737 INFO  [Default : 1][PortletHotDeployListener:560] 1 portlet for MyTest-portlet was unregistered
[8/6/18 14:59:50:738 MYT] 00000197 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [MyTest-portlet_war#MYTest-portlet.war]:.Closing Spring root WebApplicationContext
[8/6/18 14:59:50:738 MYT] 00000197 SystemOut     O 14:59:50,738 INFO  [Default : 1][PluginPackageUtil:1016] Reading plugin package for MyTest-portlet
[8/6/18 14:59:50:740 MYT] 00000197 webapp        E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application MyTest-portlet
[8/6/18 14:59:50:741 MYT] 00000197 DeployedAppli W   WSVR0206E: Module, MYTest-portlet.war, of application, MyTest-portlet_war.ear/deployments/MyTest-portlet_war, failed to start
[8/6/18 14:59:50:746 MYT] 00000197 ApplicationMg W   WSVR0101W: An error occurred starting, MyTest-portlet_war
[8/6/18 14:59:50:747 MYT] 00000197 ApplicationMg A   WSVR0217I: Stopping application: MyTest-portlet_war
[8/6/18 14:59:50:769 MYT] 00000197 ApplicationMg A   WSVR0220I: Application stopped: MyTest-portlet_war
[8/6/18 14:59:50:783 MYT] 00000197 CompositionUn E   WSVR0194E: Composition unit WebSphere:cuname=MyTest-portlet_war in BLA WebSphere:blaname=MyTest-portlet_war failed to start.
 

 

My Questions are : 

 

1. Confusion :   The log says the 1 Portlet is ready for use and after few minutes later it says that portlet is unregistered. Why was this two messages for the same portlet?

2. Why my deployment was failed? What is the exact reason for the failure, apart from this general failure information?

 

 

Regards,

Senthil

 

 

thumbnail
Jorge Díaz, modified 7 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts

Are you deploying your portlet in deploy directory of Liferay Home?

Do you have auto deploy enabled or are you manually deploying updated war into websphere?

 

Try also activating log traces to DEBUG.