Hello Gust,
JBoss uses the following ports:
Nameserver: default 1099
can be configured in jnp.properties: jnp.port=1099
-> jndi.properties must be updated: java.naming.provider.url=localhost:1099
RMI Used by beans: default 4444
can be configured in standardjboss.xml or jboss.xml:
<RMIObjectPort>4444</RMIObjectPort>
mbeans in jboss.jcml:
<mbean name="Adaptor:name=html">
...
<attribute name="Port">8082</attribute>
<mbean name="DefaultDomain:service=WebServer">
...
<attribute name="Port">8083</attribute>
Nameserver RMI: default 0: anonymous
cannot be configured in the current distribution.
You need to modify file jnp/src/main/org/jnp/server/main.java:
...
setPort(Integer.getInteger("jnp.port",getPort()).intValue());
vvvvvv
setRmiPort(Integer.getInteger("jnp.rmiPort",getRmiPort()).intValue());
^^^^^^
setLogging(Boolean.getBoolean("jnp.log"));
...
and recompile the JNP server. After that you enter an additional
parameter in jnp.properties: jnp.rmiPort=xxxx.
Wolfgang
> -----Ursprüngliche Nachricht-----
> Von: Gust P. Vasilopoulos [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 23. Januar 2001 17:58
> An: [EMAIL PROTECTED]
> Betreff: [jBoss-User] Port assignments
>
> Hi,
>
> Am trying to get JBoss working through a firewall. Have nailed down that
> it needs 3 ports open. 1099, 4444, and one that jumps around each time
> your restart the server. Wondering what this port is and whether I can
> set it in any of the config files so that it doesn't keep changing.
>
> Gust Vasilopoulos
>
>
>
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]