On Sun, 22 Oct 2000, Kasper Nielsen wrote:
> I tried out the new TDK, and still have the same problem.
> I have to edit velocity.properties
>
> from template.path=system
> to template.path=c:/.../.../.../tdk/webapps/app name/templates
You shouldn't have to do that. You can send me your
setup, and log files and I'll try to figure out
what's happening.
> and just a quick question:
> is template.modificationCheckInterval is millies?
Yes.
jvz.
> ----- Original Message -----
> From: "Jason van Zyl" <[EMAIL PROTECTED]>
> To: "Turbine" <[EMAIL PROTECTED]>
> Sent: Tuesday, October 17, 2000 6:21 PM
> Subject: Re: [ANN] VelocityService
>
>
> > On Tue, 17 Oct 2000, Kasper Nielsen wrote:
> >
> > > Hi,
> > >
> > > When using the TDK for creating a new _velocity_ app i get this error
> when I
> > > request the first screen
> > >
> > > [Tue Oct 17 16:05:34 CEST 2000] -- NOTICE -- log:/logs/velocity.log
> > > [Tue Oct 17 16:05:34 CEST 2000] -- NOTICE --
> > > classname:org.apache.turbine.services.velocity.TurbineVelocityService
> > > [Tue Oct 17 16:05:34 CEST 2000] -- NOTICE -- VelocityService is using
> > > D:\tdk\webapps\veltest\WEB-INF\conf\velocity.properties
> > > [Tue Oct 17 16:05:35 CEST 2000] -- ERROR -- Failed to set up Velocity
> > > templates:
> > > [Tue Oct 17 16:05:35 CEST 2000] -- ERROR --
> > > Exception: java.net.MalformedURLException: unknown protocol: d
> > > Stack Trace follows:
> > > java.net.MalformedURLException: unknown protocol: d
> > > at java.net.URL.<init>(URL.java:480)
> > > at java.net.URL.<init>(URL.java:376)
> > > at org.apache.log.LogKit.createLogger(LogKit.java:63)
> > > at
> org.apache.velocity.runtime.Runtime.initializeLogger(Runtime.java:151)
> > > at
> > >
> org.apache.turbine.services.velocity.TurbineVelocityService.initVelocity(Tur
> > > bineVelocityService.java:387)
> > > .....
> > >
> > > It can't find the templates either
> > >
> > > Error=An error occurred while rendering template /screens//index.vm:
> > > null
> > > Error=An error occurred while rendering template layouts/default.vm:
> > > null
> > >
> > > Hope it is enough information.
> >
> > Yes it is :-) Thanks! I'll fix those! I'll probably
> > build another TDK by the end of the day when I get
> > the fixes into the velocity service.
> >
> > jvz.
> >
> > ---
> > Jason van Zyl
> > [EMAIL PROTECTED]
> >
> >
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
> >
> >
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]