[JBoss-dev] JMX in jboss5

2006-03-22 Thread Scott M Stark
There have been a lot of changes since the 1.2mr release apon which the current jmx implementation is based. The current 1.3 changes targeted for jdk6 are: http://jcp.org/aboutJava/communityprocess/maintenance/jsr003/jsr3-mr3-ch ange-log-standalone.html I have asked whether this version is going t

Re: [JBoss-dev] JMX tests in jboss4

2006-03-10 Thread Adrian Brock
And while we are on the subject, it would be nice if people fixed the tests they broke in jboss-head http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-1.4/20060309183830/results/index.html I've got bored of fixing the DOM property editor test every time the webservices team plays wi

[JBoss-dev] JMX tests in jboss4

2006-03-10 Thread Adrian Brock
Can whoever broke the JMX tests again please fix them. These are really deployment tests. I am not going to continually fix other people's mess on every release. -- Adrian Brock Chief Scientist JBoss Inc. ---

RE: [JBoss-dev] JMX console

2005-08-05 Thread Adrian Brock
tic classloading. Regards, Adrian "Pedant" Brock > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Adrian Brock > Sent: Friday, August 05, 2005 11:24 AM > To: jboss-development@lists.sourceforge.net > Subject: RE: [JBoss

RE: [JBoss-dev] JMX console

2005-08-05 Thread Steve Ebersole
Ok, sure, if your going to get technical... ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: Friday, August 05, 2005 11:24 AM To: jboss-development@lists.sourceforge.net Subject: RE: [JBoss-dev] JMX console One obvious bug is that

RE: [JBoss-dev] JMX console

2005-08-05 Thread Adrian Brock
editor.setAsText( null ); > editor.removePropertyChangeListener( listener ); > } > > > Results in: > > standard boolean editor ... > --- > editor = [EMAIL PROTECTED] > IAE error occured (as expected) > > standard Boolean editor ... > ---

RE: [JBoss-dev] JMX console

2005-08-05 Thread Adrian Brock
[mailto:[EMAIL PROTECTED] On Behalf Of > Steve Ebersole > Sent: Friday, August 05, 2005 10:06 AM > To: jboss-development@lists.sourceforge.net > Subject: RE: [JBoss-dev] JMX console > > AFAICT, this would require the following changes: > > 1) org.jboss.util.propertyeditor.Boole

RE: [JBoss-dev] JMX console

2005-08-05 Thread Steve Ebersole
: Friday, August 05, 2005 10:06 AM To: jboss-development@lists.sourceforge.net Subject: RE: [JBoss-dev] JMX console AFAICT, this would require the following changes: 1) org.jboss.util.propertyeditor.BooleanEditor so that: public void setAsText(final String text) { Object newValue

RE: [JBoss-dev] JMX console

2005-08-05 Thread Steve Ebersole
- editor = [EMAIL PROTECTED] [null] [null] [null] Which all seems reasonable behavior. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ebersole Sent: Thursday, August 04, 2005 4:08 PM To: jboss-development@lists.sourceforge.net S

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - MBeanProxy vs MBeanProxyExt

2004-12-16 Thread [EMAIL PROTECTED]
It seems MBeanProxyExt is used mostly by the 'system' and 'server' modules, while MBeanProxy is used mostly in the 'jmx' module. On the other hand, there are many tests for the MBeanProxy one, but probably none for MBeanProxyExt. Do you know the motivation for having those 2 similar classes? I

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Want to know JMX-related query

2004-11-20 Thread jaiganeshiyer
Hi, I need to know how to find out the number of EJB's deployed, number of Session and entity beans deployed etc... informations programatically. Currently I am using JBoss for my development. But my code should work on any server to find out the deployed beans,status etc. I heard that JMX is th

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: How to Access Remote JBoss(JMX)

2004-11-11 Thread muga_nishizawa
Hi Dimitris, I red the JMX FAQ that you showed me, and I will be able to solve my problem using RMIAdaptor. Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854873#3854873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: How to Access Remote JBoss(JMX)

2004-11-11 Thread [EMAIL PROTECTED]
RemoteMBeanServer is not a standard interface. Check out the JMX FAQ for remote invocations: http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX There is also JSR-160 which is not yet fully implemented. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854865

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - How to Access Remote JBoss(JMX)

2004-11-11 Thread muga_nishizawa
Hi, I want to remotely access JBoss server(MBeanServer) so as to changing behavior of some MBean objects from client. Accoding to some website, remote management of MBeans is implementable if you use RemoteMBeanServer interface. But, I cannot find RemoteMBeanServer interface(JBoss 4.0.0). Co

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Using Jboss MX Kernel for custom apps...

2004-11-11 Thread infectedrhythms
I think I already know the answer to this and am very excited... :) Currently I write my own server applications that receive "requests" through tcpi/ip and send thoses requests to 3rd parties in real time... So bassicaly my server app receives a request, send request to 3rd party, gets respons

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Automatic notification subscription management for XMBeans?

