cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco War File On Tomcat With Liferay

wcameron
Champ in-the-making
Champ in-the-making
I am installing alfresco.war on the same tomcat instance that can with my liferay installation for 4.1.12

When i log into the alfresco application i get the following exception can anyone give me some idea of the cause of the problem.

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.RuntimeException: class configured for MessageDigest(provider: CryptixCrypto)cannot be found.
caused by:
java.security.NoSuchAlgorithmException: class configured for MessageDigest(provider: CryptixCrypto)cannot be found.
caused by:
java.lang.ClassNotFoundException: cryptix.jce.provider.md.MD4


Regards Wendy
24 REPLIES 24

patrik
Champ on-the-rise
Champ on-the-rise
thanks! Now all portlets are running but, as szimano said, it's not possible to upload content. Is there any way to go round this or is it a bug we have to stick with until next version update?

szimano
Champ in-the-making
Champ in-the-making
i created jira task for it

http://issues.alfresco.com/browse/AWC-1493

but for no nothing happened Smiley Happy

Decided to use Alfresco 2.0 instead - it has upload still working.

szimano

joe_otero
Champ in-the-making
Champ in-the-making
I still can't resolve the 404 issue… What download did you guys use?

2.1 has the following..

AlfrescoMyTasks
AlfrescoDocList
AlfrescoMySpaces
AlfrescoMyWebForms

Does 2.0 have any of the above?

szimano
Champ in-the-making
Champ in-the-making
No 2.0 has only AlfrescoClient.

tealeaves
Champ in-the-making
Champ in-the-making
portlet.xml was in the package I downloaded.. It was deployed to E:\liferay-portal-tomcat-5.5-4.3.0\webapps\alfresco\WEB-INF.

your not getting the 404 error when one of the Alfresco portlets? I take it your using Jboss?

To what extent of the following portlets functioning..

AlfrescoMyTasks
AlfrescoDocList
AlfrescoMySpaces
AlfrescoMyWebForms

I can't find 'portlet.xml' in 'alfresco-community-tomcat-2.1.0.zip' or 'alfresco-community-war-2.1.0.zip'.
Can anyone post the content of 'portlet.xml'?

tealeaves
Champ in-the-making
Champ in-the-making
I can't find 'portlet.xml' in 'alfresco-community-tomcat-2.1.0.zip' or 'alfresco-community-war-2.1.0.zip'.
Can anyone post the content of 'portlet.xml'?

patrik
Champ on-the-rise
Champ on-the-rise
The content of portlet.xml:


<?xml version="1.0" encoding="UTF-8"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
        <description>Alfresco Client Portlet</description>
        <portlet-name>AlfrescoClient</portlet-name>
        <portlet-class>org.alfresco.web.app.portlet.AlfrescoFacesPortlet</portlet-class>
       
        <init-param>
           <name>default-view</name>
           <value>/jsp/login.jsp</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>

        <portlet-info>
            <title>Alfresco Client Portlet</title>
            <short-title>alfresco-client-portlet</short-title>
        </portlet-info>
    </portlet>

    <portlet>
        <description>My Tasks</description>
        <portlet-name>AlfrescoMyTasks</portlet-name>
        <portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
       
        <init-param>
           <name>authenticator</name>
           <value>webscripts.authenticator.jsr168.webclient</value>
        </init-param>
        <init-param>
           <name>scriptUrl</name>
           <value>/alfresco/168s/ui/mytasks</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>

        <portlet-info>
            <title>My Tasks</title>
            <short-title>My Tasks</short-title>
        </portlet-info>
    </portlet>

    <portlet>
        <description>Document List</description>
        <portlet-name>AlfrescoDocList</portlet-name>
        <portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
       
        <init-param>
           <name>authenticator</name>
           <value>webscripts.authenticator.jsr168.webclient</value>
        </init-param>
        <init-param>
           <name>scriptUrl</name>
           <value>/alfresco/168s/ui/doclist</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>
       
        <portlet-info>
            <title>Document List</title>
            <short-title>Document List</short-title>
        </portlet-info>
    </portlet>
   
    <portlet>
        <description>My Spaces</description>
        <portlet-name>AlfrescoMySpaces</portlet-name>
        <portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
       
        <init-param>
           <name>authenticator</name>
           <value>webscripts.authenticator.jsr168.webclient</value>
        </init-param>
        <init-param>
           <name>scriptUrl</name>
           <value>/alfresco/168s/ui/myspaces</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>
       
        <portlet-info>
            <title>My Spaces</title>
            <short-title>My Spaces</short-title>
        </portlet-info>
    </portlet>

    <portlet>
        <description>My Web Forms</description>
        <portlet-name>AlfrescoMyWebForms</portlet-name>
        <portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
       
        <init-param>
           <name>authenticator</name>
           <value>webscripts.authenticator.jsr168.webclient</value>
        </init-param>
        <init-param>
           <name>scriptUrl</name>
           <value>/alfresco/168s/ui/mywebforms</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>
       
        <portlet-info>
            <title>My Web Forms</title>
            <short-title>My Web Forms</short-title>
        </portlet-info>
    </portlet>
   
    <portlet>
        <description>My Web Files</description>
        <portlet-name>AlfrescoMyWebFiles</portlet-name>
        <portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
       
        <init-param>
           <name>authenticator</name>
           <value>webscripts.authenticator.jsr168.webclient</value>
        </init-param>
        <init-param>
           <name>scriptUrl</name>
           <value>/alfresco/168s/ui/mywebfiles</value>
        </init-param>

        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>
       
        <portlet-info>
            <title>My Web Files</title>
            <short-title>My Web Files</short-title>
        </portlet-info>
    </portlet>
   
    <user-attribute>
        <name>user.home-info.online.email</name>
    </user-attribute>

</portlet-app>

tealeaves
Champ in-the-making
Champ in-the-making
Thanks to patrik and szimano.
I will try it later.

kevinr
Star Contributor
Star Contributor
i created jira task for it

http://issues.alfresco.com/browse/AWC-1493

but for no nothing happened Smiley Happy

Decided to use Alfresco 2.0 instead - it has upload still working.

szimano

This issue has now been fixed, it will be available in the HEAD codeline shortly.

Thanks,

Kevin