This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Knowledge Base
Find answers to your questions and identify resolutions for known issues with knowledge base articles written by NetWitness experts.
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • NetWitness Community
  • Knowledge Base
  • ECAT API Server service won't start due to license failure in RSA NetWitness Endpoint 4.4.x
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Email to a Friend
    • Printer Friendly Page
    • Report Inappropriate Content

The content you are looking for has been archived. View related content below.

ECAT API Server service won't start due to license failure in RSA NetWitness Endpoint 4.4.x

Article Number

000001482

Applies To

RSA Product Set: NetWitness Endpoint
RSA Product/Service Type: NetWitness Endpoint
RSA Version/Condition: 4.4.x
Platform: Windows

Issue

The ServiceStack license is contained in the apiserver.exe.config file. This contains a single string field, servicestack::license which allows the ApiServer application to access the ServiceStack Text feature of .NET. Without this core package, the service will not start.

Errors seen in the ApiServer command line output:
C:\Program Files\RSA\ECAT\Server>ApiServer.exe
System.TypeInitializationException: The type initializer for 'ServiceStack.Text.
JsConfig' threw an exception. ---> System.TypeInitializationException: The type
initializer for 'ServiceStack.LicenseUtils' threw an exception. ---> ServiceStac
k.LicenseException: This license has expired on 04/15/2016 and is not valid for
use with this release. Please see servicestack.net or contact team@servicestack.
net for more details.
   at ServiceStack.LicenseUtils.ValidateLicenseKey(LicenseKey key)
   at ServiceStack.LicenseUtils.RegisterLicense(String licenseKeyText)
   at ServiceStack.LicenseUtils..cctor()
   --- End of inner exception stack trace ---
   at ServiceStack.LicenseUtils.Init()
   at ServiceStack.Text.JsConfig..cctor()
   --- End of inner exception stack trace ---
   at ServiceStack.Text.JsConfig.InitStatics()
   at ServiceStack.Host.HttpListener.HttpListenerBase..ctor(String serviceName,
Assembly[] assembliesWithServices)
   at ServiceStack.AppSelfHostBase..ctor(String serviceName, Assembly[] assembli
esWithServices)
   at c.a.a.X?.?()
   at c.a.a.X?.?(String[] A_0, Boolean A_1)




Event Viewer Error:
Application: ApiServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: ServiceStack.LicenseException
   at ServiceStack.LicenseUtils.ValidateLicenseKey(ServiceStack.LicenseKey)
   at ServiceStack.LicenseUtils.RegisterLicense(System.String)
   at ServiceStack.LicenseUtils..cctor()

Exception Info: System.TypeInitializationException
   at ServiceStack.LicenseUtils.Init()
   at ServiceStack.Text.JsConfig..cctor()

Exception Info: System.TypeInitializationException
   at ServiceStack.Text.JsConfig.InitStatics()
   at ServiceStack.Host.HttpListener.HttpListenerBase..ctor(System.String, System.Reflection.Assembly[])
   at ServiceStack.AppSelfHostBase..ctor(System.String, System.Reflection.Assembly[])
   at c.a.a.X?.?()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()




 

Cause

The root cause of why this is outdated has two possible explanations:
1. The apiserver.exe.config file is corrupt, and the line with the license file contains an incorrect license code as a result.
2. An old apiserver.exe.config file has been preserved or restored containing an old license file and thus will not allow the application to start without a core component.

Resolution

The fix is to update the line in apiserver.exe.config with the correct value. An example of what is a CURRENT value as of this writing can be seen below:
<add key="servicestack:license" value="4867-e1JlZjo0ODY3LE5hbWU6RU1DIENvcnBvcmF0aW9uLFR5cGU6QnVzaW5lc3Ms SGFzaDpHZHBIejhJSG5MUWlzR1E5cWVMdTFTNjNZS25YaER6dE1qRFFld0VhM0tDY lRQWHM3eXZTYmZNeCtZV0toT3ZLQU1WR2N3dzVReTdkQTBqZU93YUVDTnprYktrTn hZTllMMkFxbHhoZHNnK3JlcGhPL1oyR0VkQTRabytWd0RxSXFZcnJJZVR6VzdLNnR rUHIzL2RtYkZIQlNQQ09jblpmZzVIMHVuTHE4Z3M9LEV4cGlyeToyMDE4LTA0LTE3 fQ=="/>





  
  This is a current value, but may change in the future. The only section that must be updated is the value field.
 
Tags (12)
  • Customer Support Article
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • NetWitness
  • NetWitness Platform
  • NW
  • RSA NetWitness
  • RSA NetWitness Platform
  • RSA Security Analytics
  • Security Analytics
  • SIEM
0 Likes
Was this article helpful? Yes No
No ratings

In this article

Version history
Last update:
‎2022-02-10 01:37 PM
Updated by:
Administrator nwinfotech Administrator

Related Content

Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.