2004-11-08 Thread [EMAIL PROTECTED]
I just thought I could create an extention to the XMBean descriptor to allow for declarative handling of JMX subscription notification, ala org.jboss.system.NotificationListenerMBeanSupport. (see http://www.jboss.org/wiki/Wiki.jsp?page=SubscriptionList) The target resource (POJO) would just have

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - More interaction with the kernel for pojos

2004-10-29 Thread [EMAIL PROTECTED]
Currently when the resource of an XMBean is set, there is a reflective check to see if the resource supports a setMBeanInfo(MBeanInfo) method to allow it access to the ModelMBeanInfo instance. We have discussed exposing more injection points in the 5.0 kernel, but I would like to expand the exis

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Using UserTransaction from a Mbean doesn't commit against XA

2004-10-27 Thread alexOscar
Hello, I've already submitted to this question to JCA Forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55808 But I am hoping maybe an answer may come from Mbean gurus. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853000#3853000 Reply t

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Annotated MBeans and SAR Deployer expansion

2004-10-26 Thread [EMAIL PROTECTED]
This needs to integrate into the virtual file system notion we have been talking about adding to the new deployment assmbly line/chain concept. We don't want to have very deployer that can obtain metadata from annotations to have to be walking over every class in a deployment to extract this. V

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Annotated MBeans and SAR Deployer expansion

2004-10-26 Thread Bill Burke
I want to expand the SAR Deployer to accept annotated classes. The way it would work would be as follows. | @MBean("domain.name:service=something") | public class MyClass implements MyClassMBean {...} | The SAR Deployer would browse the archive for all @MBean tagged classes and create

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Request for scoping option to MBeanTracker.

2004-10-24 Thread [EMAIL PROTECTED]
I know of no MBeanTracker class so can you clarify what your talking about here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852470#3852470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852470

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: DO NOT POST USER QUESTIONS HERE

2004-10-18 Thread [EMAIL PROTECTED]
Bump View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851819#3851819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851819 --- This SF.net email is sponsored by: IT Pr

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - NOTYETINSTALLED error

2004-10-18 Thread Moss
Hi , Thank you for your time.. I searched all the archive but was unable to locate the ans to my problem. I have created a new mbean under jboss: domain. mbean code="Mmmm" name="jboss:service=Mmmm,name=Mmmm" classpath codebase="lib" archives="jbossmq.jar" depends jboss.mq:service=InvocationLayer

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX MBean lookup returns null

2004-10-13 Thread beena
Well...I am not very familiar with JMX and MBean. Basically I am trying to access the Scheduler instance. Here's the QuartzServiceMBean Interface --- package org.quartz.ee.jmx.jboss; import org.jboss.system.ServiceMBean; /** * @author Andrew Collins */ public

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX MBean looup returns null

2004-10-13 Thread [EMAIL PROTECTED]
Do you actually bind the scheduler to JNDI in your MBean code? MBeans are not bound automatically to JNDI and from your description it is not very clear what you want to access, the scheduler or the MBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851348#

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - JMX MBean looup returns null

2004-10-13 Thread beena
Hi, I am using JBoss 3.2.3. I created a JMX MBean to integrate 'Apache Quartz Scheduler' with JBoss and deployed the .sar file under 'default/deploy' dir. The MBean service starts fine while starting JBoss. I checked http://localhost:8080/jmx-console and I am able to see the MBean service under

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: New PersistenceManager for XMBeans

2004-10-09 Thread debarcar
Hi Dimitris, I tested the persistence service and perhaps a issue found: If I added the default value to the string in the jboss-service.xml like Welcome to the Athens 2004, Olympic Games! string in xml and I update the String value in the jmx console to

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Bug in 3.2.5 version of org.jboss.mx.remoting.MBeanNotif

2004-09-24 Thread genman
4.0 is not really consistent with 3.2 yet. Looks like a lot of 3.2 changes weren't put in 4.0 but I am not sure what to do. The bug isn't in 4.0, probably because the code hasn't been merged. I fixed 3.2, so build off of CVS or wait for 3.2.6 release. View the original post : http://www.jbo

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Bug in 3.2.5 version of org.jboss.mx.remoting.MBeanNotif

2004-09-24 Thread genman
The best place to submit bugs is sourceforge.net/projects/jboss . I'll fix this and see what I can do about 4.0. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849478#3849478 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Bug in 3.2.5 version of org.jboss.mx.remoting.MBeanNotificat

2004-09-24 Thread ctday
The code is: public int hashCode() { int result; result = objectName.hashCode(); result = 29 * result + handback.hashCode(); result = 29 * result + filter.hashCode(); return result; } This code requires that the filter be non-null, or a NullPointerException will be raised. If I have an

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Request for scoping option to MBeanTracker.

2004-09-24 Thread ctday
The available constructors for MBeanTracker allow me to track MBeans based on the MBean class or the MBean Attributes (via a QueryExp), but not based on the MBean name. I mostly want to use XMBeans, which means that the MBean classes all appear as XMBean, so selecting by class is not much help.

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - JMX start() method not working on MDB

2004-09-21 Thread eserrano
I have a MDB that shows up in the JMX console and the stop() method works fine but when I invoke (press) the start() method, it thows the following error. I am running JBoss 3.0.8 on WinXP. My goal is to be able to make this MDB start and stop delivery of the messages on the fly. Thanks, Ed

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Transactional MBeans

2004-09-20 Thread [EMAIL PROTECTED]
We really need a very specific/simple use-case to discuss this. Ivelin, could you please provide one? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848826#3848826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848826

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Transactional MBeans

2004-09-20 Thread ivelin
One option that I discussed with Scott and might be feasible hopefully without major refactoring is to implement a persistence manager that stores attibutes in JBossCache. JbossCache would take care of ACIDity, replication and storage. View the original post : http://www.jboss.org/index.html?mo

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Transactional MBeans

2004-09-20 Thread ivelin
> -Original Message- > From: Adrian Brock > Sent: Monday, September 20, 2004 6:33 AM > To: Dimitris Andreadis > Cc: Ivelin Ivanov; Scott M Stark; Sacha Labourey > Subject: RE: XMBean > > I'm ok with discussing it, but if you expect ACID behaviour > you need to make each JBoss Server int

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: problem in jmx-console page

2004-09-18 Thread [EMAIL PROTECTED]
Development only question here, please! If you would just re-post your question to the JMX User Forum and provide more information (jboss logs) for your problem. http://www.jboss.com/index.html?module=bb&op=viewforum&f=63 Regards /Dimitris View the original post : http://www.jboss.org/index.h

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: New PersistenceManager for XMBeans

2004-09-01 Thread [EMAIL PROTECTED]
"debarcar" wrote : Hi Dimitris, | It seems the solution is better than my expectation. And I have two following questions: | | 1) If I add a new MBean, such as add a new Destination in JMS, can this solution store the new one for me? | 2) It seems the persistence function is only for the

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: New PersistenceManager for XMBeans

