com.thoughtworks.xstream.io.StreamException

: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

Samebug tips1

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1

  • via JBoss Issue Tracker by Gary Brown, 10 months ago
    : Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
  • Stack trace

    • com.thoughtworks.xstream.io.StreamException: : Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:53) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:119) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:98) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:83) at com.thoughtworks.xstream.io.xml.StaxReader.<init>(StaxReader.java:33) at com.thoughtworks.xstream.io.xml.StaxDriver.createStaxReader(StaxDriver.java:115) at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:66) at org.jboss.soa.esb.actions.soap.SOAPClient.applyXStreamResponseDeserializer(SOAPClient.java:550) at org.jboss.soa.esb.actions.soap.SOAPClient.processResponse(SOAPClient.java:523) at org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:430) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:634) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:586) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420) at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.ctc.wstx.exc.WstxIOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:708) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086) at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:38) ... 17 more Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313) at java.net.URL.openStream(URL.java:1010) at com.ctc.wstx.util.URLUtil.optimizedStreamFromURL(URLUtil.java:113) at com.ctc.wstx.io.DefaultInputResolver.sourceFromURL(DefaultInputResolver.java:256) at com.ctc.wstx.io.DefaultInputResolver.resolveEntity(DefaultInputResolver.java:96) at com.ctc.wstx.sr.ValidatingStreamReader.findDtdExtSubset(ValidatingStreamReader.java:468) at com.ctc.wstx.sr.ValidatingStreamReader.finishDTD(ValidatingStreamReader.java:358) at com.ctc.wstx.sr.BasicStreamReader.skipToken(BasicStreamReader.java:3349) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1988) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 3 weeks ago
    Unknown user
    Once, 4 months ago
    3 times, 4 months ago
    Once, 6 months ago
    2 times, 8 months ago
    65 more bugmates