java.sql.SQLException: ODI-40738: A SAXException was caught while reading the model saying: ODI-40945: XSD parser ecnountered error parsing XSD/DTD. Check validity.(cause: oracle.xml.parser.schema.XSDException: Expected 'DOCTYPE'.)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 2902199, 1 year ago
ODI-40738: A SAXException was caught while reading the model saying: ODI-40945: XSD parser ecnountered error parsing XSD/DTD. Check validity.(cause: oracle.xml.parser.schema.XSDException: Expected 'DOCTYPE'.)
via Oracle Community by 2902199, 1 year ago
ODI-40845: While generating the DTD from the XML file, a "oracle.xml.parser.v2.XMLParseException" exception occurred saying: Start of root element expected.
via Oracle Community by RaviKRC, 1 year ago
ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found
via Oracle Community by 2792722, 1 year ago
ODI-40738: A SAXException was caught while reading the model saying: ODI-40946: Error processing XSD/DTD(cause: oracle.odi.jdbc.driver.xml.model.exceptions.OdiXmlUnsupportedDataTypeException: ODI-40939: The XML construct "anySimpleType" in element "{ http://www.w3.org/2001/XMLSchema }anySimpleType" from type "type" is not supported by XML JDBC driver)
via Oracle Community by Shiv_Kumar, 1 year ago
[FMWGEN][Sybase JDBC Driver]Error establishing socket to host and port: 10.91.2.6:2638. Reason: Connection timed out: connect
via Stack Overflow by Jag
, 8 months ago
ODI-40738: A SAXException was caught while reading the model saying: ODI-40945: XSD parser ecnountered error parsing XSD/DTD. Check validity.(cause: oracle.xml.parser.schema.XSDException: Invalid reference: 'http://www.datavantagecorp.com/xstore/:schemaLocation')
java.sql.SQLException: ODI-40738: A SAXException was caught while reading the model saying: ODI-40945: XSD parser ecnountered error parsing XSD/DTD. Check validity.(cause: oracle.xml.parser.schema.XSDException: Expected 'DOCTYPE'.)
at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:653)
at oracle.odi.jdbc.driver.xml.model.xmlmodel.OdiXSDProcessor.doProcess(OdiXSDProcessor.java:89)
at com.sunopsis.jdbc.driver.xml.model.factories.SnpsXmlModelFactoryXSD.parseInputSource(SnpsXmlModelFactoryXSD.java:262)
at com.sunopsis.jdbc.driver.xml.model.factories.SnpsXmlModelFactoryXSD.buildModel(SnpsXmlModelFactoryXSD.java:181)
at com.sunopsis.jdbc.driver.xml.model.factories.SnpsXmlModelFactoryXSD.buildModel(SnpsXmlModelFactoryXSD.java:111)
at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:375)
at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:477)
at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.(SnpsXmlDTD.java:153)
at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.(SnpsXmlSchema.java:538)
at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.createNewSchema(SnpsXmlSchemaManager.java:322)
at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.getSchemaFromProperties(SnpsXmlSchemaManager.java:299)
at com.sunopsis.jdbc.driver.xml.SnpsXmlDriver.connect(SnpsXmlDriver.java:142)
at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:412)
at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:385)
at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:352)
at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:331)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:110)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)
at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:87)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:228)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.