2004-09-01 Thread debarcar
Hi Dimitris, It seems the solution is better than my expectation. And I have two following questions: 1) If I add a new MBean, such as add a new Destination in JMS, can this solution store the new one for me? 2) It seems the persistence function is only for the Model MBeans, can I let it al

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: New PersistenceManager for XMBeans

2004-09-01 Thread [EMAIL PROTECTED]
Hi, The persistence file, which is one per XMBean and by default has its ObjectName, e.g. ./data/xmbean-attrs/[EMAIL PROTECTED]@32myservice.xml, is saved to a different directory than ./deploy. The deployment scanner has nothing to do with it. XMBean persistence is something happening in the "

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: New PersistenceManager for XMBeans

2004-08-31 Thread debarcar
I have a question about this: If the persistence file was updated by this services, then will the Scanner find the file changed and re-deploy the mbean again? Thanks and best regards! Debarcar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846832#3846832 R

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - DO NOT POST USER QUESTIONS HERE

2004-08-26 Thread [EMAIL PROTECTED]
Post user questions here: http://www.jboss.org/index.html?module=bb&op=viewforum&f=63 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846322#3846322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846322 --

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Problems to create MBean, if JBOSS is started under isolated

2004-08-26 Thread saint
If i uncomment in the jboss-service.xml isolated-attribute then i cant create my MBeans as follows: mBeanServer.createMBean(). Can someone tell me what i must configure that i can use the createMBean-Method. I know that there is another method to create MBeans, but i cant use the method to

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - New PersistenceManager for XMBeans

