[JBoss-user] [Management, JMX/JBoss] - Re: java.lang.LinkageError for org/w3c/dom/Node

2006-03-03 Thread shorero
Thanks for the hint, but I've already gone through the stuff on the wiki, and it doesn't seem to apply. org.w3c.dom.Node is not part of the application, after all -- it's a system class that is normally loaded from rt.jar. In the case of JBoss 4.0.3SP1 (and probably 4.0.4 as well), it looks to

[JBoss-user] [Management, JMX/JBoss] - Re: java.lang.LinkageError for org/w3c/dom/Node

2006-03-03 Thread [EMAIL PROTECTED]
shorero wrote : Thanks for the hint, but I've already gone through the stuff on the wiki, and it doesn't seem to apply. org.w3c.dom.Node is not part of the application... | I don't believe you. Print out the code source of the Document class and the Document instance class: |

[JBoss-user] [Management, JMX/JBoss] - jmx/invoker/RMIAdaptor - This is working with JBoss 4.x but

2006-03-02 Thread lbrd
Hi, before i dive into problem rather i would like to give u small idea of the problem. i can get the Instance of MBeanServer from Outside the JBoss in JBoss 4.x but i am not able to get Instance of MBeanServer in case of JBoss 3.x. i found there are some differences for RMIAdaptor

[JBoss-user] [Management, JMX/JBoss] - jmx/rmi/RMIAdaptor - Working with JBoss 4.x but Not with 3.x

2006-03-02 Thread lbrd
Hi, before i dive into problem rather i would like to give u small idea of the problem. i can get the Instance of MBeanServer from Outside the JBoss in JBoss 4.x but i am not able to get Instance of MBeanServer in case of JBoss 3.x. i found there are some differences for RMIAdaptor

[JBoss-user] [Management, JMX/JBoss] - Re: jmx/rmi/RMIAdaptor - Working with JBoss 4.x but Not with

2006-03-02 Thread [EMAIL PROTECTED]
You need to understand a) how to properly ask for Help http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp b) how to search JIRA: http://jira.jboss.com/jira/browse/JBAS-2803 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927432#3927432 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - XMBEAN NotCompliantMBeanException on 4.0.4RC1 - Help Please,

2006-03-02 Thread struts-hibernate-engineer
Hi, I am getting NotCompliantMBeanException: Cannot instanciate MBean: services.jmx.MemoryMonitorService) Can anyone look at this simple xmbean and tell me why it is not compliant? It is the same kind as the one from the memorymonitor from xdoclet in action. Thanks for any tips. Code

[JBoss-user] [Management, JMX/JBoss] - Re: XMBEAN NotCompliantMBeanException on 4.0.4RC1 - Help Ple

2006-03-02 Thread struts-hibernate-engineer
my jboss-service.xml got chomped during the post process. Here is another shot at it... | | package services.jmx; | | import java.io.*; | import java.lang.*; | import org.jboss.system.*; | | import org.apache.commons.logging.Log; | import

[JBoss-user] [Management, JMX/JBoss] - Re: XMBEAN NotCompliantMBeanException on 4.0.4RC1 - Help Ple

2006-03-02 Thread [EMAIL PROTECTED]
For one thing, class MemoryMonitorService shouldn't be abstract View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927596#3927596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927596

[JBoss-user] [Management, JMX/JBoss] - Re: XMBEAN NotCompliantMBeanException on 4.0.4RC1 - Help Ple

2006-03-02 Thread struts-hibernate-engineer
Cute, can't believe I missed that. Anyway after building and deploying I got the following: [java] 22:06:36,135 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss-4.0.4RC1/server/tapestry-proto-1.0/deploy/ejb3-interceptors-aop.xml [java] 22:06:41,793 INFO [ServiceConfigurator]

[JBoss-user] [Management, JMX/JBoss] - Re: XMBEAN NotCompliantMBeanException on 4.0.4RC1 - Help Ple

