JBoss throws "CharScanner; panic: ClassNotFoundException" error and then shuts down

Solution Verified - Updated -

Issue

  • JBoss server is randomly throwing the following error and then shutting down right after:
    ERROR [STDERR] (ajp-127.0.0.1-8009-16) CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken
    INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Runtime shutdown hook called, forceHalt: true
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.