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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content