NTLM authentication not supported
---------------------------------

                 Key: ODE-418
                 URL: https://issues.apache.org/jira/browse/ODE-418
             Project: ODE
          Issue Type: Bug
          Components: Axis2 Integration
    Affects Versions: 1.2
            Reporter: Alexis Midon
            Assignee: Alexis Midon



If you try to perfom NTLM authentication with the mechanism described in the 
user guide [1], you got the exception below.
org.apache.ode.axis2.AuthenticationHelper should support a Host element.


14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [RMI TCP 
Connection(980)-192.168.1.124] entering ProcessDaoImpl.ProcessDaoImpl
14:30:07,414 ERROR [org.apache.ode.axis2.SoapExternalService] [ODEServer-818] 
Error sending message (mex={PartnerRoleMex#4883227 [PID
{http://baltikums.lv/InvoiceProcessing/InvoiceProcessing}InvoiceProcessing-65] 
calling
[EMAIL PROTECTED](...)}): Host may not be null
java.lang.IllegalArgumentException: Host may not be null
        at 
org.apache.commons.httpclient.NTCredentials.<init>(NTCredentials.java:83)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.setAuthenticationInfo(AbstractHTTPSender.java:325)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.getHostConfiguration(AbstractHTTPSender.java:267)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:502)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at 
org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:163)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [RMI TCP 
Connection(980)-192.168.1.124] entering ProcessInstanceDaoImpl.getRootScope
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [ODEServer-819] entering 
MessageExchangeDaoImpl.MessageExchangeDaoImpl
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [ODEServer-819] entering 
MessageExchangeDaoImpl.getProcess
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [ODEServer-819] entering 
ProcessDaoImpl.ProcessDaoImpl
14:30:07,414 DEBUG [org.apache.ode.bpel.engine.PartnerRoleMessageExchangeImpl] 
[ODEServer-819] replyWithFailure mex=4883227
failureType=COMMUNICATION_ERROR description=Error sending message 
(mex={PartnerRoleMex#4883227 [PID
{http://baltikums.lv/InvoiceProcessing/InvoiceProcessing}InvoiceProcessing-65] 
calling
[EMAIL PROTECTED](...)}): Host may not be null details=null
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [ODEServer-819] entering 
MessageExchangeDaoImpl.setStatus
14:30:07,414 DEBUG [org.apache.ode.bpel.DAO] [ODEServer-819] entering 
MessageExchangeDaoImpl.setFaultExplanation



[1] 
http://cwiki.apache.org/confluence/display/ODExSITE/User+Guide#UserGuide-HTTPAuthentication(Axis2)


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

Reply via email to