[JBoss-user] [Management, JMX/JBoss] - Re: NoInitialContextException when lookup RMIAdaptor

2006-01-26 Thread [EMAIL PROTECTED]
You need to setup the InitialContext properties http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch3.chapter.html#d0e6825 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919891#3919891 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Use of JBoss Logging Service - URGENT

2006-01-25 Thread [EMAIL PROTECTED]
Of course, use your own logging . It allows to have your log to be more application specific. Instead, jboss log is more jboss (server) specific. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919511#3919511 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Use of JBoss Logging Service - URGENT

2006-01-25 Thread [EMAIL PROTECTED]
http://www.qos.ch/logging/sc.jsp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919584#3919584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919584 --- This SF.net

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-25 Thread [EMAIL PROTECTED]
Regarding jsr77 names, although it is now clearer how to identify the jsr77 root domains, I think we could consider leaving inside the 'jboss.management.local' domain only the jsr77 generated mbeans, and take outside the 2 manager services. So |

[JBoss-user] [Management, JMX/JBoss] - MBeanProxyExt versus MBeanServerInvocationHandler

2006-01-25 Thread genman
JBoss uses org.jboss.mx.util.MBeanProxyExt itself. For the average JMX user, javax.management.MBeanServerInvocationHandler seems like the correct interface to use and sufficiently good. Is there some reason to use one over the other, besides the additional features of MBeanProxyExt? Is one

[JBoss-user] [Management, JMX/JBoss] - Use of JBoss Logging Service - URGENT

2006-01-24 Thread ummadiravi78
Hi, I want to use log4j logging for my application. I have two options. - Use the existing logging service provided by jboss ( it essentially menas use the log4j instance created by jboss) - Use my own log4j service (create my own instance) I had a look into the following article which explains

[JBoss-user] [Management, JMX/JBoss] - Error when using twiddle

2006-01-24 Thread feraudet
Hi all, I've an error when I want to get Member from jboss.cache:service=TomcatClusteringCache : | # ./twiddle.sh get 'jboss.cache:service=TomcatClusteringCache' Members | | 16:31:04,672 ERROR [Twiddle] Exec failed | java.lang.reflect.UndeclaredThrowableException | at

[JBoss-user] [Management, JMX/JBoss] - JBossMX deployment extension file name? new deployer?

