AnsweredAssumed Answered

Unable to start Alfresco

Question asked by eapeterson on May 16, 2014
Latest reply on May 20, 2014 by mlagneaux
Trying to install default (32 bit)Community Edition onto Windows 2008 Server Standard
There was a prior Tomcat installation, but I installed into custom ports
My system Java version is (1.6.0_12) in c:\Program Files\Java\jre6,
but setenv.bat points to the following:
   JAVA_HOME=E:\alfresco\java
   JRE_HOME =E:\alfresco\java\jre
(and I also set Environment Variable with the same values)
I am unable to start the system, and I don't know what to try next.


I can see errors in the log files:
(snip from localhost.log)
May 16, 2014 10:08:25 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter Alfresco Web Editor Filter
java.lang.UnsupportedClassVersionError: org/alfresco/web/awe/filter/WebEditorFilter : Unsupported major.minor version 51.0 (unable to load class org.alfresco.web.awe.filter.WebEditorFilter)
   at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948)
   at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
   at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
   at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
May 16, 2014 10:08:25 AM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
May 16, 2014 10:08:25 AM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called


(snip from alfrescotomcat-stderr.log)
May 16, 2014 10:08:12 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.alfresco.repo.webdav.WebDAVSessionListener
java.lang.UnsupportedClassVersionError: org/alfresco/repo/webdav/WebDAVSessionListener : Unsupported major.minor version 51.0 (unable to load class org.alfresco.repo.webdav.WebDAVSessionListener)
   at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948)
   at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
   at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
   at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
May 16, 2014 10:08:12 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)

(snip from catalina.log)
May 16, 2014 10:07:50 AM org.apache.tomcat.websocket.server.WsSci onStartup
INFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
May 16, 2014 10:07:50 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\Alfresco\tomcat\webapps\alfresco.war
May 16, 2014 10:08:12 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
May 16, 2014 10:08:12 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/alfresco] startup failed due to previous errors

Outcomes