velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Khamkar <>
Subject Re: Using Velocity tools with Velocity Engine
Date Mon, 28 Jun 2010 16:56:04 GMT
Different from the standard out i meant. So in case there were any
exception, I should see them in the logs.

Well my environment is WebSphere app server, with java 1.5

I am using Velocity engine and trying to use Velocity Tools in
standalone fashion. Not sure what else you need to know for velocity
in a standalone environment.

On Mon, Jun 28, 2010 at 9:28 AM, Nathan Bubna <> wrote:
> On Mon, Jun 28, 2010 at 8:39 AM, Antonio Petrelli
> <> wrote:
>> 2010/6/28 Rohit Khamkar <>:
>>> Not even a single line of stacktrace. Does Velocity log under a
>>> different file?
> different file from what?
>> I don't think so.
>>> I would hope to see anything under such case written
>>> to standard error. Is there a different approach in doing this?
>> Well, I must admit that Velocity Tools (probably Velocity too) have a
>> bad habit in ignoring or swallowing exceptions. At this point your
>> only way to discover your problem is by debugging.
> sorry, but the NumberTool and ToolManager constructors do not catch
> any exceptions.  heck, the NumberTool class has no explicit
> constructor, just the default one.  and if they did catch exceptions,
> the code would continue running rather than stop.  you're gonna have
> to tell us about your environment, because you have something funky.
> if i had to guess, i would bet that your setup is swallowing
> ClassNotFoundExceptions.  this looks for all the world like
> VelocityTools is not in the classpath at runtime and you are somehow
> not seeing the CNFEs.
>> Antonio
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message