cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco client portlet can't add content

anusk
Champ in-the-making
Champ in-the-making
Hi!
I deployed de Alfresco 3.2 war into liferay 5.2.3. Both of them are in the same tomcat. I have the 6 portlets available and i can display the alfresco client portlet.
The problem is that although i can create new users, i can't add any content. The "OK" button seems disabled and in the localhost log appears this error. The other logs are ok.
04-ene-2010 9:00:07 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/jsp/error.jsp]
org.apache.jasper.JasperException: java.lang.IllegalStateException: RenderResponse object is null
   at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
   at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:271)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: RenderResponse object is null
   at org.alfresco.web.ui.repo.tag.SystemErrorTag.doStartTag(SystemErrorTag.java:235)
   at org.apache.jsp.jsp.error_jsp._jspx_meth_r_005fsystemError_005f0(error_jsp.java:164)
   at org.apache.jsp.jsp.error_jsp._jspService(error_jsp.java:119)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   … 19 more

can anybody help me??
5 REPLIES 5

pauline
Champ in-the-making
Champ in-the-making
Hi anusk!

I have the same problem. And it's look like we're not alone (http://www.liferay.com/community/forums/-/message_boards/message/4487412 ana raised the same issue).
Did you find any solution?

I also use Alfresco 3.2.r2 Community in the liferay same version than you. I deploy Alfresco using that tutorial : http://wiki.alfresco.com/wiki/Deploying_Alfresco_WAR_in_Liferay_v2

Thank you,
Pauline

pauline
Champ in-the-making
Champ in-the-making
Hi everyone!

About my previous post, I add more detail about my configuration: I use Liferay 5.2.3 with Tomcat 6.0.18,
About my pc configuration: I use Windows XP, Java 1.6.0_20, and for Alfresco's database mysql 5.05.

I installed Alfresco Community Edition 3.2.r2 and I also tried with Alfresco CE 3.3, and I've got the same errors in both versions.

I did the war myself (in following the tutorial that I mentioned in the previous post) with the command “jar cfv ..\alfresco33.war *” from my alfresco temporary directory.

Did I do something wrong? Had I miss something?
Does anyone have the same problem? Or did you manage to make it work with the same configuration?

Thanks you for your help,
Pauline

anusk
Champ in-the-making
Champ in-the-making
Hi Pauline!
I'm afraid ana and I are the same person  Smiley Very Happy
I gave up this integration of Alfresco and Liferay, because I think is not functional… I don't like to have Alfresco embedded in Liferay portal and only have access through it.
I think is better to have each independent and do the communication through webservices and webscripts, but you know, it's only an opinion :wink:
By the way , you can try the newest release of Liferay : Liferay 6. With luck there is no bug in the new version!
I hope you can fix it.

Regards,
Anusk

pauline
Champ in-the-making
Champ in-the-making
Hi anusk!

Thank you very much for your answer!  Smiley Happy

I'll try with Liferay 6!

Cordially,
Pauline

pauline
Champ in-the-making
Champ in-the-making
Hi!

I've tested with Liferay 6.0.1CE and Alfresco 3.3.0 and it hasn't worked neither (same problem on add content).

But the good new is that it's working with Liferay 5.2.3 and Alfresco 3.4.0!!
This is the very last version of Alfresco's sources found on the Alfresco Subversion Repository.
I've followed the same tutorial than before which is proposed here: http://wiki.alfresco.com/wiki/Deploying_Alfresco_WAR_in_Liferay_v2
and it works just fine!

Regards,
Pauline