hi kiran -
if your running jdk1.1.5 on win then this is a known bug in
jsdk2.1 which has since been resolved in the jswdk 1.0
distribution. you can find this download at:
http://java.sun.com/products/servlet/
look near the "download jswdk software" section
alternatively, you can stick with jsdk2.1 and consider
running on jdk 1.2.x which should resolve the problem.
my recommendation is to try out the new jswdk and run
on jdk 1.2.x if that is an option for you. this way you
can more readily track the greatest/latest on both the
servlet/jsp front as well as try out new jdk features.
this is the configuration with which i do development on.
hope this helps,
- james
KIRAN wrote:
>
> Hi everybody,
>
> Problem launching the servlet on the java web server.
> I'am sorry if this has been discussed but I could not find
> the answer in the previous mails.
> I installed the javs servlet development kit. (jsdk2.1) at the path
> c:\jsdk2.1\
> If I have read the README file correctly then I need to include the
> java.exe in the path variable, which I have done.(D:\jdk1.1.5\bin).
> According to the README file if I start the server and connect from
> the browser using the URL "http://localhost:8080",
> I should be able to see the JavaDoc documentation for the
> javax.servlet packages as well as see some examples.
>
> My default config file "default.cfg" reasd like this-
>
> # $Id: default.cfg,v 1.8 1999/04/05 21:18:16 duncan Exp $
>
> # Default configuration file for Project Tomcat
>
> server.port=8080
> server.hostname=localhost
> server.inet=
> server.docbase=webpages
> server.tempdir=tmp
>
> This is the message at the command promp when I start the server.
> JSDK WebServer Version 2.1
> Unknown object of type:java.net.URL
> startup.loadprops.msg arg[0]=file:C:\jsdk2.1/default.cfg
> endpoint created: :8080
> com.sun.web.core.DefaultServlet: init
>
> But when I connect from the browser I'am getting the following error-
> IE 5.0 - SocketError - connection refused by remote host.
> NS 4.5 - ERROR:404 - no detailed message.
>
> please help.
> Thank You.
> Bye.
> -Kiran.
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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