Skip to main content

Glassfish 3.0.1 and Oracle XDK

2 replies [Last post]
aardyb
Offline
Joined: 2009-04-02

Hi -

I have ported our Web Services application which was previously running in Sun App Server 8.2 to Glassfish 3.0.1. In Sun App Server we were using the Oracle XML processing libraries xmlparserv2.jar & xsu12.jar as per this link:

http://www.oracle.com/technetwork/articles/entarch/xml-bridge-093515.html

In Glassfish we are putting our runtime dependencies in domains/domain1/lib/ext. To get Glassfish running I had to remove xmlparserv2.jar, looks like there are newer classes in Glassfish that it must use which are overwritten by those in xmlparserv2.jar. xsu12.jar is fine and I have left it in. Problem is, now that I am calling our application it is failing to work - I believe xsu12.jar is depending on xmlparserv2.jar.

We are hunting down any updated versions of Oracle XDK but cannot seem to find them on the web. Not sure that this is the correct course of action. Can anyone assist ?

thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aardyb
Offline
Joined: 2009-04-02

Please note - we can see that the error is occurring somewhere inside oracle.xml.sql.query.OracleXMLQuery which we are using, we are calling the OracleXMLQuery.getXMLDOM() method and it is blowing up

aardyb
Offline
Joined: 2009-04-02

Further to this, we have removed xsu12.jar and xmlparserv2.jar, and are still getting the same error. Surely Glassfish has an internal implementation of OracleXMLQuery else it would be throwing a ClassNotFoundException.

Any assistance appreciated.

thanks