Forums de discussion
Liferay Faces Demo not running on wildfly-bundle
Daniel Niklas, modifié il y a 7 années.
Liferay Faces Demo not running on wildfly-bundle
Junior Member Publications: 46 Date d'inscription: 08/11/10 Publications récentes
Hi,
i want to migrate from Liferay 6.1 to Liferay 7. Therefor i started with the Liferay 7 Wildfly-Bundle and tried to deploy the JSF-Showcase, sadly without success.
The Logging says not too much, this is the output:
Where is the problem?
Best regards
Daniel
P.S.: I tried this on an unmodified Wildfly-Bundle (GA3) running on Oracle JVM 8.0_20
i want to migrate from Liferay 6.1 to Liferay 7. Therefor i started with the Liferay 7 Wildfly-Bundle and tried to deploy the JSF-Showcase, sadly without success.
The Logging says not too much, this is the output:
21:13:07,290 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing com.liferay.faces.demo.jsf.showcase.portlet-4.0.0.war
21:13:21,063 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseAutoDeployListener:42] Copying portlets for C:\Users\daniel\AppData\Local\Temp\20161108211321045KJYROLZK\com.liferay.faces.demo.jsf.showcase.portlet-4.0.0.war
21:13:25,144 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseDeployer:873] Deploying com.liferay.faces.demo.jsf.showcase.portlet-4.0.0.war
21:15:33,252 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseAutoDeployListener:50] Portlets for C:\Users\daniel\AppData\Local\Temp\20161108211321045KJYROLZK\com.liferay.faces.demo.jsf.showcase.portlet-4.0.0.war copied successfully
21:16:50,888 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][HotDeployImpl:226] Deploying comliferayfacesdemojsfshowcaseportlet-400 from queue
21:16:50,889 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PluginPackageUtil:1006] Reading plugin package for comliferayfacesdemojsfshowcaseportlet-400
21:16:55,000 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:202] Registering portlets for comliferayfacesdemojsfshowcaseportlet-400
21:16:55,507 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:331] 1 portlet for comliferayfacesdemojsfshowcaseportlet-400 is available for use
21:16:56,129 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:364] Unregistering portlets for comliferayfacesdemojsfshowcaseportlet-400
21:16:56,148 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:394] 1 portlet for comliferayfacesdemojsfshowcaseportlet-400 was unregistered
21:16:56,164 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PluginPackageUtil:1006] Reading plugin package for comliferayfacesdemojsfshowcaseportlet-400
Where is the problem?
Best regards
Daniel
P.S.: I tried this on an unmodified Wildfly-Bundle (GA3) running on Oracle JVM 8.0_20
Kyle Joseph Stiemann, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
Hi Daniel,
Could you try removing the "-4.0.0" from the war's name and redeploying it?
If that doesn't work, please post the output of your latest wildfly-10.0.0/logs/liferay.$(date).log file here.
- Kyle
Could you try removing the "-4.0.0" from the war's name and redeploying it?
If that doesn't work, please post the output of your latest wildfly-10.0.0/logs/liferay.$(date).log file here.
- Kyle
Daniel Niklas, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Junior Member Publications: 46 Date d'inscription: 08/11/10 Publications récentes
Hi Kyle,
i tried this, but no difference. Output as follows:
Daniel
i tried this, but no difference. Output as follows:
20:52:41,230 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing com.liferay.faces.demo.jsf.showcase.portlet.war
20:52:50,019 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseAutoDeployListener:42] Copying portlets for C:\Users\daniel\AppData\Local\Temp\20161109205250002BKNYWXTL\com.liferay.faces.demo.jsf.showcase.portlet.war
20:52:50,143 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseDeployer:873] Deploying com.liferay.faces.demo.jsf.showcase.portlet.war
20:52:59,819 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][BaseAutoDeployListener:50] Portlets for C:\Users\daniel\AppData\Local\Temp\20161109205250002BKNYWXTL\com.liferay.faces.demo.jsf.showcase.portlet.war copied successfully
20:53:11,097 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][HotDeployImpl:226] Deploying comliferayfacesdemojsfshowcaseportlet from queue
20:53:11,134 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PluginPackageUtil:1006] Reading plugin package for comliferayfacesdemojsfshowcaseportlet
20:53:11,196 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:202] Registering portlets for comliferayfacesdemojsfshowcaseportlet
20:53:11,904 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:331] 1 portlet for comliferayfacesdemojsfshowcaseportlet is available for use
20:53:12,564 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:364] Unregistering portlets for comliferayfacesdemojsfshowcaseportlet
20:53:12,580 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PortletHotDeployListener:394] 1 portlet for comliferayfacesdemojsfshowcaseportlet was unregistered
20:53:12,594 INFO [fileinstall-C:/opt/liferay-ce-portal-7.0-ga3-orig/osgi/war][PluginPackageUtil:1006] Reading plugin package for comliferayfacesdemojsfshowcaseportlet
Daniel
Kyle Joseph Stiemann, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
Hi Daniel,
You may be running into LPS-65488. For now you can use the workaround mentioned here: https://issues.liferay.com/browse/LPS-65488?focusedCommentId=766528&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-766528.
- Kyle
You may be running into LPS-65488. For now you can use the workaround mentioned here: https://issues.liferay.com/browse/LPS-65488?focusedCommentId=766528&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-766528.
- Kyle
Daniel Niklas, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Junior Member Publications: 46 Date d'inscription: 08/11/10 Publications récentes
Hi Kyle,
i'm using liferay-ce-portal-7.0-ga3 - this version contains already the mentioned fix, the included portal-impl.jar is bundle-version 2.6.1. The property contains the following:
module.framework.properties.org.osgi.framework.bootdelegation=\
__redirected,\
com.sun.ccpp,\
com.sun.ccpp.*,\
com.sun.crypto.*,\
com.sun.el,\
com.sun.el.*,\
com.sun.image.*,\
com.sun.jmx.*,\
com.sun.jna,\
com.sun.jndi.*,\
com.sun.mail.*,\
com.sun.management.*,\
com.sun.media.*,\
com.sun.msv.*,\
com.sun.org.*,\
com.sun.syndication,\
com.sun.tools.*,\
com.sun.xml.*,\
com.yourkit.*,\
sun.*
...even some values more than listed in the jira-ticket.
Unfortunately i can't see an exception in the log files. Can you give me a hint, where to start with debugging?
Daniel
i'm using liferay-ce-portal-7.0-ga3 - this version contains already the mentioned fix, the included portal-impl.jar is bundle-version 2.6.1. The property contains the following:
module.framework.properties.org.osgi.framework.bootdelegation=\
__redirected,\
com.sun.ccpp,\
com.sun.ccpp.*,\
com.sun.crypto.*,\
com.sun.el,\
com.sun.el.*,\
com.sun.image.*,\
com.sun.jmx.*,\
com.sun.jna,\
com.sun.jndi.*,\
com.sun.mail.*,\
com.sun.management.*,\
com.sun.media.*,\
com.sun.msv.*,\
com.sun.org.*,\
com.sun.syndication,\
com.sun.tools.*,\
com.sun.xml.*,\
com.yourkit.*,\
sun.*
...even some values more than listed in the jira-ticket.
Unfortunately i can't see an exception in the log files. Can you give me a hint, where to start with debugging?
Daniel
Kyle Joseph Stiemann, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle (Réponse)
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentesDaniel Niklas:
i'm using liferay-ce-portal-7.0-ga3 - this version contains already the mentioned fix, the included portal-impl.jar is bundle-version 2.6.1. The property contains the following:
module.framework.properties.org.osgi.framework.bootdelegation=\
__redirected,\
com.sun.ccpp,\
com.sun.ccpp.*,\
com.sun.crypto.*,\
com.sun.el,\
com.sun.el.*,\
com.sun.image.*,\
com.sun.jmx.*,\
com.sun.jna,\
com.sun.jndi.*,\
com.sun.mail.*,\
com.sun.management.*,\
com.sun.media.*,\
com.sun.msv.*,\
com.sun.org.*,\
com.sun.syndication,\
com.sun.tools.*,\
com.sun.xml.*,\
com.yourkit.*,\
sun.*
...even some values more than listed in the jira-ticket.
Please make sure that your module.framework.properties.org.osgi.framework.bootdelegation setting matches the one shown in LPS-65488 exactly. Extra values can cause problems in this case.
Daniel Niklas:
Unfortunately i can't see an exception in the log files. Can you give me a hint, where to start with debugging?
If the showcase portlet still fails to deploy after fixing the bootdelgation setting and the logs under $LIFERAY_HOME/logs/liferay.$DATE.log do not contain an exception, then please follow the steps below to determine the problem.
- Telnet into Liferay';s Gogo Shell:
telnet localhost 11311 - Obtains the bundle id for the showcase portlet:
lb - Attempt to start the bundle:
start $SHOWCASE_BUNDLE_ID
When you attempt to start the bundle, it should show you the exception which is causing it to fail to deploy.
- Kyle
Daniel Niklas, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Junior Member Publications: 46 Date d'inscription: 08/11/10 Publications récentes
Hi Kyle,
sorry for my late answer.
You are right, that was the problem! After settings the module-settings exactly, the demo works!
Thanks a lot!
Daniel
sorry for my late answer.
Kyle Joseph Stiemann:
Please make sure that your module.framework.properties.org.osgi.framework.bootdelegation setting matches the one shown in LPS-65488 exactly. Extra values can cause problems in this case.
You are right, that was the problem! After settings the module-settings exactly, the demo works!
Thanks a lot!
Daniel
Kyle Joseph Stiemann, modifié il y a 7 années.
RE: Liferay Faces Demo not running on wildfly-bundle
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
Glad it's working for you! Thanks for using Liferay Faces!