You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jorge Fernández (JIRA)" <ji...@apache.org> on 2007/08/08 04:01:59 UTC

[jira] Commented: (AXIS2-3099) Internal server error when modifying axis2.xml in axis2 1.3 war distribution

    [ https://issues.apache.org/jira/browse/AXIS2-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518300 ] 

Jorge Fernández commented on AXIS2-3099:
----------------------------------------

With axis2 binary distribution, I'm trying to engage rampart module for testing and when I write 
    <module ref="rampart"/>

I'm getting the exception:

Exception in thread "main" org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x3f (at char #2840, byte #-1)
	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
	at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:130)
	at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:359)
	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:568)
	at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:96)
	at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:79)
	at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:595)
	at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:115)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)
	at client.Client.main(Client.java:26)
Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x3f (at char #2840, byte #-1)
	at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
	... 10 more
Caused by: java.io.CharConversionException: Invalid UTF-8 middle byte 0x3f (at char #2840, byte #-1)
	at com.ctc.wstx.io.UTF8Reader.reportInvalidOther(UTF8Reader.java:310)
	at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:208)
	at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
	at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
	at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)
	at com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:738)
	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1995)
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
	... 11 more


I'm using it for the client side and I tried to do it with
ConfigurationContext configContext =ConfigurationContextFactory.createConfigurationContextFromFileSystem(System.getenv("AXIS2_HOME")+"/repository",System.getenv("AXIS2_HOME")+"/conf/axis2.xml");
configContext.getAxisConfiguration().engageModule("rampart");
and it says:
org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: rampart
	at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:440)
	at client.Client.main(Client.java:28)

> Internal server error when modifying axis2.xml in axis2 1.3 war distribution
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-3099
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3099
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.3
>         Environment: Windows XP SP2, Tomcat 6.0, Java 6.0
>            Reporter: Jorge Fernández
>         Attachments: excepcion.txt
>
>
> Whenever I modify axis2.xml of the war distribution, I get an error page from listServices page or when I display an WSDL
> In Hapiness Page I see:
> Examinin Version Service:
> There was a problem in Axis2 version service , may be the service not available or some thing has gone wrong. But this does not mean system is not working ! Try to upload some other service and check to see whether it is working.
> For stoping that problem I have to backup and restore the original axis2.xml file that came in the war distribution
> When that happens I receive this at the client the message in the attached file when invoking the service.
> Also I can see that each time I run tomcat, my services.xml is updated, apparently with no changes but is modified on disk and the same happens with axis2.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org