Hello all,

On 7/11 and 7/19 I posted problems regarding IllegalAccessError exceptions
when trying to run webmacro. Although the most current version (current as
of today at 10:00 am US Central time) of Turbine still produces the same
problems with the bundled webmacro-1.1.jar, the IllegalAccessError
exceptions are not produced if I use the latest version of webmacro.
Unfortunately, new errors are being generated. This is all that is displayed
(in a browser) at http://deathstar.qni.com/dev/servlet/Turbine:

Exception: org.webmacro.NotFoundException: Resource[template,
screens/error.wm] not found: Unable to resolve requested resource
        at org.webmacro.broker.ResourceEvent.getValue(ResourceEvent.java:314)
        at org.webmacro.broker.ResourceBroker.getValue(ResourceBroker.java:318)
        at org.webmacro.WM.getTemplate(WM.java:173)
        at
org.apache.turbine.services.webmacro.TurbineWebMacroService.getTemplate(Turb
ineWebMacroService.java:181)
        at
org.apache.turbine.services.webmacro.TurbineWebMacroService.handleRequest(Tu
rbineWebMacroService.java:161)
        at
org.apache.turbine.services.webmacro.TurbineWebMacro.handleRequest(TurbineWe
bMacro.java:97)
        at
org.apache.turbine.modules.screens.WebMacroSiteScreen.buildWMTemplate(WebMac
roSiteScreen.java:225)
        at
org.apache.turbine.modules.screens.WebMacroSiteScreen.buildTemplate(WebMacro
SiteScreen.java:148)
        at
org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.jav
a:110)
        at
org.apache.turbine.modules.screens.WebMacroSiteScreen.doBuild(WebMacroSiteSc
reen.java:120)
        at org.apache.turbine.modules.Screen.build(Screen.java:88)
        at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
        at org.apache.turbine.modules.ScreenLoader.exec(ScreenLoader.java:131)
        at
org.apache.turbine.modules.pages.WebMacroSitePage.doBuild(WebMacroSitePage.j
ava:258)
        at org.apache.turbine.modules.Page.build(Page.java:81)
        at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
        at Turbine.doGet(Turbine.java:298)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
        at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
        at java.lang.Thread.run(Thread.java)

Also, this is the only error showing up in any of the logs (tomcat, turbine,
webmacro), it shows up in turbine.log. I think I have followed the
directions correctly. I made the necessary changes to
TurbineResources.properties listed in the webmacro section of
getting_started.html and the README.txt in the
src/java/org/apache/turbine/samples/templates/webmacro/ directory. My
WebMacro.properties file is being read correctly and contains:

TemplatePath =
/home/kclark/src/Apache-Turbine-20000726/src/java/org/apache/turbine/samples
/templates/webmacro

and in
"/home/kclark/src/Apache-Turbine-20000726/src/java/org/apache/turbine/sample
s/templates/webmacro/screens", error.wm does exist:

[11:03am]
deathstar:/home/kclark/src/Apache-Turbine-20000726/src/java/org/apache/turbi
ne/samples/templates/webmacro/screens# ls
error.wm        index.wm        testlink.wm     testxmlrpc.wm

Does anyone know what I am missing? Like always, any help that can be
provided will be greatly apreciated. In fact, if I can get this thing
working for me and find a bit of time, I would be happy to contribute some
very thorough documentation to aid new users and help them understand why
Turbine is so powerful.

Kevin



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to