SpectrumWebTomcat Service Fails to Start With: Error 1067: The process terminated unexpectedly
search cancel

SpectrumWebTomcat Service Fails to Start With: Error 1067: The process terminated unexpectedly

book

Article ID: 214354

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction


After an upgrade of Spectrum to NetOps 20.2 the 'SpectrumWebTomcat' Service fails to start on Windows


"Error 1067: The process terminated unexpectedly"


Windows Application Event Viewer shows an access violation fault

Log Name:      Application
Source:        Application Error
Date:          4/28/2021 3:43:20 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      oneclickserverxxx
Description:
Faulting application name: tomcat9.exe, version: 1.2.3.0, time stamp: 0x5f478a2d
Faulting module name: tomcat9.exe, version: 1.2.3.0, time stamp: 0x5f478a2d
Exception code: 0xc0000005
Fault offset: 0x000000000000bff1
Faulting process id: 0x2b28
Faulting application start time: 0x01d73c66be386303
Faulting application path: D:\win32app\Spectrum\webtomcat\bin\tomcat9.exe
Faulting module path: D:\win32app\Spectrum\webtomcat\bin\tomcat9.exe
Report Id: fbfa6462-a859-11eb-8164-005056ad2911
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-04-28T19:43:20.000000000Z" />
    <EventRecordID>853464</EventRecordID>
    <Channel>Application</Channel>
    <Computer>oneclickserverxxx</Computer>
    <Security />
  </System>
  <EventData>
    <Data>tomcat9.exe</Data>
    <Data>1.2.3.0</Data>
    <Data>5f478a2d</Data>
    <Data>tomcat9.exe</Data>
    <Data>1.2.3.0</Data>
    <Data>5f478a2d</Data>
    <Data>c0000005</Data>
    <Data>000000000000bff1</Data>
    <Data>2b28</Data>
    <Data>01d73c66be386303</Data>
    <Data>D:\win32app\Spectrum\webtomcat\bin\tomcat9.exe</Data>
    <Data>D:\win32app\Spectrum\webtomcat\bin\tomcat9.exe</Data>
    <Data>fbfa6462-a859-11eb-8164-005056ad2911</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Environment

Release : 20.x

Component : Spectrum OneClick

Platform: Windows

Cause

In this case, the 'Java Options' section was missing the -Dcatalina.home=  option.

Resolution


1. Navigate to the $SPECROOT/webtomcat/bin folder
  

2. Rename tomcat9w.exe -to- SpectrumWebTomcat.exe

    Note: The Apache Commons Dialog will not open unless it matches the service name.


3. Double Click SpectrumWebTomcat.exe to launch the Apache Commons dialog




4. Select the 'Java' Tab



5. Verify the Paths in the 'Java Virtual Machine' and 'Java Classpath' sections are correct and that the files exist


6. Under 'Java Options' verify that -Dcatalina.home= exists and is correctly pointing to the webtomcat folder
      example
 

     -Dcatalina.home=C:/Spectrum/webtomcat/


7. Start the SpectrumWebTomcat service


In this case, the problem driving this knowledge document was the Java Options parameter was missing. Once this was added the SpectrumWebTomcat service started correctly.