Hola, estoy intentando desplegar una aplicación web (un .war) con jboss y me dá el siguiente error:
10:34:44,456 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/Archivos%2
0de%20programa/jboss/jboss-5.0.0.GA/server/default/deploy/HelloWorld.war/ state=Not Installed mode=M
anual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/Archivos%
20de%20programa/jboss/jboss-5.0.0.GA/server/default/deploy/HelloWorld.war/
at org.jboss.deployers.spi.DeploymentException.rethro wAsDeploymentException(DeploymentExcept
ion.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData
(AbstractParsingDeployerWithOutput.java:337)
at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData
(AbstractParsingDeployerWithOutput.java:297)
at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData
(AbstractParsingDeployerWithOutput.java:269)
at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.deploy(Abstrac
tParsingDeployerWithOutput.java:230)
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.ja
va: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:1598)
at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:9
84)
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:545)
at org.jboss.system.server.profileservice.ProfileServ iceBootstrap.loadProfile(ProfileService
Bootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServ iceBootstrap.start(ProfileServiceBootst
rap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(Abstr actServerImpl.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: cvc-complex-type.2.4.a: In
valid content was found starting with element 'param-name'. One of '{"http://java.sun.com/xml/ns/j2e
e":param-value}' is expected. @ vfsfile:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/server/def
ault/deploy/HelloWorld.war/WEB-INF/web.xml[39,63]
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.deployers.vfs.spi.deployer.JBossXBDeploy erHelper.parse(JBossXBDeployerHelper.ja
va:199)
at org.jboss.deployers.vfs.spi.deployer.JBossXBDeploy erHelper.parse(JBossXBDeployerHelper.ja
va:170)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolve rDeployer.parse(SchemaResolverDeployer.
java:132)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolve rDeployer.parse(SchemaResolverDeployer.
java:118)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSPa rsingDeployer.parseAndInit(AbstractVFSP
arsingDeployer.java:256)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSPa rsingDeployer.parse(AbstractVFSParsingD
eployer.java:188)
at org.jboss.deployers.spi.deployer.helpers.AbstractP arsingDeployerWithOutput.createMetaData
(AbstractParsingDeployerWithOutput.java:323)
... 22 more
Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'param-name'. One of '{"http://java.sun.com/xml/ns/j2ee":param-value}' is expected. @ vfsfi
le:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/server/default/deploy/HelloWorld.war/WEB-INF/we
b.xml[39,63]
....
por lo que indica entiendo que me falta un elemento en mi fichero web.xml, llamado <param-name>, y más abajo me indica lo mismo con <param-value>, pero no sé en qué parte lo debo colocar porque por lo que he visto por internet esto se mete dentro de un <servlet> y yo no tengo servlets en mi aplicación. Ni sé que hay que colocar dentro de cada uno. ¿Alguien me puede echar una mano? Un saludo