2006-03-02 Thread struts-hibernate-engineer
Ok, I think this is resovled. XDoclet does nto output depends fragments. Anyway how can this xmbean run every 30secs? Seems it is registerd but not triggered every 30 secs. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927647#3927647 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Can my stand-alone application use Jboss implementation of j

2006-03-01 Thread solmyr72
Hi, I have a *stand-alone* java application (using java 5). I'm adding jmx support (i.e. my application launches an MBeanServer). My question: is it possible for my MBeanServer to use adaptors or connectors that are implemented by JBoss ? I'm mainly interested in html adaptor, but other

[JBoss-user] [Management, JMX/JBoss] - Need help with ServiceMBean

2006-03-01 Thread unsavory
I have a ServiceMBean class that I am trying to get working in the JMX console. I am using this method to try and be able to invoke some business logic from the console and return a result. /** | * @jmx.managed-operation | * | * @param customerName | * @param

[JBoss-user] [Management, JMX/JBoss] - Re: Need help with ServiceMBean

2006-03-01 Thread genman
Are we supposed to figure out what went wrong without a stack trace or specific error message? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927354#3927354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927354

[JBoss-user] [Management, JMX/JBoss] - Re: Can my stand-alone application use Jboss implementation

2006-03-01 Thread genman
If you download the source, you'll see that the JMX and services stuff falls into separate directories. Each one provides a separate library. Not sure which ones you'll need, however. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927355#3927355 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Locating MBeanServer from EJB: MBeanServerLocator.locate() d

2006-02-28 Thread alexbran
JBoss: ver 4.0.3 SP1 (it's the same with 4.04) installing all packets JVM: 1.5.0_05 IDE: Netbeans 5 beta I need to get access to the TreeCache from a servlet. So i used a EJB that find the TreeCacheMBeans and manage it. And a Servlet that lookup and use the EJB When i look for the MBeanServer

[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread [EMAIL PROTECTED]
Look at the http://localhost:8080/web-console, J2EE Domains Browse the web console jsps/source code (this is the console module) to see how the stats are implemented e.g. Servlet.jsp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926470#3926470 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
thanks for giving me reply, but i am new for JBoss - JMX. NOW, i browsed the http://localhost:8080/web-console, J2EE Domains , Manager , Jboss Root folder. i am able to find web-console-war but i am not able to find Jsp/Source Code for Servlet.jsp can u pls suggest me what i should do now.

[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
hi, ok fine i got the Servlet.jsp but now my question is this servlet is deployed in the same JBoss Server but i want this information from outside the JBoss. how it can be possible to get Web Application Detail from outside the JBoss? becaue my program is simple Java Main program which

[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread [EMAIL PROTECTED]
Have you ever looked at the FAQ? http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926510#3926510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926510

[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
ya , i tried to find from http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX but, i couldn't ... see actually i want to Monitor Web Application Parameter but not from the inside of JBoss but from OutSide of JBoss. For this i connect my agent through HttpAdaptor okay, now i can manage to

[JBoss-user] [Management, JMX/JBoss] - Web Application Detail through JMX(Urgent require).

2006-02-26 Thread lbrd
hi already i asked this question many ways but still i am searching the answer of this question, already i searched in google and many more search engine. but i couldn't found any proper answer. Already i got some success to found Application Server CPU Usage parameters and JDBC Parameters as

[JBoss-user] [Management, JMX/JBoss] - Model MBean Issue

2006-02-24 Thread malmit
In sticking with the standards, I am trying to build a Model MBean which is not based off of the proprietary JBoss XMBean implementation. Is this possible? From what I read in the Wiki it states that in 3.2.6 only the XMBean implementation was available Although JBoss does not use any Model

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

2006-02-24 Thread [EMAIL PROTECTED]
see javax.management.modelmbean.RequiredModelMBean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926159#3926159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926159

[JBoss-user] [Management, JMX/JBoss] - Re: Monitor Web as well as J2ee Application

2006-02-24 Thread genman
Take a look at the JMX console for some of this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926224#3926224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926224 ---

[JBoss-user] [Management, JMX/JBoss] - Be notified when web application is available

2006-02-23 Thread mjessee
I have an mbean that needs to know when an associated web application is available. I have the context of the war as an attribute to the mbean. The mbean is deployed before the war. Currently, I loop for a certain amount of time, using HttpClient to tell me when the context is responding. The

[JBoss-user] [Management, JMX/JBoss] - JMX MBean deployed twice? It prints every log-statement twic

2006-02-22 Thread Pajac
Hello, my JMX MBean is printing every log statement twice. I would like to know, if it is normal behaviour of MBeans printing everything twice or if it was deployed twice. This behaviour is independent of creating a JBoss specific-MBean with extended logger or a standard MBean with Apache

[JBoss-user] [Management, JMX/JBoss] - Re: JMX MBean deployed twice? It prints every log-statement

2006-02-22 Thread [EMAIL PROTECTED]
You are probably deploying it twice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925547#3925547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925547 --- This SF.net

[JBoss-user] [Management, JMX/JBoss] - Re: JMX MBean deployed twice? It prints every log-statement

2006-02-22 Thread Pajac
Thanks for the fast reply. But if I am trying to register the MBean really twice, there is coming a Already Registered-DeploymentException. There are 3 places, where my MBean is visible in the jmx-console: - jboss.management.local as ServiceModule with MBean Java Class:

[JBoss-user] [Management, JMX/JBoss] - Re: JMX MBean deployed twice? It prints every log-statement

2006-02-22 Thread [EMAIL PROTECTED]
So then it's an issue of your logging configuration. JBoss log4j logger is configured int conf/log4j.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925584#3925584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925584

[JBoss-user] [Management, JMX/JBoss] - Re: JMX MBean deployed twice? It prints every log-statement

2006-02-22 Thread Pajac
You got it! It was because of the log4j.xml in server/${myconfig}/conf There was a second ConsoleAppender for my package defined. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925590#3925590 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - handleNotification2() and application startup

2006-02-22 Thread jgowder
Hi, I have a scoped application, which has logging statement and some application startup logic in the handleNotification2 () method of ListenerServiceMBeanSupport mbean. This fails while trying to initialize log4j and some class not found exception even though they are at the root of the

[JBoss-user] [Management, JMX/JBoss] - Kill Thread From JMX Console

2006-02-22 Thread jrumskas
I apologize if this has been asked before. I have searched the boards and read the fags. I have identified a thread that is getting stuck in our code and am researching how to fix it. In the mean time, I wondering if there was a way to kill a stuck thread inside of JBoss from the JMX console.

[JBoss-user] [Management, JMX/JBoss] - Re: Kill Thread From JMX Console

2006-02-22 Thread jrumskas
JBoss 4.02 and JDK 1.5. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925726#3925726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925726 --- This SF.Net email is

[JBoss-user] [Management, JMX/JBoss] - Monitor Web as well as J2ee Application

2006-02-22 Thread lbrd
hi i am new for JMX , how can i get the J2ee Application detail as following. i) No of EJB deployed ii) No WebApplication are configure.(No of War) iii) No of J2ee Application are deployed. iv) JDBC Connection Pool Related Information. already i got MBeanServerConnection Instance but i don't

[JBoss-user] [Management, JMX/JBoss] - can i know the JBoss Server Started tiem and date from outsi

2006-02-21 Thread lbrd
hi i am new for Jboss - JMX, can anyone tell me,how can i identify the Server Start time and date. because i can get the Instance of MBeanServer but MBeanServer doesn't have the method like getStartDate(). but ya, Server has method like getStartDate(). so how can i access this Server Interface

[JBoss-user] [Management, JMX/JBoss] - How can get Web Application Detail from JBoss through MBean.

2006-02-21 Thread lbrd
hi can any one tell me how can i get WebApplication Detail. through MBean. like. WebApplication Name: ContextRoot: ResponseType: For this which service name i have to pass into ObjectName. i tried as follow. ObjectName nameServer = new ObjectName(jboss:service=WebApplication);

[JBoss-user] [Management, JMX/JBoss] - Re: NotSerializableException lunched in the twiddle

2006-02-21 Thread [EMAIL PROTECTED]
IMO if you are trying to download a Serializable attribute over the wire getting a NonSerializableException should be the appropriate exception for that. Why would you try to return a NonSerializable object over the wire? View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: can i know the JBoss Server Started tiem and date from o

2006-02-21 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925429#3925429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925429

[JBoss-user] [Management, JMX/JBoss] - Access MBeanServer Instance from Outside the JBoss

2006-02-20 Thread lbrd
hi i am new for JBoss - JMX. Can any one tell, how can i access the Instance of JBoss MBeanServer . i try with below code. Properties = new Properties(); Properties.put(java.naming.factory.initial, org.jboss.naming.HttpNamingContextFactory);

[JBoss-user] [Management, JMX/JBoss] - XMBean Persistence Question

2006-02-20 Thread malmit
I am trying to implement a MBean which persists it's configuration to the database rather than a xml file which a XMBean does by default. Do I need to create my own PersistenceManager to do this or does Jboss provide any such PersistenceManager. From what I read in the Wiki, I seems like

[JBoss-user] [Management, JMX/JBoss] - Re: XMBean Persistence Question

2006-02-20 Thread [EMAIL PROTECTED]
You'd have to provide your own implementation of org.jboss.mx.persistence.AttributePersistenceManager. For example, see how org.jboss.system.pm.XMLAttributePersistenceManager is implemented. If you make this generic/well tested, I'll consider adding it to the codebase. View the original post

[JBoss-user] [Management, JMX/JBoss] - JMX: Managing a records in a database

2006-02-20 Thread malmit
Not sure if JMX is the right technology to do this. I need to manage (add, edit, delete) some records in a database table and would like to expose these management operations via a JMX interface using an XMBean with a custom AttributePersistenceManager. From what I can see, the default JBoss

[JBoss-user] [Management, JMX/JBoss] - JMX ModelBean Persistence With Spring Java 5 Annotations

2006-02-20 Thread greenbean
Spring provides annotations to expose and persist mbeans. The persistence does not seem to work when using this method. Is this supported by jboss? @ManagedResource(objectName = jmx:bean=TestBean, description = Test bean, log = true, logFile = jmx.log, currencyTimeLimit = 0, persistPolicy =

[JBoss-user] [Management, JMX/JBoss] - Re: Getting value of MBeanAttributeInfo

2006-02-19 Thread [EMAIL PROTECTED]
MBeanServer.getAttribute(ObjectName name, String attribute) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3924892#3924892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924892

[JBoss-user] [Management, JMX/JBoss] - Monitoring multiple mbeans at once

2006-02-16 Thread dragomirn
Hallo everybody, I have several mbeans created dynamically by another Mbean, when JBOSS starts . They all have the same interface/type, just represent different data. How can I create [declaratively] a monitor, monitoring a certain attribute A in each of all the beans? Thanl you in

[JBoss-user] [Management, JMX/JBoss] - Re: How to explore CPU via JMX

2006-02-16 Thread [EMAIL PROTECTED]
java.lang.management.ThreadMXBean in jdk5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3924337#3924337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924337 --- This

[JBoss-user] [Management, JMX/JBoss] - Remote Notifications with JBoss 3.2.3

2006-02-16 Thread mjowen
Hi, I'm using JBoss 3.2.3 and I want to have two JBoss servers, with one server (i.e. server B) getting notifications from the other (i.e. server A). I started this process with just one server, which sends notifications to other listeners on the same server. This therefore means I have a

[JBoss-user] [Management, JMX/JBoss] - How to obtain the load information of jboss ?

2006-02-15 Thread cassiofreire
Hi All, I need to know which the amount of memory and cpu used by jboss in one determined instant. Like the system idle process of windows. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923938#3923938 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to solve a listener in WAR issue?

2006-02-15 Thread chwang
Thank you very much, it works perfect right now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923959#3923959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923959 ---

[JBoss-user] [Management, JMX/JBoss] - Re: How to obtain the load information of jboss ?

2006-02-15 Thread cassiofreire
Hi, I forgot a detail. I want to make this implementation only with Java language, exactly, to determine the use of CPU by the Java process of the JBoss server. I believe that now my doubt was more understandable. * In this example

[JBoss-user] [Management, JMX/JBoss] - Getting value of MBeanAttributeInfo

2006-02-15 Thread RobinJacob
I have a requirement where in I need to get the attribute of the MBean that I have exposed into a Jsp page. For this I was trying to do the below peice of code in my servlet RMIAdaptor server = (RMIAdaptor) ic.lookup(jmx/rmi/RMIAdaptor); ObjectName name = new

[JBoss-user] [Management, JMX/JBoss] - any component (e.g. a servlet) that can get hold of the MBea

2006-02-14 Thread chwang
Hi Folks, I really need your help. and Please help. Thank you. I read this link http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanNonMBeansReceiveJMXNotifications At the bottom of tht link, there is a line saying any component (e.g. a servlet) that can get hold of the MBeanServer can

[JBoss-user] [Management, JMX/JBoss] - Re: How to solve a listener in WAR issue?

2006-02-14 Thread [EMAIL PROTECTED]
Try to move the MBeanListener class from inside the .war to inside the .sar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923653#3923653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923653

[JBoss-user] [Management, JMX/JBoss] - Re: How to solve a listener in WAR issue?

2006-02-14 Thread chwang
Thank you very much for your reply. it workds after moving the listener into .sar. But My application in .war needs to get changed data from this listener. How it accesses listener to retrieve the chnaged data? Chwang View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to solve a listener in WAR issue?

2006-02-14 Thread [EMAIL PROTECTED]
You should still execute the same code in the .war, it just that the MBeanListener class should be loaded from the .sar file. The .war code should have access to the .sar classes, I think. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923685#3923685 Reply to

[JBoss-user] [Management, JMX/JBoss] - Re: Unexpected NoClassDefFoundError when an MBean depends on

2006-02-14 Thread [EMAIL PROTECTED]
One solution would be to package all the shared classes in a .jar, and use e.g. the PrefixDeploymentSorter in the DeploymentScanner to deploy this .jar before the .sar ejbs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923698#3923698 Reply to the post :

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

2006-02-14 Thread boa_ig
HTTP compressed Good afternoon! Help please. I have adjusted the client and server for job in two modes 1.custom JRMPInvoker MBean that enables compressed sockets 2. RMI/HTTP protocol How to me using HTTP the protocol to add compressed? I use JBoss 4.0 View the original post :

[JBoss-user] [Management, JMX/JBoss] - How to me using HTTP the protocol to add compressed?

2006-02-14 Thread boa_ig
Good afternoon! Help please. I have adjusted the client and server for job in two modes 1.custom JRMPInvoker MBean that enables compressed sockets 2. RMI/HTTP protocol How to me using HTTP the protocol to add compressed? I use JBoss 4.0 View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Unexpected NoClassDefFoundError when an MBean depends on

2006-02-13 Thread forkbomb
Scott, Thanks for the quick reply, but I'm not quite sure I understand your answer. Perhaps this isn't the proper board for this question, because this is really a classloading question; I just happened to run into the problem when deploying an MBean. My goal is to have only one copy of

[JBoss-user] [Management, JMX/JBoss] - How to solve a listener in WAR issue?

2006-02-13 Thread chwang
Hi Folks, I have Mbean in sar, after the state of MBean has been changed, it will notify listener. But my listener is a servlet in war. I added the listener in a code in war: ObjectName objectName = new ObjectName(com.outputprocess.jmxservice:service=Hello);

[JBoss-user] [Management, JMX/JBoss] - My listener is a servlet.

2006-02-13 Thread chwang
Hi Folks, Please hlep me again. Currently I have Mbean in sar. but I have a servlet in War. the servlet is also a listener. when Sate of the Mbean change, it will notify the servlet. But I use MBeanserver.addNotificationListener(objectName, myMBeanListener, null, null ); it complains

[JBoss-user] [Management, JMX/JBoss] - Re: Unexpected NoClassDefFoundError when an MBean depends on

2006-02-12 Thread [EMAIL PROTECTED]
Dependency is not down to the level of class loading. If you read the service mbean behavior in chapter 2 of the server guide it will be clear that the service lifecycle notion applies well have the service is created in the jvm. The jboss5 microcontainer will support class loader level

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

2006-02-10 Thread [EMAIL PROTECTED]
Cool, let me know how it goes or if you have ideas for extensions... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922833#3922833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922833

[JBoss-user] [Management, JMX/JBoss] - Re: NotificationLsitener must be a MBean?

2006-02-10 Thread [EMAIL PROTECTED]
see http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanNonMBeansReceiveJMXNotifications View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922911#3922911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922911

[JBoss-user] [Management, JMX/JBoss] - Re: NotificationLsitener must be a MBean?

2006-02-10 Thread chwang
Thank you very much! my servlet is in war, Jmx service is in sar. There is no servlet copy in sar. Can I just put the path and servlet class name to subsrcribe? or Mbean service to add lietener which includs the path and calss name? Thank you again Chwang View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: NotificationLsitener must be a MBean?

2006-02-10 Thread chwang
Thank you, I have figured out how to do it after reading the link again you gave me. I have a small question. javax.management.NotificationListener intefrce has no subscribe/unsubscribe method. There is ony handleNotification(Notification notification, Object handback) method. So I only

[JBoss-user] [Management, JMX/JBoss] - Unexpected NoClassDefFoundError when an MBean depends on an

2006-02-10 Thread forkbomb
I have an MBean contained in a SAR that depends on a session bean in a separate EJB jar file, and I have included the appropriate depends element in jboss-service.xml. I would like my SAR file to contain ONLY the MBean, but I get a NoClassDefFoundError for my session bean's local interface from

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

2006-02-10 Thread ashish7s
Hi, When I start the jBoss-4.0.2 on HP-UX 11.11 I get the following exception : [MainDeployer] could not create deployment: file: ./server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: Error parsing the XML file, from XMLMetaData: ; - nested throwable:

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

2006-02-09 Thread misge
I'm sending the following alarm but nothing seems to change on the AlarmTable Stateless or Statefull either. My MBean extends org.jboss.system.ServiceMBeanSupport AlarmManager alm = new AlarmManager(this); I set alm.setSeverity(package.something.test, Alarm.SEVERITY_MINOR); and then

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

2006-02-09 Thread [EMAIL PROTECTED]
Have you configured the ActiveAlarmTable to subscribe to your mbean? The default config is: |mbean code=org.jboss.monitor.services.ActiveAlarmTable | name=jboss.monitor:service=ActiveAlarmTable | attribute name=SubscriptionList | subscription-list |

[JBoss-user] [Management, JMX/JBoss] - Shutdown JBoss gracefully when it fails to deploy a critical

2006-02-09 Thread PoorabShah
Question: Is it possible to shutdown JBoss gracefully when it fails to deploy a critical service? I override the 'startService()' method where I read some config files, initialize some thread pools, etc. In case I get an exception at this stage, I want to ensure that JBoss does not start up.

[JBoss-user] [Management, JMX/JBoss] - NotificationLsitener must be a MBean?

2006-02-09 Thread chwang
Hi Folks, I read this link: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener Looks like the listener is a MBean and is put into sar. But my application is a servlet and needs to get a data from a ServiceMbean. For example : My application needs to be notified to

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

2006-02-09 Thread reshma
Hello, I'm doing a project in application server monitoring.I need help to get the mbean notification from the application server.Whenever the event change occurs it should automatically send the notification. Can anybody help me plz ?? View the original post :

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

2006-02-09 Thread misge
i did the change and works fine. I set also the notification type for my custom solution. Cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922803#3922803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922803

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

2006-02-08 Thread lapoutre
in fact I'm coding it a second time. The thing, like wzzzrd said, is that You have to be independent of elements, as much as you can. The MBean is loaded but may be not connected at the JMS queue. In order to perfom that, I'm coding a retrying system. This system is usefull when you start

[JBoss-user] [Management, JMX/JBoss] - MarshalException while invoking remote MBean

2006-02-08 Thread tremalnaik
Hi, I deployed a MBean which implements the HASingleton in a clusterd JBoss application. I use it to manage a HashMap userd to read/store user infos. I followed the instructions found here: http://www.jboss.org/index.html?module=bbop=viewtopict=55794 So I think the configuration is fine,

[JBoss-user] [Management, JMX/JBoss] - Re: MarshalException while invoking remote MBean

2006-02-08 Thread tremalnaik
I forgot to say: 1) if this is the wrong place to post my question please tell me. 2) I understand the error is due the fact that I didn't declare the valve Serializable, but I DON'T want to do it. Infact I want the only object be marshalled is the HashMap that I'm trying to write to the

[JBoss-user] [Management, JMX/JBoss] - dynamic deployment or service life cycle

2006-02-08 Thread jgowder
Hi, Is it possible to create an MBean and start it even before creating the other mbeans in the same service archive. To be more specific, If I have about 5 mbeans which depend on the master mbean, which needs to be started before the other beans are created ? Is it possible to do it. The

[JBoss-user] [Management, JMX/JBoss] - Re: dynamic deployment or service life cycle

2006-02-08 Thread [EMAIL PROTECTED]
I don't think so this is possible. You'd have to deploy the master mbean seperately. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922399#3922399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922399

[JBoss-user] [Management, JMX/JBoss] - Re: No ClassLoaders found for Service

2006-02-07 Thread RME
Thanks to all who provided help. While the solution probably indicates either a bug or oversight in JBoss, well, thats the way it goes I guess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922060#3922060 Reply to the post :

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

2006-02-07 Thread deb99s
I have implemented your MBean solution and the dll's are being loaded, but the methods are not visible even from the MBean. All classes have the same class loader. I'm using JBOSS 4.0.1sp1. Any ideas? View the original post :

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

2006-02-07 Thread mawione
Did you find a solution to your problem? I'm having same problem. Thanks! Magnus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922176#3922176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922176

[JBoss-user] [Management, JMX/JBoss] - Failed to get JMS queue

2006-02-05 Thread mawione
Hi, I'm trying to get hold of JBoss JMS queue from my MBean. It works fine when I hot-deploy my MBean when JBoss is allready started, but fails when I start JBoss with my MBean deployed. I get following exception: Failed to get JMS Queue. Exception = javax.naming.NameNotFoundException:

[JBoss-user] [Management, JMX/JBoss] - No ClassLoaders found for Service

2006-02-04 Thread RME
JBoss 3.2.5: So, I've tried to load a JBoss Service but dispite many different combinations of ear/sar/-server.xml/etc. I allways get the same error message: 2006-02-04 14:17:36,654 INFO [EARDeployer] - Init J2EE application:

[JBoss-user] [Management, JMX/JBoss] - Re: How to add an mBean into Jboss

2006-02-03 Thread [EMAIL PROTECTED]
Fabiano. Please do not answer user questions in the development forums. Help me == user question There is a warning at the top of each forum showing where to go. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921454#3921454 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to add an mBean into Jboss

2006-02-03 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : Fabiano. Please do not answer user questions in the development forums. The reason is that looks like these type of questions might be being answered in the forum and you get a snowball affect of more an more user questions in the wrong forum. View the original post :

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

2006-02-03 Thread wzzzrd
it may be a bit late... the only service your mbean should depend on is the queue you are connecting to (queues are also defined as mbeans), this should do. regards, martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921464#3921464 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to add an mBean into Jboss

2006-02-03 Thread fabcipriano
anonymous wrote : Fabiano. Please do not answer user questions in the development forums. Ok. I undertand. My fault. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921489#3921489 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Connecting to mbean server via RMIAdaptor

2006-02-02 Thread jackylu
I have two nodes(n1, n2) running the all configuration with HAJNDI service enabled. The org.jboss.ha.jndi.HANamingService mbean in cluster-service.xml has the default configuration. I'm using jboss-4.0.3SP1. I have the following source code to remotely access the mbean server via RMIAdaptor:

[JBoss-user] [Management, JMX/JBoss] - Re: How to add an mBean into Jboss

2006-02-02 Thread fabcipriano
A form to register a MBean in JBoss is : http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService For a overview of JBoss services see: http://www.jboss.org/wiki/Wiki.jsp?page=JBossService For a little deep (deep) information about MBean and JBoss services, see:

[JBoss-user] [Management, JMX/JBoss] - Whcih MBean contains JDBC,Entity Bean related data in JBoss

2006-02-02 Thread komspr
Hi, Whcih MBean contains JDBC,Entity Bean related data in JBoss application server.And what are the parameters that can be monitored in them. Is there any document on net which says these are the pramaters that can be monitored in JBoss other than jmx-console. Regards Siav View the original

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

2006-01-31 Thread jlsimpson
Last night we solved the Remote Admin / JBoss conflict we had been experiencing. The root of the problem was found to be the method used to start JBoss as a service. Prior to last night, we had used a 3rd party product called ServiceMill. Last night we switched to use the Run As Service tool

[JBoss-user] [Management, JMX/JBoss] - how to change SchedulePeriod in timer mbean

2006-01-31 Thread [EMAIL PROTECTED]
Hi, I'm wondering, once the scheduler starts to work, how can I pass in and modify the SchedulePeriod, is it possible? -- Thanks lots John Toronto View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920786#3920786 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - @Management deployment error

2006-01-30 Thread thunderbear
2006-01-30 11:16:40,729 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:service=EJB3,name=InitializeDat abaseMBean java.lang.RuntimeException: Problem registering @Management interface for @Service class InitializeDatabaseMBean at

[JBoss-user] [Management, JMX/JBoss] - Re: @Management deployment error

2006-01-30 Thread thunderbear
Ooops.. not the idea to send off the whole stacktrace there ;-) Anyway, we are having some problems deploying EJB3 style MBeans in our test (soon to be production) environment. We're on JBoss 4.0.3 SP1 patched to EJB3 RC3. Everything deploys and works fine on my local machine (same setup), but

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

2006-01-30 Thread song08
I had the same problem, Anybody get an idea. And how to include a SAR in EAR? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920489#3920489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920489

[JBoss-user] [Management, JMX/JBoss] - To extend the JBoss / JBPM

2006-01-27 Thread cassiofreire
Hi All, In my research, I am trying to extend the JBoss. Initially, I want to forward a request (for one workflow JBPM) between different instances of JBoss. My doubt at the moment is: For this, I need to study only the JMX? Which other technologies would be involved? Looking at the code

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

2006-01-27 Thread fabcipriano
Andy, To prevent this proble give a look in JBAS-1955. I almost sure that this will help to solve your proble. Let me know if it does. And sossy for not reply your mail, Im very busy in my company and didnt have time to test your. But in truth the problem with the code that you send me it is

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

2006-01-26 Thread [EMAIL PROTECTED]
I believe MBeanProxyExt is legacy, before MBeanServerInvocationHandler was standardized. It had some equality problem, too: http://jira.jboss.com/jira/browse/JBJMX-2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919756#3919756 Reply to the post :

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

2006-01-26 Thread rshun
Hi, I try to use JNDI to lookup jmx/invoker/RMIAdaptor. But I got following exception. Anyone can give me some clues. Thank you!! Exception in thread main javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or

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