Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15767

CLONE - Tomcat service doesn't start on some Windows environments

    Details

    • Type: Hot Fix Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.2.14
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Alfresco Enterprise 5.0.2.14
      Windows 7 x86
      Windows 2012 x64

      Description

      Steps to reproduce:

      1. Install Alfresco OOTB on a Windows 7 / Windows Server machine
      2. Launch Alfresco after installation

      Expected result: Alfresco starts successfully

      Actual result: Tomcat does not start.

      Error in logs:

      2016-02-29 10:52:31 Commons Daemon procrun stderr initialized
      java.lang.NoClassDefFoundError: Main
      Caused by: java.lang.ClassNotFoundException: Main
      	at java.net.URLClassLoader$1.run(Unknown Source)
      	at java.net.URLClassLoader$1.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      Exception in thread "main" 
      
      [2016-02-29 12:38:48] [info]  [ 6512] Commons Daemon procrun (1.0.15.0 64-bit) started
      [2016-02-29 12:38:48] [info]  [ 6512] Running 'alfrescoTomcatnum8' Service...
      [2016-02-29 12:38:48] [info]  [ 2904] Starting service...
      [2016-02-29 12:38:48] [error] [ 3892] FindClass Main failed
      [2016-02-29 12:38:48] [error] [ 2904] Failed to start Java
      [2016-02-29 12:38:48] [error] [ 2904] ServiceStart returned 4
      [2016-02-29 12:38:48] [info]  [ 6512] Run service finished.
      [2016-02-29 12:38:48] [info]  [ 6512] Commons Daemon procrun finished
      

      Trying to start Tomcat from the command line:

      C:\AlfrescoHF\tomcat\bin>tomcat7.exe
      [2016-02-29 12:39:45] [warn]  [ 3664] The system cannot find the Registry key fo
      r service 'tomcat7'
      [2016-02-29 12:39:45] [error] [ 3664] Load configuration failed
      [2016-02-29 12:39:45] [error] [ 3664] The system cannot find the file specified.
      [2016-02-29 12:39:45] [error] [ 3664] Commons Daemon procrun failed with exit va
      lue: 2 (Failed to load configuration)
      [2016-02-29 12:39:45] [error] [ 3664] The system cannot find the file specified.
      

      Error in Event Viewer:

      The alfrescoTomcatnum8 service terminated with the following service-specific error: 
      The system cannot open the file.
      

      Notes:

      • seems to be the same as ACE-4709
      • Reproduced the problem on Windows 7 x86 and Windows Server 2012 x64
      • NOT reproducible on all VMs

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  aparpalita Adina Parpalita
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour, 30 minutes
                    1h 30m

                      Structure Helper Panel