I've configured the DynamicLoginConfig as a bean, and it was working fine until I
updated the AS and started getting a JBossXB error. This is the log that I get when using
TRACE level for org.jboss.xb:
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding] (main) startElement
{urn:jboss:security-config:5.0}policy in
org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding@19a639b, 3: sequence choice ]
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding] (main) startElement
{urn:jboss:security-config:5.0}policy in
org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding@1019275, 1:
{urn:jboss:bean-deployer:2.0}annotation ]
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding] (main) startElement
{urn:jboss:security-config:5.0}policy in
org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding@f6fd54, 10:
{urn:jboss:bean-deployer:2.0}array {urn:jboss:bean-deployer:2.0}collection
{urn:jboss:bean-deployer:2.0}inject {urn:jboss:bean-deployer:2.0}list
{urn:jboss:bean-deployer:2.0}map {urn:jboss:bean-deployer:2.0}set
{urn:jboss:bean-deployer:2.0}null {urn:jboss:bean-deployer:2.0}this
{urn:jboss:bean-deployer:2.0}value {urn:jboss:bean-deployer:2.0}value-factory ]
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding] (main) leaving
org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding@f6fd54 i=9, pos=-1
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main) Mapped
schemaLocation to filename: security-config_5_0.xsd
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main)
getInputSource, nsURI=urn:jboss:security-config:5.0, baseURI=null,
schemaLocation=resource:security-config_5_0.xsd
| WARN [org.jboss.util.xml.JBossEntityResolver] (main) Cannot load publicId from
resource: security-config_5_0.xsd
| WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a
non-file URL: resource:security-config_5_0.xsd
| DEBUG [org.jboss.util.xml.JBossEntityResolver] (main) Cannot resolve
[publicID=urn:jboss:security-config:5.0,systemID=resource:security-config_5_0.xsd]
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main)
Resolved schema using namespace as publicId and schemaLocation as systemId
| WARN [org.jboss.util.xml.JBossEntityResolver] (main) Cannot load systemId from
resource: security-config_5_0.xsd
| DEBUG [org.jboss.util.xml.JBossEntityResolver] (main) Cannot resolve
[publicID=null,systemID=urn:jboss:security-config:5.0]
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main)
getInputSource, nsURI=urn:jboss:security-config:5.0, baseURI=null,
schemaLocation=resource:security-config_5_0.xsd, is=null
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main) found
schema InputSource, nsURI=urn:jboss:security-config:5.0, baseURI=null,
schemaLocation=resource:security-config_5_0.xsd
| TRACE [org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main)
resolved schema: null
| TRACE [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (main) Exit startElement
urn:jboss:security-config:5.0:policy
| DEBUG [org.jboss.deployers.vfs.deployer.kernel.BeanDeployer] (main) Error during
deploy:
vfsfile:/opt/workspace/JBAS-Trunk/build/output/jboss-5.0.0.CR1/server/default/deploy/security-policies-beans.xml
| org.jboss.deployers.spi.DeploymentException: Error creating managed object for
vfsfile:/opt/workspace/JBAS-Trunk/build/output/jboss-5.0.0.CR1/server/default/deploy/security-policies-beans.xml
| at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:253)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:223)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:186)
| at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:946)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:887)
| at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
| at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1324)
| at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:579)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:259)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:137)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:544)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source:
{urn:jboss:security-config:5.0}policy not found as a child of
{urn:jboss:bean-deployer:2.0}property
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153)
| at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120)
| at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:143)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:249)
| ... 20 more
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException:
{urn:jboss:security-config:5.0}policy not found as a child of
{urn:jboss:bean-deployer:2.0}property
| at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:396)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:407)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
| at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:189)
| ... 24 more
| 2008-03-24 12:51:50,650 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to
Parse:
name=vfsfile:/opt/workspace/JBAS-Trunk/build/output/jboss-5.0.0.CR1/server/default/deploy/security-policies-beans.xml
state=Not Installed mode=Manual requiredState=Parse
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138544#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...