[jopr-issues] [JBoss JIRA] Commented: (JOPR-89) Manager URL not pre-populated for TC5

Heiko W. Rupp (JIRA) jira-events at lists.jboss.org
Wed Mar 11 07:49:41 EDT 2009


    [ https://jira.jboss.org/jira/browse/JOPR-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12456633#action_12456633 ] 

Heiko W. Rupp commented on JOPR-89:
-----------------------------------

About the password file:


Have us delver a default one in tc5/conf  and set 

-Dcom.sun.management.jmxremote.password.file=/home/hrupp/jboss-ews-1.0/tomcat5/conf/passwordfile

Same for the access file:

-Dcom.sun.management.jmxremote.access.file=home/hrupp/jboss-ews-1.0/tomcat5/conf/accessfile

And we need to document either how to correctly set up SSL or   -Dcom.sun.management.jmxremote.ssl=false

---------

So this is the final entry for startup.sh to get a connection to TC5:

export JAVA_OPTS="$JAVA_OPTS  -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.password.file=/home/hrupp/jboss-ews-1.0/tomcat5/conf/passwdfile -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.access.file=/home/hrupp/jboss-ews-1.0/tomcat5/conf/accessfile"

with conf/accessfile :

[hrupp at fedora9 bin]$ cat ../conf/accessfile 
heiko readwrite

and conf/passwdfile :

[hrupp at fedora9 bin]$ cat ../conf/passwdfile 
heiko   secret

> Manager URL not pre-populated for TC5
> -------------------------------------
>
>                 Key: JOPR-89
>                 URL: https://jira.jboss.org/jira/browse/JOPR-89
>             Project: Jopr
>          Issue Type: Bug
>          Components: Plugin - Tomcat
>    Affects Versions: 2.2
>            Reporter: Heiko W. Rupp
>
> The TC5 plugin is relying on the manager url to determine how to connect to the TC instance
> The plugin is looking for -Dcom.sun.management.jmxremote.port on the command line which is by default not set in EWS-TC5
> So the connection fails and the server stays marked as down.
> I think we need to either talk to the ews guys to populate this property by default or have an operation to set it - or at least mention this on description of the manager url

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jopr-issues mailing list