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.java:121)
[Default]
[Default]       at 
org.infohazard.maverick.transform.NonTransform.<clinit>(NonTransform.java:23)
[Default]
[Default]       at 
org.infohazard.maverick.view.TrivialViewFactory.<init>(TrivialViewFactory.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

Reply via email to