5 Replies Latest reply on May 12, 2011 9:25 AM by gdr

    Why JBR-listener, designed as HTTPS really work througth HTTP protocol?

    gdr

      Hi!

      I make the service with jbr listener and SOAPProcessor action. In jbr provider I set protocol="https" and describe nessesary properties. Service starts and works well at development server, but when i try to deploy it to the production server i see, that jbr-listener available througth http protocol and not available througth https protocol.

      I can't understand it...

       

      There is my jboss-esb.xml file:

       

      <?xml version="1.0"?>

      <jbossesb parameterReloadSecs="5"

      xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd">

      <providers>

        <jbr-provider name="HttpGateway" protocol="https">

         <property name="jbr-KeyStoreURL" value="keystore.jks"/>

         <property name="jbr-KeyStorePassword" value="11111"/>

         <property name="jbr-TrustStoreURL" value="keystore.jks"/>

         <property name="jbr-TrustStorePassword" value="11111"/>

         <property name="jbr-ClientAuthMode" value="need"/>

         <property name="serviceInvokerTimeout" value="20000"/>

         <jbr-bus busid="HttpGatewayChannel" port="3536"/>

        </jbr-provider>

        <jms-provider connection-factory="ConnectionFactory" name="InternalQueue">

         <jms-bus busid="InternalQueueChannel"/>

        </jms-provider>

      </providers>

      <services>

        <service category="SWS" description="Secure web service" name="SecureWebService">

         <listeners>

          <jbr-listener busidref="HttpGatewayChannel" is-gateway="true" name="HttpGateway"/>

          <jms-listener busidref="InternalQueueChannel" is-gateway="false" name="InternalQueue">

           <jms-message-filter dest-name="queue/InternalQueue"

            dest-type="QUEUE" persistent="false"/>

          </jms-listener>

         </listeners>

         <actions mep="RequestResponse">

          <action class="org.jboss.soa.esb.actions.soap.SOAPProcessor" name="MessageExchange">

           <property name="jbossws-endpoint" value="SecureWebService"/>

          </action>

         </actions>

        </service>

      </services>

      </jbossesb>