Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: documentation
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      1、click "JMS Server" porlet
      2、click "Add JMS Broker"
      3、input "testBroker" as broker name
      4、I need to update this xml file like this:

      <transportConnectors>
      <!--
      <transportConnector name="openwire" uri="tcp://$

      {ServerHostname}:${* + ${PortOffset}}" />
      <transportConnector name="openwire2" uri="tcp://${ServerHostname}

      :${* + ${PortOffset}}" discoveryUri="multicast://default"/>-->
      <transportConnector name="ssl" uri="ssl://$

      {ServerHostname}:${60009 + ${PortOffset}}"/>
      <!--
      <transportConnector name="stomp" uri="stomp://${ServerHostname}

      :${* + ${PortOffset}}"/>
      -->
      </transportConnectors>

      <sslContext>
      <sslContext keyStore="file:$

      {activemq.data}/a.ks"
      keyStorePassword="secret"
      trustStore="file:${activemq.data}

      /a.ks"
      trustStorePassword="secret"/>
      </sslContext>

      5、 I need to copy any keystore file(geronimo-default or any other keystore file that I have created) in <geronimo-home>/var/security/keystores/ to <geronimo-home>/var/activemq/data/$brokerName/
      and rename this keystore file.(It's not compulsory to copy or rename,it's just for convinence.In a word , I have to make this keystore in sslContext link to a keystore file which has existed. )
      (Note in this case the brokerName is testBroker and the name of the keystore file in <geronimo-home>/var/activemq/data/$brokerName/ is "a.ks").

        Activity

        Bin He created issue -
        Bin He made changes -
        Field Original Value New Value
        Attachment testBroker.xml [ 12417094 ]
        Bin He made changes -
        Description 1、click "JMS Server" porlet
        2、click "Add JMS Broker"
        3、input "testBroker" as broker name
        4、I need to update this xml file like this:

        <transportConnectors>
                    <!--
                    <transportConnector name="openwire" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" />
                    <transportConnector name="openwire2" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" discoveryUri="multicast://default"/>-->
                    <transportConnector name="ssl" uri="ssl://${ServerHostname}:${60009 + ${PortOffset}}"/>
                     <!--
                   <transportConnector name="stomp" uri="stomp://${ServerHostname}:${* + ${PortOffset}}"/>
                    -->
        </transportConnectors>


                  <sslContext>
                    <sslContext keyStore="file:${activemq.data}/a.ks"
                        keyStorePassword="secret"
                        trustStore="file:${activemq.data}/a.ks"
                        trustStorePassword="secret"/>
                </sslContext>
                
        5、 I need to copy any keystore file(geronimo-default or any other keystore file that I have created) in <geronimo-home>/var/security/keystores/ to <geronimo-home>/var/activemq/data/$brokerName/
        and rename this keystore file as "a.ks".(Note in this case the brokerName is testBroker).
        1、click "JMS Server" porlet
        2、click "Add JMS Broker"
        3、input "testBroker" as broker name
        4、I need to update this xml file like this:

        <transportConnectors>
                    <!--
                    <transportConnector name="openwire" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" />
                    <transportConnector name="openwire2" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" discoveryUri="multicast://default"/>-->
                    <transportConnector name="ssl" uri="ssl://${ServerHostname}:${60009 + ${PortOffset}}"/>
                     <!--
                   <transportConnector name="stomp" uri="stomp://${ServerHostname}:${* + ${PortOffset}}"/>
                    -->
        </transportConnectors>


                  <sslContext>
                    <sslContext keyStore="file:${activemq.data}/a.ks"
                        keyStorePassword="secret"
                        trustStore="file:${activemq.data}/a.ks"
                        trustStorePassword="secret"/>
                </sslContext>
                
        5、 I need to copy any keystore file(geronimo-default or any other keystore file that I have created) in <geronimo-home>/var/security/keystores/ to <geronimo-home>/var/activemq/data/$brokerName/
        and rename this keystore file.(It's not compulsory) to copy or rename,it's just for convinence.In a word , I have to make this keystore in sslContext link to a keystore file which has existed. )
        (Note in this case the brokerName is testBroker and the name of the keystore file in <geronimo-home>/var/activemq/data/$brokerName/ is "a.ks").
        Bin He made changes -
        Description 1、click "JMS Server" porlet
        2、click "Add JMS Broker"
        3、input "testBroker" as broker name
        4、I need to update this xml file like this:

        <transportConnectors>
                    <!--
                    <transportConnector name="openwire" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" />
                    <transportConnector name="openwire2" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" discoveryUri="multicast://default"/>-->
                    <transportConnector name="ssl" uri="ssl://${ServerHostname}:${60009 + ${PortOffset}}"/>
                     <!--
                   <transportConnector name="stomp" uri="stomp://${ServerHostname}:${* + ${PortOffset}}"/>
                    -->
        </transportConnectors>


                  <sslContext>
                    <sslContext keyStore="file:${activemq.data}/a.ks"
                        keyStorePassword="secret"
                        trustStore="file:${activemq.data}/a.ks"
                        trustStorePassword="secret"/>
                </sslContext>
                
        5、 I need to copy any keystore file(geronimo-default or any other keystore file that I have created) in <geronimo-home>/var/security/keystores/ to <geronimo-home>/var/activemq/data/$brokerName/
        and rename this keystore file.(It's not compulsory) to copy or rename,it's just for convinence.In a word , I have to make this keystore in sslContext link to a keystore file which has existed. )
        (Note in this case the brokerName is testBroker and the name of the keystore file in <geronimo-home>/var/activemq/data/$brokerName/ is "a.ks").
        1、click "JMS Server" porlet
        2、click "Add JMS Broker"
        3、input "testBroker" as broker name
        4、I need to update this xml file like this:

        <transportConnectors>
                    <!--
                    <transportConnector name="openwire" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" />
                    <transportConnector name="openwire2" uri="tcp://${ServerHostname}:${* + ${PortOffset}}" discoveryUri="multicast://default"/>-->
                    <transportConnector name="ssl" uri="ssl://${ServerHostname}:${60009 + ${PortOffset}}"/>
                     <!--
                   <transportConnector name="stomp" uri="stomp://${ServerHostname}:${* + ${PortOffset}}"/>
                    -->
        </transportConnectors>


                  <sslContext>
                    <sslContext keyStore="file:${activemq.data}/a.ks"
                        keyStorePassword="secret"
                        trustStore="file:${activemq.data}/a.ks"
                        trustStorePassword="secret"/>
                </sslContext>
                
        5、 I need to copy any keystore file(geronimo-default or any other keystore file that I have created) in <geronimo-home>/var/security/keystores/ to <geronimo-home>/var/activemq/data/$brokerName/
        and rename this keystore file.(It's not compulsory to copy or rename,it's just for convinence.In a word , I have to make this keystore in sslContext link to a keystore file which has existed. )
        (Note in this case the brokerName is testBroker and the name of the keystore file in <geronimo-home>/var/activemq/data/$brokerName/ is "a.ks").
        Hide
        Chi Runhua added a comment -

        Doc updated accordingly for 2.2

        http://cwiki.apache.org/GMOxDOC22/configuring-the-jms-server.html

        Any questions, please let me know.

        Jeff C

        Show
        Chi Runhua added a comment - Doc updated accordingly for 2.2 http://cwiki.apache.org/GMOxDOC22/configuring-the-jms-server.html Any questions, please let me know. Jeff C
        Hide
        Bin He added a comment -

        Jeff has updated the doc.

        Show
        Bin He added a comment - Jeff has updated the doc.
        Bin He made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.2 [ 12312965 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        13d 6h 18m 1 Bin He 02/Sep/09 10:42

          People

          • Assignee:
            Unassigned
            Reporter:
            Bin He
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development