1 Reply Latest reply on Nov 30, 2009 12:25 AM by Robert Freund

    Error deploying Spring 2.5.1 in JBoss 5.1

    Jesus Andrés Newbie

      Hello,

      I'm trying to deploy an application in JBoss 5.1.0 with Spring 2.5.1, but I get the following error:

      2009-11-17 12:38:32,544 INFO [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jServic e" to server org.jboss.mx.server.MBeanServerImpl@79b177[ defaultDomain='jboss' ]
      2009-11-17 12:39:54,624 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: http://www.springframework.org/schem...-beans-2.5.xsd
      2009-11-17 12:39:56,343 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: http://www.springframework.org/schem...-beans-2.5.xsd
      2009-11-17 12:39:57,202 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: http://www.springframework.org/schem...ng-aop-2.5.xsd
      2009-11-17 12:39:57,781 WARN [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: http://www.springframework.org/schema/aop
      2009-11-17 12:39:58,359 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernel Controller] (main) Error installing to Parse: name=vfszip:/C:/JBPM/jboss-5.1.0.GA/server/all/deploy/presentationAqua.war/ state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/JBPM/jboss-5.1.0.GA/server/all/deploy/presentationAqua.war/
      at org.jboss.deployers.spi.DeploymentException.rethro wAsDeploymentException(DeploymentException.java:49 )
      at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData(AbstractPa rsingDeployerWithOutput.java:362)
      at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData(AbstractPa rsingDeployerWithOutput.java:322)
      at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData(AbstractPa rsingDeployerWithOutput.java:294)
      at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.deploy(AbstractParsingDep loyerWithOutput.java:234)
      at org.jboss.deployers.plugins.deployers.DeployerWrap per.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImp l.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImp l.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImp l.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerCon text.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.in stall(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImp l.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl. process(MainDeployerImpl.java:702)
      at org.jboss.system.server.profileservice.repository. MainDeployerAdapter.process(MainDeployerAdapter.ja va:117)
      at org.jboss.system.server.profileservice.repository. ProfileDeployAction.install(ProfileDeployAction.ja va:70)
      at org.jboss.system.server.profileservice.repository. AbstractProfileAction.install(AbstractProfileActio n.java:53)
      at org.jboss.system.server.profileservice.repository. AbstractProfileService.install(AbstractProfileServ ice.java:361)
      at org.jboss.dependency.plugins.AbstractControllerCon text.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.in stall(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:553)
      at org.jboss.system.server.profileservice.repository. AbstractProfileService.activateProfile(AbstractPro fileService.java:306)
      at org.jboss.system.server.profileservice.ProfileServ iceBootstrap.start(ProfileServiceBootstrap.java:27 1)
      at org.jboss.bootstrap.AbstractServerImpl.start(Abstr actServerImpl.java:461)
      at org.jboss.Main.boot(Main.java:221)
      at org.jboss.Main$1.run(Main.java:556)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://www.springframework.org/schema/aop, baseURI=null, schemaLocation=null
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.p arse(SaxJBossXBParser.java:203)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(Un marshallerImpl.java:168)
      at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelpe r.java:189)
      at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelpe r.java:166)
      at org.jboss.deployers.vfs.spi.deployer.SchemaResolve rDeployer.parse(SchemaResolverDeployer.java:137)
      at org.jboss.deployers.vfs.spi.deployer.SchemaResolve rDeployer.parse(SchemaResolverDeployer.java:121)
      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSPa rsingDeployer.parseAndInit(AbstractVFSParsingDeplo yer.java:256)
      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSPa rsingDeployer.parse(AbstractVFSParsingDeployer.jav a:239)
      at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData(AbstractPa rsingDeployerWithOutput.java:355)
      ... 33 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://www.springframework.org/schema/aop, baseURI=null, schemaLocation=null
      at org.jboss.xb.binding.resolver.AbstractMutableSchem aResolver.resolve(AbstractMutableSchemaResolver.ja va:293)
      at org.jboss.xb.binding.sunday.unmarshalling.Wildcard Binding.getElement(WildcardBinding.java:174)
      at org.jboss.xb.binding.sunday.unmarshalling.ChoiceBi nding$1.startElement(ChoiceBinding.java:229)
      at org.jboss.xb.binding.sunday.unmarshalling.Sequence Binding$1.startElement(SequenceBinding.java:223)
      at org.jboss.xb.binding.sunday.unmarshalling.ModelGro upBinding$Cursor.startElement(ModelGroupBinding.ja va:220)
      at org.jboss.xb.binding.sunday.unmarshalling.SundayCo ntentHandler.startElement(SundayContentHandler.jav a:380)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$D elegatingContentHandler.startElement(SaxJBossXBPar ser.java:401)
      at org.apache.xerces.parsers.AbstractSAXParser.startE lement(Unknown Source)
      at org.apache.xerces.parsers.AbstractXMLDocumentParse r.emptyElement(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.empty Element(Unknown Source)
      at org.apache.xerces.xinclude.XIncludeHandler.emptyEl ement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.sc anStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.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.p arse(SaxJBossXBParser.java:199)
      ... 41 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 1:55 White spaces are required between publicId and systemId.
      at org.jboss.xb.binding.sunday.unmarshalling.XsdBinde rTerminatingErrorHandler.handleError(XsdBinderTerm inatingErrorHandler.java:40)
      at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDO MFatalError(Unknown Source)
      at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknow n Source)
      at org.jboss.xb.binding.Util.loadSchema(Util.java:395 )
      at org.jboss.xb.binding.sunday.unmarshalling.XsdBinde r.bind(XsdBinder.java:176)
      at org.jboss.xb.binding.sunday.unmarshalling.XsdBinde r.bind(XsdBinder.java:147)
      at org.jboss.xb.binding.resolver.AbstractMutableSchem aResolver.resolve(AbstractMutableSchemaResolver.ja va:285)
      ... 60 more

      Any solution?

      Thanks.