[jboss-jira] [JBoss JIRA] Commented: (JBAS-1776) Persistent MBean cannot be reloaded and thus fails to redeploy
Leif Johansson (JIRA)
jira-events at jboss.com
Mon Aug 21 17:51:40 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-1776?page=comments#action_12341542 ]
Leif Johansson commented on JBAS-1776:
--------------------------------------
A similar issue: a filename containing an accidentally unexpanded el variable reference '${version}' causes a similar problem.
> Persistent MBean cannot be reloaded and thus fails to redeploy
> --------------------------------------------------------------
>
> Key: JBAS-1776
> URL: http://jira.jboss.com/jira/browse/JBAS-1776
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.0.2 Final
> Environment: Linux, Solaris
> Reporter: Nicolas Leroux
> Assigned To: Dimitris Andreadis
> Priority: Critical
> Fix For: JBossAS-3.2.8RC1, JBossAS-4.0.3RC2
>
> Attachments: jboss-common.jar
>
>
> It seems to be an URL encoding problem. I have an MBean who use the persistent mechanism (using the persistent manager) org.jboss.mx.persistence.DelegatingPersistenceManager.
> After restarting JBoss, it complains that it cannot find the server/default/data/xmbean-attrs/IBL%253Aservice%253DIBLConfiguration.xml.
> Looking in the directory I have a file called: server/default/data/xmbean-attrs/IBL%3Aservice%3DIBLConfiguration.xml.
> The URL is different, that explains why it cannot load the configuration. My MBean failed to deploy.
> Here is the stack trace:
> Caused by: MBeanException: preRegister() failed: [ObjectName='IBL:service=IBLConfiguration', Class=com.mycompany.service.common.mbean.Configuration (com.mycompany.service.common.mbean.Configuration at 1996bbd)] Cause: MBeanException: null Cause: java.io.FileNotFoundException: /usr/local/jboss-4.0.2/server/default/data/xmbean-attrs/IBL%253Aservice%253DIBLConfiguration.xml
> at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707)
> at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
> ... 95 more
> Caused by: MBeanException: null Cause: java.io.FileNotFoundException: /usr/local/jboss-4.0.2/server/default/data/xmbean-attrs/IBL%253Aservice%253DIBLConfiguration.xml
> at org.jboss.mx.persistence.DelegatingPersistenceManager.load(DelegatingPersistenceManager.java:89)
> at org.jboss.mx.modelmbean.ModelMBeanInvoker.load(ModelMBeanInvoker.java:395)
> at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.java:507)
> at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:470)
> at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:639)
> at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:691)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list