on the line before and on the line after any code to preserve formattting. See the FAQ for other formatting guidelines. Use the 'Preview' tab to see what your post will look like before you submit it.
And there are FIVE files named xmlparserv2.jar and at least THREE of them are different sizes and different versions.
D:\app\Administrator\product\11.2.0>dir /b /s xdb*.jar D:\app\Administrator\product\11.2.0\dbhome_1\owb\j2ee\lib\xdb.jar D:\app\Administrator\product\11.2.0\dbhome_1\RDBMS\jlib\xdb.jar D:\app\Administrator\product\11.2.0\dbhome_1\RDBMS\jlib\xdb_g.jar D:\app\Administrator\product\11.2.0\dbhome_1\sqldeveloper\rdbms\jlib\xdb.jar
Make sure you use the matching versions of those files.
D:\app\Administrator\product\11.2.0>dir /b /s xmlparser*.jar D:\app\Administrator\product\11.2.0\dbhome_1\LIB\xmlparserv2.jar D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\lib\xmlparserv2.jar D:\app\Administrator\product\11.2.0\dbhome_1\oui\jlib\xmlparserv2.jar D:\app\Administrator\product\11.2.0\dbhome_1\owb\lib\int\xmlparserv2_xloader.jar D:\app\Administrator\product\11.2.0\dbhome_1\sqldeveloper\lib\xmlparserv2.jar D:\app\Administrator\product\11.2.0\dbhome_1\xdk\lib\xmlparserv2.jar
D:\app\Administrator\product\11.2.0\dbhome_1\owb\j2ee\lib\xdb.jarand "OWB" I translate to Warehouse Builder, which not everyone may have depending on which distribution of Oracle you're using (regular, enterprise, OWB is also a separate install I believe)
991204 wrote:So you have ojdbc6.jar from one version and xdb.jar and xmlparserv2.jar from another and you are surprised at a version mismatch? Get all three from the same Oracle Database version. In your case you want the latest versions of all three, 18.104.22.168.0.
Hi, here is how I got a matching set of .jars and I also switched from JDK 1.7 to JDK 1.6. I don't know if that contributed, I'd have to test it.
I downloaded the ojdbc6.jar from the JDBC site matching my database version.
I downloaded the full Oracle database 11g and took xdb.jar and xmlparserv2.jar from its installation directory.