2004-08-26 Thread [EMAIL PROTECTED]
There is a new PersistenceService for XMBeans, along with an XML-based AttributePersistenceManager implementation. Details can be found at: http://www.jboss.org/wiki/Wiki.jsp?page=XMBeanAttributePersistenceService Cheers /Dimitris View the original post : http://www.jboss.org/index.html?modul

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - how to deploy MBeans

2004-08-26 Thread itteerde
ok, outing myself as the noob... i have my MBean interface and implementing class i want to deploy to JBoss 3.2.5 in order to manage the components behaviour using the JBoss JMX-Console. how do i deploy a MBean/where is the documentation how to do it? (in the 321book there seems to be only an e

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Getting Statistics

2004-08-26 Thread balamurali
I want to monitor Jboss App server without using the web-console. Is it possible?Pls explain how? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846258#3846258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846258 -

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX persistence issues

2004-08-25 Thread ivelin
Posting a note from Scott Stark: There is a org.jboss.test.jmx.test.DeployXMBeanUnitTestCase suite that has tests for persistence of xmbean attributes across redeployment. Can you add another test to this which illustrates the problem described here. How does this differ from the existing testU

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX persistence issues

2004-08-17 Thread [EMAIL PROTECTED]
I was trying to verify the odd persistent behaviour. At some point I thought I was crazy because changes through the JMX console were persisted correctly. However, this is due to how the jmx-console is coded. The scenario that proves the problem is the following: 1) Start your persistency-ena

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX persistence issues

2004-08-16 Thread [EMAIL PROTECTED]
Just to make it more clear: XMBean are based on AbstractMBeanInvoker. When a setAttribute() call is fielded, the invocation context is set, then the invocation is executed and finally the attribute descriptor is updated in the context and the model mbean info: | ... | // create the i

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - JMX persistence issues

2004-08-16 Thread ivelin
>From Dimitris: - The way XMBean persistence is implemented seems to be faulty. When save() is called the data to be persisted are one step back from the latest update. There maybe some way to hack around this, otherwise the internal APIs need to be changed, and this may be a problem. - While te

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - JNDI name

2004-07-19 Thread preeti123
How do I get the jndi name of the JBoss Server. I just want to lookup for the jndi name of the jboss server and get the server as an object Can any one pls hel me out View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842655#3842655 Reply to the post : http:/

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: singleton MBean in JBoss possible?

2004-07-19 Thread cookman
"cooper" wrote : yes, you have to register it to the MBeanServer by another MBean service though. could you please give us the details? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842641#3842641 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - jmx-console and wrong name: index_jsp exception?

2004-07-10 Thread conor macmahon
Dear JMX Forum, I'm attempting to go to my jmx-console but I get the following error in the browser: javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: index_jsp) Does anyone know what is causing this? Note that initially, I thought it might be that th

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Concurrent, Multi-threaded JMX Notifications

