angle-left Back

Liferay 7 GA4 + Faces Alloy

Marcus Hiebenga, modified 1 Year ago.

Liferay 7 GA4 + Faces Alloy

New Member Posts: 4 Join Date: 1/11/17 Recent Posts
Does it work correctly?

If I create the hello world example with following maven call:

mvn archetype:generate -DarchetypeGroupId=com.liferay.faces.archetype -DarchetypeArtifactId=com.liferay.faces.archetype.jsf.portlet -DarchetypeVersion=5.0.1 -DgroupId=de.mycompany -DartifactId=de.mycompany.test

The first time I build the war file and deploy it to the clean Liferay Server GA4 it works as it should.

But if I build it a second time an deploy the new war file I get following error message:

10:28:06,826 INFO [BridgeSessionListener:73] Context initialized for contextPath=[/o/de.mycompany.test]
at java.util.ArrayList.<init>(
at com.sun.faces.application.WebappLifecycleListener.getActiveSessions(
at com.sun.faces.config.ConfigureListener.reload(
at com.sun.faces.config.ConfigureListener.access$700(
at com.sun.faces.config.ConfigureListener$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask.runAndReset(
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Is this a known bug?
Neil Griffin, modified 1 Year ago.

RE: Liferay 7 GA4 + Faces Alloy

LIFERAY STAFF Liferay Legend Posts: 2540 Join Date: 7/26/05 Recent Posts
Hi Marcus,

I think you are experiencing FACES-3025 which is a benign error that only happens when javax.faces.PROJECT_STAGE=Development, which is set for the sake of convenience in the WEB-INF/web.xml descriptor of the Liferay Faces Alloy archetype.

Kind Regards,