While this section assumes that you use the Tomcat server, you can use other application servers.
The JSP application depends on several paths related to the Tomcat Web server and Java SDK. This section assumes the following paths in your environment:
The location of the Tomcat installation |
|
The location of the Java SDK installation |
|
In the following procedures, adjust the paths as needed for your environment.
To set up the JSP application:
Copy the reference implementation user interface directory
%ENDECA_REFERENCE_DIR%\endeca_jspref
into theC:\jakarta-tomcat-
directory.version
\webappsThe
%ENDECA_REFERENCE_DIR%
variable is set as part of the Platform Services installation.(Optional.) Navigate to
C:\jakarta-tomcat-
and open theversion
\confserver.xml
file in a text editor. You can modify the file as follows:If your version of Java requires it, make sure that the
JAVA_HOME
environment variable is set to the location of the Java SDK directory. For example, the location might beC:\j2sdk-
.version
Note
See the Tomcat documentation for more information about your version of the Tomcat server to check if it requires a
JAVA_HOME
environment variable.To set the
JAVA_HOME
environment variable:Copy the following file from the
PresentationAPI\<version>\java\lib
directory toC:\jakarta-tomcat-
:version
\webapps\endeca_jspref\WEB-INF\libCopy the following file from the
$ENDECA_ROOT/lib/java/
directory toC:\jakarta-tomcat-version\webapps\endeca_jspref\WEB-INF\lib:
Copy the following Report Generator file from the
%ENDECA_ROOT%\lib\java
directory toC:\jakarta-tomcat-
:version
\webapps\endeca_jspref\WEB-INF\libStart the Tomcat server. See the Tomcat documentation for specific instructions.
The JSP application is set up and you can now use it for diagnostics and debugging.