2006-01-24 Thread yantriki
If I want to deploy Annotation based service (@Service rather than using META-INF/jboss-service.xml, I have to name the extension .ejb3 for it to deploy and work. It seems like if I name it .sar it never looks for @Service annotated classes. Now I need to deploy a service archieve which is

[JBoss-user] [Management, JMX/JBoss] - Failed to found META-INF/jboss-service.xml

2006-01-23 Thread mawione
Hi, I developed my first MBean following this example: http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html I wrapped everything in a .sar file including the /meta-inf/jboss-service.xml. I'm running the latest JBoss appserver. I did put the .sar file in the hot deploy folder. I then got

[JBoss-user] [Management, JMX/JBoss] - dropdownbox in jmx-console possible?

2006-01-23 Thread creenmachine
Hi, Is it possible (with the right variable-type) to create a dropdownbox (or some other list with choices, from which one can be selected) in the jmx-MBean-View of the jmx-console? If so, what variable would that be? Thanx! Frank... View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Failed to found META-INF/jboss-service.xml

2006-01-23 Thread [EMAIL PROTECTED]
META-INF/ needs to be in capital! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919027#3919027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919027 --- This SF.net

[JBoss-user] [Management, JMX/JBoss] - Re: dropdownbox in jmx-console possible?

2006-01-23 Thread [EMAIL PROTECTED]
Not possible. You'd have to take the jmx-console code and extend it yourself to to this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919028#3919028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919028

[JBoss-user] [Management, JMX/JBoss] - Re: dropdownbox in jmx-console possible?

2006-01-23 Thread creenmachine
Ok, thanks for the fast answer! Regards, Frank... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919029#3919029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919029

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-23 Thread guy_rouillier
Dimitris, thank you very much for your time and providing me a direction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919169#3919169 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919169

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-22 Thread [EMAIL PROTECTED]
Yes, spawn a thread (if the previous run is not still executing) and do the job there if you want more accurate scheduling. If I remember correclty, this scheduler doesn't have a thread pool, so the same thread is used to execute a schedule. If you hold up this thread 5 hours, your are toast.

[JBoss-user] [Management, JMX/JBoss] - Re: Develop MBean

2006-01-22 Thread [EMAIL PROTECTED]
1. Does all MBeans run in same JVM? yes 2. May (is it recommended) I start new threads in my custom developed? sure 3. Can I from my custom developed MBean reach a queue/MDB which my application can reach? yes 4. Can I from my application put things on a Queue/MDB which can be reached from

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-22 Thread [EMAIL PROTECTED]
I was actually wrong; this is fixed *after* 4.03SP1, so it'll come with 4.0.4RC1. I actually tested it and I can see the notification, with CTRL-C pressed. An easy way to tests this is by including this service (e.g. in deploy/monitoring-service.xml): | mbean

[JBoss-user] [Management, JMX/JBoss] - Develop MBean

2006-01-21 Thread mawione
I'm new to JMB and Jboss and have a few questions: 1. Does all MBeans run in same JVM? 2. May (is it recommended) I start new threads in my custom developed? 3. Can I from my custom developed MBean reach a queue/MDB which my application can reach? 4. Can I from my application put things on a

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-21 Thread guy_rouillier
Darn, this is happening much more frequently than I realized: 2006-01-21 10:56:31,895 INFO [FileTxrCollectorTimetra] FileTxrCollectorTimetra.getStats(): elapsed time in seconds = 6986.0 2006-01-21 15:23:34,992 INFO [RodentBean] beginning date Fri Jan 20 00:00:00 GMT 2006, end date Sat Jan 21

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-21 Thread guy_rouillier
Oops, sorry about that, looks like the forum software swallowed the XML tags. In that prior post, the three listed values are all attribute tags, for InitialStartDate, SchedulePeriod and InitialRepetitions, respectively. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-21 Thread guy_rouillier
Sorry for so many posts at once, my brain is finally kicking in after I overdosed on sugar. I think I'm understanding what you may have meant by fixed period vs fixed rate: X milliseconds after last interation finishes vs every X milliseconds. But even if that was the case, at worst I should

[JBoss-user] [Management, JMX/JBoss] - The

2006-01-20 Thread jiwils
The org.jboss.system.server.stopped notification appears to only be emitted if ServerImpl.halt/halt(exitcode) is called. Given that server shutdown can be precipitated by the shutdown and exit methods on the same class in addition to a signal sent by Ctrl+C and/or kill depending on your

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-20 Thread [EMAIL PROTECTED]
I think I've fixed this in 4.0.3SP1: JBAS-2483, allow jboss to restart with an exit(10). Improve logged messages to trace the shutdown execution path, move shutdown notification to the shutdown hook (avoid duplicate notifications/don't notify when halting), retain the exit code when

[JBoss-user] [Management, JMX/JBoss] - UndeclaredThrowableException

2006-01-20 Thread zsotott
Hello, I got the following error when I try to use an MBean. 16:34:59,225 ERROR [MyTesterBean] testJMX() java.lang.reflect.UndeclaredThrowableException at $Proxy40.isRegistered(Unknown Source) The code looks like this: InitialContext initialContext = new

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-20 Thread jiwils
The subject did not print correctly... I know we have tried this with JBoss 4.0.3 (and had the same results), but I am not sure if that was SP1 or not. I will verify this... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918693#3918693 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Have you coded a cool MBean service you want to share?

2006-01-20 Thread yantriki
I tried the UserAccounts service. When deployed it on 4.0.3SP1, it failed to deploy the org.ii.jaas.har archive. It expected the jboss-service.xml file to be present. After packaging hibernate-service.xml as META-INF/jboss-service.xml in the har file, I was able to deploy it. However when

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-20 Thread guy_rouillier
Dimitris, thank you for the reply. I want to make sure I understand what you are saying. I've seen in the past when the scheduler tries to start up an MBean method that is already running from a previous execution; we print out a message in this case already running and simply terminate. So

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-20 Thread jiwils
jiwils wrote : I know we have tried this with JBoss 4.0.3 (and had the same results), but I am not sure if that was SP1 or not. I will verify this... Okay, I have the same problem in 4.0.3sp1, but its because I am not using the MBean methods to shutdown (in all cases). I am using both Ctrl+C

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-20 Thread jiwils
jiwils wrote : Is there any way we could have the shutdown hook send the notification? Then, it could be coded in one place (not the three methods), and I'll be sure it get it in the Ctrl+C and kill cases too. In looking at the Runtime.halt method Javadoc, it does look like it might be

