Hello,
This is my first using this list. Forgive me if this question has
been addressed before.
Can someone point out what was wrong in the following process to
configure JSDK2.0 and NES3.5.1. I just can not get servlets running.
The steps I have used to set up and configure the NES3.5.1 and
JSDK2.0 are as follows:
1. download JSDK2.0 and install in the server under c:\jsdk2.0
2. install the NES3.5.1 in d:\Netscape\SuitSpot
3. create a server call xyz
4. unjar the jsdk.jar to
D:\Netscape\SuiteSpot\plugins\Java\local-classes
(this step is suggested by Rich Kadel at
http://developer.netscape.com/viewsource/kadel_servlet.html ) this will
create sun\, javax\ subdirectories
5. copy the examples servlets (such as SimpleServlet.class etc)
under c:\jsdk2.0\examples\ to servlets subdirectory under NES server
D:\Netscape\SuiteSpot\plugins\Java\servlets\
6. use the NES admin server to enable the \programs\java\ and the
servlet directory showed is as D:\Netscape\SuiteSpot\plugins\Java\servlets\
7. I can run http://hostname:portNo/server-java/BrowserDataApplet
(this is used to test the java set up in step 5 as Rich Kadel suggested)
8. However, if I run http://hostname:portNo/servlet/SimpleServlet
the message is as follows
Not Found
The requested object does not exist on this server. The link
you followed is either outdated, inaccurate, or the server has been
instructed not to let you have it.
BTW:
I do find that in the obj.conf file under my web server
https-xyz\config\, the servlets related entries as
servletdir="d:/Netscape/SuiteSpot/plugins/java/servlets"
fn="java-init"
NameTrans fn="pfx2dir" from="/servlet"
dir="d:/Netscape/SuiteSpot/plugins/java/servlets" name="servlets"
<Object name="servlets">
Service fn="java-run" class="sun/servlet/netscape/NSRunner"
vpath="/servlet"
</Object>
However, there is no /netscape/NSRunner under
D:\Netscape\SuiteSpot\plugins\Java\local-classes\sun.
The subdirectory is /servlet/ instead of /netscape/
Can this is the problem because of jsdk1.0.1 and jsdk2.0 ?
Thank you very much for your help.
Weigen
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html