Skip to main content



      Home
Home » Eclipse Projects » Virgo » Virgo and binded ports(How configure address for all of them?)
Virgo and binded ports [message #870844] Wed, 09 May 2012 17:00 Go to next message
Eclipse UserFriend
Hi all!
I will try to run Virgo on the Openshift cloud (https://openshift.redhat.com/app/).
Openshift not allow process's to bind any port on the Loopback interface address.

Im trying to figure how to configure Virgo to bind all ports on a specific IP (Tomcat ports is easy), but i've noted that some listen ports on Virgo changes on every startup, like this output:

First, it binds on 44051 and 58908.
Later, it binds on 54198 and 54556.

frazao virgo-tomcat-server-3.0.2.RELEASE-rhcloud # netstat -l -n --program | grep java
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      19399/java          
tcp        0      0 0.0.0.0:44051           0.0.0.0:*               LISTEN      19399/java          
tcp        0      0 0.0.0.0:9875            0.0.0.0:*               LISTEN      19399/java          
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      19399/java          
tcp        0      0 0.0.0.0:58908           0.0.0.0:*               LISTEN      19399/java          
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      19399/java          
frazao virgo-tomcat-server-3.0.2.RELEASE-rhcloud # bin/dmk.sh stop
frazao virgo-tomcat-server-3.0.2.RELEASE-rhcloud # bin/startup.sh 2&>/dev/null &
[3] 19579
[2]   Done                    bin/startup.sh 2 &>/dev/null
frazao virgo-tomcat-server-3.0.2.RELEASE-rhcloud # netstat -l -n --program | grep java
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      19579/java          
tcp        0      0 0.0.0.0:9875            0.0.0.0:*               LISTEN      19579/java          
tcp        0      0 0.0.0.0:54198           0.0.0.0:*               LISTEN      19579/java          
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      19579/java          
tcp        0      0 0.0.0.0:54556           0.0.0.0:*               LISTEN      19579/java          
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      19579/java                  
frazao virgo-tomcat-server-3.0.2.RELEASE-rhcloud #


How can i configure this ports to be binded on a specific address? Can JMX bind an specific IP?

Thanks!
Re: Virgo and binded ports [message #870868 is a reply to message #870844] Thu, 10 May 2012 01:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Are you looking for something like this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=337410

Regards
Violeta
Re: Virgo and binded ports [message #870966 is a reply to message #870868] Thu, 10 May 2012 07:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi Violeta! Thanks by answer!
I've read the bug. My problem is not exactly with the "random" ports for now. Will be good if we can specify this ports, but my major problem, is specify some interface to JMX bind. I can't bind to 0.0.0.0.
Do you have some workaround to control this behavior?
Thanks!!!
Re: Virgo and binded ports [message #871016 is a reply to message #870844] Thu, 10 May 2012 10:33 Go to previous message
Eclipse UserFriend
I can't belive. Its not possible to JMX, bind only to a specific interface or IP Address, using system properties.

Can I disable JMX on Virgo? How can I shutdown Virgo gracefully without JMX?

Att,


Previous Topic:Want Virgo on CloudFoundry?
Next Topic:TCCL Headache
Goto Forum:
  


Current Time: Mon May 12 20:19:48 EDT 2025

Powered by FUDForum. Page generated in 0.04122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top