[jboss-as7-dev] JBAS-9225

Brian Stansberry brian.stansberry at redhat.com
Mon Apr 4 11:42:16 EDT 2011


That call is coming from the filesystem deployment scanner.

On 4/4/11 10:29 AM, Scott Stark wrote:
> I'm not sure what triggers the need to write out the standalone.xml in
> the testing I'm doing, but under some circumstance, a new setup of the
> server produces this warning, and then fails to start the next time
> because the interfaces section is all but missing. In fixing JBAS-9225,
> I'll add a comment to CommonXml.parseSimpleInterfaceCriterion that
> changes there need to be matched by changes to
> CommonXml.parseSimpleInterfaceCriterion
> CommonXml.writePropertyInterfaceCriteria.
>
> What would trigger a write of the standalone.xml if there are no admin
> commands being issued?
>
> 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 at 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
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat



More information about the jboss-as7-dev mailing list