velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Glass-Husain <>
Subject Re: Velocity on z/OS - not getting picked up
Date Fri, 23 Jun 2006 16:27:06 GMT
Having the multiple jars with Velocity has been known to cause problems 
in the past, particularly if they are loaded by different classloaders 
(e.g. one in a container classpath and one in the app).

Can you get rid of one and see what happens?


Anuradha Weeraman wrote:
> Hi,
> I've been using Velocity in J2EE web application on z/OS and have been
> running into a few problems. I'm using maven to build the application
> which has set dependencies on velocity 1.4. the repository/jars folder
> contains both velocity-1.4.jar and velocity-1.4-dev.jar.
> For some reason, when velocity is initialized, the
> file doesn't get picked up and as a result throws a
> NullPointerException. When a Property object is manually populated
> with the needed fields or if the property file is manually loaded and
> passed into the init method, it seems to work.
> Does anybody any idea why the in
> velocity-1.4.jar\org\apache\velocity\runtime\defaults doesn't get
> picked up automatically?
> Could it be because the property file appears in both maven-1.4.jar
> and maven-1.4-dev.jar?
> Regards,
> Anuradha
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Forio Business Simulations

Will Glass-Husain
phone (415) 440-7500 x89
mobile (415) 235-4293

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

View raw message