Bug 960185 - windows service install wrong
Summary: windows service install wrong
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: doc-Installation-Guide
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.0.1
Assignee: Misha H. Ali
QA Contact: Libor Fuka
URL:
Whiteboard:
Depends On:
Blocks: 974890
TreeView+ depends on / blocked
 
Reported: 2013-05-06 16:08 UTC by Jean-frederic Clere
Modified: 2014-01-03 12:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 974890 (view as bug list)
Environment:
Last Closed: 2014-01-03 12:59:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jean-frederic Clere 2013-05-06 16:08:01 UTC
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.


++++

Comment 1 Jean-frederic Clere 2013-05-06 16:17:22 UTC
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.

Comment 2 Misha H. Ali 2013-06-03 06:04:28 UTC
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?

Comment 3 Jean-frederic Clere 2013-06-03 06:36:29 UTC
Yes the instructions are correct (apache-tomcat-6.0.35 will apache-tomcat-6.0.37).

Comment 4 Misha H. Ali 2013-06-03 07:14:34 UTC
Great, fixed the version and updated docs. This bug will be set to ON_QA when the changes appear on the stage.

Comment 8 Libor Fuka 2013-06-04 06:31:31 UTC
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/

Comment 9 Misha H. Ali 2013-06-04 09:26:06 UTC
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

Comment 10 Jean-frederic Clere 2013-06-04 09:33:40 UTC
Yes [1] - Procedure 3.6: is OK.
I don't remember where I read the wrong stuff... Probably in EWS1 docs.

Comment 11 Libor Fuka 2013-06-04 09:36:57 UTC
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

Comment 12 Misha H. Ali 2013-06-04 10:46:55 UTC
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.

Comment 14 Misha H. Ali 2013-06-04 11:25:28 UTC
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.

Comment 16 Jean-frederic Clere 2013-06-05 07:15:51 UTC
Change to the sbin folder NO:
Change to the bin folder

Comment 17 Misha H. Ali 2013-06-05 07:17:44 UTC
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.

Comment 18 Libor Fuka 2013-06-05 07:21:54 UTC
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.

Comment 19 Misha H. Ali 2013-06-05 10:09:19 UTC
Changed in Procedure 3.6. Installing Tomcat (step 4)

Comment 21 Misha H. Ali 2013-06-06 01:59:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.