On 12/15/06, Tod Thomas <[EMAIL PROTECTED]> wrote:
Nathan Bubna wrote:
....
> some lines before the "Toolbox setup complete" message, there should
> have been a message saying "Using config file '<some file path>'"
> What is the file used?
>
>> Still not getting anything to render using "$import.class.name" or
>> $import.read("url") though.
>
> This still makes me doubt that the intended toolbox file is the one
> being loaded.  Try introducing some bad xml into you toolbox.xml and
> see if the application chokes and complains on startup.


Just tried it, got the expected stack trace.  Are there maybe some
velocity specific log4j settings I could try to give me some more
verbose debugging?

Glad to hear we're loading the proper toolbox file.  At least we're
making progress in ruling out things that aren't the problem. :)  If
you're up for more sleuthing, try the following instructions...

Initialize your application and then request a template that includes only this:

$import.class.name

$import.read('this won't exist')

$import.read('http://google.com')

Then send the log output for this operation, both the servlet log file
and the system.out content printed to the terminal window of your
servlet engine.

Also, have you tried running the "simple.war" that comes with the
VelocityTools binary distribution?  If nothing else, that makes a
great, working starting point for a new application if you unpack it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to