Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Tobias Hofmann
ERROR: Alfresco Content configuration
22. August 2008 07:59
Antwort

Tobias Hofmann

Rang: Junior Member

Nachrichten: 82

Eintrittsdatum: 20. Juni 2007

Neue Beiträge

Hi,

I deployed successfully the Alfrseco Content portlet for Liferay 5.1.1: alfresco-content-portlet-5.1.1.1.war

I could also add this portlet to a page. But when I select configure, I get this errro:
(Sorry, no textdump. It seems that a default out-of-the-box installation of Liferay DISABLES logs to a text file!!!!)
1An exception occured processing JSP page /configuration.jsp at line 122
2Stacktrace:
3ERROR [IncludeTag:52] java.lang.NoClassDefFoundError: javax/xml/rpc/Stub

I'm using a downloaded, pre-packaged version of Liferay 5.1.1 with Tomcat 5.5.

Isn't anybody TESTING the portlets before releasing them?? Can I configure the configuration file directly of the portlet? AND: will this help? I mean, if this portlet isn't broken ... I doubt it will be of any use for accessing Alfresco content.

br,
Tobias
Frank Yu
RE: ERROR: Alfresco Content configuration
29. August 2008 16:29
Antwort

Frank Yu

Rang: New Member

Nachrichten: 14

Eintrittsdatum: 30. Juni 2008

Neue Beiträge

Tobias,

Did you find a solution for this? I have the same problem with alfresco-content-portlet-5.1.1.1.war in Liferay 5.1.1/Tomcat 6.

Thanks much!
Tobias Hofmann
RE: ERROR: Alfresco Content configuration
9. September 2008 07:59
Antwort

Tobias Hofmann

Rang: Junior Member

Nachrichten: 82

Eintrittsdatum: 20. Juni 2007

Neue Beiträge

Hi,

yes, I've found a "solution". You'll have to look at the exception and the missing class mentioned there. Use Google to find all the classes/packages that are missing and copy them to the alfresco package directory. You'll have to do this several times (4-5 times), because after fixing the 1. error, you'll recieve the next one about a missing class.

Like I said: they don't test their packages befor shipping ...

br,
Tobias
John MacLaren
RE: ERROR: Alfresco Content configuration
17. September 2008 10:47
Antwort

John MacLaren

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 2. Juli 2008

Neue Beiträge

Tobias,

I ran into same issue as you said the war is clearly missing some classes and I added 2 jars for missing classes but now I am receiving this error from AlfrescoContentUtil class not found but that class is part of the war for the alfresco content portlet so i dont see how that class could not be found.

Did anyone else run into this error?

error on line 122 of configuration.jsp

119: <%
120:
121: try {
122: Node node = AlfrescoContentUtil.getNode(userId, password, uuid);
123:
124: if (node != null) {
125: NamedValue[] nodeNamedValues = node.getProperties();


Stacktrace:
17:17:01,224 ERROR [IncludeTag:52] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.alfrescocontent.util.AlfrescoContentUtil
at org.apache.jsp.configuration_jsp._jspService(configuration_jsp.java:551)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
dins d d
RE: ERROR: Alfresco Content configuration
1. November 2008 00:09
Antwort

dins d d

Rang: Junior Member

Nachrichten: 32

Eintrittsdatum: 25. August 2006

Neue Beiträge

John MacLaren:

Did you find a solution for this? I have the same problem.

Thanks very much!
joseph loukou n'goran
RE: ERROR: Alfresco Content configuration
11. November 2008 04:21
Antwort

joseph loukou n'goran

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 25. August 2008

Neue Beiträge

Did you find a solution for this? I have the same problem.

Thanks !
Jean-Francois Taillon
RE: ERROR: Alfresco Content configuration
15. April 2009 04:28
Antwort

Jean-Francois Taillon

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 3. April 2009

Neue Beiträge

Hello

I have the same problem as well.
I will try to fix it and post a solution here.

By the way, I am using Liferay 5.2.2 ans Alfresco Labs 3.

Jeff
gianluca maranzana
RE: ERROR: Alfresco Content configuration
24. April 2009 07:51
Antwort

gianluca maranzana

Rang: Junior Member

Nachrichten: 26

Eintrittsdatum: 30. Juli 2008

Neue Beiträge

I have the same problem (AlfrescoContentUtil.getNode) on Alfresco Lab 3C + Liferay 522 in Bundle jboss5

I've noticed in first: configure the alfresco_content_portlet (I have a separate tomcat for alfresco) in WEB-INF/classes/portlet.properties
and I've seen a suspictius file in WEB-INF/classes/alfresco named webserviceclient.properties .......

Do we need a webservice if we want a separate AS for Liferay and Alfresco?
Mike Kalohr
RE: ERROR: Alfresco Content configuration
30. April 2009 05:16
Antwort

Mike Kalohr

Rang: New Member

Nachrichten: 14

Eintrittsdatum: 28. August 2007

Neue Beiträge

try to find the jar file that contains this class. Copy it to the web-inf/lib folder inside your portlet
Or find the class itself and copy it in the web-inf/classes folder inside your portlet
I think that this class can be found in the alfresco-content-portlet or something similar
imen imen taieb
RE: ERROR: Alfresco Content configuration
8. Juli 2009 08:30
Antwort

imen imen taieb

Rang: New Member

Nachrichten: 20

Eintrittsdatum: 1. Juli 2009

Neue Beiträge

Tobias Hofmann:
Hi,

I deployed successfully the Alfrseco Content portlet for Liferay 5.1.1: alfresco-content-portlet-5.1.1.1.war

I could also add this portlet to a page. But when I select configure, I get this errro:
(Sorry, no textdump. It seems that a default out-of-the-box installation of Liferay DISABLES logs to a text file!!!!)
1An exception occured processing JSP page /configuration.jsp at line 122
2Stacktrace:
3ERROR [IncludeTag:52] java.lang.NoClassDefFoundError: javax/xml/rpc/Stub

I'm using a downloaded, pre-packaged version of Liferay 5.1.1 with Tomcat 5.5.

Isn't anybody TESTING the portlets before releasing them?? Can I configure the configuration file directly of the portlet? AND: will this help? I mean, if this portlet isn't broken ... I doubt it will be of any use for accessing Alfresco content.

br,
Tobias

Hi,
i have the same problem did you find the solution please?
thanks for help
Scott Stevens
RE: ERROR: Alfresco Content configuration
16. Juli 2009 14:00
Antwort

Scott Stevens

Rang: New Member

Nachrichten: 3

Eintrittsdatum: 18. Mai 2009

Neue Beiträge

Liferay 5.2.2 alfresco-content-portlet with Alfresco 3.2 in separate JVM

As described above, if your logs show NoClassDefFoundError, the missing jar files need to be found and placed in alfresco-content-portlet/WEB-INF/lib. These are the five I found were required.

jaxrpc-api.jar
wsdl4j.jar
wss4j-1.5.5.jar
wss4j.jar
xmlsec-1.4.1.jar

Of course, the classes may be located in other libraries as well.
Anhänge: libs.zip (1.097,0k)