LOOPBACK_ADDRESS handling missing from CommonXml.writePropertyInterfaceCriteria
-------------------------------------------------------------------------------
Key: JBAS-9225
URL:
https://issues.jboss.org/browse/JBAS-9225
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Beta2
Reporter: Scott Stark
Assignee: Scott Stark
Fix For: 7.0.0.Beta3
Support for a loopback-address criterion was added to the
CommonXml.parseSimpleInterfaceCriterion, but the writing of this was not added to the
CommonXml.writePropertyInterfaceCriteria, so when the standard.xml configuration is
persisted, the following error is seen:
10:58:21,807 WARN [org.jboss.as.controller] (pool-6-thread-2) Failed to persist
configuration change:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to store
configuration: org.jboss.as.controller.persistence.ConfigurationPersistenceException:
Failed to store configuration
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.store(XmlConfigurationPersister.java:97)
at
org.jboss.as.controller.BasicModelController.persistConfiguration(BasicModelController.java:308)
at
org.jboss.as.server.ServerControllerImpl.persistConfiguration(ServerControllerImpl.java:215)
at
org.jboss.as.controller.BasicModelController$MultiStepOperationController.updateModelAndPersist(BasicModelController.java:668)
at
org.jboss.as.controller.BasicModelController$MultiStepOperationController.recordModelComplete(BasicModelController.java:652)
at
org.jboss.as.server.ServerControllerImpl$ServerMultiStepOperationController.recordModelComplete(ServerControllerImpl.java:475)
at
org.jboss.as.controller.BasicModelController$MultiStepOperationController.execute(BasicModelController.java:707)
at
org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:248)
at
org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:216)
at org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:77)
at
org.jboss.as.controller.SynchronousOperationSupport.execute(SynchronousOperationSupport.java:88)
at
org.jboss.as.controller.AbstractModelController.execute(AbstractModelController.java:40)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentTask.call(FileSystemDeploymentService.java:1052)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentTask.call(FileSystemDeploymentService.java:1043)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.6.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.6.0_17]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
[:1.6.0_17]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
[:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_17]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_17]
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed
to write configuration
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:108)
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.store(XmlConfigurationPersister.java:90)
... 20 more
Caused by: java.lang.RuntimeException: Unknown property in interface criteria list:
org.jboss.dmr.Property@fbb8694
at
org.jboss.as.controller.parsing.CommonXml.writePropertyInterfaceCriteria(CommonXml.java:1311)
at
org.jboss.as.controller.parsing.CommonXml.writeInterfaceCriteria(CommonXml.java:1277)
at org.jboss.as.controller.parsing.CommonXml.writeInterfaces(CommonXml.java:1262)
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:435)
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:77)
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:78)
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:73)
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:102)
... 21 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira