Quantcast
Channel: Toad Extension for Eclipse
Viewing all articles
Browse latest Browse all 978

Forum Post: Working with xmltype within TEE becomes more and more frustrating: Exception in thread "SQL Worksheet Script Execution" java.lang.NoClassDefFoundError: oracle/xdb/XMLType

$
0
0
Sorry for reposting but the pain is high as we working heavily with xml and pl (XMLType, XMLQuery, XMLElement and so on) . We spend a lot of effort finding a working configuration for TEE but have no success: Based on Ubuntu 14.04.1 64bit and Eclipse Mars.1 we tried all combinations of: java-1.7.0-openjdk-amd64 java-7-oracle, java-8-oracle (webupd8team) oracle instant client 12.1.0.2.0 (following https://help.ubuntu.com/community/Oracle%20Instant%20Client ) oracle full client 12.1 (following: https://thinkigotit.wordpress.com/2014/08/13/install-oracle-database-12c-in-ubuntu-14-04/ ) We pick ojdbc7.jar (and ojdbc6) as driver and use connection as it is and with the "Use Client" option as well (full client installed). No configuration was able to deliver a result without an error on the simple query "select XMLElement("pain", 'ita') from dual;" "Use Client" seems faster, but becomes more a more unstable when it comes in touch with xmltypes (Silent crashes, no answers, ...). The "select xmlelement ..." statement results into the "java.lang.NoClassDefFoundError: oracle/xdb/XMLType" error. Without the "Use Client" option the statement runs endless. On early days of TEE we just get error message related to xmltype, but now the whole eclipse-system becomes more and more unstable. We know supporting XMLType isn't simple but example oxygen-editor managed that. They ask us to register additional libraries beside ojdbcX.jar: xdb.jar xmlparserv2.jar xml.jar The libraries all exists in the full client installation and needed for xmltype processing. PLEASE, tell us what we should do getting TEE stable while using XMLType! Thank in advanced Jan --- Exception in thread "SQL Worksheet Script Execution" java.lang.NoClassDefFoundError: oracle/xdb/XMLType at oracle.jdbc.oracore.OracleTypeADT.applyTDSpatches(OracleTypeADT.java:1081) at oracle.jdbc.oracore.OracleTypeADT.parseTDSrec(OracleTypeADT.java:1002) at oracle.jdbc.oracore.OracleTypeADT.parseTDS(OracleTypeADT.java:936) at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeADT.java:489) at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeADT.java:470) at oracle.sql.TypeDescriptor.getTypeDescriptor(TypeDescriptor.java:981) at oracle.jdbc.driver.NamedTypeAccessor.otypeFromName(NamedTypeAccessor.java:78) at oracle.jdbc.driver.TypeAccessor.initMetadata(TypeAccessor.java:71) at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:823) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:897) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1034) at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1718) at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1678) at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:332) at com.dell.toadext.sql.executor.SqlExecutor.executeStatement(SqlExecutor.java:533) at com.dell.toadext.sql.executor.SqlExecutor.executeCommand(SqlExecutor.java:562) at com.dell.toadext.sql.executor.SqlExecutor.exec(SqlExecutor.java:355) at com.dell.toadext.sql.executor.SqlExecutor.execute(SqlExecutor.java:442) at com.dell.toadext.sql.executor.AbstractExecutorPool.execute(AbstractExecutorPool.java:621) at com.dell.toadext.sql.executor.AbstractExecutorPool.execute(AbstractExecutorPool.java:594) at com.dell.toadext.sql.executor.AbstractExecutorPool.execute(AbstractExecutorPool.java:576) at com.dell.toadext.editor.sql.SqlExecutionThread.run(SqlExecutionThread.java:151) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: oracle.xdb.XMLType at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 23 more

Viewing all articles
Browse latest Browse all 978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>