|
How to download, install and configure
|
@echo off set JAVA_HOME=C:\jdk\jre |
Important! If your Java installation is not in c:\jdk please adjust the value above so that it matches your own situation. The folder you specify for "JAVA_ HOME" should contain at least a folder named bin (abbreviation for binaries) containing the java executables.
6. Do the same with C:\tomcat\bin\shutdown.bat.
7. Open a DOS Command Prompt window and type the following commands so that you can test it:
c:
cd \
cd tomcat
cd bin
startup |
8. If you get a screen like the one below, then OK you did it right.
2001-10-25 15:30:01 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml 2001-10-25 15:30:01 - PathSetter: home=C:\tomcat 2001-10-25 15:30:01 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-12 7.0.0.1.xml 2001-10-25 15:30:01 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-ad min.xml 2001-10-25 15:30:01 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-ex amples.xml 2001-10-25 15:30:01 - AutoWebApp: Loaded from config: DEFAULT:/admin 2001-10-25 15:30:01 - AutoWebApp: Loaded from config: DEFAULT:/examples 2001-10-25 15:30:01 - AutoWebApp: Auto-Adding DEFAULT:/ 2001-10-25 15:30:01 - ContextManager: Tomcat configured and in stable state 2001-10-25 15:30:01 - ContextManager: Adding DEFAULT:/admin 2001-10-25 15:30:01 - ContextManager: Adding DEFAULT:/examples 2001-10-25 15:30:01 - ContextManager: Adding DEFAULT:/ROOT EmbededTomcat: Init time 1361 2001-10-25 15:30:02 - Http10Interceptor: Starting on 8080 2001-10-25 15:30:02 - Ajp12Interceptor: Starting on 8007 2001-10-25 15:30:02 - Ajp13Interceptor: Starting on 8009 EmbededTomcat: Startup time 211 |
If you are running Windows98 or WindowsME , it is quite likely that Tomcat won't start up. You will probably see a few error messages such as:
"No more environment space"
"Invalid command"
possibly trnslated in your own language. This is becuase the tomcat startup script was probably perpared and tested for Windows NT/2000/XP.
Luckily, starting from version 5.5.0, DimensioneX includes a batch file, tomstart.bat, which is actually capable of starting up Tomcat. Just read the following section.
Before proceeding, stop the web server. Usually you would use the specific bat file, which you call via the command:
shutdown |
9. Done !!
Now you have the web server working, but still you have to add the necessary files to run DimensioneX. According to the instructions in the README.pdf file, you now have to download the DimensioneX kit, and unpack the content into c:\tomcat\webapps.
This is not sufficient, though, because a file named WEB.XML is designed for use with another version of Tomcat. So:
Now your DimensioneX system based on Tomcat 3.3 should be ready to run. Stop and restart Tomcat 3.3 in order to make changes to take effect.
The README.pdf file, will explain you how to test your installation and how to get the best out of your DimensioneX environment. In case of problems, just post on our forum.