Foros de discusión

jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

thumbnail
Luca Stancapiano, modificado hace 7 años.

jsf login portlet in liferay 7.0 ce ga1 wildfly bundle

New Member Mensajes: 9 Fecha de incorporación: 9/10/15 Mensajes recientes
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 hace 7 años.

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

Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
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 hace 7 años.

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

Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
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