No, all tests running on java 1.5 is passing. Actually, I've tried to change the source and target in the pom.xml file and it's all working fine now. Should I commit this change or is there another way to do this?
/Magnus >-----Original Message----- >From: Petar Tahchiev [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 12, 2008 2:41 PM >To: Cactus Developers List >Subject: Re: running cactus on Java 1.4 > >Hi Magnus, > >Cactus is supposed to work with 1.4 version of the JVM. >Do you get the same exception with a higher version of the JVM? >Maybe you are missing the framework-uberjar in the classpath? > >Cheers, Petar. > >2008/8/12 Magnus Grimsell <[EMAIL PROTECTED]> > >> I recently built cactus from the trunk and tried to run it on Java >1.4. >> Then I got the following error: >> >> <2008-aug-12 kl 12:04 CEST> <Error> <HTTP> <BEA-101165> <Could not >load >> user defined filter in web.xml: >> ServletContext(id=15304722,name=/test,context-path=/test) >> org.apache.cactus.server.FilterTestRedirector. >> java.lang.ClassNotFoundException: Class bytes found but >> defineClass()failed for: >'org.apache.cactus.server.FilterTestRedirector' >> at >> >weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLo a >> der.java:187) >> at >> >weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwar e >> ClassLoader.java:61) >> at >> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at >> java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at >> >weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLo a >> der.java:224) >> at >> >weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwar e >> ClassLoader.java:41) >> at >> >weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletC o >> ntext.java:6127) >> at >> >weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppSer v >> letContext.java:3076) >> at >> >weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServle t >> Context.java:3053) >> at >> >weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppS e >> rvletContext.java:3354) >> at >> >weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServlet C >> ontext.java:6208) >> at >> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864) >> at >> >weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.j a >> va:2134) >> at >> >weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContaine r >> .java:2175) >> at >> >weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContaine r >> .java:2122) >> at >> >weblogic.management.deploy.slave.SlaveDeployer$Application.setActivatio n >> (SlaveDeployer.java:3099) >> at >> >weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAll A >> pplications(SlaveDeployer.java:1768) >> at >> >weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.jav a >> :351) >> at >> >weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume( D >> eploymentManagerServerLifeCycleImpl.java:229) >> at >> weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136) >> at >> weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965) >> at >> weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360) >> at weblogic.Server.main(Server.java:32) >> Caused by: java.lang.UnsupportedClassVersionError: >> org/apache/cactus/server/FilterTestRedirector (Unsupported major.minor >> version 49.0) >> at >> java.lang.ClassLoader.defineClass0(Native Method) >> at >> java.lang.ClassLoader.defineClass(ClassLoader.java:539) >> at >> >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >> at >> >weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCl a >> ssLoader.java:480) >> at >> >weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLo a >> der.java:182) >> ... 22 more >> > >> >> After looking in the pom I realize that target and source is set to 5. >> Isn't cactus supposed to work on a 1.4 jvm? >> >> /Magnus >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > >-- >Regards, Petar! >Karlovo, Bulgaria. >- - - - - - - - >| Author @ Manning Publications. >| Technical Consultant @ HP >| BGJUG-Bulgarian Java User Group Leader. >| Apache Jakarta PMC member. >| Jakarta Cactus Lead Developer. >| Blogger: http://weblogs.java.net/blog/paranoiabla/ >- - - - - - - - >Public PGP Key at: >https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C31106 1 >1 >Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]