Hello I have a servicemix war v3.3.1 that I built using maven and deployed it in my JBoss Application Server v5.1.0. I added some missing jars, and took out conflicting ones from the lib directory in the smx war I also deployed the following binding components in servicemix:
bpelse-installer-2.6-SNAPSHOT.jar filebc.jar restbc-installer-2.6-SNAPSHOT.jar databasebc.jar httpbc-installer-2.6-SNAPSHOT.jar schedulerbc.jar transformlib.jar encoderlib-installer-2.6-SNAPSHOT.jar jmsbc-installer-2.6-SNAPSHOT.jar sharedutillib.jar wsdlextlib-installer-2.6-SNAPSHOT.jar When I deploy a SOAP service assembly (SA) with HTTP one-way SSL everything works fine, but then I configure JBoss and the smx to work with two-way SSL I cant bring up the SA's wsdl. I can bring up JBoss using HTTPS on port 8543. I altered the httpbc config file to enable client authority and I added a certificate to the keystore and all the trusted certs to the truststore in the restBC. I set JBoss to DEBUG mode and I set the JVM param to watch for ssl,handshake. I am just out of ideas on what to do. Thank You! Java OPTS: JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.service.binding.set=ports-01 -Dcom.sun.jbi.httpbc.enableClientAuth=true -Djavax.net.ssl.trustStore=/h/certs/testsm_truststore.jks -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.keyStore=/h/certs/testsm_keystore.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.debug=ssl,handshake -Djboss.server.log.threshold=DEBUG" Here is the httpbc config file ClientAuthEnabled=true NonProxyHosts=localhost|127.0.0.1|testservicemix ProxyPort=0 HttpDefaultPort=9080 ProxyPassword= ProxyUserName= ProxyType=DIRECT UseJVMProxySettings=false ProxyHost= OutboundThreads=100 InboundReplyThreads=100 InboundThreads=100 HttpsDefaultPort=9181 My wsdl link https://testservicemix:9181/HelloService/HelloPort?wsdl Part of the log file when the service gets deployed: 2011-08-18 12:57:13,292 INFO [org.apache.servicemix.jbi.framework.AutoDeploymentService] (Timer-2) Directory: deploy: Archive changed: processing SimpleHelloSoapCA_https9181.zip ... 2011-08-18 12:57:13,329 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00201: Deploying service unit SimpleHelloSoapCA-sun-http-binding from /h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,329 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00201: Deploying service unit SimpleHelloSoapCA-sun-http-binding from /h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,337 ERROR [STDERR] (Timer-2) Cannot find CatalogManager.properties 2011-08-18 12:57:13,344 INFO [STDOUT] (Timer-2) Retrieving document at '/h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding/SimpleHelloSoap/Hello.wsdl'. 2011-08-18 12:57:13,402 INFO [org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle] (Timer-2) Starting service assembly: SimpleHelloSoapCA 2011-08-18 12:57:13,412 INFO [org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle] (Timer-2) Initializing service unit: SimpleHelloSoapCA-SimpleHelloSoap 2011-08-18 12:57:13,413 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5009: SU.init for SimpleHelloSoapCA-SimpleHelloSoap is started, Business Process packaged in this SU will be deployed 2011-08-18 12:57:13,413 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5009: SU.init for SimpleHelloSoapCA-SimpleHelloSoap is started, Business Process packaged in this SU will be deployed 2011-08-18 12:57:13,414 FINE [sun-bpel-enginecom.sun.jbi.common.qos.descriptor.DeploymentLookup] (Timer-2) QOS-3005: Unable to invoke org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService dynamically for service unit - SimpleHelloSoapCA-SimpleHelloSoap: null 2011-08-18 12:57:13,414 DEBUG [sun-bpel-enginecom.sun.jbi.common.qos.descriptor.DeploymentLookup] (Timer-2) QOS-3005: Unable to invoke org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService dynamically for service unit - SimpleHelloSoapCA-SimpleHelloSoap: null 2011-08-18 12:57:13,421 WARNING [com.sun.bpel.xml.EncodingUtil] (Timer-2) EncodingHelper got unmarkable stream: class java.io.FileInputStream 2011-08-18 12:57:13,421 WARN [com.sun.bpel.xml.EncodingUtil] (Timer-2) EncodingHelper got unmarkable stream: class java.io.FileInputStream 2011-08-18 12:57:13,431 INFO [com.sun.jbi.engine.bpel.EngineHelper] (Timer-2) BPJBI-4010: Loaded BPEL, WSDL and XSD documents for SimpleHelloSoapCA-SimpleHelloSoap. 2011-08-18 12:57:13,432 INFO [com.sun.jbi.engine.bpel.EngineHelper] (Timer-2) BPJBI-4010: Loaded BPEL, WSDL and XSD documents for SimpleHelloSoapCA-SimpleHelloSoap. 2011-08-18 12:57:13,436 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5008: Activated an endpoint. Service name {http://enterprise.netbeans.org/bpel/SimpleHelloSoap/simpleHelloSoap}PartnerLink1, endpoint name HelloPortTypeRole_myRole 2011-08-18 12:57:13,436 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5008: Activated an endpoint. Service name {http://enterprise.netbeans.org/bpel/SimpleHelloSoap/simpleHelloSoap}PartnerLink1, endpoint name HelloPortTypeRole_myRole 2011-08-18 12:57:13,436 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5010: SU.init for SimpleHelloSoapCA-SimpleHelloSoap is completed, Business Process packaged in this SU are deployed 2011-08-18 12:57:13,436 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5010: SU.init for SimpleHelloSoapCA-SimpleHelloSoap is completed, Business Process packaged in this SU are deployed 2011-08-18 12:57:13,436 INFO [org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle] (Timer-2) Initializing service unit: SimpleHelloSoapCA-sun-http-binding 2011-08-18 12:57:13,436 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00202: Initializing service unit : SimpleHelloSoapCA-sun-http-binding from /h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,436 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00202: Initializing service unit : SimpleHelloSoapCA-sun-http-binding from /h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,437 INFO [STDOUT] (Timer-2) HTTPBC-R00202.Initializing_service_unit : SimpleHelloSoapCA-sun-http-binding : /h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding 2011-08-18 12:57:13,437 FINE [sun-http-bindingcom.sun.jbi.common.qos.descriptor.DeploymentLookup] (Timer-2) QOS-3005: Unable to invoke org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService dynamically for service unit - SimpleHelloSoapCA-sun-http-binding: null 2011-08-18 12:57:13,437 DEBUG [sun-http-bindingcom.sun.jbi.common.qos.descriptor.DeploymentLookup] (Timer-2) QOS-3005: Unable to invoke org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService dynamically for service unit - SimpleHelloSoapCA-sun-http-binding: null 2011-08-18 12:57:13,462 ERROR [STDERR] (Timer-2) Cannot find CatalogManager.properties 2011-08-18 12:57:13,469 INFO [STDOUT] (Timer-2) Retrieving document at '/h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding/SimpleHelloSoap/Hello.wsdl'. 2011-08-18 12:57:13,476 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) SOAP action is not set in the wsdl for operation HelloOperation 2011-08-18 12:57:13,476 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) SOAP action is not set in the wsdl for operation HelloOperation 2011-08-18 12:57:13,476 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) isDocumentMode false for endpoint HelloPort operation HelloOperation 2011-08-18 12:57:13,476 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) isDocumentMode false for endpoint HelloPort operation HelloOperation 2011-08-18 12:57:13,476 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) using soap action () as hints for operation HelloOperation 2011-08-18 12:57:13,476 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapEndpoint] (Timer-2) using soap action () as hints for operation HelloOperation 2011-08-18 12:57:13,477 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00203: Service unit SimpleHelloSoapCA-sun-http-binding successfully initialized 2011-08-18 12:57:13,477 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00203: Service unit SimpleHelloSoapCA-sun-http-binding successfully initialized 2011-08-18 12:57:13,477 INFO [STDOUT] (Timer-2) HTTPBC-R00203.Service_unit_initialized : SimpleHelloSoapCA-sun-http-binding 2011-08-18 12:57:13,477 INFO [org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle] (Timer-2) Starting service unit: SimpleHelloSoapCA-SimpleHelloSoap 2011-08-18 12:57:13,477 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5011: SU.start for SimpleHelloSoapCA-SimpleHelloSoap is started 2011-08-18 12:57:13,477 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5011: SU.start for SimpleHelloSoapCA-SimpleHelloSoap is started 2011-08-18 12:57:13,477 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5012: SU.start for SimpleHelloSoapCA-SimpleHelloSoap is completed 2011-08-18 12:57:13,477 INFO [com.sun.jbi.engine.bpel.BPELSEDeployer] (Timer-2) BPJBI-5012: SU.start for SimpleHelloSoapCA-SimpleHelloSoap is completed 2011-08-18 12:57:13,478 INFO [org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle] (Timer-2) Starting service unit: SimpleHelloSoapCA-sun-http-binding 2011-08-18 12:57:13,478 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00204: Starting Service Unit SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,478 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00204: Starting Service Unit SimpleHelloSoapCA-sun-http-binding... 2011-08-18 12:57:13,478 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Activating inbound endpoint - service name: [{http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService] endpoint name [HelloPort] 2011-08-18 12:57:13,478 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Activating inbound endpoint - service name: [{http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService] endpoint name [HelloPort] 2011-08-18 12:57:13,478 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) About to start port 9181, protocol is: https with client authentication enabled... 2011-08-18 12:57:13,478 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) About to start port 9181, protocol is: https with client authentication enabled... 2011-08-18 12:57:13,478 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.jaxwssupport.JAXWSEndpointFactory] (Timer-2) Creating WSEndpoint with primary WSDL URL: file:/h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding/SimpleHelloSoap/Hello.wsdl 2011-08-18 12:57:13,479 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.jaxwssupport.JAXWSEndpointFactory] (Timer-2) Creating WSEndpoint with primary WSDL URL: file:/h/COTS/JBoss_SM/jboss-5.1.0.GA/server/servicemix/deploy/servicemix-web-3.3.1/wdir/service-assemblies/SimpleHelloSoapCA/version_1/sus/sun-http-binding/SimpleHelloSoapCA-sun-http-binding/SimpleHelloSoap/Hello.wsdl 2011-08-18 12:57:13,506 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Registered an external endpoint with service name: {http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService and endpoint name: HelloPort 2011-08-18 12:57:13,506 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Registered an external endpoint with service name: {http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService and endpoint name: HelloPort 2011-08-18 12:57:13,506 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Inbound endpoint http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello,HelloService,HelloPort,Consumer prepared, mapped to context /HelloService/HelloPort 2011-08-18 12:57:13,506 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Inbound endpoint http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello,HelloService,HelloPort,Consumer prepared, mapped to context /HelloService/HelloPort 2011-08-18 12:57:13,507 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Activated inboundendpoint - service name: [{http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService] endpoint name [HelloPort] 2011-08-18 12:57:13,507 DEBUG [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle] (Timer-2) Activated inboundendpoint - service name: [{http://j2ee.netbeans.org/wsdl/SimpleHelloSoap/Hello}HelloService] endpoint name [HelloPort] 2011-08-18 12:57:13,507 FINE [sun-http-bindingcom.sun.jbi.httpsoapbc.HttpSoapBindingDeployer] (Timer-2) HTTPBC-R00205: Service Unit SimpleHelloSoapCA-sun-http-binding successfully started 2011-08-18 12:57:13,509 INFO [org.apache.servicemix.jbi.framework.AutoDeploymentService] (Timer-2) Directory: deploy: Finished installation of archive: SimpleHelloSoapCA_https9181.zip -- View this message in context: http://servicemix.396122.n5.nabble.com/Problems-configuring-Two-way-SSL-with-ServiceMix-war-tp4713570p4713570.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
