Translated message

A translation of this page exists in English.

JBoss EAP から ROOT.war を削除すると NullPointerException が発生するのはなぜですか?

Solution Verified - Updated -

Issue

セキュリティ上の理由から server/default/deploy/jboss-web.deployer/ROOT.war を削除しまたしたが、その後に存在しないパス (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)

存在しないはずのページへのアクセスしているのですが、ページが存在するかのようにサーバーはステータスコード200のレスポンスを返してきます。

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