I have built 7.2.0-Final, and it supports this attribute. Try to convince the developers, but it isn't going to be an easy mission.

Although... they need the stats anyway!

A


2014/1/17 Attila Heidrich <attila.heidrich@gmail.com>
Ok, I have just asked our developers, so jbossAS7 is not JbossEAP6... I know stg of the diff now.

Building the AS7 is still an option.

Attila


2014/1/17 Attila Heidrich <attila.heidrich@gmail.com>
Just to clarify..

Do you mean...
it was created for earlier versions of JBoss, and
if we cannot downgrade?

Or EAP6 is newer that JBoss7?

Building the server is possible solution anyway, can you please link me some howto for building JBoss 7.1 with the above attributes?

Attila



2014/1/17 Thomas Segismont <tsegismo@redhat.com>
Ha, I see... Now I remember these attributes were added to the management model in later version of the server (EAP6).

If you don't be build the server on your own or upgrade to EAP6 you'll be stuck.


Le 17/01/2014 11:39, Attila Heidrich a écrit :
hmmm...

There's still one question:

There're no measurements at all, agent logs this line:

2014-01-17 11:29:27,121 WARN  [ResourceContainer.invoker.daemon-751]
(rhq.modules.plugins.jbossas7.WebRuntimeComponent)- Getting metric
[active-sessions] at [ Address{path:
deployment=something-ear.ear,subdeployment=hms-war.war,subsystem=web}]
failed: JBAS014792: Unknown attribute active-sessions, rolled-back
=true



2014/1/17 Thomas Segismont <tsegismo@redhat.com
<mailto:tsegismo@redhat.com>>


    Ok, then I assume you have looked at the wrong resource (/AS7
    Server/subsystem=web).

    Find your web application deployment resource (for example /AS7
    Server/Deployments/myapp.war). Under this resource there is a "web"
    resource which defines the kind of metrics you are looking for.

    Le 16/01/2014 23:02, Attila Heidrich a écrit :

        Dear Thomas,

        I'm sorry, you're absolutely right.

        RHQ is 4.9, Jboss is 7.1.1 Final - I know nothing about Wildfly :(


        Attila




        2014.01.16. 18:40 ezt írta ("Thomas Segismont"
        <tsegismo@redhat.com <mailto:tsegismo@redhat.com>
        <mailto:tsegismo@redhat.com <mailto:tsegismo@redhat.com>>>)__:



             Hi Attila,

             You're a regular community member now! You should now you
        must tell
             us about which version of RHQ and JBoss/Wildfly you are
        using :p

             Cheers

             Le 16/01/2014 11:27, Attila Heidrich a écrit :

                 Hi,

                 is there a way to monitor the open sessions of a jboss
        server?

                 I see I have some metrics for the http connector, and the
                 requests per
                 second value is really useful, but we need some more
        detailed
                 statistics.
                 It would be the best to have some browser to select the
                 parameters... ;)
                 for webapp dveelopers it would be such a great benefit!
                 Afaik, there're some internal values in the jboss
        server, should I
                 extend the JBoss plugin to get a value, which isn't got
        now?

                 Attila


                 ___________________________________________________
                 rhq-users mailing list
                 rhq-users@lists.fedorahosted.____org
                 <mailto:rhq-users@lists.__fedorahosted.org
        <mailto:rhq-users@lists.fedorahosted.org>>
        https://lists.fedorahosted.____org/mailman/listinfo/rhq-users

        <https://lists.fedorahosted.__org/mailman/listinfo/rhq-users
        <https://lists.fedorahosted.org/mailman/listinfo/rhq-users>__>


             ___________________________________________________
             rhq-users mailing list
             rhq-users@lists.fedorahosted.____org
             <mailto:rhq-users@lists.__fedorahosted.org
        <mailto:rhq-users@lists.fedorahosted.org>>
        https://lists.fedorahosted.____org/mailman/listinfo/rhq-users


        <https://lists.fedorahosted.__org/mailman/listinfo/rhq-users
        <https://lists.fedorahosted.org/mailman/listinfo/rhq-users>__>




        _________________________________________________
        rhq-users mailing list
        rhq-users@lists.fedorahosted.__org
        <mailto:rhq-users@lists.fedorahosted.org>
        https://lists.fedorahosted.__org/mailman/listinfo/rhq-users
        <https://lists.fedorahosted.org/mailman/listinfo/rhq-users>


    _________________________________________________
    rhq-users mailing list
    rhq-users@lists.fedorahosted.__org
    <mailto:rhq-users@lists.fedorahosted.org>
    https://lists.fedorahosted.__org/mailman/listinfo/rhq-users
    <https://lists.fedorahosted.org/mailman/listinfo/rhq-users>




_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users


_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users