Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-702

Race condition in Tomcat Containers between deploy and container available

    XMLWordPrintable

Details

    Description

      There seems to be some odd race condition in the Tomcat Embedded 7 container

      cc.start("tomcat")
      d.deploy("X")
      d.undeploy("X")
      cc.stop("tomcat")
      cc.start("tomcat")
      d.deploy("X")
      
      > invoke URL(server/servlet).openConnection()
      

      Causes:

      Dec 15, 2011 5:47:04 PM org.apache.catalina.connector.CoyoteAdapter log
      WARNING: Exception while attempting to add an entry to the access log
      java.lang.NullPointerException
      	at org.apache.catalina.connector.CoyoteAdapter.log(CoyoteAdapter.java:511)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:227)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:679)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: