What causes NullPointerException after removing ROOT.war in JBoss EAP ?

Solution Verified - Updated -

Issue

After deleting server/default/deploy/jboss-web.deployer/ROOT.war for security reasons, the following issue occurred when browsing to a non-existent path (e.g. http://localhost:8080/XXX):

ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.NullPointerException
     at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:507)
     at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:449)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:239)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
     at java.lang.Thread.run(Thread.java:595)

The server acts as if the page exists, though it is blank.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.2 CP09, which come with JBossWeb 2.0.0.GA_CP14
    • 4.3 CP08, which come with JBossWeb 2.0.0.GA_CP14
    • 4.3 CP09, which come with JBossWeb 2.0.0.GA_CP15
    • 4.3 CP10, which come with JBossWeb 2.0.0.GA_CP16
  • JBossWeb 
    • 2.0.0.GA_CP13
    • 2.0.0.GA_CP14
    • 2.0.0.GA_CP15
    • 2.0.0.GA_CP16

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