If you install the Apache/PHP/Tomcat bundle and choose Java as the development environment, you must also perform the following steps:
- Install the Java JDK.
- Set up redirections for Apache.
- Set JAVA_HOME
- Start Tomcat.
- Download the JDK from java.sun.com.
- Install using the default installation instructions.
- Edit the Apache httpd.conf file. This is located in
C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\Apache2\conf\
Replace localhost with the name or IP address of your server plus the port number in the following lines:
Redirect /mapserver2014/mapviewerajax/ http://<machine name>:8008/mapserver2014/mapviewerjava/ajaxviewer.jsp
- Restart Apache.
- Set the environment variable JAVA_HOME to the root directory of your Java installation. For JDK 6.0, this is
C:\Program Files\Java\jdk1.6.0_10
Different versions of the JDK will be installed in different locations.
- To start Tomcat, go to the Tomcat bin directory and run startup.bat.
For the default installation, Tomcat is installed in the following location:
C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\Tomcat\