Installation guide

Chapter 7: Understanding FlashCONNECT Java Components
74 FlashCONNECT Administrators Guide
Testing FCServlet
After installing the FlashCONNECT software, but before using FCServlet, perform
tests to confirm that the Java Servlet Engine runs properly and is properly
configured to run FCServlet.
There are two tests to perform:
Test 1: Use FCHelloWorld to test the communication between the Web server and
the Java Servlet Engine.
Test 2: Use FCJNIHelloWorld to test if the Java Servlet Engine works properly with
the Java Native Interface codes.
Test 1
Use test 1 to confirm the Web browser can run a simple Java servlet.
To run this test successfully, the Web server must be running and a Java Servlet
Engine must be started.
To test the communications between the Web browser and the
Servlet engine:
From the Web browser (Netscape or IE) invoke the following URL:
http://webservername/servlet/com.rdta.examples.FCHelloWorld
where servlet is a virtual directory that contains available active servlets.
Test Results
The test is successful if:
A Web page displays with the title "FCHelloWorld."
The Web page contents, "Hello World!" display.
NOTE—D3 need not be installed and FCService need not be running.
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.