Petals ESB Container

Add default option -Djava.net.preferIPv4Stack=true when starting petals

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.1.1
  • Fix Version/s: 3.1.2, 4.0.0
  • Component/s: Launcher
  • Security Level: Public
  • Description:
    Hide

    When starting, the petals ESB server opens ports for at least the registry service. For some reasons, the protocol IPv6 is sometimes used instead of IPv4 as usual, and the result is petals ESB appears to be frozen.

    Below is an example of opened ports and associated programs when petals uses IPv6

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      735/smbd        
    tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      735/smbd        
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      795/sshd        
    tcp6       0      0 :::7900                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::7600                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::7700                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::22                   :::*                    LISTEN      795/sshd

    This can be solved by adding the option -Djava.net.preferIPv4Stack=true to the JVM
    (see http://download.oracle.com/javase/6/docs/technotes/guides/net/properties.html).

    I think this behavior should be documented and maybe the option added by default while IPv6 is not yet widely used.

    Show
    When starting, the petals ESB server opens ports for at least the registry service. For some reasons, the protocol IPv6 is sometimes used instead of IPv4 as usual, and the result is petals ESB appears to be frozen. Below is an example of opened ports and associated programs when petals uses IPv6
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      735/smbd        
    tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      735/smbd        
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      795/sshd        
    tcp6       0      0 :::7900                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::7600                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::7700                 :::*                    LISTEN      975/java        
    tcp6       0      0 :::22                   :::*                    LISTEN      795/sshd
    This can be solved by adding the option -Djava.net.preferIPv4Stack=true to the JVM (see http://download.oracle.com/javase/6/docs/technotes/guides/net/properties.html). I think this behavior should be documented and maybe the option added by default while IPv6 is not yet widely used.
  • Environment:
    Ubuntu

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1d 4h 1m
1
Christophe DENEUX
Thu, 10 Mar 2011 - 18:50:28 +0100
Open Open In Progress In Progress
10s
1
Christophe DENEUX
Thu, 10 Mar 2011 - 18:50:38 +0100
In Progress In Progress Resolved Resolved
15h 4m
1
Christophe DENEUX
Fri, 11 Mar 2011 - 09:55:25 +0100
Resolved Resolved Open Open
1m 24s
1
Christophe DENEUX
Fri, 11 Mar 2011 - 09:56:49 +0100
Open Open In Progress In Progress
187d 1h 34m
1
noddoux
Wed, 14 Sep 2011 - 12:30:54 +0200
In Progress In Progress Resolved Resolved
11s
1
noddoux
Wed, 14 Sep 2011 - 12:31:05 +0200

People

Dates

  • Created:
    Wed, 9 Mar 2011 - 14:48:39 +0100
    Updated:
    Wed, 14 Sep 2011 - 12:31:05 +0200
    Resolved:
    Wed, 14 Sep 2011 - 12:31:05 +0200