-
1. Re: Hot Deploying MBean Problem
adrian.brock Dec 19, 2001 11:30 AM (in response to patmau)Hi,
One of your setXXX methods is throwing an
exception.
Try adding the following code:
void setXXX(...)
try
{
// Your code
}
catch(Exception e)
{
log.error(e);
throw e;
}
This should put the stack trace in the log.
Regards,
Adrian -
2. Re: Hot Deploying MBean Problem
patmau Dec 19, 2001 12:28 PM (in response to patmau)I'm using the org.jboss.naming.ExternalContext
code and I'm just deploying the jboss-service.xml
file with a valid property file.
Should I modify and rebuild jboss to find the problem ?
I forgot to say that those two files work without any
problems on jboss 2.2.4 when added to jboss.jcml.
Thanks,
Patrick -
3. Re: Hot Deploying MBean Problem
adrian.brock Dec 19, 2001 4:03 PM (in response to patmau)Hi,
Looking at CVS I can't see any major changes since 2.2.4.
The most likely problem is the properties file.
This is suppossed to be a url, but you've just
specified a file name.
Where is the properties file?
Try giving it an absolute url.
Regards,
Adrian