Installation 4.2f 'Could not find or load main class'

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

Installation 4.2f 'Could not find or load main class'

I've got a server that was running 4.2e just fine.  I heard about the 4.2f update, so I installed that, but it fails to start.  catalina configtest returns:


C:\Alfresco42f\tomcat\bin>catalina configtest
Using CATALINA_BASE:   "C:\Alfresco42f\tomcat"
Using CATALINA_HOME:   "C:\Alfresco42f\tomcat"
Using CATALINA_TMPDIR: "C:\Alfresco42f\tomcat\temp"
Using JRE_HOME:        "C:\ALFRES~1\java"
Using CLASSPATH:       "C:\Alfresco42f\tomcat\bin\bootstrap.jar;C:\Alfresco42f\t
omcat\bin\tomcat-juli.jar"
Error: Could not find or load main class ++JvmOptions=-XX:-DisableExplicitGC


I tried installing a standalone JDK as I saw on another post on these forums, but it didn't change anything.

What else should I be looking at?

Thanks,
Brian
2 Replies
sscbrian
Active Member

Re: Installation 4.2f 'Could not find or load main class'

Commons-daemon reports:


[2014-04-29 09:19:55] [info]  [ 4028] Commons Daemon procrun (1.0.15.0 64-bit) s
tarted
[2014-04-29 09:19:55] [info]  [ 4028] Running 'alfrescoTomcatnum1' Service…
[2014-04-29 09:19:55] [info]  [ 2552] Starting service…
[2014-04-29 09:19:55] [error] [ 2552] Failed creating java
[2014-04-29 09:19:55] [error] [ 2552] ServiceStart returned 1
[2014-04-29 09:19:55] [info]  [ 4028] Run service finished.
[2014-04-29 09:19:55] [info]  [ 4028] Commons Daemon procrun finished


Stdout and Stderr just have
2014-04-29 09:19:55 Commons Daemon procrun stderr initialized

ciccio
Member II

Re: Installation 4.2f 'Could not find or load main class'

Solution that works for me on Windows 2008 R2 is:
- install JDK and JRE
- set JAVA_HOME to JDK
- restart Alfresco service

With bundled JVM, Alfreso 4.2f fails to start!