Why *.war web file of JBOSS-4.0.4.GA not working on jboss-5.
ritesh163 May 7, 2009 2:24 AM
hello everyone,
I am having problem in starting Jboss server 5.0.1.GA when I placed the same war file of Jboss-4.0.4.GA, which was running fine in it. Do we have to configure any things other than JBoss 4.0.4.
I am using JDK 1.6.0 in windows XP.
please provide me with guidence as I am using JBoss 5.0.1 for the first time. Thank you in advance.
The error code displayed is given below:
10:31:03,015 INFO [WebService] Using RMI server codebase: http://localhost:8083/ 10:31:19,078 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 10:31:19,078 INFO [NativeServerConfig] 3.0.5.GA 10:31:34,078 ERROR [AbstractKernelController] Error installing to Parse: name=vf szip:/E:/jboss-5.0.1.GA/server/default/deploy/webtest.war/ state=Not Installe d mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for v fszip:/E:/jboss-5.0.1.GA/server/default/deploy/webtest.war/ at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept ion(DeploymentException.java:49) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO utput.createMetaData(AbstractParsingDeployerWithOutput.java:337) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO utput.createMetaData(AbstractParsingDeployerWithOutput.java:297) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO utput.createMetaData(AbstractParsingDeployerWithOutput.java:269) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO utput.deploy(AbstractParsingDeployerWithOutput.java:230) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer Wrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer sImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi rst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers Impl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra ctControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractContr oller.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra ctController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr actController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr actController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractContro ller.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractContro ller.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers Impl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye rImpl.java:698) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr ofile(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: The co ntent of element type "web-app" must match "(icon?,display-name?,description?,di stributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-m apping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,res ource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,e nv-entry*,ejb-ref*,ejb-local-ref*)". @ vfszip:/E:/jboss-5.0.1.GA/server/default/ deploy/webtest.war/WEB-INF/web.xml[114,11] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:203) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java :168) at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos sXBDeployerHelper.java:199) at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos sXBDeployerHelper.java:170) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch emaResolverDeployer.java:132) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch emaResolverDeployer.java:118) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse AndInit(AbstractVFSParsingDeployer.java:256) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse (AbstractVFSParsingDeployer.java:188) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO utput.createMetaData(AbstractParsingDeployerWithOutput.java:323) ... 22 more Caused by: org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,f ilter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping* ,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security -constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/webtest.war/WEB-INF/web.xml [114,11] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler .error(SaxJBossXBParser.java:426) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S ource) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known 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 Sour ce) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:199) ... 30 more 10:31:44,921 INFO [JMXConnectorServerService] JMX Connector server: service:jmx :rmi://localhost/jndi/rmi://localhost:1090/jmxconnector 10:31:45,515 INFO [MailService] Mail Service bound to java:/Mail 10:31:50,421 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RI SK. It has been detected that the MessageSucker component which sucks messages f rom one node to another has not had its password changed from the installation d efault. Please see the JBoss Messaging user guide for instructions on how to do this. 10:31:50,453 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org. jboss.managed.api.annotation.ManagementComponent 10:31:51,390 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 10:31:51,390 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 10:31:52,000 INFO [TransactionManagerService] Initializing recovery manager 10:31:52,265 INFO [TransactionManagerService] Recovery manager configured 10:31:52,265 INFO [TransactionManagerService] Binding TransactionManager JNDI R eference 10:31:52,343 INFO [TransactionManagerService] Starting transaction recovery man ager 10:31:54,281 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost-8080 10:31:54,281 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost-8009 10:31:54,281 INFO [StandardService] Starting service jboss.web 10:31:54,296 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA 10:31:54,515 INFO [Catalina] Server startup in 1193 ms 10:31:54,546 INFO [TomcatDeployment] deploy, ctxPath=/jbossws 10:31:55,921 INFO [TomcatDeployment] deploy, ctxPath=/web-console 10:31:56,593 INFO [TomcatDeployment] deploy, ctxPath=/invoker 10:31:56,859 INFO [RARDeployment] Required license terms exist, view vfszip:/E: /jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 10:31:56,906 INFO [RARDeployment] Required license terms exist, view vfszip:/E: /jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 10:31:56,953 INFO [RARDeployment] Required license terms exist, view vfszip:/E: /jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml 10:31:57,062 INFO [RARDeployment] Required license terms exist, view vfszip:/E: /jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml 10:31:57,125 INFO [RARDeployment] Required license terms exist, view vfszip:/E: /jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 10:31:57,343 INFO [SimpleThreadPool] Job execution threads will use class loade r of thread: main 10:31:57,390 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 10:31:57,390 INFO [RAMJobStore] RAMJobStore initialized. 10:31:57,390 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule r' initialized from default resource file in Quartz package: 'quartz.properties' 10:31:57,406 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 10:31:57,406 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS TERED started. 10:31:59,406 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 10:32:01,125 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 10:32:01,781 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is t rue on connection factory: jboss.messaging.connectionfactory:service=ClusteredCo nnectionFactory but post office is non clustered. So connection factory will *no t* support failover 10:32:01,781 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=Cluste redConnectionFactory but post office is non clustered. So connection factory wil l *not* support load balancing 10:32:02,078 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds 10:32:02,078 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co nnectionFactory@18fb7b1 started 10:32:02,093 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds 10:32:02,093 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co nnectionFactory@1392fa5 started 10:32:02,125 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20 0000, pageSize=2000, downCacheSize=2000 10:32:02,125 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds 10:32:02,125 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co nnectionFactory@3b5d6b started 10:32:02,125 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pa geSize=2000, downCacheSize=2000 10:32:02,406 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 10:32:02,593 INFO [TomcatDeployment] deploy, ctxPath=/ 10:32:02,703 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console 10:32:02,875 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/webtest.war/" i s in error due to the following reason(s): org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distrib utable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mappin g*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource -env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-en try*,ejb-ref*,ejb-local-ref*)". @ vfszip:/E:/jboss-5.0.1.GA/server/default/deplo y/webtest.war/WEB-INF/web.xml[114,11] 10:32:02,906 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost-8080 10:32:02,953 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost-8009 10:32:02,968 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag= JBoss_5_0_1_GA date=200902232048)] Started in 1m:19s:968ms