Thanks for your reply.
What we are trying to do is calling a
java class from Coldfusion 5. Our server is Windows 2003. In Coldfusion, we'll need to specify the JVM so our java class can run. Unfortunately when JVM is started, the SUN httpclient library is loaded first. When we use Apache Commons HttpClient class, we got class cast exceptions.
We have limited control over the server set up and there is no Java web server installed on the machine. So we can not install it as a web application but as a standalone class. The library (commons-httpclient.jar) apparently is conflicting with the JVM runtime library (most likely rt.jar). We tested our own library and also tried other classes within commons-httpclient.jar, they all work fine. But when we use a class with the same name as those in the rt.jar, cast exception occurs.
We are stuck with Coldfusion 5 and Coldfusion MX 6 and later should have no problem. We tried some
test code using SUN httpclient, it seems compatible with the JVM on our server. But I am having a hard time finding documentation on SUN httpclient.
What are my options. Any suggestions?
SCJP, SCBCD, SCWCD, OCEJPA, OCEJWSD, OCEEJBD, OCEJWCD, OCEJSFD, Oracle SQL Expert, IBM XML, MCP, MCSA, MCDBA