W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2003

RE: Error when running Jigsaw

From: Laird, Brian <BLaird@perseco.com>
Date: Tue, 21 Oct 2003 15:36:00 -0500
Message-ID: <45A6279F82E4CA4BBDC0F4EFC7B6A2FE6FED17@atlas.perseco.com>
To: "Yves Lafon" <ylafon@w3.org>, "Steve Jenkins" <stevejenkins444@hotmail.com>
Cc: <www-jigsaw@w3.org>

Here is how we fixed the classpath stuff.  

CLASSPATH=${CLASSPATH}`/bin/ls ${JIGSAW_HOME}classes/*.jar | awk '{printf(":%s", $1)}'`

This gets every .jar file in the classes directory and adds it to the classpath. (if the formatting is too messed up let me know and I can send it a different way)

Hope this helps.
-----Original Message-----
From: Yves Lafon [mailto:ylafon@w3.org] 
Sent: Tuesday, October 21, 2003 12:03 PM
To: Steve Jenkins
Cc: www-jigsaw@w3.org
Subject: 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 -root /usr/local/Jigsaw/Jigsaw/

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

> I get the following output:
> *** Warning : JigAdmin[2.2.2]: no logger specified, not logging.
> JigAdmin[2.2.2]: serving at
> 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."

This e-mail and any accompanying documents or files contain information that is the 
property of Perseco, that is intended solely for those to whom this e-mail is addressed 
(i.e., those identified in the "To" and "Cc" boxes), and that is confidential, proprietary, 
and/or privileged.  If you are not an intended recipient of this e-mail, you are hereby 
notified that any viewing, use, disclosure, forwarding, copying, or distribution of any of 
this information is strictly prohibited and may be subject to legal sanctions.  If you have 
received this e-mail in error, please notify the sender immediately of any unintended 
recipients, and delete the e-mail, all attachments, and all copies of both from your system.

While we have taken reasonable precautions to ensure that any attachments to this e-mail 
have been swept for viruses, we cannot accept liability for any damage sustained as a 
result of software viruses.
Received on Tuesday, 21 October 2003 16:36:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:38 UTC