When I install I do something like: ++++ C:\cygwin\home\Administrator\jboss-ews-application-servers-2.0.1-ER1-win6.i686\jboss-ews-2.0\share\apache-tomcat-6.0.35\bin>service.bat install service.bat install Neither the JAVA_HOME nor the JRE_HOME environment variable is defined Service will try to guess them from the registry. Installing the service 'Tomcat6' ... Using CATALINA_HOME: "C:\cygwin\home\Administrator\jboss-ews-application-servers-2.0.1-ER1-win6.i686\jboss-ews-2.0\share\tomcat6" Using CATALINA_BASE: "C:\cygwin\home\Administrator\jboss-ews-application-servers-2.0.1-ER1-win6.i686\jboss-ews-2.0\share\tomcat6" Using JAVA_HOME: "" Using JRE_HOME: "" Using JVM: "auto" The service 'Tomcat6' has been installed. C:\cygwin\home\Administrator\jboss-ews-application-servers-2.0.1-ER1-win6.i686\jboss-ews-2.0\share\apache-tomcat-6.0.35\bin C:\cygwin\home\Administrator\jboss-ews-application-servers-2.0.1-ER1-win6.i686\jboss-ews-2.0\share\apache-tomcat-6.0.35\bin>net start tomcat6 net start tomcat6 The Apache Tomcat 6 service is starting. The Apache Tomcat 6 service was started successfully. ++++
The doc says: +++ Change to the sbin folder in the JBoss Enterprise Web Server installation folder: C:\> cd /D "C:\Program Files\Red Hat\Enterprise Web Server\sbin" In the Command Prompt, run the following command with the required Tomcat version (5 or 6) to install Tomcat: call service<VERSION>.bat install +++ In fact there isn't a sbin but 2 service.bat each in the corresponding tomcat subdirectory.
Jean-Frederic, can you confirm that the following instructions are correct (based on your sample in comment #0): +++++ In the command prompt: 1. Change to the tomcat subdirectory as follows: cd $JBEWS_HOME\share\apache-tomcat-6.0.35\bin 2. Run the service<version>.bat file as follows: service.bat install A series of messages display to confirm that the service "Tomcat6" is now installed. 3. Cange to the apache subdirectory as follows: cd $JBOSS_EWS\share\apache-tomcat-6.0.35\bin 4. Run tomcat 6 as follows: net start tomcat6 5. If successful, the following message appears: "The Apache Tomcat 6 service is starting. The Apache Tomcat 6 service was started successfully." +++++ Can you correct the above if I have misunderstood, Jean-Frederic?
Yes the instructions are correct (apache-tomcat-6.0.35 will apache-tomcat-6.0.37).
Great, fixed the version and updated docs. This bug will be set to ON_QA when the changes appear on the stage.
Its wrong. Jean-Frederic read no production documentation. Its seems like Jean-Frederic read documentation for EWS 1 not for EWS 2 Here is production EWS 2 doc: https://access.redhat.com/site/documentation/JBoss_Enterprise_Web_Server/
Lfuka, do you mean to say that the below is the correct procedure for 2.0.1 and that J-F saw the wrong version and so thought it was incorrect? [1] - Procedure 3.6: https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Web_Server/2/html/Installation_Guide/sec-Configuring_the_Environment-Win.html
Yes [1] - Procedure 3.6: is OK. I don't remember where I read the wrong stuff... Probably in EWS1 docs.
Yes Misha, This is correct in production doc. [1] - Procedure 3.6: https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Web_Server/2/html/Installation_Guide/sec-Configuring_the_Environment-Win.html set to verify this bug
Setting this back to modified. Libor, please check the provided location on the docs stage to confirm the changes are reverted to the old version (before this bug was logged). Once this is correct, we will set this bug to VERIFIED.
I am assuming EWS 1.x doc was looked at by mistake. As long as things look OK in the corrected link I will post shortly (when this bug is set to ON_QA), we should be good. Thank you both for the instructions to fix this bug. :) Note: setting some comments which contain internal URLs to private.
Change to the sbin folder NO: Change to the bin folder
Changed the folder name from sbin to bin. This bug will be set to ON_QA when it is available on the docs stage for verification.
Its not the same doc on devel like on production. There are many places which are different - completly rewritten and no EWS 2 bugs and also places which refer for EWS 1 doc. Lots of mistakes. We can not do line by line checking.
Changed in Procedure 3.6. Installing Tomcat (step 4)
Fair point. Removing point two, which appears to be stating the obvious. This bug will be set to ON_QA when this last change is available to verify.