[jboss-jira] [JBoss JIRA] Commented: (JBAS-8540) Modify AS 6 and AS 6 testsuite to work with IPv6 addresses

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Thu Dec 2 17:40:04 EST 2010


    [ https://jira.jboss.org/browse/JBAS-8540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567300#comment-12567300 ] 

Richard Achmatowicz commented on JBAS-8540:
-------------------------------------------

28. org.jboss.test.cluster.multicfg.ejb2.test.StatefulPassivationExpirationUnitTestCase

This test deploys two service archives, sfsb-passexp.sar and sfsb-passexp1.sar.
These service archives in turn deploy a Remoting Connector PassExpConnection in partition-passexp-jboss-beans.xml.
The Connector is initialised with an InvokerURL, as follows:

 <parameter><![CDATA[socket://${jboss.bind.address}:24446/?datatype=invocation&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller&enableTcpNoDelay=true]]></parameter>

We either need to pass in a URL form for jboss.bind.address (which is no longer done on the server side) or use SBM to generate the correct URL. We do the latter, as follows: 

<parameter>
  <value-factory bean="ServiceBindingManager" method="getStringBinding">
   <parameter>PassExpConnector</parameter>
   <parameter><null/></parameter>
   <parameter><![CDATA[socket://${hostforurl}:${port}/?datatype=invocation&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller&enableTcpNoDelay=true]]></parameter>
   <parameter>${jboss.bind.address}</parameter>
   <parameter>24446</parameter>
  </value-factory>
</parameter>



> Modify AS 6 and AS 6 testsuite to work with IPv6 addresses
> ----------------------------------------------------------
>
>                 Key: JBAS-8540
>                 URL: https://jira.jboss.org/browse/JBAS-8540
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.M4
>         Environment: All certified platforms.
>            Reporter: Richard Achmatowicz
>            Assignee: Richard Achmatowicz
>             Fix For: TBD
>
>
> Modify AS 6 and the AS 6 testsuite to work with IPv6 addresses.
> The end result should be:
> (i) AS 6 boots cleanly with both IPv4 and IPv6 addresses
> (ii) the AS testsuite and its test cases run cleanly against IPv4 and IPv6 addresses
> This task does not aim to certify that AS 6 is IPv6-compatible or ready. Such a certification may require the development of additional test cases to verify specific features relating to IPv6. For a discussion of such issues, see https://docspace.corp.redhat.com/docs/DOC-47796.
> This work is a precursor to making AS 7 IPv6 compatible.
>  

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list