Here is the exception stacktrace:
| 2009-03-03 08:44:06,404 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying
to resolve systemId as a non-file URL:
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
| 2009-03-03 08:44:18,419 DEBUG [org.jboss.util.xml.JBossEntityResolver] (main) Cannot
resolve
[
publicID=null,systemID=http://www.springframework.org/schema/beans/spring...]
| 2009-03-03 08:44:18,419 WARN [org.jboss.xb.binding.parser.sax.SaxJBossXBParser]
(main) schema_reference.4: Failed to read schema document
'http://www.springframework.org/schema/beans/spring-beans-2.5.xsd', because 1)
could not find the document; 2) the document could not be read; 3) the root element of the
document is not <xsd:schema>. @
vfszip:/C:/apache/jboss/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/iwas.war/WEB-INF/applicationContext-hibernate.xml[12,106]
| 2009-03-03 08:44:18,419 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying
to resolve systemId as a non-file URL:
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
| 2009-03-03 08:44:18,419 DEBUG [org.jboss.util.xml.JBossEntityResolver] (main) Cannot
resolve
[
publicID=http://www.springframework.org/schema/beans,systemID=http://www....]
| 2009-03-03 08:44:18,419 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying
to resolve systemId as a non-file URL:
http://www.springframework.org/schema/beans
| 2009-03-03 08:44:18,419 DEBUG [org.jboss.util.xml.JBossEntityResolver] (main) Cannot
resolve [
publicID=null,systemID=http://www.springframework.org/schema/beans]
| 2009-03-03 08:44:18,419 DEBUG
[org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer] (main) Error during deploy:
vfszip:/C:/apache/jboss/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/iwas.war/
| org.jboss.deployers.spi.DeploymentException: Error creating managed object for
vfszip:/C:/apache/jboss/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/iwas.war/
| at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
| at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to
resolve schema
nsURI=http://www.springframework.org/schema/beans
location=http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
| at
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
| at
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
| at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
| at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
| at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
| at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:330)
| ... 22 more
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema
nsURI=http://www.springframework.org/schema/beans
location=http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
| at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:313)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaValidator.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.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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:199)
| ... 30 more
|
|
When trying to find a solution on google, I came across some posts that suggest that Jboss
5 is not compatible with Spring 2.5. Could this be the problem?
Thanks again.
Charlie
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214704#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...