[JBoss-user] [Management, JMX/JBoss] - Re: The

2006-01-20 Thread jiwils
I went ahead and created a JIRA issue. http://jira.jboss.com/jira/browse/JBAS-2697 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918769#3918769 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918769

[JBoss-user] [Management, JMX/JBoss] - Re: Meaning of some values in JMX Console

2006-01-20 Thread pmarchant
I too am looking for the same information. Did you find it? Where? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918772#3918772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918772

[JBoss-user] [Management, JMX/JBoss] - Re: how to register a MBean using a Queue

2006-01-19 Thread lapoutre
re, I tried the following dependencies each alone, and all together | depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends | dependsjboss.mq:alias=UIL2ConnectionFactory,service=InvocationLayer,type=UIL2/depends |

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss service

2006-01-18 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossService http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService You'll need to code the registration to JNDI yourself, though, it's not automatic. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)

2006-01-18 Thread [EMAIL PROTECTED]
Accessing mbeans remotely (r/w attributes, invoke operations) will not be a problem, as long as the exhanged data is serializalbe (which is normal). The problem you see is when asking for the MBeanInfo of mbeans. JBoss internally uses ModelMBeanInfo (an extension of MBeanInfo) that contains

[JBoss-user] [Management, JMX/JBoss] - Re: Order of XMBean attributes in MBean Inspector

2006-01-18 Thread creenmachine
Hello, A reply to an old message, I know... but I still hope someone is watching :-) I am having the same ordering problem... Example: UnzipDir Bcc2 Bcc4 Date Bcc1 EmailAdres ... As you can understand, I would like to see at least the Bcc attributes in the right order... The problem is that I

[JBoss-user] [Management, JMX/JBoss] - how to call local ejb in mbean?

2006-01-18 Thread [EMAIL PROTECTED]
Hi, I want to have a example illustrated how to call a local EJB inside a mbean, can any one help? -- Thanks John Toronto View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918100#3918100 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: how to call local ejb in mbean?

2006-01-18 Thread [EMAIL PROTECTED]
This should be not different to calling an EJB remotely, just look in the local java: jndi namespace for its exposed home interface. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918118#3918118 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)

2006-01-18 Thread efhajg0
Dimitris, Sorry to say that JDK 1.5 is being used on both ends. Thanks for the help. I will open a defect report and look forward to seeing the fix soon. thank you - Andy Gordon View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918160#3918160 Reply to the post

[JBoss-user] [Management, JMX/JBoss] - Re: how to call local ejb in mbean?

2006-01-18 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : This should be not different to calling an EJB remotely, just look in the local java: jndi namespace for its exposed home interface. Not really or I don't get it. a local EJB can be called in a servlet, as long as the jndi-link defined correctly in web.xml and

[JBoss-user] [Management, JMX/JBoss] - Varia scheduler takes a very long nap

2006-01-18 Thread guy_rouillier
We have a large application that is completely schedule driven. We use the varia scheduler to run the schedules. We do very verbose logging; at the bottom of this note is a snippet from yesterday. Notice that it took a 4 1/2 hr break starting at 16:25. This most certainly is not

[JBoss-user] [Management, JMX/JBoss] - Duplicate monitor notifications received

2006-01-18 Thread [EMAIL PROTECTED]
I am seeing behavior that is against the JMX specification for monitors sending duplicate notifications AFAIK. For instance... Once sent, Counter monitors should not send until the new threshold is reached. Once a low threshold is sent, Gauge monitors should not send again until the high

[JBoss-user] [Management, JMX/JBoss] - .jar into .sar

2006-01-18 Thread rshun
I try to depoly my MBean to Jboss 4.0.x server. I got the following error: --- MBeans waiting for other MBeans --- ObjectName: adzilla.com:service=Graph State: FAILED Reason: java.lang.NoClassDefFoundError: org/jrobin/core/RrdDb --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---

[JBoss-user] [Management, JMX/JBoss] - Re: Duplicate monitor notifications received

2006-01-18 Thread [EMAIL PROTECTED]
This is classic. Answering my own problem. I hope this helps others. I found the problem and it was my fault, not a JBoss bug thank heavens! I registered the AlertCollectorMBean twice by accident using MBeanServer.addNotificationListener(). I figured it was smart enough to prevent

[JBoss-user] [Management, JMX/JBoss] - Re: Varia scheduler takes a very long nap

