axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sérgio Gomes" <sergiomdgo...@gmail.com>
Subject Re: "Transport sender value is NULL, unable to continue"
Date Wed, 19 Mar 2008 14:44:42 GMT
Hi Senaka,

Thanks for your help. I tried commenting the "http" transports in
axis2.xml (I think that's what you meant by duplicates), as well as
adding the certificate information from the server (not the key file
or passphrase, since I don't need client authentication, and I don't
have them). Oh, and yes, I already had compiled Axis with
--enable-openssl=yes. I still got the same error, after all this. :-/

Also, I tried the echo client sample provided with the Axis2/C
distribution (after disabling all the https transports in axis2.xml
and enabling the http ones), and I got the same error in that one, so
I'm starting to think it might not be a problem with SSL...

Any ideas?

Thanks,
Sérgio

---
On Wed, Mar 19, 2008 at 2:14 PM, Senaka Fernando <senaka@wso2.com> wrote:
> Hi again,
>
>  Please remove the duplicates in your axis2.xml. Sorry, that I forgot to
>  mention that.
>
>  And, I hope you built the source with the --enable-openssl=yes configure
>  option.
>
>  More info can be found in the Axis2/C manual, at [1]
>
>  [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#ssl_client
>
>  Regards,
>  Senaka
>
>
>
>  > Hi Sérgio,
>  >
>  > If you are using HTTPS yes, this can be an issue.
>  >
>  > Please add these to your axis2.xml
>  >
>  >     <transportSender name="https" class="axis2_http_sender">
>  >         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>  >         <parameter name="xml-declaration" insert="false"/>
>  >     </transportSender>
>  >     <parameter name="SERVER_CERT">[/path/to/ca/certificate]</parameter>
>  >     <parameter
>  > name="KEY_FILE">[/path/to/client/certificate/chain/file]</parameter>
>  >     <parameter name="SSL_PASSPHRASE">[passphrase]</parameter>
>  >
>  > And,
>  >
>  >     <transportReceiver name="https" class="axis2_http_receiver">
>  >         <parameter name="port" locked="false">6060</parameter>
>  >         <parameter name="exposeHeaders" locked="true">false</parameter>
>  >     </transportReceiver>
>  >
>  >
>  > Also, suitably replace the content inside '[' ']'.
>  >
>  > Regards,
>  > Senaka
>  >
>  >
>  >> Hello,
>  >>
>  >> I'm having issues with Axis2/C (latest release). I'm running into an
>  >> issue I've seen described in some places while searching for info,
>  >> here's the log:
>  >>
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *request_uri_based_dispatcher added to the index 0 of the phase
>  >> Transport
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *addressing_based_dispatcher added to the index 1 of the phase
>  >> Transport
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *rest_dispatcher added to the index 0 of the phase Dispatch
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *soap_message_body_based_dispatcher added to the index 1 of the phase
>  >> Dispatch
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *soap_action_based_dispatcher added to the index 2 of the phase
>  >> Dispatch
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *dispatch_post_conditions_evaluator added to the index 0 of the phase
>  >> PostDispatch
>  >> [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t
>  >> *context_handler added to the index 1 of the phase PostDispatch
>  >> [Wed Mar 19 12:49:16 2008] [debug] conf_builder.c(233) no custom
>  >> dispatching order found continue with default dispatching order
>  >> [Wed Mar 19 12:49:16 2008] [error] conf_builder.c(860) transport
>  >> sender value is NULL, unable to continue
>  >> [Wed Mar 19 12:49:16 2008] [error] conf_builder.c(262) conf builder
>  >> process transport senders failed, unable to continue
>  >> [Wed Mar 19 12:49:16 2008] [error] conf_init.c(229) dep engine load
>  >> failed. conf value is NULL
>  >>
>  >>>From what I gathered, this is usually due to Axis not being able to
>  >> find the dynamic libraries (the .so files, in this case, since I'm
>  >> running Linux). I find that odd because I chose /usr as the
>  >> installation prefix, so that all the library files were neatly
>  >> installed in /usr/lib. And when I run ldd on my binary, it seems to
>  >> find everything, including libaxis2_http_sender.so.0, which would
>  >> presumably be the problem:
>  >>
>  >> $ ldd main
>  >>         linux-gate.so.1 =>  (0xffffe000)
>  >>         libaxutil.so.0 => /usr/lib/libaxutil.so.0 (0xf7fde000)
>  >>         libaxis2_axiom.so.0 => /usr/lib/libaxis2_axiom.so.0 (0xf7fb9000)
>  >>         libaxis2_parser.so.0 => /usr/lib/libaxis2_parser.so.0
>  >> (0xf7fb1000)
>  >>         libaxis2_engine.so.0 => /usr/lib/libaxis2_engine.so.0
>  >> (0xf7f60000)
>  >>         libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
>  >> (0x4db9c000)
>  >>         libaxis2_http_sender.so.0 =>
>  >> /usr/lib/libaxis2_http_sender.so.0 (0xf7f4c000)
>  >>         libaxis2_http_receiver.so.0 =>
>  >> /usr/lib/libaxis2_http_receiver.so.0 (0xf7f48000)
>  >>         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x4da5f000)
>  >>         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x4d92b000)
>  >>         libz.so.1 => /usr/lib/libz.so.1 (0x4db77000)
>  >>         libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4e38e000)
>  >>         libneethi.so.0 => /usr/lib/libneethi.so.0 (0xf7f2b000)
>  >>         libaxis2_http_common.so.0 =>
>  >> /usr/lib/libaxis2_http_common.so.0 (0xf7f1b000)
>  >>         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x4da65000)
>  >>         /lib/ld-linux.so.2 (0x4d912000)
>  >>         libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8
>  >> (0x4f76d000)
>  >>         libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
>  >> (0x4f543000)
>  >>
>  >> I'm trying to run a SOAP connection over https, could that be part of
>  >> the problem? I'm including my axis2.xml, in case it helps.
>  >>
>  >> Thanks in advance!
>  >>
>  >> Cheers,
>  >> Sérgio Gomes
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>  >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>  > For additional commands, e-mail: axis-c-user-help@ws.apache.org
>  >
>  >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

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


Mime
View raw message