[Solved] Tomcat won't start - 4.2.f

Showing results for 
Search instead for 
Did you mean: 
Active Member

[Solved] Tomcat won't start - 4.2.f

There is an issue with the built-in Java in 4.2.f. When you try and start Alfresco, it stops immediately.

To work around, download your appropriate version of Java and install manually from: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Do NOT install version 8! Only v7 at this time from what I can tell.

There is also an issue with PostgreSQL in the built-in install as well, just install PostgreSQL manually as well: http://www.postgresql.org/download/
4 Replies
Advanced II

Re: [Solved] Tomcat won't start - 4.2.f

I have been running 4.2.f since the nightly releases and have never had a problem with Tomcat. Can you maybe provide more context and a link to a Jira?

Active Member

Re: [Solved] Tomcat won't start - 4.2.f

I can confirm it's the windows build 32/64 bit versions, don't know about linux releases. We are talking about the build from community, not nightly from svn.

But here is jira: https://issues.alfresco.com/jira/browse/ALF-20950
Member II

Re: [Solved] Tomcat won't start - 4.2.f


I have the same problem:

Error: no se ha encontrado o cargado la clase principal c:\Alfresco\tomcat\bin>catalina.bat configtest
Using CATALINA_BASE:   "c:\Alfresco\tomcat"
Using CATALINA_HOME:   "c:\Alfresco\tomcat"
Using CATALINA_TMPDIR: "c:\Alfresco\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\Java\jre7"
Using CLASSPATH:       "c:\Alfresco\tomcat\bin\bootstrap.jar;c:\Alfresco\tomcat\
Picked up JAVA_TOOL_OPTIONS: -Dhttp.proxyHost=X -Dhttp.proxyPort=X
Error: no se ha encontrado o cargado la clase principal ++JvmOptions=-XX:-DisableExplicitGC

I have a Windows 7 64-bit JDK jdk1.7.0_71

Is there a solution?

Thank You
Senior Member II

Re: [Solved] Tomcat won't start - 4.2.f

Remove below configuration from setenv.bat file inside "alfresco-community\tomcat\bin" path of alfresco installation.

Few of the things from below configuration will be needed for running image magick and other things.But by removing it you will be able to start server using catalina.bat file in in windows server.

For making other things run , still need to figure out the solution

set JAVA_OPTS=++JvmOptions="-XX:+DisableExplicitGC" ++JvmOptions="-XX:+UseConcMarkSweepGC" ++JvmOptions="-XX:+UseParNewGC" ++JvmOptions="-XX:ReservedCodeCacheSize=128m" ++JvmOptions="-Dalfresco.home=C:\alfresco-community" --JvmMs 512 --JvmMx 8133
rem ##### IMAGEMAGICK ENV #####
set JAVA_OPTS=%JAVA_OPTS% --Environment "PATH='C:\alfresco-community\alfresco-pdf-renderer;C:\alfresco-community\imagemagick;C:\alfresco-community\java\bin;C:\alfresco-community/postgresql/bin;C:\alfresco-community/common\bin;%PATH%'#MAGICK_HOME=C:\ALFRES~1\IMAGEM~1#MAGICK_CODER_MODULE_PATH=C:\ALFRES~1\IMAGEM~1\modules\coders#MAGICK_CONFIGURE_PATH=C:\ALFRES~1\IMAGEM~1#"