2006-01-18 Thread [EMAIL PROTECTED]
I suspect this may be due to the scheduler working in a fixed-period mode rather than fixed-rate mode. If this is the case, you could spawn a thread to do the actual processing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918238#3918238 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Duplicate monitor notifications received

2006-01-18 Thread [EMAIL PROTECTED]
Since you are doing a lot with jmx notifications you may consider using the following baseclass that lets you subscribe declaratively to any notification in the system: http://www.jboss.org/wiki/Wiki.jsp?page=ListenerServiceMBeanSupport View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: .jar into .sar

2006-01-18 Thread [EMAIL PROTECTED]
just embed the .jar in the .sar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918244#3918244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918244 --- This SF.net email

[JBoss-user] [Management, JMX/JBoss] - Re: how to call local ejb in mbean?

2006-01-18 Thread [EMAIL PROTECTED]
There is no jndi-link to declare it. Just use JNDIView through jmx-console to find where the ejb you want to access binds to (either the java: or the global namespace) and use this name when looking up the ejb, e.g. if I deploy docs/examples/jmx/ejb-management.jar i get this binding: | +-

[JBoss-user] [Management, JMX/JBoss] - Re: how to call local ejb in mbean?

2006-01-18 Thread [EMAIL PROTECTED]
It's a jboss implementation detail that you can access a local ejb from another deployment. In general this is not possible except from a j2ee component that has declared an ejb-local-ref and bound this using an ejb-link. Such cross deployment usage requires a remote interface. If they are

[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)

2006-01-17 Thread efhajg0
Staff at JB\oss, SInce I haven't received a response that tells me how to either: 1) circumvent the problem and gain access to MBeanInfo for allJBoss MBean attributes thru RMI 2) Enter the problem in JIRA, I plan to enter the problem in JIRA tomorrow unless told otherwise. I am

[JBoss-user] [Management, JMX/JBoss] - Jboss service

2006-01-17 Thread preddy
Hi, I am porting my application from JRun to jboss. I have added the following lines to jrun.xml for using JRun service: service class=TaskDriver name=TaskService attribute name=bindToJNDItrue/attribute service TaskDriver is a java class which extends jrunx.kernel.ServiceAdapter and

[JBoss-user] [Management, JMX/JBoss] - To extend the JBoss: The beginning

2006-01-16 Thread cassiofreire
Hi All, In my research, I am trying to extend the JBoss. Initially, I want to forward a request (for one workflow) between different instances of the JBoss. My doubt at the moment is: For this, I need to study only the JMX? The documentation of the JBoss concerning the JMX is enough or it´s

[JBoss-user] [Management, JMX/JBoss] - Refering to EJB in MBean

2006-01-16 Thread yantriki
Statement of Problem == How to use to EJB 3.0 Stateless Session Bean from within a JBoss Service. Scenario === 1. I have created a LoginModule which I am packaging as a SAR DynamicConfig MBean. The LoginModule internally calls Stateless Session bean to authenticate userid and

[JBoss-user] [Management, JMX/JBoss] - Identifying Active Database connections

2006-01-16 Thread rameshsr
I would like to list all the database connections that are active and being used. Is there a way to get this information from JBoss? If this is possible at all, I would like to get the active SQL queries that are running from JBoss. Would appreciate your answer. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Clearing the class loader repository through the jmx con

2006-01-13 Thread haschibaschi
I have an ear with several jars (normal and EJB) and wars inside. When I redeploy a jar and flush the Repository, there are still the old classes loaded. This is like you described above that you have no control over the classloading inside the jvm. But is there no way to cut all references to

[JBoss-user] [Management, JMX/JBoss] - Re: BarrierController Service and Dependent Service

2006-01-13 Thread [EMAIL PROTECTED]
Yeap, this is bug! The problem appears when the BarrierController is destroyed *before* the 'stop' notification has been received: |protected void destroyService() |{ | // unsubscribe for notifications | unsubscribe(); | | try | { | //

[JBoss-user] [Management, JMX/JBoss] - Re: BarrierController Service and Dependent Service

2006-01-13 Thread [EMAIL PROTECTED]
I can think now of many solutions, but none without some coding. A relatively easy one is to write an extra mbean with just an exposed stop() operation that emits a notification of yours. Then deploy this mbean in the same file with the BarrierController, and point to that mbean/notification

[JBoss-user] [Management, JMX/JBoss] - notSerializableException, (may relate to JBAS-1268)

2006-01-13 Thread efhajg0
Hi All, Listed below is a cut and paste of the exception I received from running Twiddle with JBoss-4.0.3. JBAS-1268 looks like the same problem but is reported to have been fixed in 4.0.2. With 4.0.3 I get the same exception when running twiddle. Running it both ways as described below

[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)

2006-01-13 Thread [EMAIL PROTECTED]
This is probably normal, since the LookupPool attribute of type org.jboss.util.threadpool.BasicThreadPoolMBean contains an MBeanProxyExt that is not serializable, and this is attempted to be carried over to the client side as part of the attribute Descriptor. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)

