I am using IBMJava2-13. I have am now running Tomcat 3.3 Milestone 3 and
the latest snapshot from Velocity, May 24th. It still does not allow to
put my template files anywhere other than the bin directory in tomcat.
--
K E I T H V A N C E
Software Engineer
n-Link Corporation
On Wed, 23 May 2001, Geir Magnusson Jr. wrote:
> Keith Vance wrote:
> >
> > On Tue, 22 May 2001, Geir Magnusson Jr. wrote:
> >
> > > Keith Vance wrote:
> > > >
> > > > That's wierd. I am having the same problem with tomcat. I downloaded the
> > > > latest velocity snapshot from today, and it still doesn't work. I
> > > > basically have to put all of my template file in
> > > > /usr/local/jakarta-tomcat/bin of all places. I should try putting the
> > > > velocity.jar file in my classpath.
> > > >
> > >
> > > No. Read what he wrote. He *removed* from the classpath.
> > >
> > > > As far as I can tell, either tomcat or velocity is not reading the
> > > > <init-param> stuff in my web.xml file. I really am at a loss as far as
> > > > debugging goes. Hopefully it work on the live server ;)
> > >
> > > Is this your servlet that you are using, or an example servlet?
> >
> > It doesn't work on the sample servlets that come with Velocity or my own
> > code.
> >
> > >
> > > We'll get to the bottom of this - just need a few details :
> > >
> > > are you using the SampleServlet examples?
> >
> > I have tried the samples and they don't work.
> >
> > >
> > > are you using the forumdemo?
> >
> > no.
> >
> > >
> > > What version of vel did you upgrade from?
> > This is the first time I have used Vel. I started using velocity 1.0.1,
> > then downloaded the May 22 snapshot and tried those sample servlets with
> > the new jar file.
> >
> > The whole setup seems to be so straight forward, I don't see why it
> > doesn't work. One of the other developers I am working with had zero
> > trouble getting velocity to work with JServ. I am running Tomcat 3.2.1 on
> > Redhat 7.
> >
>
> This is remarkable :) I am glad that you mentioned your associate, as I
> was getting worried.
>
> What JDK?
>
> If you start with a new tomcat distro and 1.1-rc1 distro, drop the
> forumdemo.war into the webapps directory, clear out your classpath
>
> $export CLASSPATH=
>
> and from the tomcat dir
>
> $bin/startup.sh
>
> it doesn't work?
>
> geir
>
>
>