2004-07-09 Thread [EMAIL PROTECTED]
A simple implementation for JBossMX. http://cvs.sourceforge.net/viewcvs.py/jboss/jmx/src/main/org/jboss/mx/notification/AsynchNotificationBroadcasterSupport.java?annotate=1.3.2.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841552#3841552 Reply to the post :

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Concurrent, Multi-threaded JMX Notifications

2004-07-09 Thread swmitchel
In order to meet our scalablity requirements, I need better concurrency in our MBeans. Currently we're using the MBean notification mechanism in a sort-of chain of responsiblity pattern where each component listens for specific notifications, does it thing and then fires another notification whe

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: ClassCastException

2004-07-01 Thread DaveMN
I forgot to mention we're using Eclipse 3.0 and the JBoss plug-in. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840617#3840617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840617 --

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: How to get a local rerence to MBeanServer?

2004-07-01 Thread darth tux
I have used MBeanServerLocator.locate() ... I'm not sure if it is completely right. Yet it works for me :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840611#3840611 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - ClassCastException

2004-06-30 Thread DaveMN
We're getting the following error since moving from JBoss 3.2.2 to 3.2.4: 13:17:24,768 INFO [STDOUT] java.lang.ClassCastException 13:17:24,768 INFO [STDOUT] at javax.management.MBeanServerFactory.newBuilder(MBeanServerFactory.java:463) 13:17:24,768 INFO [STDOUT] at javax.management.MB

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - question about the startup of the microkernel

2004-06-23 Thread yxyang
Hello During the startup process of jboss microkernel, what is the purpose of setting the thread context class loader to different customized classloaders at different stages? regards yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839757#3839757 Reply

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - How to get a local rerence to MBeanServer?

2004-06-14 Thread guava
Hi, Is there an API to get a local reference to Jboss MBeanServer implementation? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838684#3838684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838684 -

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: System Health Monitoring (via Veritas Cluster)

2004-06-14 Thread hbaxmann
As far as I was trying this hotstandby feature with the address binding that Jboss provide, I am out of luck. But in the Veritas scripts are serveral possibilitys to watchdog services. The real problem is the switching from down to standby and the heartbeat link between the nodes. JBoss does no

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - System Health Monitoring (via Veritas Cluster)

2004-06-14 Thread paulboyce
Hi! How would the Veritas Cluster monitor the health of the JBoss installation? Background -- We are deploying a JBoss application to a set of Unix(Solaris) servers monitored by Veritas Cluster Server software. The deployment will not be a cluster of JBoss Applications - rather JB

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: MBean constructor question.

2004-06-09 Thread cooper
you mean MBean service ? if yes you can use something like : | ... | | | | | | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838253#3838253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: singleton MBean in JBoss possible?

2004-06-09 Thread cooper
yes, you have to register it to the MBeanServer by another MBean service though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838246#3838246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838246

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - MBean constructor question.

2004-06-09 Thread guava
Hi, Is there anyway to create MBean using a constructor that takes arguments? It seems to me that JBoss JMX takes default constructor to create MBean. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838244#3838244 Reply to the post : http://www.jbos

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - singleton MBean in JBoss possible?

