1 Reply Latest reply on Dec 13, 2002 10:44 AM by Vitaly Sourikov

    WebApp crashes after submitting a POST request

    Vitaly Sourikov Newbie

      Hi,
      My WebApp in myserver.war is deployed under JBoss3.0.4/Tomcat4.0.6. It contains MyServlet servlet, which processes GET and POST HTTP requests.
      When I try GET "http://localhost:8080/myserver/MyServlet" from a browser, I get a proper responce. But when I submit a POST-form (on a HTML-page from the same WAR):
      "http://localhost:8080/myserver/MyForm.html":
      ...

      ...

      I wait for a responce forever. Meanwhile JBoss undeploys myserver WebApp and seems to wait for some resource:
      ...
      2002-12-13 16:14:30,796 INFO [org.jboss.deployment.MainDeployer] Undeploying file:/D:/jboss/server/default/deploy/myserver.war
      2002-12-13 16:14:30,796 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] undeploy, ctxPath=/myserver, warUrl=file:/D:/jboss/server/default/tmp/deploy/server/default/deploy/myserver.war/99.myserver.war
      2002-12-13 16:14:30,796 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /myserver
      2002-12-13 16:14:30,796 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/myserver:MyServlet]: Waiting for 1 instance(s) to be deallocated
      ...

      From now on, if I try to connect to MyServlet with a GET from a browser, it gives me an error:
      ...
      2002-12-13 16:17:04,921 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI
      ...

      And myserver WebApp never recovers...

      Any advice will be appreciated...
      Thanks,
      Vitaly