I run Jetspeed and Alfresco together where Alfresco is installed as a standard war instead of a portlet. I didn't really see any benefit in running Alfresco as a portlet over the standard war.
Just my 2 cents. On 8/1/06, Enrique Perez <[EMAIL PROTECTED]> wrote:
Hi all, I'm trying to merge Alfresco with Jetspeed2, but I'm experiencing lot of trouble since I don't know very well what I should modify and how… =/ I'm kind of newbie to this things I've seen that there is a portlet version of Alfresco for Liferay (in fact, there is a bundle containing Tomcat+Liferay+Alfresco) so I thought I could modify the xml descriptors in order to run Alfresco over J2. Alfresco is a jsf portlet so I took a look on jsf demo that comes out-of-the-box with J2, but I didn't get too much of it… Differences I've seen: - faces-config.xml: beans, navigation rules, etc are splitted up in different xml files (while "jsf demo" has all these things packed in the same "faces-config.xml"). The "faces-config.xml" only defines a factory that I removed (I've asked also this issue in Alfresco's forum and told me maybe this factory is not necessary… there is also a portlet for JBoss that does not need any factory) - web.xml: there is an additional listener (that I think it's the main source for my problems)… something called PortletContextListener in Liferay that I don't what is it for… I've tried to replace it with "Jetspeed engine" or "PortletFacesContextImpl.class" (from the J2's jsf bridge, and also include the jsf bridge jar in the war file) but with no luck (see lines 89-92 in "web.xml.txt") - web.xml: I've made AlfrescoClient portlet to run against JetspeedServletContainer since I understood this is the class in J2 that manages MVC for portlet applications (see lines 106-115 in "web.xml.txt"). Though I have doubts regarding initial parameter of that servlet I think I've managed to deploy "alfresco.war" (in fact, some directory structure is created) but J2 "dies" in the process… without leaving any log message… I'm keen on J2 (rather than Liferay) so I would like to keep working over J2… Any help or suggestion would be very much appreciated… =) Thanks and regards, Enrique PS: sorry for my English PS2: I attach the xml descriptors --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
