Foren

ERROR: Alfresco Content configuration

thumbnail
Tobias Hofmann, geändert vor 15 Jahren.

ERROR: Alfresco Content configuration

Junior Member Beiträge: 82 Beitrittsdatum: 20.06.07 Neueste 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!!!!)
An exception occured processing JSP page /configuration.jsp at line 122
Stacktrace:
ERROR [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
thumbnail
Frank Yu, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 14 Beitrittsdatum: 30.06.08 Neueste 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!
thumbnail
Tobias Hofmann, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

Junior Member Beiträge: 82 Beitrittsdatum: 20.06.07 Neueste 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, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 4 Beitrittsdatum: 02.07.08 Neueste 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)
thumbnail
dins d d, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

Junior Member Beiträge: 31 Beitrittsdatum: 25.08.06 Neueste Beiträge
John MacLaren:

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

Thanks very much!
joseph loukou n'goran, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 5 Beitrittsdatum: 25.08.08 Neueste Beiträge
Did you find a solution for this? I have the same problem.

Thanks !
Jean&#045;Francois Taillon, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beitrag: 1 Beitrittsdatum: 03.04.09 Neueste 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, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

Junior Member Beiträge: 26 Beitrittsdatum: 30.07.08 Neueste 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?
thumbnail
Mike Kalohr, geändert vor 15 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 14 Beitrittsdatum: 28.08.07 Neueste 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, geändert vor 14 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 20 Beitrittsdatum: 01.07.09 Neueste 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!!!!)
An exception occured processing JSP page /configuration.jsp at line 122
Stacktrace:
ERROR [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, geändert vor 14 Jahren.

RE: ERROR: Alfresco Content configuration

New Member Beiträge: 3 Beitrittsdatum: 18.05.09 Neueste 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.