Verify 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.

 

Open Internet Explorer and type the following:

For Sun Java System (formerly Sun ONE) 6.0 :

  1. Copy SimpleServlet.class from <drive>:\iPlanet\Servers\plugins\samples\servlets\servlets\Simple1 to <drive>:\iPlanet\Servers\docs\servlet

Note: You may need to create the \servlet directory.

  1. Open your web browser and type http://<localhost>/servlet/SimpleServlet (case sensitive). If you can’t ping Sun Java System (formerly Sun ONE) 6.0 , on Windows NT, choose Start > Settings > Control Panel > Services; on Windows 2000, 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 (formerly Sun ONE) 6.0 Web server.

  2. Turn off the Sun Java System (formerly Sun ONE) 6.0 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. Select your Server from the dropdown 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. Now on Windows NT, choose Start > Settings > Control Panel > Services; on Windows 2000, 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) 6.0 Web server. Then try the queries again.

g. If successful, then repeat Steps a–e to reactivate the Java interpreter.

 

For JRun: http://<localhost>/demo/servlets (case sensitive)

 

For Oracle Application Server: http://<localhost>/servlets/IsItWorking

 

For ServletExec: http://<localhost>/servlet/TestServlet (case sensitive)

 

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.