Re: Error when running Jigsaw

On Tue, 21 Oct 2003, Steve Jenkins wrote:

>
> Hi,
> Wonder if anyone can help.
>
> I've tried installing Jigsaw 2.2.2 on RedHat 7.1. I've downloaded and
> installed:
> http://java.sun.com/j2se/1.4.2/download.html
>
> When I run the following command:
> java org.w3c.jigsaw.Main -host 192.168.0.3 -root /usr/local/Jigsaw/Jigsaw/

The servlet jar is not in your CLASSPATH, it should be in
/usr/local/Jigsaw/Jigsaw/classes
A (crude) startup script is in the "scripts" directory, install.sh and
jigsaw.sh (adjust it to the PATH of your current installation).
Thanks,

>
> I get the following output:
> *** Warning : JigAdmin[2.2.2]: no logger specified, not logging.
> JigAdmin[2.2.2]: serving at http://192.168.0.3:8009/
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/servlet/ServletContext
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java:141)
>  at
> org.w3c.tools.resources.serialization.xml.XMLReader.startElement(XMLReader.j
> ava:57)
>  at com.jclark.xml.sax.Driver.startElement(Driver.java)
>  at com.jclark.xml.parse.EntityParser.parseContent(EntityParser.java)
>  at com.jclark.xml.parse.EntityParser.parseDocumentEntity(EntityParser.java)
>  at com.jclark.xml.parse.DocumentParser.parse(DocumentParser.java)
>  at com.jclark.xml.parse.base.ParserImpl.parseDocument(ParserImpl.java)
>  at com.jclark.xml.sax.Driver.parse(Driver.java)
>  at
> org.w3c.tools.resources.serialization.xml.XMLReader.parse(XMLReader.java:200
> )
>  at
> org.w3c.tools.resources.serialization.xml.XMLReader.readResources(XMLReader.
> java:214)
>  at
> org.w3c.tools.resources.serialization.xml.XMLSerializer.readResources(XMLSer
> ializer.java:142)
>  at
> org.w3c.tools.resources.store.ResourceStoreImpl.loadResources(ResourceStoreI
> mpl.java:475)
>  at
> org.w3c.tools.resources.store.ResourceStoreImpl.lookupResource(ResourceStore
> Impl.java:212)
>  at org.w3c.tools.resources.store.NewReference.lock(NewStoreEntry.java:75)
>  at
> org.w3c.tools.resources.store.NewStoreEntry.loadResource(NewStoreEntry.java:
> 284)
>  at
> org.w3c.tools.resources.store.ResourceStoreManager.loadRootResource(Resource
> StoreManager.java:992)
>  at org.w3c.jigsaw.http.httpd.loadRoot(httpd.java:852)
>  at org.w3c.jigsaw.http.httpd.changeRoot(httpd.java:859)
>  at org.w3c.jigsaw.http.httpd.initializeRootResource(httpd.java:888)
>  at org.w3c.jigsaw.http.httpd.start(httpd.java:2032)
>  at
> org.w3c.jigsaw.daemon.ServerHandlerManager.<init>(ServerHandlerManager.java:
> 280)
>  at
> org.w3c.jigsaw.daemon.ServerHandlerManager.main(ServerHandlerManager.java:50
> 0)
>  at org.w3c.jigsaw.Main.main(Main.java:15)
>
> JigAdmin is running, I was able to login fine.
> Does _anyone_ have any ideas at all?
>
> Thanks, Steve.
>
>
>
>

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Tuesday, 21 October 2003 13:03:26 UTC