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=
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
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
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 = '
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
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
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
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