1 Reply Latest reply on Dec 14, 2016 6:41 AM by jaikiran

    JBoss not shutting down because it seems to get busy processing AxisServlet requests


      We have couple of web modules deployed in Jboss 4.2 server. One of them is axis.war. After invoking shutdown.sh to start shutting down process, the logs show EJBs getting undeployed, however Tomcat keeps on processing AxisServlet requests and shutdown never completes because it seems the server gets stuck/busy processing web requests. Also all of these web requests throw NameNotFound exceptions because the EJBs that are called form these requests are already destroyed so the log is filled with NameNotFound exceptions.

      I am very new to JBoss deployment/undeployment process. I just can't seem to figure out why web container doesn't destroy AxisServlet as soon as shutdown is invoked. How can I fix this issue? What are my options besides manually undeploying axis.war or stopping from jmx?


      [2016-12-01 17:09:05,351] [JBoss Shutdown Hook] [INFO] [server.Server] [] JBoss SHUTDOWN: Undeploying all packages

      [2016-12-01 17:09:06,007] [JBoss Shutdown Hook] [INFO] [ejb3.EJBContainer] [] STOPPED EJB: com.test.ejb.impl.TestBean ejbName: TestBean






      [2016-12-01 17:09:09,710] [http-] [INFO] [STDOUT] [] - in sendTest(), error generating content for id 22746851; format=text/html

      javax.naming.NameNotFoundException: remote not bound

          at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)

          at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)

          at org.jnp.server.NamingServer.getObject(NamingServer.java:543)

          at org.jnp.server.NamingServer.lookup(NamingServer.java:296)

          at org.jnp.server.NamingServer.lookup(NamingServer.java:270)

          at org.jnp.server.NamingServer.lookup(NamingServer.java:270)

          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)

          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)

          at javax.naming.InitialContext.lookup(InitialContext.java:411)



      Thank You