Known Problems

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
{code}

h1. Unable to start Petals: "Cannot bind to URL \[rmi://xx.yy.zz.tt:7700/jmxRmiConnector\]"

*Operating system:* All

*Symptoms:*


# You have configured your topology with several Petals nodes declared as slave,
# Your Petals node declared as master starts correctly,
# You try to start your Petals slave for the first time with this distributed topology,
# You get the following error message:
{code}
[Petals.Communication.RMIConnectorImpl]-SEVERE 2011-06-29 17:44:27,449 Failed to start JMX RMI connector service
java.io.IOException: Cannot bind to URL [rmi://10.10.124.57:7700/jmxRmiConnector]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.AccessException: Registry.Registry.bind disallowed; origin /10.10.124.47 is non-local host]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
at org.ow2.petals.communication.jmx.rmi.RMIConnector.start(RMIConnector.java:148)
at org.ow2.petals.communication.jmx.rmi.RMIConnector.startFc(RMIConnector.java)
at org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcContentState(BasicControllerMixin.java:8128)
at org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcStarted(BasicControllerMixin.java:8068)
at org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStarted(INTERFACE[LifeCycleCoordinator])
at org.objectweb.fractal.julia.generated.C4eddf8e0_0.startFc$$0(BasicControllerMixin.java:4097)
at org.objectweb.fractal.julia.generated.C4eddf8e0_0.startFc(BasicControllerMixin.java:5095)
at org.objectweb.fractal.julia.generated.C18c4c884_0.startFc(INTERFACE[LifeCycleCoordinator])
at org.ow2.petals.kernel.server.FractalHelper.startComponent(FractalHelper.java:354)
at org.ow2.petals.kernel.server.PetalsServerImpl.startPetalsComposite(PetalsServerImpl.java:459)
at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:176)
at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
{code}



*Solutions/Explanations:*

You have missed to configure the Petals container name in your $PETALS_HOME/conf/server.properties. The default Petals container name '0' is used and it is associated to Petals ESB master node that is configured in your topology with a diferrent IP adress that is not local to your Petals slave node.

h1. Unable to connect to Petals ESB using JConsole or JVisualVM

*Operating system:* All\\
\\

*Symptom:* Unable to connect to Petals ESB using JConsole or JVisualVM
*Explanations:* Several root causes of the problem exist. See possible root causes here: [http://blogs.sun.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole]


*Solutions:* See solutions available here: [http://blogs.sun.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole]