geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Start up Error
Date Mon, 30 Jan 2006 22:39:15 GMT
I think it tries to bind to all available interfaces by default,
though I'm not sure how it picks up on your external IP address as one
of those.  In any case, you can override that in var/config/config.xml
by manipulating the entries for these two GBeans:

    <gbean name="NamingProperties">
      <attribute name="namingProviderUrl">rmi://0.0.0.0:1099</attribute>
    </gbean>
    <gbean name="JMXService">
      <attribute name="url">service:jmx:rmi:///jndi/rmi://0.0.0.0:1099/JMXConnec
tor</attribute>
    </gbean>

However, I think there was a JIRA issue that one of these wasn't easy
to change and the issue gave the correct syntax to use to get it to
work.  I don't know what that is off the top of my head -- hopefully
someone can pipe up, but I think it might be something like you put
the internal IP instead of 0.0.0.0 and then maybe change the second
one to be more like
service:jmx:rmi://my.internal.ip.here:1099/jndi/rmi://my.internal.ip.here:1099/JMXConnector

Thanks,
   Aaron

On 1/30/06, Brad_Starkenberg@jbhunt.com <Brad_Starkenberg@jbhunt.com> wrote:
> First I would like to thank Calvin for the solution to my first problem.
> Now I am getting errors on start up from a connect exception. Somehow the
> server (which is inside my router on a local ip) is attempting to contact
> my external IP. Is there a setting I can modify so it will not try this.
> Also how did it get the IP? Thanks
>
>
> java.io.IOException: Cannot bind to URL [rmi:/JMXConnector]:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 70.178.162.182;
> nested exception is:
>         java.net.ConnectException: Connection timed out]
>         at
> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
>         at
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
>         at
> org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java:122)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
>         at
> org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
>         at
> org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$5e06ec8c.start(<generated>)
>         at
> org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:323)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
>
> Thanks
>
> Brad
>
>

Mime
View raw message