Not to sure if I'm in the right place, so I hope someone here can give me a hand as I'm new to this kind of technology.
I am attempting to use the XML DB functionality of Oracle9i Enterprise Edition Release 9.2.0.3.0 and was wondering if anyone had any idea as to why I am getting the below error when attempting to access a (or any!) servlet via HTTP/URL. (An example of such a method is in Oracle9i XML Database Developer's Guide - Chapter 20: Writing Oracle XML DB Applications in Java)
In the browser I get an 'internal 500 error' and checking the DB trace file, this is the message displayed:
I've never used any of the XML DB functionality, but do the servlets to be run with the "XDBServletContainer" perhaps need to extend something other than HttpServlet? Or implement a special interface? I don't know if the ClassCastException is caused by your code or the container. It happens in the container, but I think that's because it's expecting your code to (apparently) do something special.
If I get a chance, I'll look into it a little more, but post back if you find anything.
I'm sure that there's nothing wrong with the code as it has come straight from examples provided by Oracle for use with the XML DB (I've tried more than one piece of code). The OTN crew have confirmed this too and cannot seem to replicate the problem which is on the server/database side.
I'm just clutching at straws here hoping that someone has heard of this "uncaught servlet exception" error!
If you have anymore ideas though, they're much appreciated.