[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Done. The case is here : http://jira.jboss.com/jira/browse/JBWEB-25 Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878321#3878321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878321 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Could you actually close this and re-open it in the JBAS (JBoss application server) project? JBWEB is the tomcat integration. Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878333#3878333 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878333 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
My mistake. Here is the new task : http://jira.jboss.com/jira/browse/JBAS-1832 But I didn't find out how to close the first one. Are you sure I can ? I edited it in order to warn the reader. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878340#3878340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878340 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Thank you very much for your help, I get it to work. I first tried to make a new class. Also it's compiling well, the Webconsole applet don't list my custom snapshots, as it is listing only the original-type objects. Yes it could be possible to modify the viewing applet also, but I don't really have the time to do it so I just modified sources this way : /*SnapshotRecordingMonitorMBean.java*/ | /* defining get and set method for the attribute in the MBean interface. */ | void setRecording(boolean start); |boolean getRecording(); | | /*SnapshotRecordingMonitor.java*/ | /* implementing the get method for the attribute. Note : setRecording is already defined */ |public boolean getRecording() |{ | return recording; |} | | then deploying is fairly simple : ?xml version=1.0 encoding=UTF-8? | server | mbean code=org.jboss.monitor.SnapshotRecordingMonitor |name=jboss.monitor:service=SnapshotFreeMemory | attribute name=MonitorNameSnapshot memoire libre/attribute | attribute name=ObservedObjectjboss.system:type=ServerInfo/attribute | attribute name=ObservedAttributeFreeMemory/attribute | attribute name=Period3/attribute | attribute name=Recordingtrue/attribute | /mbean | /server | As to post it to a JIRA case, how can I do that ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878189#3878189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878189 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
goto jira.jboss.com and open a task on the application server with minor priority, for the management module. Include a link to this forum post. http://jira.jboss.com/jira/secure/CreateIssue!default.jspa you probably need to register there first. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878282#3878282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878282 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Well we could assume that as snapshots can generate big loads of data if improperly configured, one has not implemented it in order to force people starting them manually. Anyway, thanks for your answers. One thing I don't understand why I could have invoked setEnabled() and not startSnapshot() ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877933#3877933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877933 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
setEnabled(boolean) can be called because this is an 'attribute' in terms of JMX, and not an operation. Attributes can be set at deployment time, using: ... true ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877996#3877996 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877996 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
(lost the xml elements...) | ... |mbean code=... name=... | attribute name=Enabledtrue/attribute |/mbean | ... | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877997#3877997 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877997 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
[EMAIL PROTECTED] wrote : setEnabled(boolean) can be called because this is an 'attribute' in terms of JMX, and not an operation. | | Attributes can be set at deployment time, using: | | ... | | true | | ... | Well in this case I should be able to change the Recording attribute (Enabled-equivalent I think), as setRecording() exists. But on deployment I am told that this is a read-only attribute (note : I'm using Jboss 4.0.0) public boolean isRecording() { return recording; } |public void setRecording(boolean start) |{ | if (start == recording) return; | recording = start; | | if (start) | { | startMonitorThread(); | } |} | Whatever, nothing keeps me from modifying the class, am I right ? In our case, implementing recording as a read-write Attribute should be enough ? So I only need to implement getRecording() and setRecording() properly for JBoss to consider Recording as a read/write attribute and allowing me to set it upon deployment... Please tell me if I'm wrong. Does JBoss use only the methods signatures to know what is and what isn't an attribute ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878015#3878015 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878015 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Recognizing what makes an attribute and what an operation is part of the JMX specification for Standard mbeans. get(); void set(); It would be simple to just copy the implementation and make your own class. Preferably you would make a patch and post it to a JIRA case as a reminder for us to change it in the code, eventually. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878076#3878076 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878076 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
| type getAttrName(); | void setAttrName(type); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878077#3878077 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878077 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Since your deployment contains mbeans, it should be named: snapshots-service.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877639#3877639 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877639 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
Thank you very much, the deployment is now ok. By the way, as the Reccording attribute is read-only, I had to remove it from my xml. But I'm having another problem now : I want the Snapshot to be started automagically, thus needing to execute startSnapshot() after deployment. How can I do that ? Is it possible ? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877682#3877682 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877682 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de
You can't automagically call startSnapshot() :( And especially for SnapshotRecordingMonitorMBean I see, there is no method void setEnabled(boolean start); This one exists in the other 3 monitors and would cause the effect you want, so I guess somebody forgot to add it... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877688#3877688 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877688 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user