You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by franvk <fr...@hotmail.com> on 2011/04/11 08:34:34 UTC

Logging an UnknownSequence Fault

Hello, 

I'm trying to get a log from a Secure Realiable Messaging communication
using Sandesha2 1.5 (for RM) and Rampart 1.5 (for security) modules of
Axis2. The problem that I have encountered is when I want to cause an
UnknownSequence fault in the RM Destination (the service).

To get the log of the entire communication I'm using the following
log4j.properties:

log4j.rootCategory=DEBUG, LOGFILE

# Set the enterprise logger priority to FATAL
log4j.logger.org.apache.axis2.enterprise=DEBUG
log4j.logger.de.hunsicker.jalopy.io=FATAL
log4j.logger.httpclient.wire.header=DEBUG
log4j.logger.org.apache.commons.httpclient=DEBUG

# 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=axis2.log
log4j.appender.LOGFILE.Append=false
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%m%n

But when I take a look into the axis2.log I receive a message like that: 

Request body sent
<< "HTTP/1.1 500 Error Interno del Servidor[\r][\n]"
<< "HTTP/1.1 500 Error Interno del Servidor[\r][\n]"
<< "Server: Apache-Coyote/1.1[\r][\n]"
<< "Content-Type: application/soap+xml;
action="http://docs.oasis-open.org/ws-rx/wsrm/200702/fault";charset=UTF-8[\r][\n]"
<< "Transfer-Encoding: chunked[\r][\n]"
<< "Date: Fri, 08 Apr 2011 10:51:37 GMT[\r][\n]"
<< "Connection: close[\r][\n]"
<< "[\r][\n]"
org.apache.axis2.i18n.resource::handleGetObject(transportError)
Unable to sendViaPost to
url[http://localhost:8090/WanReceiver/services/DeviceObservationConsumer_Service]
org.apache.axis2.AxisFault: Transport error: 500 Error: Error Interno del
Servidor
	at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:305)
	at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200)
	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
	at
org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWorker.run(AxisEngine.java:619)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
org.apache.axis2.AxisFault: Transport error: 500 Error: Error Interno del
Servidor
org.apache.axis2.AxisFault: Transport error: 500 Error: Error Interno del
Servidor
[MessageContext: logID=urn:uuid:C8065765DF51E536A71302259897902] Transport
error: 500 Error: Error Interno del Servidor
CallbackReceiver: lookup callback urn:uuid:C8065765DF51E536A71302259897901,
org.apache.axis2.description.OutInAxisOperationClient$SyncCallBack@383118
,org.apache.axis2.util.CallbackReceiver@1124746
Entry: OutInAxisOperationClient$SyncCallBack::onError,
org.apache.axis2.AxisFault: Transport error: 500 Error: Error Interno del
Servidor

where there is no information about an UnknownSequence fault because there
is not a SOAP Envelope. The point is that after making some executions
causing another kind of faults there are no problems with that, I receive
the completed SOAP Envelope.

Any idea about that??

Thank you so much,

Fran.
-- 
View this message in context: http://old.nabble.com/Logging-an-UnknownSequence-Fault-tp31367639p31367639.html
Sent from the Axis - User mailing list archive at Nabble.com.


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