Verify that your servlet engine is working
After you have installed your Web server and servlet engine, you must verify that they are communicating with each other. To accomplish this, follow the steps for the Web server you are using:
For Sun Java System (Sun ONE)
- Copy SimpleServlet.class from <drive>:\iPlanet\Servers\plugins\samples\servlets\servlets\Simple1 to <drive>:\iPlanet\Servers\docs\servlet.
- Open your Web browser and type http://<localhost>/servlet/SimpleServlet (case sensitive). If you can't ping Sun Java System (Sun ONE), choose Start > Settings > Control Panel > Administrative Tools > Component Services and click Services on the Tree tab; on Windows XP, choose Start > Control Panel > Performance and Maintenance > Administrative Tools > Component Services and click Services on the Tree tab. Stop your Sun Java System (Sun ONE) Web server.
- Turn off the Sun Java System (Sun ONE) Java interpreter:
a. In your Web browser, type http://<localhost>:<serveradminport> (for example, http://esri:10000).
b. Type your user name and password and click OK at the bottom of the screen.
c. Choose your server from the drop-down list and click Manage.
d. Click the Java tab in the navigation bar along the top.
e. At the Enable/Disable Java screen, uncheck Enable Java Globally and Enable Java for class defaultclass to deactivate the Java interpreter. Click OK.
f. Choose Start > Settings > Control Panel > Administrative Tools > Component Services and click Services on the Tree tab; on Windows XP, choose Start > Control Panel > Performance and Maintenance > Administrative Tools > Component Services and click Services on the Tree tab. Start your Sun Java System (formerly Sun ONE) Web server. Then try the queries again.
g. If successful, repeat steps a–e to reactivate the Java interpreter.
For Tomcat: http://<localhost>/examples/servlet/HelloWorldExample (case sensitive)
For WebSphere: http://<localhost>/servlet/HelloWorldServlet
If your Web server and servlet engine do not appear to be successfully communicating with each other, see your servlet engine's Web site for further information.