2004-06-09 Thread guava
Hi, Is there anyway to create singleton MBean in JBoss? public class SingleDevice { private static SingleDevice _instance; public static synchronized SingleDevice getInstance() { if ( _instance == null ) _instance = new SingleDevice() return _instance;

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Class not found exception in jar file nested inside sar

2004-05-11 Thread steeqs
Found the problem - the class loader failed to find the *interface* that the class was implementing and reported merely that the class could not be loaded. Didn't say anything about the interface that was the real root of the problem. I'll figure out how to beef up the error reporting so it is l

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Class not found exception in jar file nested inside sar file

2004-05-10 Thread steeqs
I get a class not found exception when I try to load a class from a jar file that is deployed inside a sar file. I think the problem is in SubDeployerSupport.deployUrl(): For non-native sub-deployments the code is: else { DeploymentInfo sub = new DeploymentInfo(url,

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - DeploymentInfo NotSerializableException

2004-04-28 Thread chamarts
Hi Guys, I am trying to invoke "getDeployment" method for MBean "MainDeployer" and it resuled in the following exception. Actually the return type is DeploymentInfo and it is not propagated to the client side but not sure why. I am using jboss-3.2.3 version. any help is greatly appreciated to

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Confused about JSR-77 compliant

2004-04-24 Thread spiritualmechanic
JBoss had one of the first JMX implementations ever. The JBoss implementation fills in some needed holes that weren't filled in (at least) the first JMX spec. This is probably what you are seeing when you see "Service=whatever". I doubt you can drop an MBean from WebLogic into JBoss and vice ver

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Confused about JSR-77 compliant

2004-04-24 Thread jxtang
JBoss is a J2EE compatible application. JSR-77 is the specification to define a management information model for the J2EE platform. In that specification, it defines J2EEManagedObject and its inheritance structure. All managed object in the J2EE platform must have objectName attribute of the ty

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread [EMAIL PROTECTED]
Yes that's correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832000#3832000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832000 --- This SF.net email is spo

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread [EMAIL PROTECTED]
The cloning only makes to sense to me in the exceptional circumsatances. 1) The invocation wants to change its own behaviour (it would then clone its data - e.g. the interceptors) 2) Somebody wants to reconfigure the context, it would then clone and reconfigure, allowing in flight invocations to u

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : | I don't like the idea of cloning the dispatcher on every request. | Right, but you have to either copy or synchronize anything that might be mutated by the thread that's on the context. If there's any state in the dispatcher or you want to keep the dispatcher

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread [EMAIL PROTECTED]
I think Alex's fix make sense, especially since we will be reimplementing the jmx invocation to look like the aop invocation when we do the interceptor unification. What does it mean to have arguments associated with an invocation context (i.e. a call path) instead of with an invocation? I don't

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread [EMAIL PROTECTED]
The copy() method of the invocation context looks broken, per invocation, a new copy of the context is added. This however is not correctly copying the mutable objects, in this case the dispatcher. Others that should be passed by copy to the incoming thread are the descriptor, and possibly the

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - org.jboss.ms.server: Dispatcher and Invocation impl

2004-04-22 Thread loubyansky
There are problems with the current implementation. The dispatcher must not own args but the invocation should. The problem is that dispatcher is not thread-safe and concurrent threads override each other's parameters. The consequences are: - different threads associated with the same transactio

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - XMLOutputter / Applet - Web Console

2004-04-19 Thread MarcMA
Hi All. Regarding JBoss 3.2.4RC1: There is a messy little exception thrown by the jmx-console web-app keeping you off using the jmx stuff properly. The XMLOutputter cannot be found during the compilation of the inspectMBean. Is this due some major changes? A workaround is to place the old jdom.

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-17 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : Generically it is a callback interface like MBeanRegistration | for services that want to know about their container and their configuration | | | | public interface ContainerRegistration | | { | |void setContainer(Container container); | |

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
On call context propagation I would like to use something similar to what Bill has done container interceptors based on metadata. i.e. if you POJO has the transaction demarcation aspect then when you construct the remote proxy, it includes the client side transaction interceptor I'd also like to

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
Ok, good. One step of abstraction above this is the notion of container mediated services. So for example, in the case of my ModelMBean pojo wanting access to the MBeanServer, if it only needs this to access a service representable by an interface, it would be better if there was a dependency sp

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
You can take a pojo and expose it as a service using an XMBean, but it has no ability to know what MBeanServer it is registered with, or access to its management metadata. This change allows for an IOC type of setting of the container context such as the MBeanServer by providing a setMBeanServer

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
Generically it is a callback interface like MBeanRegistration for services that want to know about their container and their configuration | public interface ContainerRegistration | { |void setContainer(Container container); |void setMetaData(MetaData metaData); | } | View t

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread ivelin
Scott, can you expand a bit more on the value of your addition. I am not able to follow. Ivelin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831108#3831108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831108 -

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
I have added reflective setting of the MBeanServer and MBeanInfo for ModelMBean resources that support the corresponding setters: |public void setResource(Object resource) |{ | this.resource = resource; | /* Pass on the MBeanInfo and MBeanServer to pojo resources if t

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: about MBean policy

2004-04-16 Thread [EMAIL PROTECTED]
The server.conf file is not loaded. You have to configure the use of a security manager on the command line and then pass in the policy file location. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831098#3831098 Reply to the post : http://www.jboss.org/inde

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Bug in ModelMBeanInfoSupport constructor?

2004-03-31 Thread steeqs
Well no, not the fix I was talking about. However Thomas Diesler did check in the relevant change on Mar 24. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828377#3828377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: JMX architecture

2004-03-30 Thread kondetisree
Pls .find the JMX book here and get it online http://vig.pearsoned.com/store/product/1,3498,store-6781_isbn-0672322889,00.html Regards, Srikanth Kondeti View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828267#3828267 Reply to the post : http://www.jboss.org/

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Pls. suggest me What are general MBeans for JBoss to write a

2004-03-30 Thread kondetisree
Hi scott.. First let me thank for u to respond all my queries. Here we are into Developement of JbossAgent.java by which we have to discover and identifies that Jboss server is running in the remote machine or in local machine. As we looked into Jboss we came to know that its completly built

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Bug in ModelMBeanInfoSupport constructor?

2004-03-26 Thread [EMAIL PROTECTED]
Yes, and this has been fixed in cvs for about a week now. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827686#3827686";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827686>Reply to the post

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Bug in ModelMBeanInfoSupport constructor?

2004-03-26 Thread steeqs
Originally posted to user forum but it really belongs here - sorry... I was having troubles setting up persistence for my test XMBean using v4.0 DR3, so I dived into the code and fixed it. Or at least, it works for me. Basically, the constructor public ModelMBeanInfoSupport(String className, S

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - about MBean policy

2004-03-21 Thread NickPac1012
Hi, i am a new user of jboss and interested in coding. Here i have a question about JMX. From JMX1.2, the JMXServer can control access between MBeans and MBeanServer,right? I found a file named server.conf which provides the needed policy. But what i wonder is, where does jboss load this conf fi

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: adding datasources through JMX

2004-03-21 Thread svet
Sorry, I post this message to wrong place. copying to user/JMX. Sorry http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826761#3826761";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826761>Reply to the post

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - adding datasources through JMX

2004-03-21 Thread svet
Hello, I want to add datasources to JBOSS dynamically through JMX during runtime, the same info as in "...-ds.xml" files. Could somebody referr me to code example. Thank you http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826759#3826759";>View the original post http://www.jboss.org

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: why java.rmi.StubNotfoundException was thrown

2004-03-19 Thread alanc_yang
sorry, forgot to mention it cannot construct Listener object! - public static class Listener implements RMINotificationListener { public Listener() throws RemoteException { UnicastRemoteObject.exportObject(this); } public void handleNotificati

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - why java.rmi.StubNotfoundException was thrown

2004-03-19 Thread alanc_yang
How the stub code suppose to be generated for xmbean client/server to work? The following is straight out of the sample provided with the doc that encountered the issue that it cannot find the stub class. How to solve this problem? Thanks in advance. Alan - C:\exam

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - newbie - jmx client

2004-03-16 Thread viswanath
Hi, Im new to JMX. I am trying to get system info of Jboss - BuildID,startDate,version,etc. through a java client prog. In Weblogic there is a single MBean from where one can get all the info,but that doesnt seem to be the case with jboss. I worked on the following code,i dont know which object

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - mbean dependency

2004-03-11 Thread codemonkey
I am in dire need of assistance! I have written an mbean and it hot deploys just fine, but when it deploys on startup it fails because it uses a mysql datasource which is not deployed yet...ok I have done the homework and have found what i thought at first was the answer i added a line in the mbe

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - How to anotate params in an mbean method (so jmx console see

2004-03-11 Thread btarbox
I have a set of MBeans, which have assorted methods. When I go to JMX MBean View I see the methods along with their parameters..but all it says for each param is the type and the text "MBean Operation Parameter". Where can I specify the parameter name so the user of the JMX console can see it? T

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: jboss's jmx implementation

2004-03-08 Thread phatal
Please what's the answer? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824678#3824678";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824678>Reply to the post --- This SF.Net email is

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: SNMP Adaptor

2004-03-05 Thread dimitris
Moved to the Users list: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824320#3824320 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824321#3824321";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824321>Reply to the post

  1   2   3   4   >