Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8535471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:26:20+00:00 2026-06-11T10:26:20+00:00

I get TimeoutException while validating XML over XSD schema, and the thread associated with

  • 0

I get TimeoutException while validating XML over XSD schema, and the thread associated with checker is hung.

Why is it so? How to avoid this?

Stack trace:

TimeoutManage I   WTRN0124I: When the timeout occurred the thread with which the transaction is, or was most recently, associated was Thread[WebContainer : 3,5,main].  The stack trace of this thread when the timeout occurred was:
        java.net.SocketInputStream.socketRead0(Native Method)
        java.net.SocketInputStream.read(SocketInputStream.java:140)
        java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
        java.io.BufferedInputStream.read1(BufferedInputStream.java:269)
        java.io.BufferedInputStream.read(BufferedInputStream.java:328)
        sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:700)
        sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:645)
        sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1205)
        org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
        org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
        org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
        org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
        org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
        org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
        org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
        org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
        org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
        org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
        org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
        javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
        my.utils.XmlUtils.validate(XmlUtils.java:38)

The code snippet used for validation:

SchemaFactory schemaFactory = 
    SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
try {
    Schema schema = schemaFactory.newSchema(new StreamSource(new StringReader(xsd)));
    Validator validator = schema.newValidator();
...

Exception occurs at line:

Schema schema = schemaFactory.newSchema(new StreamSource(new StringReader(xsd)));
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:26:22+00:00Added an answer on June 11, 2026 at 10:26 am

    Hard to be sure without seeing the actual XSD, but most likely your schema isn’t self contained but contains one or more include statements that reference external URLs. The schemaFactory may try to fetch them to build a complete XSD.

    What points to this is among other things the call to getSchemaDocument() in your stack trace which is trying to get a schema document over HTTP in the middle of executing parseSchema() on the xsd you’re passing in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class
I get a timeout exception whenever trying to connect to my selfhosted wcf. This
Get class from div inside an li and add to the same li. The
//Get width and resize another element $(document).ready(function() { function ResizeSearch(GridID, SearchID) { var eleWidth
get an array of bluetooth ID's Broadcast the bluetooth signal manually
GET is a convenient method to post the form id, post the website id
//get the lat and loni throgh the loaddata function.java.util.ConcurrentModificationException at java.util.AbstractList$SimpleListIterator.next(AbstractList.java:64) How to resolve
GET_DATA() GET_DATA() contains this: var xhr; ... function get_data( phrase ) { xhr =
The get works fine and able to post to the database with a test
I get Compiler Error C2248 when i try to compile the following code: #include

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.