Fórum

jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

thumbnail
Luca Stancapiano, modificado 7 Anos atrás.

jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

New Member Postagens: 9 Data de Entrada: 09/10/15 Postagens Recentes
Deploying for the first time the com.liferay.faces.demo.jsf.login.portlet project from https://github.com/liferay/liferay-faces-portal/tree/master/demo/jsf-login-portlet , I get this error:


Caused by: javax.faces.FacesException: com.liferay.faces.bridge.application.internal.ApplicationFactoryImpl
at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:407)
at javax.faces.FactoryFinderInstance.getImplementationInstance(FactoryFinderInstance.java:270)
at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:543)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
... 54 more
Caused by: java.lang.InstantiationException: com.liferay.faces.bridge.application.internal.ApplicationFactoryImpl
at java.lang.Class.newInstance(Class.java:427)
at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:405)
... 58 more
Caused by: java.lang.NoSuchMethodException: com.liferay.faces.bridge.application.internal.ApplicationFactoryImpl.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 59 more

why?
thumbnail
Kyle Joseph Stiemann, modificado 7 Anos atrás.

RE: jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

Liferay Master Postagens: 760 Data de Entrada: 14/01/13 Postagens Recentes
Hi Luca,

First, LPS-65488 causes Liferay Faces to fail in Liferay 7.0 GA1 + Wildfly. Please apply the workaround that I mention in the comments in the LPS and give it another try.

Second, the login portlet has only supported Liferay + Tomcat in the past and it hasn't been thoroughly tested on Liferay 7.0 yet. However, if you apply the workaround and it still fails, let me know what error appears and I'll try to reproduce.

- Kyle
thumbnail
Kyle Joseph Stiemann, modificado 7 Anos atrás.

RE: jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

Liferay Master Postagens: 760 Data de Entrada: 14/01/13 Postagens Recentes
Hi Luca,

I looks like the jsf-login-portlet is broken on Liferay 7: FACES-2581. Please watch the issue to find out when it is fixed.

- Kyle