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

edfialk
Champ in-the-making
Champ in-the-making
I'm still having some difficulty deploying Alfresco into Liferay 4.3.1. 

Here's what I run into:
19:25:17,750 INFO  [AutoDeployDir:76] Processing alfresco.war
19:25:17,750 INFO  [PortletAutoDeployListener:67] Deploying package as a web application
19:25:17,796 INFO  [PortletAutoDeployListener:77] Copying portlets for C:\Documents and Settings\Administrator\liferay\deploy\alfresco.war
  Expanding: C:\Documents and Settings\Administrator\liferay\deploy\alfresco.war into C:\Liferay\Tomcat\temp\20070830192517812
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF\jsp\liferay\wai
  Copying 1 file to C:\Liferay\Tomcat\temp\20070830192517812\WEB-INF\jsp\liferay\wai
  Copying 2424 files to C:\Liferay\Tomcat\bin\..\webapps\alfresco
  Copied 230 empty directories to 1 empty directory under C:\Liferay\Tomcat\bin\..\webapps\alfresco
  Copying 2 files to C:\Liferay\Tomcat\bin\..\webapps\alfresco
  Deleting directory C:\Liferay\Tomcat\temp\20070830192517812
19:25:30,437 INFO  [PortletAutoDeployListener:83] Portlets for C:\Documents and Settings\Administrator\liferay\deploy\alfresco.war copied successfully

19:25:31,031 INFO  [PluginPackageHotDeployListener:74] Reading plugin package for alfresco
19:25:31,031 WARN  [PluginPackageHotDeployListener:123] Plugin package on context alfresco cannot be tracked because this WAR does not contain a lifer
ay-plugin-package.xml file
19:25:34,875 INFO  [PluginPackageHotDeployListener:187] Plugin package alfresco/alfresco/unknown/war registered successfully
19:25:34,875 INFO  [PortletHotDeployListener:127] Registering portlets for alfresco
Aug 30, 2007 7:25:34 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 30, 2007 7:25:34 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
19:25:34,906 INFO  [PluginPackageHotDeployListener:74] Reading plugin package for alfresco
19:25:34,906 WARN  [PluginPackageHotDeployListener:123] Plugin package on context alfresco cannot be tracked because this WAR does not contain a lifer
ay-plugin-package.xml file
19:25:34,906 INFO  [PluginPackageHotDeployListener:221] Plugin package alfresco/alfresco/unknown/war unregistered successfully

Everything is fine until this SEVERE: Error listenerStart….

Anybody got any ideas what would cause such a random severe, apparently, unrecoverable error?

Thanks!
-Ed

pepperking
Champ in-the-making
Champ in-the-making
Am having the exact same problem.  Is the Severe error listener start because tomcat is already running?

edfialk
Champ in-the-making
Champ in-the-making
I don't think it's because tomcat is already running, for me at least.

I've tried having the alfresco war in Liferay's deploy directory before and after starting up tomcat.  Both get the same result.

shoshin
Champ in-the-making
Champ in-the-making
I too got the same problem.The cause of this problem is the war is not repacked correctly
first set the jar class path and try the following command from the directory where u exploded the exisitng war

jar -cvf alfresco.war *

mikeh
Star Contributor
Star Contributor
The cause of the problem above was because the Liferay configuration files were missing:
Plugin package on context alfresco cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file

If you're getting the same error, then follow the instructions posted elsewhere on this forum or on our wiki in order to modify the war for Liferay deployment.

Thanks,
Mike