geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phani Madgula <>
Subject RMI at different port
Date Thu, 19 Jan 2006 12:38:51 GMT

I am trying to port an application on Geronimo.

I configured server for a different RMI port say 3333 and successfully
started it. My config.xml is as follows. I changed only two configurations
related to RMI naming and JMX.

 <configuration name="geronimo/rmi-naming/1.0/car">
    <gbean name="RMIRegistry">
      <attribute name="port">3333</attribute>
    <gbean name="NamingProperties">
      <attribute name="namingProviderUrl">rmi://</attribute>
    <gbean name="SystemProperties">
      <attribute name="systemProperties">

  <configuration name="geronimo/j2ee-security/1.0/car">
    <gbean name="geronimo.remoting:target=JaasLoginServiceRemotingServer">
      <attribute name="host"></attribute>
      <attribute name="port">4242</attribute>
    <gbean name="JMXService">
I tried to deploy a sample application as follows as per the documentation

java -jar deployer.jar --user system --password manager --uri
deployer:geronimo:jmx:rmi:///jndi/rmi://localhost:3333/JMXConnector deploy

    Error: Unable to connect to server at
    deployer:geronimo:jmx:rmi:///jndi/rmi://localhost:3333/JMXConnector --
    javax.naming.ServiceUnavailableException [Root exception is
    java.rmi.ConnectException: Connection refused to host: localhost;
    nested exception is: Connection refused: connect]
Can you help me with right options for deployer in this case?


View raw message