[opengrok] Add a system tray client for the JMX Agent

Lubos Kosco Lubos.Kosco at Sun.COM
Fri Aug 22 04:04:24 PDT 2008


Hi

I just tested this part, it looks ok, but it seems a lot of work still
needs to be done there, but I have some comments:

- I kinda hoped I'd be able to connect with a jconsole to
tomcat/glassfish jvm & I'd be able to see mbeans from opengrok and
manage them - jconsole can be a really nice alternative to your client
and can be helpful with debugging (I even seen a logging piece which was
able to spy on remote logs, will try to look it up and attach it).

- so far this tray client only consumes what ogagent sends him (so jmx
notif) ... what are other plans? I kinda hope the install use case of
opengrok 0.7 would be as simple as this:
 a) put source.war into glassfish/tomcat (source.war automagically reads
config xml file and upgrade becomes easy)
 b) start my systray client and configure everything remotely (if
something needs to be tuned after upgrade) + get the monitoring of the
process + be able to start the indexer from web piece directly + (in a
distant future) start e.g. SCM synch(pull) ;)

The other thing that came to my mind is ... that my vote for jdk1.6 only
needs to be a bit granular.
You were right with a new directory for the client piece (maybe a
nbproject too , at least one would have all the run configs there ;) ) -
this way the new client/management piece would be able to build with
jdk1.6 & we could still build the server piece with jdk1.5 and hence
reach far more installations/configs (all in all 1.5 will be around
until October 2009 - it's EOSL ) + we'd keep backwards compatibility
(especially regarding the cli) .
So ... I think the repo should be split as you suggested & the client
piece would be built in case java version is 1.6 and higher.

Otherwise I liked the work done & I am looking forward when it will be
finished ;)

thanks & feel free to comment
Lubos

Jan.Berg at Sun.COM wrote:
> Author: Jan S Berg <jan.berg at sun.com>
> Repository: /hg/opengrok/trunk
> Latest revision: 063564bc9e5582446cd9c06d9131bf468d961236
> Total changesets: 1
> Log message:
> Add a system tray client for the JMX Agent
>
> Files:
> 	create: src/org/opensolaris/opengrok/management/client/AgentConnection.java
> 	create: src/org/opensolaris/opengrok/management/client/NotificationsFrame.form
> 	create: src/org/opensolaris/opengrok/management/client/NotificationsFrame.java
> 	create: src/org/opensolaris/opengrok/management/client/OpenGrokTrayApp.java
> 	create: src/org/opensolaris/opengrok/management/client/SettingsFrame.form
> 	create: src/org/opensolaris/opengrok/management/client/SettingsFrame.java
> 	create: src/org/opensolaris/opengrok/management/client/SettingsPersistence.java
> 	create: src/org/opensolaris/opengrok/management/client/opengrok.gif
> 	create: src/org/opensolaris/opengrok/management/client/opengrok_indexwarning.gif
> 	create: src/org/opensolaris/opengrok/management/client/opengrok_noconnection.gif
> 	create: src/org/opensolaris/opengrok/management/client/package.html
> 	update: src/org/opensolaris/opengrok/management/oga.properties
> _______________________________________________
> opengrok-discuss mailing list
> opengrok-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
>   




More information about the opengrok-discuss mailing list