2 Replies Latest reply on Nov 15, 2012 12:21 PM by Santhosh Srinivasan

    Migration from Jboss 4.2 to Jboss 7

    Santhosh Srinivasan Newbie

      Hi All,

       

      We are trying to migrate JBoss4.2 to JBoss 7. we had a portal sar which was working fine in Jboss 4 but in JBoss 7 deployment is getting failed and we are getting that Parse exception. Could you please tell me how to configure the portal sar in 7

       

      MSC00001: Failed to start service jboss.deployment.unit."jboss-portal.sar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-portal.sar".PARSE: Failed to process phase PARSE of deployment "jboss-portal.sar"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_35]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_35]

                at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS017224: Failed to parse service xml ["/Users/Santhosh/Documents/Server/jboss/standalone/deployments/jboss-portal.sar/META-INF/jboss-service.xml"]

                at org.jboss.as.service.ServiceDeploymentParsingProcessor.deploy(ServiceDeploymentParsingProcessor.java:95)

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                ... 5 more

      Caused by: java.lang.IllegalStateException: Not a textual event (START_ELEMENT)

                at com.ctc.wstx.sr.BasicStreamReader.throwNotTextual(BasicStreamReader.java:5444)

                at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:833)

                at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.getText(XMLExtendedStreamReaderImpl.java:275)

                at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.unexpectedContent(JBossServiceXmlDescriptorParser.java:622)

                at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.parseMBean(JBossServiceXmlDescriptorParser.java:212)

                at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.readElement(JBossServiceXmlDescriptorParser.java:183)

                at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.readElement(JBossServiceXmlDescriptorParser.java:46)

                at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)

                at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)

                at org.jboss.as.service.ServiceDeploymentParsingProcessor.deploy(ServiceDeploymentParsingProcessor.java:88)

                ... 6 more