2006-01-13 Thread efhajg0
Dimitris, Thank you for the quick response. If you don't mind I'd like to inquire into what probably means. I also am interested in understanding my choices for accessing this MBean as well as others. The same error occurred running Twiddle attempting to access the deploymentScanner

[JBoss-user] [Management, JMX/JBoss] - Exception in thread

2006-01-12 Thread efhajg0
Hi All, Hopefully someone will be able to clue me in to how to resolve this problem. Supposedly it was fixed by JBAS-1787 but it doesn't look like it to me. I am trying to query and get mbeanInfo for all mbeans in JBoss using RMI. I get an nullPointerException when I attempt method

[JBoss-user] [Management, JMX/JBoss] - Re: Exception in thread

2006-01-12 Thread [EMAIL PROTECTED]
No, it works fine, just did a: | twiddle info jboss.jca:service=ManagedConnectionFactory,name=DefaultDS | Look in twiddle.bat to find the correct JVM/classpath settings for the client. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917097#3917097 Reply to

[JBoss-user] [Management, JMX/JBoss] - Disabling MBeanService from starting up

2006-01-12 Thread raja05
Hi, Id like to disable a mbean from starting up until I want it to. The actual case is that the MBean references a file that will not be available till the server starts and the client enters the value(which could be many days after the server started, so i cant use a depends on my EAR). Only

[JBoss-user] [Management, JMX/JBoss] - Re: Disabling MBeanService from starting up

2006-01-12 Thread [EMAIL PROTECTED]
There is not such feature. The question would be then in what state should your service be and how you want it service to be started? You can emulate this behaviour by configuring a Barrier and make your service depend on it. http://wiki.jboss.org/wiki/Wiki.jsp?page=BarrierController Then you

[JBoss-user] [Management, JMX/JBoss] - Re: Disabling MBeanService from starting up

2006-01-12 Thread raja05
Ah Cool. Thanks Dimitris. Ill explore that option. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917105#3917105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917105

[JBoss-user] [Management, JMX/JBoss] - Conflict With Remote Administrator Tool

2006-01-12 Thread jlsimpson
We have found that Remote Administrator V2.1 tool from Famatech.com can conflict with JBoss 4.0.2 to the point of causing JBoss to shut down. An example of the JBoss log entry that occurs at the time of the shutdown is: 2006-01-11 09:34:50,332 DEBUG

[JBoss-user] [Management, JMX/JBoss] - MBean synchronization.

2006-01-12 Thread sgastonc
Hi, i have 3 jboss servers running in 3 differents machines (also JVM). I make a MBean that do a schedule (Schedulable) that runs every 1o minutes, but i have a synchronization problem, because the 3 server runs the MBean at the same time, i want that if one MBean is up then the others 2 don't

[JBoss-user] [Management, JMX/JBoss] - Re: Exception in thread

2006-01-12 Thread efhajg0
Dimitris, Thank you, Twiddle.bat provided the guide I needed. All resolved. - andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917138#3917138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917138

[JBoss-user] [Management, JMX/JBoss] - BarrierController Service and Dependent Service

2006-01-12 Thread jiwils
I am using JBoss 4.0.2 with the BarrierController service in order to have some custom MBeans depend upon the starting of the Tomcat connectors. Upon startup, everything works just as expected, but upon shutdown of the application server, the stop method of my custom MBeans is never called.

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss Server shutdown failure

