You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Mariano Kamp <mk...@gmx.de> on 2003/11/15 21:52:52 UTC
Help with JSR-77 Was: Current State of JSR-77
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
haven't got any response to the below pasted mail, so I assumed that JSR-77
is not in place yet and tried with JBoss for testing. After reading the
JSR-77 specs I put together a small program to try it out.
I wonder if somebody could help me up to speed?
There is lots of things I don't really understand. For example I wonder how
to properly traverse the managed objects hierarchy. What I've implemented
below is to start with the J2EE Domain and traverse all attributes of types
ObjectName and ObjectName[]. That seems to work, still I am not sure, if that
is the right way of doing it.
Anyway, I got lots of Exceptions (see log) and wonder if these Exceptions
are alright. I don't see how I can check these conditions before hand, i.e.
I don't see any methods in the APIs to check for that.
Furthermore I am wondering how to determine the name of a J2EE
ManagedObject?! Some have the attribute "name", some don't.
My first understanding was, that there is a generic way of doing *most*
things (like traversal etc.) with J2EE Managed Objects, but meanwhile I came
to believe that all the typed of J2EE Managed Objects need to be actually
implemented by the client. Is that true?
I would really appreciate if somebody could have a look at the code and the
log?! If you want to run it yourself, it should work against JBoss 3.2.2 out
of the box with the only exception that the jboss-3.2.2/docs/examples/jmx/
ejb-management.jar needs to be deployed first.
Btw. I am aware of the potential danger of cyclic references; just haven't
cared for that in the test-code..
This is preliminary to building an eclipse plug-in.
Cheers,
Mariano
On Wednesday 12 November 2003 19:45, Mariano Kamp wrote:
> Hi,
>
> I am wondering what the current state of the JSR-77 implementation is?
>
> http://wiki.apache.org/geronimo/Architecture/
> Management#head-61be967c1fa052eacfa2a377e50e8b70a3e9b31c says: "NOTE: It
> appears from a later comment that the JSR-77 objects may all appear in
> geronimo.j2ee.management".
>
> When looking at at the web-console built from yesterdays cvs I can "only"
> see g.boot, g.remoting, g.system, jetty and JMImplementation.
>
> I found a javax.management.j2ee.ManagementHome and Management, but they
> were empty.
>
> I am new to JMX/JSR-77. Maybe I am just looking for the wrong thing?
>
> Is there already any JSR-77 aware client available? I've also seen that
> the development of an according eclipse plugin was mentioned in the
> archives and in the wiki. Still I haven't been able to figure out what the
> status is. Is somebody working on that?
>
> Btw. In modules/console-web/src/webapp/index.jsp "/console/faq.jsp" is
> referenced, but should be "./faq.jsp" or "/geronimo-web-console/faq.jsp".
> Otherwise at least the default deployment wouldn't work (for me).
>
> Cheers,
> Mariano
- --
Get public key from
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xE4AC1483
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/tpIoSraqt+SsFIMRAnkPAJ4zmCHO3aJlVb5NAFsUi8+54A4xSgCfXd5o
a/nBzHbC597ah3gOufw4Pqk=
=OMPG
-----END PGP SIGNATURE-----
Re: Help with JSR-77 Was: Current State of JSR-77
Posted by Mariano Kamp <mk...@gmx.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
>> am wondering what the current state of the
>> JSR-77 implementation is?
>Me too...
And me ... oops, that was a duplicate ;-)
The feedback hasn't been overwhelming so far. Maybe it is easier to talk about
it, when there are screenshots and code to toy with. See below.
>> See:
>>
>>http://nagoya.apache.org/eyebrowse/
ReadMsg?listName=geronimo-dev@incubator.apache.org&msgNo=4313
>Got VelocityException
Worked for me (tm). Here is the message:
- ---->>
From: gianny DAMOUR <gi...@hotmail.com>
Subject: JSR 77
Date: Wed, 15 Oct 2003 02:04:42 +0200
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Ram D wrote:
>Hi
> Is anybody working on the JSR 77 implementation,
>And is there a place in the wiki where there is
>information as to who is working on what?
JSR077 is been implemented incrementally. More accurately, by now the
following is built:
- - Managed Objects interfaces;
- - EventProvider: events are emitted upon JSR77 state transition. Event
broadcasting related to managed object created/deletion and attribute change
still need to be built. Have a look to AbstractManagedObject for the
broadcasting of events related to state transitions.
- - StateManageable: Have a look to AbstractManagedObject and
DependencyService;
- - An implementation of the Statistics interfaces is lodged in JIRA.
Gianny
<<---
But what about the client-side?! Any JSR-77 client?
Last Friday I started to implement an eclipse plug-in for JSR-77 and I believe
I
will have something small up and running by the end of next weekend. This
will
likely include visualization of the structure and also the properties of
managed
objects.
If all goes very smoothly it will also handle events and provide state
management. I wouldn't count on it, but at least it should be possible to have
all that in a basic state within the next three weeks.
Best,
Mariano
- --
Get public key from
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xE4AC1483
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/uQt+Sraqt+SsFIMRAkctAJ9ywykeklNcLbxvTjab+maV8lHphACfXJFj
dmeBt1bROE1y9tV/eIxu/Oc=
=c7BI
-----END PGP SIGNATURE-----
RE: Help with JSR-77 Was: Current State of JSR-77
Posted by Ashish Gokhale <ag...@yahoo.co.in>.
> The correct link is -
>
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.apache.org&msgNo=4313
>
Thanks
- Ashish
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
RE: Help with JSR-77 Was: Current State of JSR-77
Posted by anita kulshreshtha <a_...@yahoo.com>.
The correct link is -
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.apache.org&msgNo=4313
-Anita
--- Ashish Gokhale <ag...@yahoo.co.in> wrote:
> I am wondering what the current state of the
> > JSR-77 implementation is?
> >
> Me too...
>
> > See:
> >
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.a
> > pache.org&msgNo=4313
> >
> Got VelocityException
>
> - Ashish
>
>
________________________________________________________________________
> Yahoo! India Mobile: Download the latest polyphonic
> ringtones.
> Go to http://in.mobile.yahoo.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
RE: Help with JSR-77 Was: Current State of JSR-77
Posted by Ashish Gokhale <ag...@yahoo.co.in>.
I am wondering what the current state of the
> JSR-77 implementation is?
>
Me too...
> See:
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.a
> pache.org&msgNo=4313
>
Got VelocityException
- Ashish
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
RE: Help with JSR-77 Was: Current State of JSR-77
Posted by "Noel J. Bergman" <no...@devtech.com>.
> I am wondering what the current state of the JSR-77 implementation is?
See:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.a
pache.org&msgNo=4313
--- Noel