Hello, I have a service set up that uses a conduit for SSL. This was working
fine with both applications running locally on my development enviornment
but when I moved to test enviornment with both applications running on
separate machines i get the following error

Caused by: java.lang.NullPointerException
      at
org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:228)
      at
org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:81)
      at
org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:61)
      at
org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:809)
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:505)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:343)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:295)
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
      at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
      ... 36 more


The following is my conduit. The name has the target URL in it.

        <http-conf:conduit name="https://10.101.255.135/.*";>
                        <http-conf:tlsClientParameters 
secureSocketProtocol="SSL"
disableCNCheck="true">
                                <sec:keyManagers keyPassword="password">
                                        <sec:keyStore type="JKS" 
password="${ws.keystorePassword}"
file="${ws.keystoreLocation}" />
                                </sec:keyManagers>
                                 <sec:trustManagers>
                                 <sec:keyStore type="JKS" 
password="${ws.truststorePassword}"
file="${ws.truststoreLocation}" />
                        </sec:trustManagers>
                                 <sec:cipherSuitesFilter>
                                <sec:include>.*_EXPORT_.*</sec:include>
                                    <sec:include>.*_EXPORT1024_.*</sec:include>
                                    <sec:include>.*_WITH_DES_.*</sec:include>
                                    <sec:include>.*_WITH_NULL_.*</sec:include>
                                    <sec:exclude>.*_DH_anon_.*</sec:exclude>
                        </sec:cipherSuitesFilter>
                        </http-conf:tlsClientParameters>
                </http-conf:conduit>
                        

Any ideas?

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Conduit-Error-on-CXF-2-1-4-tp5483971p5483971.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to