Use test 2 to confirm that the Web server can run a simple JNI servlet.
To run this test successfully, the Web server must be running and the Java Servlet Engine must be ready.
NOTE |
D3 need not be installed and FCService need not be running. |
To test if the Java Servlet Engine works properly with the JNI interface:
From the Web browser, invoke the following URL:
http://webservername/servlet/com.rdta.fc.examples.FCJNIHelloWorld
where servlet is a virtual directory that contains active servlets.
NOTE |
It is not necessary that an active servlet be in this virtual directory. Servlets within an archived file (.jar) are acceptable as long as the servlet path is indicated in its property file. |
Test Results
The test was successful if:
A Web page displays with the title ""FCJNIHelloWorld."
The Web page contents, "Hello World From JNI!" display.
The test failed if:
An error message or no message displays.
If the test failed, do the following:
Confirm that the Web server supports JNI servlets.
Using other steps in the FCServlet Diagnostic application, confirm that the Web server is running. For more information, see FCServlet Diagnostic.
See Also