2006-01-12 Thread [EMAIL PROTECTED]
Remove commons-logging.jar from your war. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917296#3917296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917296 --- This

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-11 Thread ghinkle
Absolutely agree with that. I'm just saying that the fix for the jndi problem has caused other problems in the jmx area. Object names need to be unique obviously and I was proposing a way to make them unique, but stable. As far as I'm concerned the jndi fix caused a regression in proper jmx

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-11 Thread ghinkle
Looking into the jsr-77 spec further... it states The value of the name key property for managed object instances of the J2EEDomain type must be equivalent to the domain name of the domain it manages.(JSR-77 FR, 22-23) JBoss uses the domain jboss.management.local even when the J2EEDomain object

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2006-01-11 Thread damonf
We are also having this problem in JB 4.03sp1. A .dll is used both by a .war and also in some .jars. My impression is that the .war classloader will be separate from the classloaders for the jars in the deploy and lib directories. I am not clear after reading the above posts about how to

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2006-01-11 Thread bhandsaker
If the DLL is being used by different native methods defined in the .war and in the .jar, then you may be in trouble. I suspect you will need to get all of the native methods that use the DLL into one place (e.g. one jar). We are still using 4.0.2. I don't know if 4.0.3 will affect this. We are

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2006-01-11 Thread [EMAIL PROTECTED]
MBeans have been hot deployable since 3.0.x. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916971#3916971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916971 --- This

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-11 Thread [EMAIL PROTECTED]
So lets fix the object names. The JSR77 names are independent of the ejb container names and can be fixed without any changes to the ejb container use of jmx names. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916974#3916974 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-11 Thread [EMAIL PROTECTED]
We also need testscases asserting the consitency and structure of the names used. All projects need to be cooperating in terms of asserting which apis are being used by providing or at least creating jira issues for their usage requirements. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-11 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-2651 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916984#3916984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916984 --- This

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss Server shutdown failure

2006-01-11 Thread romm
Hello, Has this issue been resolved for you? I'm having the same trouble... I appreciate any additional information you or anyone else may have. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917007#3917007 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss Server shutdown failure

2006-01-11 Thread romm
I just wanted to also mention that I'm running JBoss 4.0.1... I'd greatly appreciate any information or pointers into where I need to look to correct this trouble... | ERROR [BaseModelMBean] Exception invoking method destroy | java.lang.NoSuchMethodError:

[JBoss-user] [Management, JMX/JBoss] - Consistency in JMX naming

2006-01-10 Thread ghinkle
I'd like to reopen the question of why hashcodes are being added to jndi names should local-jndi-name not be set (http://jira.jboss.com/jira/browse/JBAS-275). This issue creates a big problem for building mangement services. We can not require all customers to set a local-jndi-name, nor should

[JBoss-user] [Management, JMX/JBoss] - Re: Consistency in JMX naming

2006-01-10 Thread [EMAIL PROTECTED]
The issue really isn't why the local-jndi-name is variable, its why the local-jndi-name is being used in the jmx name. The jmx name should be independent of this using the deployment structure and ejb-name as this has to be unique. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: HASingleton Schedulable

2006-01-09 Thread jukvaa
Why can't you just deploy it in the deploy-hasingleton directory? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916452#3916452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916452

[JBoss-user] [Management, JMX/JBoss] - Re: HASingleton Schedulable

2006-01-09 Thread [EMAIL PROTECTED]
In the next version, this will be another possibility: http://www.jboss.com/index.html?module=bbop=viewtopicp=3915801#3915801 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916462#3916462 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Can't use scoped class for MBean attribute in -service.xml

2006-01-09 Thread genman
This is JBoss 4.0.3. I have an MBean whose attribute is a java.lang.Class The class FooClass is available in a .ear file of course, but it doesn't seem to find it when configuring the MBean. | 2006-01-04 14:05:40,282 INFO [ServiceConfigurator] ( ) Problem configuring service

[JBoss-user] [Management, JMX/JBoss] - Re: Can't use scoped class for MBean attribute in -service.x

2006-01-09 Thread [EMAIL PROTECTED]
The most relevant seems http://jira.jboss.com/jira/browse/JBAS-1709, but that was a problem for scoped deployments. Is yours a scoped one? If not, I can only guess it's a issue of proper packaging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916481#3916481

[JBoss-user] [Management, JMX/JBoss] - Re: Adding A Log4jService Reconfiguration MBean Notification

2006-01-09 Thread jiwils
I am confused about one particular aspect of this solution... How does the Log4jService MBean indicate via the implementation of NotificationBroadcaster.getNotificationInfo that it emits this new notification (or does it at all)? I can see via the new Log4jService code that a notification is

[JBoss-user] [Management, JMX/JBoss] - Re: Adding A Log4jService Reconfiguration MBean Notification

