[
https://issues.apache.org/jira/browse/AXIS2-5995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251949#comment-17251949
]
Robert Lazarski commented on AXIS2-5995:
----------------------------------------
On your server, edit axis2.war/WEB-INF/classes/log4j.properties and add an
absolute path to this line like so:
log4j.appender.LOGFILE.File=/home/user/myserver/logs/axis2.log
Here is a full example:
# Set root category priority to INFO and its only appender to CONSOLE.
log4j.rootCategory=TRACE, CONSOLE, LOGFILE
# Set the enterprise logger priority to FATAL
log4j.logger.org.apache.axis2=TRACE
log4j.logger.httpclient.wire.header=FATAL
log4j.logger.org.apache.commons.httpclient=FATAL
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.FileAppender
log4j.appender.LOGFILE.File=/home/myuser/tomcat/logs/axis2.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
> Invalid char in xml namespace prefix
> ------------------------------------
>
> Key: AXIS2-5995
> URL: https://issues.apache.org/jira/browse/AXIS2-5995
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.7.9
> Reporter: William Buch
> Priority: Blocker
>
> When upgrading from Axis2 1.5.1 to Axis2 1.7.9, xmlbeans based XML is
> creating a namespace with invalid characters in them. Please see sample
> below. I am not sure how to resolve this and looking for any pointers. In
> debugging I cannot find the place where the xmlns:x / = is being added or why
> it would add it like this.
>
> {{<soapenv:Body><urn:UnifiedProfileRqxmlns:urn="urn:com.thehartford.pc.acord_extensions"
> xmlns:x / ="http://www.ACORD.org/standards/PC_Surety/ACORD1.10.0/xml/"><x /
> :ItemIdInfo><x / :OtherIdentifier><x /
> :OtherIdTypeCd>UserId</x/:OtherIdTypeCd> <x /
> :OtherId>NBVQA670</x/:OtherId>
> </x/:OtherIdentifier> <x / :OtherIdentifier><x /
> :OtherIdTypeCd>ProfileId</x/:OtherIdTypeCd> <x /
> :OtherId>Min</x/:OtherId>
> </x/:OtherIdentifier> <x / :OtherIdentifier><x /
> :OtherIdTypeCd>ApplicationId</x/:OtherIdTypeCd> <x /
> :OtherId>NBV</x/:OtherId>
> </x/:OtherIdentifier> <x / :OtherIdentifier><x /
> :OtherIdTypeCd>UseContractorSearch</x/:OtherIdTypeCd> <x /
> :OtherId>true</x/:OtherId>
> </x/:OtherIdentifier>
> </x/:ItemIdInfo> </urn:UnifiedProfileRq></soapenv:Body>}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]