I finally got webmacro working. I upgraded to JDK1.2.2. Is not working
with IBM JDK1.1.8. Is anyone out there using JDK1.1.8 with web macro? I
can't get it to work. And yes I had the 1.1 build in the repository
classpath. I'll admit that's pretty frustrating, with just bizarre
exceptions in the log file.
What JDK are people using on Linux? I have the Sun and Blackdown versions now.
>I think that the TurbineWebMacroService.templates property is expecting one
>path.
>The reason I think this is that when coding the TemplateService, I started
>trying to allow multiple paths, but when looking at the WebMacroService, I
>interpreted it as only allowing one path, so I decided to drop the
>additional complexity until someone wanted it.
>
>----- Original Message -----
>From: christopher baus <[EMAIL PROTECTED]>
>To: Turbine <[EMAIL PROTECTED]>
>Sent: Thursday, August 31, 2000 2:43 PM
>Subject: Re: JServ was ( RE: state of turbine install )
>
>
> >
> > >One question though on the TemplatePath. Should all those be added in
> > >WebMacro.properties with the semicolons?
> > >
> > >
> > >This comment has been confusing me in WebMacro.properties
> > >
> > ># Template path is handled by Turbine
> > ># see services.TurbineWebMacroService.templates entry in
> > >/WEB-INF/Turbine.properties
> > ># TemplatePath = /home/webmacro
> > Ugghh... I still can't get it working.
> >
> > Here's my paths:
> >
>services.TurbineWebMacroService.templates=/usr/local/turbine/src/templates:/
>usr/local/turbine/src/templates/screens:/usr/local/turbine/src/templates/nav
>igations:/usr/local/turbine/src/templates/layouts:/usr/local/turbine/src/jav
>a/org/apache/turbine/samples/templates/webmacro:/usr/local/turbine/src/java/
>org/apache/turbine/samples/templates/webmacro/layouts:/usr/local/turbine/src
>/java/org/apache/turbine/samples/templates/webmacro/navigations:/usr/turbine
>/src/java/org/apache/turbine/samples/templates/webmacro/screens
> >
> >
>services.TurbineWebMacroService.templates=/usr/local/turbine/src/templates:/
>usr/local/turbine/src/templates/screens:/usr/local/turbine/src/templates/nav
>igations:/usr/local/turbine/src/templates/layouts:/usr/local/turbine/src/jav
>a/org/apache/turbine/samples/templates/webmacro:/usr/local/turbine/src/java/
>org/apache/turbine/samples/templates/webmacro/layouts:/usr/local/turbine/src
>/java/org/apache/turbine/samples/templates/webmacro/navigations:/usr/turbine
>/src/java/org/apache/turbine/samples/templates/webmacro/screens
> >
> >
> > Here's the jserv.log
> >
> > [31/08/2000 14:19:07:259 PDT] Turbine/org.apache.turbine.Turbine: Turbine
> > init()!
> > [31/08/2000 14:19:13:528 PDT] java.lang.IllegalAccessError:
> > org.webmacro.engine.ParseTool._cur
> > at org.apache.jserv.JServConnection.processRequest(Compiled Code)
> > at org.apache.jserv.JServConnection.run(Compiled Code)
> > at java.lang.Thread.run(Compiled Code)
> >
> > Apache error_log
> >
> > ava.lang.IllegalAccessError:
>org.webmacro.broker.ResourceManager._expireTime
> > at org.webmacro.broker.ResourceManager$1.run(Compiled Code)
> > java.lang.IllegalAccessError: org.webmacro.engine.ParseTool._cur
> > at org.apache.jserv.JServConnection.processRequest(Compiled Code)
> > at org.apache.jserv.JServConnection.run(Compiled Code)
> > at java.lang.Thread.run(Compiled Code)
> >
> >
> > turbine.log
> >
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE -- TemplateService
> > init()....starting!
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE -- TemplateService
> > init()....finished!
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE -- WebMacroService early
> > init()....starting!
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE -- WebMacroService properties:
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE --
> > classname:org.apache.turbine.services.webmacro.TurbineWebMacroService
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE --
> > properties:/usr/local/turbine/conf/WebMacro.properties
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE --
> >
>templates.provider:org.apache.turbine.services.webmacro.TurbineTemplateProvi
>der
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE --
> >
>templates:/usr/local/turbine/src/templates:/usr/local/turbine/src/templates/
>screens:/usr/local/turbine/src/templates/navigations:/usr/local/turbine/src/
>templates/layouts:/usr/local/turbine/src/java/org/apache/turbine/samples/tem
>plates/webmacro:/usr/local/turbine/src/java/org/apache/turbine/samples/templ
>ates/webmacro/layouts:/usr/local/turbine/src/java/org/apache/turbine/samples
>/templates/webmacro/navigations:/usr/turbine/src/java/org/apache/turbine/sam
>ples/templates/webmacro/screens
> > [Thu Aug 31 14:35:38 PDT 2000] -- NOTICE -- Creating WM object using
> > /usr/local/turbine/conf/WebMacro.properties
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider
>starting!
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- WebMacroService
> > init()....starting!
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- WebMacroService
> > init()....finished!
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> > /usr/local/turbine/src/templates
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> > /usr/local/turbine/src/templates/screens
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> > /usr/local/turbine/src/templates/navigations
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> > /usr/local/turbine/src/templates/layouts
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> > /usr/local/turbine/src/java/org/apache/turbine/samples/templates/webmacro
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> >
>/usr/local/turbine/src/java/org/apache/turbine/samples/templates/webmacro/la
>youts
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> >
>/usr/local/turbine/src/java/org/apache/turbine/samples/templates/webmacro/na
>vigations
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider uses
> >
>/usr/turbine/src/java/org/apache/turbine/samples/templates/webmacro/screens
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- TurbineTemplateProvider
>started!
> > [Thu Aug 31 14:35:43 PDT 2000] -- NOTICE -- WebMacroService early
> > init()....finished!
> > [Thu Aug 31 14:35:44 PDT 2000] -- NOTICE -- FreeMarkerService early
> > init()....starting!
> > [Thu Aug 31 14:35:45 PDT 2000] -- NOTICE -- FreeMarkerService early
> > init()....finished!
> > [Thu Aug 31 14:35:45 PDT 2000] -- NOTICE -- This is Turbine instace
> > running at: http://kirkwood/turbine/Turbine
> > [Thu Aug 31 14:35:45 PDT 2000] -- NOTICE -- The instance id is
> > #4B1B5379244039A0E3CF872AB1C60BD3
> > ==========================================================
> > christopher baus Come down off the cross,
> > waiting for snow we could use the wood.
> > in Tahoe, NV -- Tom Waits.
> >
> >
> >
> > ------------------------------------------------------------
> > 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]
==========================================================
christopher baus Come down off the cross,
waiting for snow we could use the wood.
in Tahoe, NV -- Tom Waits.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]