Camel 2.9 has been improved in terms of resource endpoints such as
freemarker, velocity to not use spring to load the resources. This
didn't work to well with osgi blueprint etc.



On Thu, Aug 11, 2011 at 4:16 PM, sipe16 <sipe...@hotmail.com> wrote:
> I'm trying to use the camel-freemarker component in Windows 7 x64 with Camel
> 2.8 running in Karaf 2.2.2.
>
> I've used camel-velocity with success using the following URI:
> velocity:file:J:\Apache\velocity_templates\failed_notification_email.vm?contentCache=false
>
> So, I tried doing the same with a freemarker template:
> freemarker:file:J:\Apache\freemarker_templates\failed_notification_email.ftl?contentCache=false
>
> However, freemarker always throws a FileNotFoundException saying "Template
> file: J:\blah..blah...ftl not found".  I've tried simplifying the file path
> e.g. J:\failednotificationemail.ftl as well as trying freemarker://file:J:\,
> freemarker://file://J:\, freemarker:file://J:\ etc. and other drives, giving
> Everyone full permissions, etc.
>
> Is anybody else able to reproduce this?  I would find it hard to believe it
> was an issue with the uri since it worked with velocity...
>
> // cyle
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-freemarker-FileNotFoundException-tp4689657p4689657.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to