jpeters wrote:
QUOTE:
Hi Tim,
Below are a couple of noted issues with TOMCAT.
1. Executing start-tomcat.cmd does not start the server. I used startup.bat.
2. I believe $XAWARE_HOME$ should be %XAWARE_HOME% in catalina.bat
3. When selecting the TOMCAT all-in-one, the JDK is not installed
4. Executing HotDeploy.bat returns the following error:
The system cannot find the path specified.
Exception in thread "main" java.lang.NoClassDefFoundError: org/xaware/ide/xadev/tools/gui/packagetool/DeployXar
Jeff
Regarding #1 - To manually start Tomcat one should use the bin/startup.bat and I believe that Tim is modifying that in the installer.
Regarding #2 - It is not an environment variable but a JAVA_OPT. In either startup.bat or catalina.bat just after the comments at the top of the file one should use:
set JAVA_OPTS=%JAVA_OPTS% -Dxaware.home=c:\xaware
for example on a Windows box or
JAVA_OPTS=$JAVA_OPTS -Dxaware.home=/opt/xaware
for example on a Linux box.
This appears to have been corrected as Tim and I looked at the latest catalina.bat and can see where it will substitute %XAWARE_HOME%.
Regarding #3 - Tomcat, I believe, only requires a JRE which may explain the JDK is not being installed.
Regarding #4 - I had to set XAWARE_HOME in my console window to get it to run and then got "Deploy Failed, Caught Exception:null Documents failed to deploy." when trying to deploy. Not sure what would be causing that.