W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2007

RE: Local Install Problem

From: Shem Page <Shem.Page@redvespa.com>
Date: Thu, 18 Jan 2007 15:59:04 +1300
Message-ID: <4939C09F30588E458C1886C11A78FD3107C844@redsbs.RedVespa.local>
To: <www-validator-css@w3.org>

Thanks Olivier, I appreciate your help (and apologies to all for the
double post, it was my first post and after I gave permission for it to
be published I thought I had to send it again)



> -----Original Message-----
> From: olivier Thereaux [mailto:ot@w3.org] 
> Sent: Thursday, 18 January 2007 3:00 p.m.
> To: Shem Page
> Cc: www-validator-css@w3.org
> Subject: Re: Local Install Problem
> 
> Hi Shem,
> 
> 
> On Jan 17, 2007, at 10:11 , Shem Page wrote:
> 
> > I'm having troubles with the css-validator install.
> > I've installed tomcat 5.5 and their servlet examples work fine.
> > If I simply use the supplied css-validator.jar package from the 
> > download page can copy things to the webapps dir of tomcat, 
> executing 
> > a check from css-validator/validator.html simply spits back 
> > #!/usr/local/bin/zsh -f umask 002 PACKAGE=org.w3c.css.css
> >
> > # CLASSPATH=/u/crash/0/w3c/plehegar/www430/validator.zip
> [snip]
> 
> I think you forgot to copy the web.xml file to WEB-INF. This 
> is the configuration file that tells tomcat to execute the 
> servlet code.

I had copied that file to WEB-INF but I am quite unfamilar with tomcat
so I'm not convinced I have things right.
Here is a ls of files

Ls -l /var/lib/tomcat5.5/webapps/css-validator/WEB-INF/*
-rw-r--r-- 1 spage spage 2285 2007-01-18 15:38
/var/lib/tomcat5.5/webapps/css validator/WEB-INF/web.xml

/var/lib/tomcat5.5/webapps/css-validator/WEB-INF/lib:
total 5036
-rw-r--r-- 1 spage spage 2094309 2007-01-10 05:56 css-validator.jar
-rw-r--r-- 1 spage spage 1488549 2006-03-30 19:06 jigsaw.jar
-rw-r--r-- 1 spage spage   59859 2007-01-16 17:17 jnlp-servlet.jar
-rw-r--r-- 1 spage spage   59859 2007-01-16 17:31 servlet.jar
-rw-r--r-- 1 spage spage 1223708 2007-01-16 17:19 xercesImpl.jar
-rw-r--r-- 1 spage spage  194354 2007-01-16 17:19 xml-apis.jar 

I think I have that right, can you spot anything wrong?

> Compilation errors when building the validator are not a good sign.

I agree, I think it screams "WRONG CONFIG" to me, but I thought I might
be able to get away with the prebuilt css-validator.jar file.

Any other ideas?
Thanks
Shem

--snip--
Received on Thursday, 18 January 2007 02:55:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:18 GMT