2006-01-09 Thread [EMAIL PROTECTED]
In jboss getNotificationInfo() is not overriden in most cases and client code normally doesn't rely on it. If you want your mbeans to be more correct then go ahead and implement it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916510#3916510 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Remote Client for MBean with Security enabled.

2006-01-09 Thread gogineni
Hi Im trying to invoke operations on an MBean from a remote client. I got it working successfully if no authentication is enabled on my jmx-console with this code: Hashtable props = new Hashtable(); props.put(InitialContext.PROVIDER_URL,jnp://:1099);

[JBoss-user] [Management, JMX/JBoss] - Re: Remote Client for MBean with Security enabled.

2006-01-09 Thread gogineni
Never mind found the solution. As per http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoISecureTheJMXConnection the Context.SECURITY_PRINCIPAL Context.SECURITY_CREDENTIALS are propagated. so adding these to my properties helps: props.put(Context.SECURITY_PRINCIPAL, username);

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss-snmp-adaptor-snmptrapd-snmptt configuration iss

2006-01-08 Thread karanUk
With snmp-adaptor.sar set up to send traps,Nagios could be configured as per details in links below. http://www.nagios.org/faqs/viewfaq.php?faq_id=29 http://www.samag.com/documents/s=9559/sam0503g/ karanuk View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss-snmp-adaptor-snmptrapd-snmptt configuration iss

2006-01-06 Thread [EMAIL PROTECTED]
It'd be nice if you can post, for the benefit of all, a sort description of how you are using the snmp adaptor with nagios. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916035#3916035 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: HASingleton Schedulable

2006-01-06 Thread [EMAIL PROTECTED]
Hi! Not that this answers you perfectly, but another alternative you might look at is to use Quartz and a database to track scheduled jobs across a cluster. We use it across a cluster and it works quite well. It also comes with a JBoss MBean that makes it integrate easily. J View the

[JBoss-user] [Management, JMX/JBoss] - Mbeans dependency problem

2006-01-05 Thread kosana
Hi, I tried using to have my ejb deployed first before the mbeans service. But it seems didnt work. Does anybody has a clue?. this below my jboss-service.xml content. jboss.j2ee:module=Admin.jar,service=EjbModule Thanks. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Mbeans dependency problem

2006-01-05 Thread kosana
Hi, I tried using to have my ejb deployed first before the mbeans service. But it seems didnt work. Does anybody has a clue?. this below my jboss-service.xml content. !--server-- !--mbean code=com.div.shop.mbean.ShopService name=div:service=shop--

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss-snmp-adaptor-snmptrapd-snmptt configuration iss

2006-01-05 Thread karanUk
Thanks Dimitris :) That resolved the case. regards, nKaranUk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916016#3916016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916016

[JBoss-user] [Management, JMX/JBoss] - How can I write an MBean object that register itself in a JN

2006-01-03 Thread magacho
I want to write an MBean that will be available in a JNDI service. How should I do it? When I extend a HASingletonSuport the MBean simple appears in HAJNDI, but I want to do it in a simple MBean. Is there any way to do it in a simple way? Or I should do it in the MBean code? Thanks Flavio

[JBoss-user] [Management, JMX/JBoss] - Re: XMBean injection problem

2006-01-03 Thread [EMAIL PROTECTED]
That was actually a bug, solved here: http://jira.jboss.com/jira/browse/JBAS-2501. i.e. you couldn't use 'injection' with a standalone xmbean descriptor. The xml parser validation phase was failing. It worked ok with an embeded xmbean descriptor. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How can I write an MBean object that register itself in

2006-01-03 Thread genman
http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html I don't think there is a standard class you can extend, but this is a good example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3915386#3915386 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - HASingleton Schedulable

2006-01-03 Thread dionmcm
I've currently got a Scheduleable - ie a class that extends org.jboss.varia.scheduler.Schedulable and it is deployed in a SAR with the following sort of jboss-service.xml | ?xml version=1.0 encoding=UTF-8? | | server | classpath codebase=lib archives=scheduler-plugin.jar/ | |

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss-snmp-adaptor-snmptrapd-snmptt configuration iss

2005-12-27 Thread [EMAIL PROTECTED]
Generic needs to be set to 6, meaning enterpriseSpecific. 0 is essentially coldStart. see http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa5.shtml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914402#3914402 Reply to the

<    1   2   3   4   5   6   7   8   9   10   >