cancel
Showing results for 
Search instead for 
Did you mean: 

Installing on Mac

abenstex
Champ in-the-making
Champ in-the-making
Well, I downloaded the alfresco tomcat release. First of all I did not find any alfresco.sh only a lousy windows equivalent (alfresco.bat) script as mentioned in the docs. Second, I don't need a whole new installation of tomcat. So i downloaded the war release of alfresco. Unfortunately I could not deploy it on my tomcat, because 1st I got an error message saying that ImageMagick couldn't convert an image because that very same image does not exist and 2nd right after that the deployment process freezes and with it tomcat. Btw I use tomcat 6.
7 REPLIES 7

kevinr
Star Contributor
Star Contributor
Alfresco does not currently work well with TomCat 6. If you deploy on TomCat5.5.X it should be fine. The imagemagick log is nothing to worry about if you don't require image transformations.

Thanks,

Kevin

abenstex
Champ in-the-making
Champ in-the-making
Now I changed to tomcat 5.5.23 and I could upload the war file, but I still cannot start alfresco using tomcat manager. The only thing that happens is that the message regarding ImageMagick pops up.

kevinr
Star Contributor
Star Contributor
Have you created the database and added the MySQL JDBC jar to tomcat as per the README file instructions?

Thanks,

Kevin

abenstex
Champ in-the-making
Champ in-the-making
I use PostgreSQL, but nevertheless I put the jdbc driver in the corresponding folder and created the database. Taking a look at the tomcat logs I found the following lines:

23.05.2007 16:31:08 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive [b]alfresco.war[/b]
23.05.2007 16:31:51 org.apache.catalina.core.StandardContext start
ERROR: Error listenerStart
23.05.2007 16:31:51 org.apache.catalina.core.StandardContext start
ERROR: Context [b][/alfresco][/b] startup failed due to previous errors
23.05.2007 16:31:58 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
23.05.2007 16:32:00 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
23.05.2007 16:32:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/1381  config=null
23.05.2007 16:32:00 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
23.05.2007 16:32:00 org.apache.catalina.startup.Catalina start
INFO: Server startup in 61304 ms
23.05.2007 16:32:23 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load cryptix.jce.provider.md.MD4.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1245)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
   at java.security.Provider$Service.getImplClass(Provider.java:1172)
   at java.security.Provider$Service.newInstance(Provider.java:1129)
   at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
   at sun.security.jca.GetInstance.getInstance(GetInstance.java:147)
   at java.security.Security.getImpl(Security.java:658)
   at java.security.MessageDigest.getInstance(MessageDigest.java:122)
   at [b]org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.<clinit>(MD4PasswordEncoderImpl.java:61)[/b]
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:242)
   at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
   at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
   at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
   at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
   at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
   at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:95)

mmckune
Champ in-the-making
Champ in-the-making
I'm having much of the same problems.

In order to resolve the "Could not load cryptix.jce.provider.md.MD4" issue i had to copy the respective jar into the endorsed, common/lib and shared/lib dirs of my Tomcat 5.5.xx instance and restart.

I still get the Image transformation exception

steve
Champ in-the-making
Champ in-the-making
Hi mmckune,

Have you got ImageMagic on your path?

Steve

alexandra
Champ on-the-rise
Champ on-the-rise
There are some quirks to make all part hum on Mac OS X unfortunately. My experiences and fixes are gathered here:

http://wiki.alfresco.com/wiki/Installing_on_MacOS_X