W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: Abt Setting classpath for servlets

From: Hari Prasada Rao <rphari@crtc.corp.mot.com>
Date: Wed, 29 Mar 2000 05:44:50 -0500 (EST)
Message-ID: <38E1E1F0.C60787B4@crtc.corp.mot.com>
To: www-jigsaw@w3.org
I have faced the same problem. Found a workaround - include the *.jar files used by your
servlet as part of the -classpath value that you specify while bringing up the Jigsaw server.

-Hari


> Abt Setting classpath for servlets
>
> From: Rajesh Rajamani (Trainee -VCS-India) (rrajesh@synopsys.COM)
> Date: Fri, Feb 18 2000
>
> *Next message: Gorukanti , Venkat: "Jsp plugin installation error"
>
>    * Previous message: j Brax: "Re: Handling multiple requests (Request Queueing/Pooling?)"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
>
>   ------------------------------------------------------------------------
>
> Message-ID: <38AD016B.53BF2050@india.synopsys.com>
> Date: Fri, 18 Feb 2000 13:53:08 +0530
> From: "Rajesh Rajamani (Trainee -VCS-India)" <rrajesh@synopsys.COM>
> To: jigsaw@w3.org, Jigsaw <www-jigsaw@w3.org>, arnob@synopsys.COM
> Subject: Abt Setting classpath for servlets
>
> Hi folks,
> I am trying to write a servlet which calls certain Jini API functions.
> The classpath in my workstation is set such that the JINI API functions
> can be used.  But whenever, I try running a servlet, my Jigsaw server
> crashes - giving error mesg -
>
> java.lang.NoClassDefFoundError: net/jini/discovery/DiscoveryListener
>
> The above class file is part of the Jini class library and other
> programs which use these files have to be invoked like this -
>
> java -cp $CLASSPATH My_jini_program
>
> Is there some way in which I can get the servlets to be loaded with a
> "-cp $CLASSPATH" parameter to the JVM?
>
> Thanx.
>
> --
> Please reply ONLY to rrajesh@india.synopsys.com
>
>   ------------------------------------------------------------------------
>
>    * Next message: Gorukanti , Venkat: "Jsp plugin installation error"
>    * Previous message: j Brax: "Re: Handling multiple requests (Request Queueing/Pooling?)"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
Received on Wednesday, 29 March 2000 06:46:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC