[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread ragsta
this is the solution i've found: my stateless session bean: | public class CounterBean implements SessionBean { | |public static MovementsMgr myMBean=null; | |public void ejbCreate() throws CreateException { | if (myMBean == null){ | myMBean= new

[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread [EMAIL PROTECTED]
There is an issue with the lifecycle with the mbean, i.e. how it gets destroyed/deregistered? My initial idea would be to have an mbean service deployed together with the ejb as an embedded .sar The mean would be a frond-end to a data object (pojo) holding the actual metrics. The mbean would

[JBoss-user] [Management, JMX/JBoss] - Class not found on

2006-04-19 Thread urswag
Who can help me? I have checked ejb-jar.xml, jboss.xml the clases are in the jar file. The other beans are working fine. anonymous wrote : | Bean : ShoppingCartEJB | Section: 22.2 | Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the

[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread ragsta
I like the idea but I've a question about. Does it work in a clustered evironment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938146#3938146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938146

[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread [EMAIL PROTECTED]
Clustering has nothing to do with this, or I don't get you? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938173#3938173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938173

[JBoss-user] [Management, JMX/JBoss] - A bug in logging

2006-04-19 Thread manuel_stein
Servus all, I have found a bug in jboss logging, but I didn't find the appropriate forum, so I post it here. The class org.jboss.logging.filter.TCLFilter is implemented returning either Filter.ACCEPT xor Filter.DENY. Well, in case the filter matches, AcceptOnMatch shall decide whether ACCEPT

[JBoss-user] [Management, JMX/JBoss] - Re: Class not found on

2006-04-19 Thread manuel_stein
Well, I guess your com.sun.j2ee.blueprints.cart.ejb.ShoppingCartLocalEJB is missing :) it needs to be in the petstore.jar file you can open .jar files with a zip program (e.g. W*nZ*p) make sure that you have a path _in_ the jar file that goes 'com/sun/j2ee/blueprints/cart/ejb/' holding the

[JBoss-user] [Management, JMX/JBoss] - Re: Class not found on

2006-04-19 Thread urswag
Thanks for Your answer It was a misstyping, I was so hyper active, it did not recognize it. It has to be com.sun.j2ee.blueprints.cart.ejb.ShoppingCartEJB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938208#3938208 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: A bug in logging

2006-04-19 Thread [EMAIL PROTECTED]
If you are very sure about the bug, open a JIRA case with a detailed explanation, and preferrably a test case that replicates the problem, along with your patch, and someone will review it. http://jira.jboss.com/jira/browse/JBAS View the original post :

[JBoss-user] [Management, JMX/JBoss] - Extending JSR77 stats

2006-04-19 Thread cbono
I am trying to find the cleanest way to extend the JSR77 stats provided by JBoss to include the timestamp the stat was collected and possibly dump/persist these stats out at some interval so I can later report on the stats. Ultimately I would like to graph the elapsed time for an ejb method

[JBoss-user] [Management, JMX/JBoss] - Re: Extending JSR77 stats

2006-04-19 Thread cbono
Also, where are the status currently being set in the server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938245#3938245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938245

[JBoss-user] [Management, JMX/JBoss] - EAR Deployment Notification

2006-04-19 Thread twittemb
Hello, please excuse my English ... i'm french ! Fisrt of all, i'm using JBoss 4.02 ! I'm having trouble in catching EarDeployer Notifications. Here is my developpemen status : I have an MBean which is notified when a .ear archive is deployed in the start state of notification. This work

[JBoss-user] [Management, JMX/JBoss] - Securing Twiddle

2006-04-18 Thread negnoire101
I am trying to secure the twiddle command line tool. I was able to successfully secure the j-console using the follwing parameters: -Dcom.sun.management.jmxremote.port=9002 \ -Dcom.sun.management.jmxremote.authenticate=true \ -Dcom.sun.management.jmxremote.ssl=false \

[JBoss-user] [Management, JMX/JBoss] - Server Info listThreadCpuUtilization();

2006-04-17 Thread vignesh76
I'm using ServerInfo listThreadCpuUtilization() (the Total value) to calculate the %CPU utilization of the Jboss server. I'm also taking in to account the no of CPUs while calculating this value. The problem is, I'm getting absurd values for CPU usage like 170% etc. The formula I'm using is:

[JBoss-user] [Management, JMX/JBoss] - Deployment Error

2006-04-17 Thread elvioandrade
Hi, a strange error is happening to me, if I deploy a Jmx Service when I have the AS running, an exception is thrown and the deployment fails. It throws the typical: | Class does not expose a management interface: java.lang.Object) | If I re-start the server, then the service is

[JBoss-user] [Management, JMX/JBoss] - Re: Server Info listThreadCpuUtilization();

2006-04-17 Thread [EMAIL PROTECTED]
The total is just the sum of what gets reported by http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadMXBean.html#getThreadCpuTime(long) for each running thread, so the accuracy depends on the jdk implementation. Do you count the elapsed time interval between 2 calls? I don't

[JBoss-user] [Management, JMX/JBoss] - Re: Server Info listThreadCpuUtilization();

2006-04-17 Thread vignesh76
Thanks for the reply. Yeah, I count the elapsed time interval between the 2 calls and the total cpu usage in this time interval. The no of CPUs is as reported by the jboss web-console, home page (Hardware section) The JVM i'm using is java version 1.5.0_05 Java(TM) 2 Runtime Environment,

[JBoss-user] [Management, JMX/JBoss] - Reggie as an mbean

2006-04-17 Thread jonesgeek
Is there a way to run the reggie lookup service as a JBoss MBean service? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937778#3937778 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937778

[JBoss-user] [Management, JMX/JBoss] - Mbean Attribute decription

2006-04-14 Thread raogu
Is there any documentation available for Attributes, Mbeans expsoed by JBoss?. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937363#3937363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937363

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean Attribute decription

2006-04-14 Thread [EMAIL PROTECTED]
There is no Users Guide for that, however you may find documentation for individual subsystems if you look in the related sections in the admin-development guide http://docs.jboss.org/admin-devel/AdminDevelTOC.html View the original post :

[JBoss-user] [Management, JMX/JBoss] - how to dynamical tune parameters through jmx-console

2006-04-14 Thread w114hua
In JBoss ,there are many parameters about performance.In order to improve performance of jboss application server.,some parameters could be dynamically tuned without shutting down JBoss Application Server .who could tell me a list of detailed parameters for on-line performance tuning ? whether

[JBoss-user] [Management, JMX/JBoss] - How to push data to JMX components?

2006-04-13 Thread ragsta
There is a way to use a method of a class that implements an MBean interface but not for that particular method? This is the case: I want to push data from a stateless session bean into a management component I've developed, so that I can see the total amount of a parameter passed to the

[JBoss-user] [Management, JMX/JBoss] - LoggingMonitor mbean dependencies

2006-04-13 Thread mtihepner
I'm running JBOSS 3.2.7 and I've added the LoggingMonitor jar. I'm currently getting this error message during bootup: 2006-04-13 20:27:28,275 WARN [org.jboss.services.loggingmonitor.LoggingMonitor] Unable to log attributes for mbean: jboss.web:type=ThreadPool,name=jk-8009

[JBoss-user] [Management, JMX/JBoss] - Re: LoggingMonitor mbean dependencies

2006-04-13 Thread jiwils
mtihepner wrote : Is there a way I can set the LoggingMonitor to load last? In your server configuration's deploy directory, add a deploy.last directory and place your LoggingMonitor MBean descriptor in that directory. Then, it will get deployed last, but since the MBean you are monitoring

[JBoss-user] [Management, JMX/JBoss] - Re: LoggingMonitor mbean dependencies

2006-04-13 Thread jiwils
I should have added that this issue is solved by the JBoss Barrier Controller service in JBoss 3.2.8+/4.0.2+, which was written to solve problems just like this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937280#3937280 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: LoggingMonitor mbean dependencies

2006-04-13 Thread mtihepner
Adding my LoggingMonitor MBean descriptor into a deploy.last directory delayed the warning on jboss.web:type=ThreadPool,name=jk-8009 but it didn't prevent them. I was having the same issue other mbeans and this did resolve those problems. If this is problem resolved in later version of

[JBoss-user] [Management, JMX/JBoss] - managing remote resources

2006-04-10 Thread jonesgeek
What is the standard proceedure for managing remote resources (Using JMX) that are part of your system? Say you have a web server on one machine, an application server (JBoss AS) on another, and a database server on a third. Would you have each service have their own jmx server, or would you

[JBoss-user] [Management, JMX/JBoss] - Accessing JBoss MBeans from jdk1.5

2006-04-07 Thread rajat.me
Can we access jboss mbeans directly from our code running under jdk1.5? I am not planning to put any jboss specific jar files (e.g jbossall-client.jar) in the classpath.Since jboss is jmx compliant so i guess all the standard jmx jars present in the jdk1.5 would be sufficient to access the

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing JBoss MBeans from jdk1.5

2006-04-07 Thread [EMAIL PROTECTED]
Not so if you are accessing the server remotely. You'll need a connector and also classes for this like attribute values. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935794#3935794 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - SAR creation

2006-04-05 Thread jaleyba
Hi I'm new to JBoss and I'm trying to make a JMX service that will run in JBoss. I've read in docs that my app should be delivered as a sar file and I wonder if exists an ant task to do this or how could I do it ? Also, my service should read a file with settings (will start an ActiveMQ

[JBoss-user] [Management, JMX/JBoss] - Re: SAR creation

2006-04-05 Thread [EMAIL PROTECTED]
sar = jar + META-INF/jboss-sevice.xml with .sar extension. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935202#3935202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935202

[JBoss-user] [Management, JMX/JBoss] - Re: How do we monitor the number of hits for an appliaction?

2006-04-04 Thread [EMAIL PROTECTED]
Put all the statistics work to servlet-filter that is invoked on /* . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3934626#3934626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934626

[JBoss-user] [Management, JMX/JBoss] - How to add a MBean method description and Param description

2006-04-04 Thread hsaha
Hi, How do we add a description of a method for an MBean in Jboss 4.0.2. Also how to add the param description. I want to achieve this without making the MBean an XmBean. Thanks in advance. Himadri View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3934723#3934723

[JBoss-user] [Management, JMX/JBoss] - Re: How to add a MBean method description and Param descript

2006-04-04 Thread [EMAIL PROTECTED]
You must either implement a Dynamic MBean or a Model MBean and provide the description metadata programmatically. Read the JMX spec. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3934775#3934775 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Problems with MBeanServerConnection in Context

2006-04-04 Thread sgastonc
Hi, im just write about a possible error getting connections using Context.lookup. Right now i have 2 environments, both configured with jboss-3.2.5 one over a windows 2000 and the other one over debian. Well, here is the code with strange behavior.. Hashtable props = new Hashtable();

[JBoss-user] [Management, JMX/JBoss] - Create method is not called on Service bean

2006-04-04 Thread treespace
I have a service bean Special that depends on service bean Core. The special bean loads and the core bean is injected without a hiccup. I have print statements that show the create and start methods of Special are called. Core create and start methods are not called. Special is definitely

[JBoss-user] [Management, JMX/JBoss] - Re: How do we monitor the number of hits for an appliaction?

2006-04-03 Thread harikathir
Thanks Peter. But I'm not using a EJB application. Mine is a plain struts application with pojos. I was able to see an option at jms console which shows only count for jsp, servlets as a whole. My requirement is i need to count for each click on any link on the home page to track which link

[JBoss-user] [Management, JMX/JBoss] - How can i get Servlet Detail for web-console.war in JBoss4.0

2006-04-03 Thread lbrd
hi, how can i get web-console.war's Servlets detail in Jboss4.0.2 . i can get this detail in Jboss4.0.0 but in Jboss4.0.2 it won't allow on Jmx-console also. Another thing is in Jboss4.0.2 it deployed as 'console-mgr.sar' and not as 'web-console.war'. how can i get the list of Servlet

[JBoss-user] [Management, JMX/JBoss] - Schedule Problems

2006-03-30 Thread liss
Hi everybody, I'm writing this message to know if has anyone had this same kind of problem of mine... I have 11 classes that implements Schedule and run under jboss-3.2.6. They work fine on developer environment, but not on client environment. These services has a regularity time to

[JBoss-user] [Management, JMX/JBoss] - How can i configure JBoss 4.0.2 in order to work with MBeans

2006-03-29 Thread n-hoyos
Hi, Could somebody help me with this: I was working with my mbeans in JBoss3.2.3 perfectly, but i need to migrate to JBoss4.0.2. I am trying but in the deployment of de service.xml, it doesn´t bound a class, but the point is that 10 lines above it has the deployment of the same class. i have

[JBoss-user] [Management, JMX/JBoss] - Re: How can i configure JBoss 4.0.2 in order to work with MB

2006-03-29 Thread [EMAIL PROTECTED]
The migration is as easy as falling off a log. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933495#3933495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933495 ---

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
I mean +-- META-INF | +--- jboss.service.xml (similar to the one you provided) | +--- MANIFEST.MF +-- test | +-- MyTestMbean.class | +-- MyTest.class View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933035#3933035 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread [EMAIL PROTECTED]
I'm so fed up with this thread that I just extended the example with a hellombean2.zip that contains a standard mbean with no JBoss class/interface dependencies. http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
Thanks for your answer, but I do confirm that the file name is well jboss-service.xml and that classes are in the test directory. I tried to deploy it in several servers but the problem persists. I put my SAR in this address in order to allow you to test it:

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-28 Thread asoleto
Thank you, Dimitris, I found the problem in my SAR. It was my fault. I wrote Mytest as class name instead MyTest like a newbee. I read the jboss-service.xml file a hundred times and I never realized my big mistake. Thanks for your patience to all you. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to stop an MBean properly

2006-03-27 Thread joejag
bump. I would have thought this would be an easy question to answer for anyone with any experience with using the MBeanServer... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932778#3932778 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - how do i check if JBoss is started?

2006-03-27 Thread gmeroz
i mean completely started... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932898#3932898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932898 --- This SF.Net email is

[JBoss-user] [Management, JMX/JBoss] - Re: how do i check if JBoss is started?

2006-03-27 Thread jiwils
See http://wiki.jboss.org/wiki/Wiki.jsp?page=StartupAndDeploymentCheck for more information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932901#3932901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932901

[JBoss-user] [Management, JMX/JBoss] - Re: How do we monitor the number of hits for an appliaction?

2006-03-27 Thread PeterJ
For any given EJB, there will be a corresponding mbean with the name (all one big string without spaces, I reformatted it to make it easier to read): jboss.management.local: EJBModule=.jar, J2EEApplication=Y.ear, J2EEServer=Local, j2eeType=StatelessSessionBean, name=Z where the

[JBoss-user] [Management, JMX/JBoss] - Problem with @management in Ejb3 jboss 4.0.3

2006-03-27 Thread sudheeshob
While using @Management annotation in the MBean class an error called Cannot find value method is fired. my code is given below. the error is fired at place mentioned in BOLD. package trail.jmx; import org.jboss.annotation.ejb.Service; import org.jboss.annotation.ejb.Management; import

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-24 Thread [EMAIL PROTECTED]
The jboss testsuite if full of standard mbean examples not extending jboss classes. And it's a piece of cake to make the http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService example, not using jboss classes, i.e.: a) HelloWorldServiceMBean should not extend ServiceMBean b)

[JBoss-user] [Management, JMX/JBoss] - How to stop an MBean properly

2006-03-24 Thread joejag
Hi, I have a MDB called FileMessage. I have to make a simple servlet for the admins to be able to start and stop the MDB easily (i.e. not having to learn to use the JMX console). To do this I've made the code below. I feel there must be a better way to start and stop MBeans at random. For

[JBoss-user] [Management, JMX/JBoss] - web-console Invocation Statistics

2006-03-24 Thread fss
Hi, with the web-console you can view all Invocation Statistics+Bean Statistics of all deployed ejb's. Is there a way to store this statistics to a log file at servershutdown? thanx florian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932409#3932409

[JBoss-user] [Management, JMX/JBoss] - Re: web-console Invocation Statistics

2006-03-24 Thread [EMAIL PROTECTED]
No, the stats are not persisted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932415#3932415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932415 --- This SF.Net

[JBoss-user] [Management, JMX/JBoss] - Problem with monitoring and notifications

2006-03-24 Thread jean_yves
Hello, I'm trying trouble with monitoring and notifications. I followed instructions found on jboss wikis to put a FreeMemory. jboss-monitoring.xlm looks like this: server | | mbean code=org.jboss.monitor.alerts.ConsoleAlertListener |

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-24 Thread asoleto
My Interface: package test; | | public interface MyTestMBean { | public void start() throws Exception; | public void stop() throws Exception; | public String getMessage(); | public void setMessage(String message); | } Its implementation: package test; | |

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-24 Thread jiwils
asoleto wrote : I tried: | - to put classes tree directly inside the SAR file root dir | | +-- META-INF | | +--- jboss.service.xml (similar to the one you provided) | | +--- MANIFEST.MF | +-- test | +-- MyTestMbean.class | +-- MyTest.class | | - to put classes

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-23 Thread asoleto
Thanks for your answer. The example in the Wiki uses JBoss specific API. Every time I try to deploy a simple Standard MBean, I get the same error: org.jboss.deployment.DeploymentException: create operation failed for package file:/D:/apps/appserver/jboss-3.2.5/server/default/deploy/MyTest.sar;

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

2006-03-23 Thread steve.devore
I seem to be having the same problem.. I configure the StatisticsCollector, but the reports all show no activity. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932216#3932216 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-23 Thread [EMAIL PROTECTED]
It is more than evident in the error message the you are looking for class test.MyTest, but you have packaged Mytest.class Also where is your MyTestMBean class??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932258#3932258 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - with minimal configuration want to start some services throu

2006-03-22 Thread lbrd
hi can any one tell me how can i get MBeanServer instance with jboss minimal configuration. see i want to connect with JBoss JMX agent from outside the Jboss. i can do this with jboss all and default option but for minimal option it throws NamingService Not available exception. as per my

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-21 Thread asoleto
Do you have any example ? I mean, - I know how to deploy a simple Standard MBean by using xmbeans (jboss-service.xml file with tag xmbeans-dd pointing to my xmbean file describing my MBean interface) from a SAR. - I know how to write specific code to deploy a Standard MBean by using JSR-3

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-21 Thread jiwils
asoleto wrote : Do you have any example? | | ...snip... | | BUT I don't know if there is a magic tag in the jboss-service.xml file that allows me to deploy a custom Standard MBean without using the xmbean-dd tag. By reading your answer, it seems that it is possible. | | My concern

[JBoss-user] [Management, JMX/JBoss] - Adding description to a schedulable class

2006-03-20 Thread tomerbd2
Hi I know how to add description to properties in mbeans (xmbeans) however when i'm using a schedulable class i do want to add description to all the properties however i dont know how to do this, i tried to add an xmbean however then i receive nullpointerexception I have the following mbean

[JBoss-user] [Management, JMX/JBoss] - Re: deploy mbean from code on runtime?

2006-03-18 Thread gmeroz
i used the following code to do this: | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | mbeanServer.registerMBean(new MyMBeanImpl(), MyMBeanImpl.OBJECT_NAME); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931188#3931188 Reply to the

[JBoss-user] [Management, JMX/JBoss] - How to access secured JMX connection in JBoss from client? H

2006-03-16 Thread plutus
Hi, I am using JBoss 3.2.5 and I secured JMX access (jmx-invoker-adaptor-server.jar/META-INF/jboss-service.xml): !-- Uncomment to require authenticated users -- Problem: Now I get no more access to JBoss

[JBoss-user] [Management, JMX/JBoss] - Re: deploy mbean from code on runtime?

2006-03-16 Thread plutus
Hi, have a look here: JSR-03 JavaTM Management http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html download jmx_1.2_spec.pdf page 122 Registration of MBeans or here: http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanServer.html ObjectInstance registerMBean(Object

[JBoss-user] [Management, JMX/JBoss] - Re: Problem in EJB Calling an MBean

2006-03-16 Thread plutus
hi, hint to scotts post: look here: http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanServer.html especially: use queryMBeans(null, null) to get all installed mbeans hth, marcel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930741#3930741

[JBoss-user] [Management, JMX/JBoss] - Re: gui console

2006-03-16 Thread plutus
hi, javax/management/BadStringOperationException is part of core jmx since java 5: http://java.sun.com/j2se/1.5.0/docs/api/javax/management/BadStringOperationException.html I am getting the same exception. I use java 1.4, I wonder why I get this exception... View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: gui console

2006-03-16 Thread plutus
got it you have to add jboss-jmx.jar to your classpath! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930754#3930754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930754

[JBoss-user] [Management, JMX/JBoss] - Re: How to access secured JMX connection in JBoss from clien

2006-03-16 Thread plutus
Hm, with following piece of code it works. But why? could anyone please give me a link to a section where this is documented? props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.put(Context.PROVIDER_URL, url);

[JBoss-user] [Management, JMX/JBoss] - JBoss Server Response Time

2006-03-15 Thread lbrd
hi can anybody tell me that how can i get the Server Response Time? for JBoss 4.x. is there any MBean which contain the Jboss average response time.? OR we need to start any service. lbrd. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930567#3930567

[JBoss-user] [Management, JMX/JBoss] - Maybe a bug, maybe my mistake

2006-03-14 Thread memema
This is only to comment you about a strange thing I have seen during some testing while accessing jBoss 4.03SP1 from an external client. When I use the jar: /client/jboss-common-client.jar (in the client classpath) I get a problem deserializing the class org.jboss.util.id.GUID because the

[JBoss-user] [Management, JMX/JBoss] - Re: future of snmp-adaptor extensions JBoss MIB

2006-03-13 Thread mlaser
Thanks for your reply Dimitris. I've never created a MIB definition file but, from what I understand, iit would require some involvement from JBoss to obtain an enterprise ID and help define the underlying OID structure. Is that correct? Mary View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: future of snmp-adaptor extensions JBoss MIB

2006-03-13 Thread [EMAIL PROTECTED]
Yes. For the OID structure I was hoping we can use the jsr77 mapping to snmp, at least for the standard part (modeling ejb, war, ear deployments, etc). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929836#3929836 Reply to the post :

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

2006-03-12 Thread [EMAIL PROTECTED]
Try using a more recent jboss version, 4.0.3SP1, 3.2.8SP1 are the latest. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929607#3929607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929607

[JBoss-user] [Management, JMX/JBoss] - Re: custom deployer

2006-03-12 Thread [EMAIL PROTECTED]
Look at the source for a custom deployer like the org.jboss.varia.deployment.BeanShellSubDeployer which is in the varia module of the source distribution as a starting point. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929618#3929618 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: deploy mbean from code on runtime?

2006-03-12 Thread [EMAIL PROTECTED]
Yes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929624#3929624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929624 --- This SF.Net email is sponsored by xPML, a

[JBoss-user] [Management, JMX/JBoss] - Re: Problem in EJB Calling an MBean

2006-03-12 Thread [EMAIL PROTECTED]
Try listing all values from the MBeanServerFactory.findMBeanServer(null) call as a hint. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929630#3929630 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929630

[JBoss-user] [Management, JMX/JBoss] - Re: future of snmp-adaptor extensions JBoss MIB

2006-03-11 Thread [EMAIL PROTECTED]
It's a matter of resource availability really. If anyone has the time to contribute that would be great (of course :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929518#3929518 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-10 Thread asoleto
I'm not sure your example answers my question. It shous non standard JMX MBeans. I'm trying to deploy a simple Standard MBean on my JBoss by using a SAR file. It's a simple custom class implementing a simple custom interface. There is no org.jboss... heritage or implementation. No MBeanSupport

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

2006-03-10 Thread n_ton
After some more searching, I found a posting that referred to: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall I was able to complete the instructions at the bottom of that page that fixed my previous problem, but now I am getting: java.lang.ClassCastException:

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

2006-03-10 Thread n_ton
So here's what I've done: I have JBoss 3.0.8 running on RedHat 7.3 with JDK 1.4.2_10. I have a client that connects to JBoss with the following code: Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); |

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-10 Thread jiwils
asoleto wrote : As long as I now, only Model MBean, and more precisely XMBean, can be deployed by using a *-service.xml file into a SAR. My MBean implementation has to extend ServiceMBeanSupport and my MBean interface has to extend MBeanService. | | Can I deploy a simple Standard MBean

[JBoss-user] [Management, JMX/JBoss] - future of snmp-adaptor extensions JBoss MIB

2006-03-10 Thread mlaser
Hi, I'm using the snmp adaptor to send traps to hp's Network Node Manager. Everything seems to be working fine. However, it's not very useful in it's current state. After searching the forum, I found the reference to http://jira.jboss.com/jira/browse/JBAS-1454 and registered my vote. Can

[JBoss-user] [Management, JMX/JBoss] - Problem in EJB Calling an MBean

2006-03-09 Thread bhuvana_t_76
Hi, I am using JBoss 3.2.7. I have created a helloworld JMX service and deployed the .sar. I am having an .ear from where I am trying to call this MBean. I tried in the following ways: ArrayList servers = MBeanServerFactory.findMBeanServer(null); if (servers == null){}

[JBoss-user] [Management, JMX/JBoss] - deploy mbean from code on runtime?

2006-03-09 Thread gmeroz
is it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929080#3929080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929080 --- This SF.Net email is sponsored by

[JBoss-user] [Management, JMX/JBoss] - Remote MBean access

2006-03-09 Thread n_ton
Hi, I am trying to access an MBean from a remote client. From the wiki page: http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIClientConfiguration I was told to replace 'localhost' with my IP address to get an InitialContext connected to my JBoss server. So here's what I did in my code:

[JBoss-user] [Management, JMX/JBoss] - javax.naming.NameNotFoundException: ejb not bound

2006-03-07 Thread meetsivakumar
Hello help please I am using JBoss Application Server 4.0.3SP1 . I need an ejb which needs to connect to Oracle Containers for J2EE 10g (10.1.3.0.0) Developer's Preview 4 and get all the MBeans information from there. First I tried to connect through the basic Java Program given below, which

[JBoss-user] [Management, JMX/JBoss] - custom deployer

2006-03-07 Thread joergipoergi
hi everybody. i am currently developing some kind of framework (which is not important) which has to be integrated into jboss. now with this framework an application can use it, but has to add information into its deployment. in my case this is some information in an xml file. now i wrote an

[JBoss-user] [Management, JMX/JBoss] - Resource Pooling using JBoss

2006-03-07 Thread bhuvana_t_76
I want to use JBoss AS for my application. The application deals with the calling external telephone numbers using the GSM modems connected to the server. I want to use resource pooling facilities of JBoss. I want to know how to setup the resource pools for external entities like modems and

[JBoss-user] [Management, JMX/JBoss] - How Can I deploy a Standard MBean on JBoss by using a SAR ?

2006-03-06 Thread asoleto
As long as I now, only Model MBean, and more precisely XMBean, can be deployed by using a *-service.xml file into a SAR. My MBean implementation has to extend ServiceMBeanSupport and my MBean interface has to extend MBeanService. Can I deploy a simple Standard MBean (without extending or

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-06 Thread asoleto
A precision: My question is Can I use a SAR for deploying a Standard MBean that uses only standard JMX classes ?. I want to use a *-service.xml file to declare my Standard MBean. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928153#3928153 Reply to

[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-06 Thread struts-hibernate-engineer
The example I posted should be sufficient... http://www.jboss.com/index.html?module=bbop=viewtopict=78485 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928191#3928191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928191

[JBoss-user] [Management, JMX/JBoss] - How can I find Tomcat Port

2006-03-05 Thread asaf
How can I find the Tomcat Http Port from the jmx-console? I searched in jboss.web but I cannot find Mbean with Port attribute. I dont want to use the Mbean name (name=http-0.0.0.0-8080,type=GlobalRequestProcessor ) to find the Http port. I want to Query a lot of jboss instances and find their

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

2006-03-04 Thread shorero
You are correct and I am wrong -- bad .jar in the deployment. Thanks for the debugging tip, though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927948#3927948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927948

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

2006-03-03 Thread unsavory
My opologies for the incomplete post. Don't know what I was thinking. At any rate, I got past the exception by manually creating the XML description file. For some reason XDoclet is ignoring those @param tags in the ServiceMBean. View the original post :

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

2006-03-03 Thread shorero
I have a set of XML-processing MBeans. The beans work properly under JBoss 4.0.2. Under 4.0.3 I get the following: 2006-03-03 11:19:38,125 INFO [STDOUT] java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class 2006-03-03 11:19:38,125 INFO [STDOUT] at

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

2006-03-03 Thread shorero
Same problem occurs under 4.0.4RC1, at the same place in the code. FYI, the error happens on a document.getDocumentElement() method call. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927845#3927845 Reply to the post :

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

2006-03-03 Thread [EMAIL PROTECTED]
Start here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927853#3927853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927853

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