If you're having trouble you definitely should initialize log4j. There are instructions in the Maverick FAQ: http://mav.sourceforge.net/maverick-manual.html#N400709
Jeff Schnitzer [EMAIL PROTECTED] > -----Original Message----- > From: Robin van Gessel [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 3:29 AM > To: [EMAIL PROTECTED] > Subject: Re: [Mav-user] Friendbook-domify build.xml > > I can't find nothing that looks like "Template url is ..." - maybe I need > to > enable logging, I only have the standard JRun log, but no debug messages. > Do > I need to initialize the log (log4j) in a config file or something? > > BTW, in XSLTransform there's minor spelling mistake on line 135: Eror > should > be Error of course. Not that important, but still (ok, don't check my > mistakes!) > > ----- Original Message ----- > From: "Schnitzer, Jeff" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 07, 2002 11:52 PM > Subject: RE: [Mav-user] Friendbook-domify build.xml > > > The build.xml in opt-domify expects the maverick dir to be a peer > directory of opt-domify. > > parent > +- maverick > +- opt-domify > +- opt-velocity > > ...etc. > > > As far as the FileNotFoundException goes, that looks suspiciously like a > broken resource loader in JRun. Unfortunately it would be difficult for > me to debug without the appserver, but if you're feeling adventurous, > maverick compiles out of the box. > > The important method is XSLTransform.loadTemplate(), and the important > line is the one that calls "servletCtx.getResource(path)". I would be > interested in knowing what the value of "path" is before the call, and > what the URL returned is. > > The important bit of the servlet api is here: > http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConte > xt.html#getResource(java.lang.String) > > Actually, if you can dig up the "Template url is: ..." line from your > log, that would be quite helpful (along with the complete stack trace > from the exception). > > Jeff Schnitzer > [EMAIL PROTECTED] > > > > -----Original Message----- > > From: Robin van Gessel [mailto:[EMAIL PROTECTED]] > > Sent: Friday, October 04, 2002 2:55 AM > > To: [EMAIL PROTECTED] > > Subject: [Mav-user] Friendbook-domify build.xml > > > > Hi all, > > > > I'm trying to get this example running with JDK 1.4.1 and JRun 4. I > > dicovered a few bugs in the friendbook-domify example: > > - incorrect build.xml - line 19 says "<property name="maverick.dir" > > value="../maverick" />" and should be "<property name="maverick.dir" > > value="/maverick" />" > > > > - I get a FileNotFoundException: > > C:\JRun4\bin\C:\norrod\www\SERVER-INF\temp\friendbook-domify.war- > > 1812576112\ > > loginForm.xsl > > Of course, the path is incorrect, but I cannot figure out where the > server > > or webapp (which?!) gets it from. > > Any help on this one? > > > > Robin > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > [INVALID FOOTER] > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > [INVALID FOOTER] > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > [INVALID FOOTER] ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm [INVALID FOOTER]
