Issue Details (XML | Word | Printable)

Key: CACTUS-107
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: AJ Banck
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cactus

Cannot locate XMLTranformer exception / wrong package

Created: 09/May/04 12:27 PM   Updated: 13/May/04 11:38 AM
Return to search
Component/s: Framework
Affects Version/s: 1.6
Fix Version/s: 1.6.1

Time Tracking:
Not Specified

Environment: W2k/WebLogic 8.1

Resolution Date: 13/May/04 11:38 AM


 Description  « Hide
I get the following exception:
<May 9, 2004 12:04:08 PM CEST> <Error> <HTTP> <BEA-101046> <[ServletContext(id=32462141,name=test,context-pa
ervletTestRunner: Could not instantiate XMLTransformer - will not perform server-side XSLT transformations
java.lang.ClassNotFoundException: org.apache.cactus.server.runner.XMLTransformer
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:198)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at org.apache.cactus.server.runner.ServletTestRunner.init(ServletTestRunner.java:133)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)

Looking at ServletTestRunner.java:133 it says:
                    Class transformerClass = Class.forName(
                        "org.apache.cactus.server.runner.XMLTransformer");

But the package is org.apache.cactus.internal.server.runner not org.apache.cactus.server.runner.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 09/May/04 04:41 PM
*sigh*. That was to be expected... I should have known better. The Servlet Runner is the only part for which we don't have automated tests for. We really need to fix this. I'll release Cactus 1.6.1 in about a week with the fix. I'm waiting a little bit to see if there are other problems like this one. Thanks!

Vincent Massol added a comment - 13/May/04 11:38 AM
Done. Added tests so that it doesn't happen again...