Hi!

> You have removed source filter from the JMX ObjectName for
> FileLogging, so now my several FileLogging entries in jboss.conf cause
> javax.management.InstanceAlreadyExistsException.

Yeah, I forgot one change: the "logName" should be added to the ObjectName
i.e. suffix it with ",name="+logName. I am at home right now and cannot do
this change. Can you do it for me please?

> So, what should I do? Where should I set different JMX ObjectNames?

Well, if you want you can set whatever ON you want by changing jboss.conf.
In the MLET tag you can add NAME=":blah=foo" (or whatever ON you want). The
FileLogging MBean will then use that name instead of the default one.

> Wouldn't it be better to leave the same default name for FileLogging?
> I guess, jbossweb/manual/adv_config.html should be updated...
>
> And I get errors during shutdown for all datasources, like this:
>
> [jdbc/IT_Core] Stopping
> [jdbc/IT_Core] XA Connection pool jdbc/IT_Core removed from JNDI
> [jdbc/IT_Core] XA Connection pool jdbc/IT_Core shut down
> [jdbc/IT_Core] Error stopping service
'DefaultDomain:name=jdbc/IT_Core,service=X
> ADataSource': javax.management.RuntimeMBeanException: RuntimeException
thrown in
>  operation destroy
> [jdbc/IT_Core] Unable to stop MBean
'DefaultDomain:name=jdbc/IT_Core,service=XAD
> ataSource'
>
> What does that mean?

Yeah, I haven't figured that out yet. Will do some digging tomorrow (I'm at
home now).

/Rickard





Reply via email to