[jboss-user] [Management, JMX/JBoss] - StateString

2006-10-26 Thread TheThirdEye
Hi, is "StateString" member variable writable? Can I somehow set the StateString to "Started" ? Regards, RM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981226#3981226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [Management, JMX/JBoss] - Junit testing MBeans

2006-10-25 Thread TheThirdEye
Hi, Just curious ... on how people Unit test MBeans. I have read on some mailing list about treating MBeans as regular Java Beans and unit testing them as you would any other java class. I find it really difficult to follow this approach as, much as I would like to, MBeans have StateString whic

[jboss-user] [Security & JAAS/JBoss] - Re: JAAS and DatabaseServerLoginModule

2006-08-02 Thread TheThirdEye
my apologies --- I missed the configuration I have in jboss-web.xml | | |java:/jaas/db_Sec_realm | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962679#3962679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [Security & JAAS/JBoss] - JAAS and DatabaseServerLoginModule

2006-08-02 Thread TheThirdEye
Hi, I am trying to configure Jaas with DatabaseServerLoginModule, I have the following setup: login-config.xml | | | java:/login_ds | | SELECT PASSWORD FROM USER WHERE LOWER(USERNAME) = TRIM(LOWER(?)) AND ENABLED = '

[jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean

2006-07-13 Thread TheThirdEye
Thanks matey !! The solution did work . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957922#3957922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957922 ___ jboss-user mail

[jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean

2006-07-13 Thread TheThirdEye
Its an ear package placed in the deploy directory $JBOSS_HOME/server/default/deploy . Do you reckon the problem is associated with the class not being in the LoaderRepository? Caused by: java.lang.ClassNotFoundException: com.pack.mockMsg | at org.jboss.mx.loading.UnifiedLoaderRepositor

[jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean

2006-07-12 Thread TheThirdEye
A bit more information : the MBeanServer (mbs) used is a remote mbean server obtained through the RMIAdaptor mbs = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor"); | This is the full stack trace generated javax.management.ReflectionException: Class not found: com.pack.mockMsg

[jboss-user] [Management, JMX/JBoss] - java.lang.ClassNotFoundException --- from createMBean

2006-07-12 Thread TheThirdEye
Hi, I am trying to create a Mock mbean using the following statment mbs.createMBean(MOCK_MSG_CLASS_NAME, testMsg); | where MOCK_MSG_CLASS_NAME --- "com.pack.mockMsg" and testMsg = Object Name I have imported the package com.pack.mockMsg. I recieve the following exception when I exucute the