Oops :-) Amusingly enough, this problem was fixed last week during some refactoring. The current CVS copy of Maverick should only instantiate jaxp TransformerFactory objects when they are actually used... but then I said this before :-)
When I get more documentation written I'll release another beta. As far as Tomcat 3.3 goes, I vaguely recall that it has some strange classloader issues and it's very sensitive to where you put the xalan.jar. I've never spent any serious time using Tomcat v3, so I'm not sure I can be much help beyond this. Jeff Schnitzer [EMAIL PROTECTED] > -----Original Message----- > From: Gerald de Jong [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 25, 2002 4:25 AM > To: [EMAIL PROTECTED] > Subject: Re: Re: [Mav-user] Maverick in Tomcat 3.3 using JSP > > On Friday 25 January 2002 09:50, Jeff Schnitzer wrote: > > > i'll move to v2, but why would i need an xslt processor if i'm using > > no > > > xslt? > > > > Because of a very silly piece of code that was long ago corrected in > > Maverick 2.0 :-) If you're not using xslt, you could just comment out > > ConfigLoader.java line 312 and everything will be fine (note you'll > > still need to declare the variable, just initialize it to null). > > > > Sorry about that. There really isn't any good reason. If switching to > > Maverick 2.0 is not an option, and putting a processor on the classpath > > (any processor will do) is problematic, I can send you a special build. > > > > Incidentally, even in Maverick 2.0, it is still possible to need an xslt > > processor even if you aren't using xslt. Maverick uses JAXP if it ever > > needs to serialize a DOM tree. This is pretty unlikely if you're not > > using xslt, but it could happen :-) > > > > Jeff Schnitzer > > [EMAIL PROTECTED] > > thanks a lot for your responsiveness, Jeff! > > i've moved to maverick 2.0, and i've put xalan.jar in the classpath, but > strangely enough it doesn't seem to think that it's there! it works (of > course) in Tomcat 4, but in the Tomcat 3.2 i'm using it doesn't. > > it should find org.apache.xalan.processor.TransformerFactoryImpl, but it > doesn't. any idea why? here's the stacktrace: > > [Loader] Loading config from > /opt/JBoss-2.4.3_Tomcat- > 3.2.3/jboss/tmp/deploy/Default/avv.ear/web1001/WEB-INF/maverick.xml > [MasterTransformFactory] Transform factory for "document" is > org.infohazard.maverick.transform.DocumentTransformFactory > [MasterTransformFactory] Transform factory for "xslt" is > org.infohazard.maverick.transform.XSLTransformFactory > [MasterViewFactory] View factory for "redirect" is > org.infohazard.maverick.view.RedirectViewFactory > [J2EE Deployer Default] Starting avv.war failed! > [Default] javax.xml.transform.TransformerFactoryConfigurationError: > java.lang.ClassNotFoundException: > org.apache.xalan.processor.TransformerFactoryImpl > [Default] at > javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.ja va > :121) > [Default] > [Default] at > org.infohazard.maverick.transform.NonTransform.<clinit>(NonTransform.jav a: > 23) > [Default] > [Default] at > org.infohazard.maverick.view.TrivialViewFactory.<init>(TrivialViewFactor y. > java:20) > [Default] > [Default] at > org.infohazard.maverick.flow.Loader.setupCoreModules(Loader.java:137) > [Default] > [Default] at > org.infohazard.maverick.flow.Loader.init(Loader.java:114) > [Default] > [Default] at > org.infohazard.maverick.flow.Loader.<init>(Loader.java:90) > [Default] > [Default] at > org.infohazard.maverick.Dispatcher.reloadConfig(Dispatcher.java:149) > [Default] > [Default] at > org.infohazard.maverick.Dispatcher.init(Dispatcher.java:86) > [Default] > > > -- > Beautiful Code BV > Rotterdam, The Netherlands > http://www.beautifulcode.nl > > _______________________________________________ > Mav-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mav-user _______________________________________________ Mav-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mav-user