[gatein-issues] [JBoss JIRA] (GTNWSRP-351) IllegalArgumentException: Malformed cookie, when rendering remote portlet from IPv6 producer

Tomas Kyjovsky (JIRA) jira-events at lists.jboss.org
Tue Mar 12 11:28:42 EDT 2013


    [ https://issues.jboss.org/browse/GTNWSRP-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760591#comment-12760591 ] 

Tomas Kyjovsky commented on GTNWSRP-351:
----------------------------------------

Details on configuring gatein for IPv6:

1. in {{/bin/standalone.conf}} set:
{{-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true}}

2. in {{/standalone/configuration/standalone.xml}} change default loopback addresses to IPv6 format:
all occurences of {{127.0.0.1}} ---> {{[::1]}}

3. obtain IPv6 address using command {{ifconfig}} or "{{ip a}}"
{code}
$ ifconfig
eth0      Link encap:Ethernet  HWaddr -----------------
          inet addr:10.34.27.242  Bcast:10.34.27.255  Mask:255.255.254.0
          inet6 addr: 2620:52:0:221a:f1d9:fbff:ee3f:6f03/64 Scope:Global
...
{code}
4. start gatein bound to IPv6 address:
{{./standalone.sh -b [2620:52:0:221a:f1d9:fbff:ee3f:6f03]}}
                
> IllegalArgumentException: Malformed cookie, when rendering remote portlet from IPv6 producer
> --------------------------------------------------------------------------------------------
>
>                 Key: GTNWSRP-351
>                 URL: https://issues.jboss.org/browse/GTNWSRP-351
>             Project: GateIn WSRP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.2.Final
>            Reporter: Tomas Kyjovsky
>            Assignee: Chris Laprun
>              Labels: ipv6
>         Attachments: malformed-cookie.txt
>
>
> java.lang.IllegalArgumentException: Malformed cookie: JSESSIONID=dra8D02QuTC8CHMS9INy-ZUP; Path=/wsrp-producer
> Steps to reproduce:
> 1. configure WSRP producer on IPv6-enabled gatein instance, such as:
> {code}http://[2620:52:0:221a:88b1:e9c2:6fcb:dfe7]:8080/wsrp-producer/v1/MarkupService?wsdl
> http://[2620:52:0:221a:88b1:e9c2:6fcb:dfe7]:8080/wsrp-producer/v2/MarkupService?wsdl{code}
> 2. create a consumer (for this producer) on another gatein instance
> 3. register some remote portlet and put it in a page
> 4. render the page

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list