You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Lahiru Gunathilake (JIRA)" <ji...@apache.org> on 2011/07/11 22:47:00 UTC

[jira] [Updated] (AIRAVATA-21) Errors while deploying services in WS-messenger

     [ https://issues.apache.org/jira/browse/AIRAVATA-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake updated AIRAVATA-21:
---------------------------------------

    Attachment: diff.out

I have created a patch with following fixes.

1. Change ws-messenger axis2 version to 1.6.0.
2. Providing a distribution build capability to ws-messenger.
3. Fixing the errors comes when deploy with axis2 in ws-messenger.
So if you can apply this patch you can resolve the issue AIRAVATA-21 too.

Regards
Lahiru

> Errors while deploying services in WS-messenger
> -----------------------------------------------
>
>                 Key: AIRAVATA-21
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-21
>             Project: Airavata
>          Issue Type: Bug
>          Components: WS-Messenger
>         Environment: mac
>            Reporter: Lahiru Gunathilake
>         Attachments: diff.out
>
>
> I am getting following errors when trying to deploy messagebox and messagebrokers services with axis2.
> [INFO] Deploying module: metadataExchange-1.5.1 - file:/Users/lahirugunathilake/work/airavata/trunk/ws-messaging/distribution/target/airavta-ws-messenger-0.0.1-SNAPSHOT/standalone-server/lib/mex-1.5.1.jar
> org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150)
> 	at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
> 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
> 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
> 	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
> 	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337)
> 	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241)
> 	at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
> 	at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)
> 	at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
> 	at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
> Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:260)
> 	at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:133)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:502)
> 	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:602)
> 	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
> 	at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:76)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
> 	... 12 more
> Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
> 	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:467)
> 	at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:3917)
> 	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2055)
> 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> 	at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:60)
> 	at org.apache.axiom.om.impl.builder.SafeXMLStreamReader.next(SafeXMLStreamReader.java:183)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:597)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:172)
> 	... 19 more
> [ERROR] The messagebroker-0.0.1-SNAPSHOT.aar service, which is not valid, caused com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150)
> 	at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
> 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
> 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
> 	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
> 	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337)
> 	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241)
> 	at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
> 	at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)
> 	at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
> 	at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
> Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:260)
> 	at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:133)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:502)
> 	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:602)
> 	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
> 	at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:76)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
> 	... 12 more
> Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> 	at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
> 	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:467)
> 	at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:3917)
> 	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2055)
> 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> 	at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:60)
> 	at org.apache.axiom.om.impl.builder.SafeXMLStreamReader.next(SafeXMLStreamReader.java:183)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:597)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:172)
> 	... 19 more
> [INFO] org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
>  at [row,col {unknown-source}]: [22,5]
> [INFO] Deploying Web service: version.aar - file:/Users/lahirugunathilake/work/airavata/trunk/ws-messaging/distribution/target/airavta-ws-messenger-0.0.1-SNAPSHOT/standalone-server/repository/services/version.aar
> [INFO] Listening on port 8080
> [INFO] [SimpleAxisServer] Started
> Regards
> Lahiru

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira