9.1: ==================================================== useradd -G tomcat,apache <RHQ_AGENT_USER> this adds a user, but fails if you just want to add groups to an existing user, it should better be usermod -aG tomcat,apache <RHQ_AGENT_USER> 9.2: ==================================================== solaris - wrong path prefix: /opt/redhat/ews -> /opt/jboss-ews-2.0 For further information about JBoss Operating Network refer to the Discovery chapter of the Basic Administration Guide. -----> this links to JON 2.4 documentation, JON 2.4 does not support EWS. I tried searching for a suitable alternative in JON 3.1 docs, but didn't find any..
updated with changes. Removed link to JON 2.4 documentation.
I completely missed the most visible mistake :D JON is JBoss Operations Network, not JBoss Operating Network, please change the chapter's title.
another thing - the note in the bottom (Path to the HTTP Server).. I am not aware of anything like this, where did you get this information from? I think it is not true (but I might be mistaken, I don't know that much about this matter)
Sorry for splitting my comments into so many, but I find the issues over time during other tasks :) .. JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.port=PORT_NUMBER" this should also include another property: "-Djava.rmi.server.hostname=IP_ADDRESS" (substituting IP_ADDRESS with the address where tomcat is running) - this is probably needed in most cases in order to rhq agent to be able to connect. also the same change goes for the windows version.
A paragraph like this should be added after the part where remote-jmx port is defined for tomcat side: After setting the remote-jmx port on tomcat side, the JBoss Operations Network agent needs information on how to connect there. After you add tomcat to the inventory, open its "Connection settings" tab in JON web interface and set the value of "Manager URL" property to the RMI URL where tomcat is available, for example service:jmx:rmi:///jndi/rmi://$IP_ADDRESS:$PORT/jmxrmi. Only after that the Tomcat resource will appear as fully 'available' in JON.
Not a problem, Jan. Thank you for your comments. I've sorted them into a list below so we can ensure we don't miss any: 1. JBoss Operating Network typos (c#3). This is fixed in two locations. A link to verify this will be added. 2. Note: Path to the HTTP Server (c#4) This is a legacy from 1.x docs, I'm not sure who the source for this is. As a stopgap, I am removing this from the docs. We can bring this up post 2.0 once we have the time to test this and confirm how correct the information is. This should no longer be in the docs. 3. Add "-Djava.rmi.server.hostname=IP_ADDRESS" to the command (c#5) JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.port=PORT_NUMBER" for: a. RHEL/Solaris (in JON chapter) b. Windows (in JON Chapter) This is fixed, commands for both a and b should be OK now. 4. Add note specifief in c#6. Added a new step for this (new step 3)
Okay it looks fine now, thanks.
One more thing, please! :D on Windows open C:\Program Files\jboss-ews-2.0\sbin\tomcat<VERSION>.sh ----> something like on Windows open %TOMCAT_HOME%\bin\catalina.bat (depending on the version of Tomcat you want to set up)
Change made, this bug will be set to ON_QA when the results appear.
I see it corrected in your local documentation, but http://documentation-devel.engineering.redhat.com/docs/en-US/index.html is already for some time up and running and there it is still not corrected => changing back to assigned
Setting back to QA. I will send an email to inform you when the recovered stage is updated, after which you can verify.
okay fixed!
This bug is set to CLOSED CURRENT RELEASE to indicate that this fix is now released and available at access.redhat.com.