[Users] Running Petals ESB on
danicuki [via Petals ESB]
ml-node+3220563-1066422858-385891 at n3.nabble.com
Wed Aug 3 01:13:06 CEST 2011
I'm trying to run Petals ESB on dynamic mode, but it's not working. I don't
know what I'm doing wrong.
There are 2 servers, one is supposed to be the master and the other to be
the slave. When I run the master, everything works fine. When I startup the
slave, I get the following error:
java.io.IOException: Cannot bind to URL
[rmi://10.252.71.31:7701/jmxRmiConnector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 10.252.71.31; nested
exception is:
java.net.ConnectException: Connection timed out]
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:458)
at
org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:175)
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)
Caused by: javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 10.252.71.31; nested
exception is:
java.net.ConnectException: Connection timed out]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
at
com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
... 14 more
Here are the master config files:
topology.xml (master)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<topology xmlns="http://petals.ow2.org/topology">
<domain name="PEtALS" mode="dynamic">
<description>The static domain configuration</description>
<sub-domain mode="master-slave" name="subdomain1">
<description>description of the subdomain</description>
<container type="master" name="1">
<description>description of the container 1</description>
<host>10.252.71.16</host>
<user>petals</user>
<password>petals</password>
<jmx-service>
<rmi-port>7700</rmi-port>
</jmx-service>
<transport-service>
<tcp-port>7800</tcp-port>
</transport-service>
<registry-service>
<port>7900</port>
</registry-service>
<webservice-service>
<port>7600</port>
<prefix>petals/ws</prefix>
</webservice-service>
</container>
<container type="slave" name="2">
<description>description of the container 2</description>
<host>10.252.71.31</host>
<user>petals</user>
<password>petals</password>
<jmx-service>
<rmi-port>7700</rmi-port>
</jmx-service>
<transport-service>
<tcp-port>7800</tcp-port>
</transport-service>
<registry-service>
<port>7900</port>
</registry-service>
<webservice-service>
<port>7600</port>
<prefix>petals/ws</prefix>
</webservice-service>
</container>
</sub-domain>
</domain>
</topology>
server.properties (master)
petals.container.name=1
Here are the slave config files:
topology.xml (slave)
<?xml version="1.0" encoding="UTF-8"?>
<tns:topology xmlns:tns="http://petals.ow2.org/topology"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://petals.ow2.org/topology petalsTopology.xsd">
<tns:domain mode="dynamic" name="PEtALS">
<tns:description>The static domain configuration</tns:description>
<tns:sub-domain name="subdomain1" mode="master-slave">
<tns:description>description of the subdomain</tns:description>
<tns:container name="1" type="master">
<tns:description>description of the container 1</tns:description>
<tns:host>10.252.71.16</tns:host>
<tns:user>petals</tns:user>
<tns:password>petals</tns:password>
<tns:webservice-service>
<tns:port>7600</tns:port>
<tns:prefix>petals/ws</tns:prefix>
</tns:webservice-service>
<tns:jmx-service>
<tns:rmi-port>7700</tns:rmi-port>
</tns:jmx-service>
<tns:transport-service>
<tns:tcp-port>7800</tns:tcp-port>
</tns:transport-service>
<tns:registry-service>
<tns:port>7900</tns:port>
</tns:registry-service>
</tns:container>
<tns:container name="2" type="slave">
<tns:description>description of the container 1</tns:description>
<tns:host>10.252.71.31</tns:host>
<tns:user>petals</tns:user>
<tns:password>petals</tns:password>
<tns:webservice-service>
<tns:port>7601</tns:port>
<tns:prefix>petals/ws</tns:prefix>
</tns:webservice-service>
<tns:jmx-service>
<tns:rmi-port>7701</tns:rmi-port>
</tns:jmx-service>
<tns:transport-service>
<tns:tcp-port>7801</tns:tcp-port>
</tns:transport-service>
<tns:registry-service>
<tns:port>7901</tns:port>
</tns:registry-service>
</tns:container>
</tns:sub-domain>
</tns:domain>
</tns:topology>
server.properties (slave)
petals.container.name=2
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Running-Petals-ESB-on-tp3220563p3220563.html
To start a new topic under Users (get help, provide help), email ml-node+2681628-1333396262-385891 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110802/88ec7f90/attachment.htm>
More information about the Users
mailing list