06-14-2010 01:08 PM
06-29-2010 09:38 AM
07-05-2010 07:20 PM
07-06-2010 04:12 AM
07-08-2010 11:39 AM
07-21-2010 11:28 AM
cd <your-alfresco-install-dir>
apt-get install tofrodos
fromdos java/jre/lib/i386/jvm.cfg
rm tomcat/temp/catalina.pid
alfresco.sh start
09-15-2010 11:55 AM
09-29-2010 05:50 AM
09-30-2010 01:51 AM
yum install java-1.6.0-openjdk*
and the after installing from the binary file, got the error again. What I did was, just ran a grep for "/opt/alfresco-3.4.a/java"grep -iRl "/opt/alfresco-3.4.a/java" /opt/alfresco-3.4.a
From this I knew that the environment for JAVA_HOME was fetching from the file "/opt/alfresco-3.4.a/tomcat/bin/setenv.sh". So I changed the current JAVA_HOME from "/opt/alfresco-3.4.a/java" to my newly installed "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0"./usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java -jar /opt/alfresco-3.4.a/bin/alfresco-mmt.jar install /opt/alfresco-3.4.a/amps /opt/alfresco-3.4.a/tomcat/webapps/alfresco.war -directory -nobackup
This time the alfresco started fine..
10-01-2010 03:33 PM
I ran across this problem too whilst installing on my Ubuntu Lucid system.
The ^M is a Windows line ending. Using the find command I managed to isolate this to the file java/jre/lib/i386/jvm.cfg inside the installation. This file has DOS line endings when opened in a text editor. I assume it should not.
I managed to fix the problem using the 'fromdos' command, which seems to remove the Windows line-endings. I've also used 'dos2unix' to do previously but this doesn't seem to be available on Ubuntu.cd <your-alfresco-install-dir>
apt-get install tofrodos
fromdos java/jre/lib/i386/jvm.cfg
Once you've done this you will also need to remove the Tomcat PID file that gets left there after Tomcat crashes out the first time. Otherwise Tomcat will refuse to start again.rm tomcat/temp/catalina.pid
Once you've done this you should be able to re-start Alfrescoalfresco.sh start
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.