This is what i get when i run httpd.exe. What could be the problem? Help... C:\JavaWebServer1.1\bin\httpd Java Web Server Trial ERROR: Cannot start service adminservice java.net.SocketException: Option unsupported by protocol at java.net.PlainSocketImpl.create(PlainSocketImpl.java:77) at java.net.ServerSocket.<init>(ServerSocket.java:142) at java.net.ServerSocket.<init>(ServerSocket.java:110) at com.sun.server.TcpServiceEndpoint.bind(TcpServiceEndpoint.java:131) at com.sun.server.Service.bindEndpoints(Service.java:582) at com.sun.server.ServiceManager.bindServiceEndpoints(ServiceManager.jav a:589) at com.sun.server.ServiceManager.startServices(ServiceManager.java:386) at com.sun.server.ServiceManager.startServices(ServiceManager.java:343) at com.sun.server.ServerProcess.main(ServerProcess.java:218) Java Web Server Trial UNRECOVERABLE ERROR: Cannot start services java.net.BindException at com.sun.server.ServiceManager.startServices(ServiceManager.java:444) at com.sun.server.ServiceManager.startServices(ServiceManager.java:343) at com.sun.server.ServerProcess.main(ServerProcess.java:218) Program C:\JAVAWE~1.1\JRE\BIN\JRE.EXE exited with code 1 jserv: Shutting down the server jsadmin: Cannot send to http://localhost:9090/servlet/admin: Cannot communicate with the server: localhost Program C:\JAVAWE~1.1\JRE\BIN\JRE.EXE exited with code 1
This is what i get when i run servletrunner.exe. Can any one find out why? C:\JSDK2.0\bin>servletrunner servletrunner starting with settings: port = 8080 backlog = 50 max handlers = 100 timeout = 5000 servlet dir = .\examples document dir = .\examples servlet propfile = .\examples\servlet.properties java.net.SocketException: Option unsupported by protocol at java.net.PlainSocketImpl.create(PlainSocketImpl.java:77) at java.net.ServerSocket.<init>(ServerSocket.java:142) at java.net.ServerSocket.<init>(ServerSocket.java:110) at sun.servlet.http.HttpServer.run(HttpServer.java:222) at sun.servlet.http.HttpServer.main(HttpServer.java:432)
Check your host file. On Win95/98 it's usually in the windows directory on Winnt it's in the winnt\system32\drivers\etc directory. It needs to contain an entry 127.0.0.1 localhost Hopefully this should correct your problem.
i think yr problem is due to non existant protocol.to run jws you require TCP/IP.assuming you are using windows 95, it may be loaded from the system.here are the steps. here are the steps go to control panel - network- add- services the dialog boxes will guide you. first you install the Dialup Adapter then TCP/IP. select the TCP/IP and view the properties there you have to configure it. after that in C:\windows- check hosts.sam file.for localhost there will be an entry.if not follow the example given in that file and enter the info.(127.0.0.1). that's all.you have to reboot the system. now run JWS. ths is problem of dialup adapter and tcp/ip as far as i know. it requires windows95 CD.
Joined: Jan 07, 1999
The Java Ranch has a naming policy, described here and "NAMASIVAYAM G" is not a valid name. Please choose one which meets the requirements. Thanks.