Dave
First of all apologies if the questions I am asking are elementary but I am
new to Tomcat and Turbine (although I have got Jyve working). I think
that's my problem, trying to install your sample application I am not sure I
fully understand how Jyve is working.
Well here goes ...
1. I extracted the tar file to webapps and now I have a sample directory
under webapps. Do I need to enter a context in server.xml?
2. In step 2 of your installation notes where do you set the CLASSPATH? I
have been putting my classes in the TOMCAT/lib directory and they appear to
get picked up by the startup script of Tomcat.
3. In step 3 I am not sure what you mean by a template path.
The upshot is that I tried to run your sample application and got the
following error:
Exception: java.lang.NullPointerException
at
org.apache.turbine.services.webmacro.TurbineWebMacroService.getContext(Turbi
neWebMacroService.java:136)
at
org.apache.turbine.services.webmacro.TurbineWebMacro.getContext(TurbineWebMa
cro.java:106)
at
org.apache.turbine.modules.pages.WebMacroSitePage.doBuild(WebMacroSitePage.j
ava:134)
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.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:484)
If you can shed any light on this error or the above questions I would be
very grateful.
Regards
Shaun Campbell
-----Original Message-----
From: dave [mailto:[EMAIL PROTECTED]]
Sent: 18 August 2000 02:14
To: [EMAIL PROTECTED]
Subject: Sample application
Due to recent demands for an example application I decided to throw
together a simple phone listing that demonstrates how to use Turbine.
You can get it at - http://www.miceda-data.com - it's about 16k.
Quick Start -
1. Download
2. Extract
3. Read the README.txt
Hope this is helpful.
--
dave
[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]