0 Replies Latest reply on Aug 28, 2006 9:48 AM by asdf fdsfds

    HTTP 500 when calling other webservice -- JBoss dies!

    asdf fdsfds Newbie

      Hi,

      I am calling a webservice from within a .jsp page that is served up by JBoss. The webservice that it is calling is not up, so I get back an HTTP 500. The next thing that happens is that JBoss shutsdown!!!

      In the log, you see a stack trace for java.IO.exception, then "Notified to shutdown". Of course, I do not attempt to shutdown JBoss from within my .jsp page. How can this be??

      Here is an excerpt from my stack trace:

      2006-08-28 09:27:12,679 INFO [STDOUT] java.io.IOException: Server returned HTTP response code: 500 for URL: http://ice-as3-u.dev.cis.ml.com:9080/soap/services/XMLBridge
      2006-08-28 09:27:12,679 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1152)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.jsp.SoapTest_jsp._jspService(org.apache.jsp.SoapTest_jsp:1026)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      2006-08-28 09:27:12,679 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      2006-08-28 09:27:12,679 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      2006-08-28 09:27:12,679 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      2006-08-28 09:27:12,679 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      2006-08-28 09:27:12,679 INFO [STDOUT] Unable to read response
      2006-08-28 09:27:12,679 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
      2006-08-28 09:27:12,679 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
      2006-08-28 09:27:12,679 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
      2006-08-28 09:27:12,679 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/soap.war
      2006-08-28 09:27:12,679 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.web.deployment:war=soap.war,id=1112363857
      2006-08-28 09:27:12,679 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.web.deployment:war=soap.war,id=1112363857 dependent services are: []
      2006-08-28 09:27:12,679 DEBUG [org.jboss.web.WebModule] Stopping jboss.web.deployment:war=soap.war,id=1112363857
      2006-08-28 09:27:12,679 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/soap, warUrl=.../tmp/deploy/tmp3993soap-exp.war/
      2006-08-28 09:27:12,695 DEBUG [org.jboss.web.WebModule] Stopped jboss.web.deployment:war=soap.war,id=1112363857