-
1. Re: Determine RMI remote port
dlofthouse Apr 11, 2013 5:36 AM (in response to msmi)The reason you are having trouble finding it is because it does not exist Remote invocations are now over Remoting so port 4447 by default.
-
2. Re: Determine RMI remote port
msmi Apr 12, 2013 4:34 AM (in response to dlofthouse)Hi Darran,
that is exactly the point: it doesn't exist. Also the configuration of the remote port (default: 4447) is clear, but:
Is there a possibility to determine the RMI remote port the currently running server configuration is listening to? Any Resource/Service/Bean etc.?
Greets,
Mike
-
3. Re: Determine RMI remote port
dlofthouse Apr 12, 2013 5:19 AM (in response to msmi)There is no RMI port - by does not exist I mean the port itself does not exist not configuration for a non existant port. Invocations are not send using RMI so there is no RMI port. JBoss AS does not open a listening RMI port as the invocation is sent over Remoting and port 4447 by default.
-
4. Re: Determine RMI remote port
msmi Apr 15, 2013 4:59 AM (in response to dlofthouse)OK, i think something has been misleading in my question:
with: "i doesn't exist" i meant the jmx/invoker/RMIAdaptor
and: i am not searching for any rmi port object instance.
i just want to get the value of the RMI remote port of the configuration. if there is no Resource/bean/service etc. to get it from (as in JBoss 4.2.3 via the RMIAdaptor), maybe there is a possibilty (which would never be my first choice) to read the value of the standalone.xml configuration?! If this is the only possibility: how get i get this value?
-
5. Re: Determine RMI remote port
bvnghiem1012 Jul 31, 2013 6:47 AM (in response to msmi)Hi Darran,
I'm trying to develop an application that will run on JBoss 7.1.1Final and know that this version of JBoss AS does not support RMI over RMI port as previous version. But I see in this document https://docs.jboss.org/author/display/AS7/JMX+subsystem+configuration it show that they are using RMI to connect in JBoss AS7. Can you clearify what version of JBoss 7 support this approach (such as AS7.0 or AS7.2). Thanks