[ALF-691] Liferay 5.2.1: cannot login to the Alfresco application Created: 11-Dec-09  Updated: 19-Jul-10  Resolved: 22-Mar-10

Status: Closed
Project: Alfresco
Component/s: Repository
Affects Version/s: 3.2 Enterprise
Fix Version/s: 3.3 Enterprise

Type: Bug Priority: Blocker
Reporter: Alfresco QA Team (Inactive) Assignee: Closed Bugs (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Liferay 5.2.1


Issue Links:
Dependency
Depends on ALF-2828 Liferay 5.2.3: EHCache configuration ... Closed
Related
relates to MNT-3967 Liferay: cannot login to share Closed
Date of First Response:

 Description   

Alfresco 3.2 starts well on the Liferay 5.2.1 including registering portlets. But, navigating to the http://localhost:8080/alfresco/ gives error 500:

java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

Note, that web.xml contains this listener.
This blocks not only Alfresco application, but also many actions from the portlets. All the links, that access http://localhost:8080/alfresco/faces/* don't work, but the same time links http://localhost:8080/alfresco/d/* and http://localhost:8080/alfresco/n/* work well.

AntonRy



 Comments   
Comment by Alfresco QA Team (Inactive) [ 11-Dec-09 ]

Found in Alfresco 3.2 EE build 290 using Windows 2008 SP1 x64, Liferay 5.2.1 bundled wth Tomcat 6.0.18, Mysql 5.1.34, JDK 6u16

Comment by Diego Rey (Inactive) [ 22-Feb-10 ]

The Porlet are not working too with that configuration

Comment by Steve Rigby [X] (Inactive) [ 12-May-10 ]

For retest in 3.3E build 27

Comment by Alfresco QA Team (Inactive) [ 17-May-10 ]

Blocked by ALF-2828.

Comment by Alfresco QA Team (Inactive) [ 19-Jul-10 ]

Successfully validated in Alfresco 3.3.1.8 using indows 2008 SP1, Liferay 5.2.3, Mysql 5.1.34, JDK 6u20

Generated at Fri Sep 25 17:39:26 BST 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.