|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Few questions: topology and services assembliesHello, I just downloaded the new quickstart petals distribution (2.2), while I'm able to deploy the examples, I now want to make my first real test (which is very simple, consume a file on host A, and produce it in host B). However, as far as I understand, my first step to achieve that is to configure two petals servers, and especially the topology.xml file. After try to find some documentations about topology.xml (but can't find some :/), I found some examples in the petals-platform, but I still have some questions. What am I supposed to do to get two server working together, with the webconsole webconsole? I tried to deploy two petals-platform on the same box, using differents ports (do I need to change the container name on the second server?) and the webconsole on a separated tomcat. However when I try to connect from the webconsole to the first instance (running on the same host), I have the following error: "Error : : Can't get PEtALS topology" I have only this output from the platform instance: PEtALS is starting... [petals.RMI] JMX RMI server started at : service:jmx:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector and a last question, in the case I want to use a static topology, do I need to describe each servers on all topology.xml ? Thanks for your help -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Few questions: topology and services assembliesHi,
On Mon, Jul 21, 2008 at 9:08 AM, Bruno Bonfils <bbonfils@...> wrote:
For now you can not do this with the last 2.2 release since the platform distribution is not released. But with the 2.1.x it should be OK.
True, we have to work on the documentation in the next days. There are samples in the conf directory of the platorm distrib.
Each server must have a unique name in the topology. You have to modify the server.properties file to set the container name. When petals is starting it will first get its id from this file and next will get its own information from this id in the topology.xml file. and the Probably a host configuration problem. I need to check where this error message is returned. If you are running on Linux there are some issues with the network configuration. When trying to establish a connection on a distant server, the distant server will reply with a localhost address to be binded. So the local server will try to connect to a localhost socket which is not good... This could be fixed by setting a static network configuration (no DHCP) and fixing the /etc/hosts file.
Yes you need to duplicate the topology file on each server since it is a static configuration. There is no discovery so all that the servers know is defined in the topology file.
Hope that this help you. Christophe
-- Christophe Hamerling PEtALS ESB Research Engineer / Product Manager @ eBM WebSourcing http://petals.ow2.org http://petals.ebmwebsourcing.com Phone : +33534320314 Skype : christophe.hamerling -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
RE: Few questions: topology and services assembliesHi,
The PEtALS QuickStart distribution does not allow multi-server configuration (it is the PEtALS Platform release, in fact) That's why you can not configure several servers ! Best Adrien LOUIS Phone: +33 5 34 32 03 15 Cell : +33 6 76 81 93 13 -----Message d'origine----- De : Bruno Bonfils [mailto:bbonfils@...] Envoyé : lundi 21 juillet 2008 09:08 À : petals-users@... Objet : [petals-users] Few questions: topology and services assemblies Hello, I just downloaded the new quickstart petals distribution (2.2), while I'm able to deploy the examples, I now want to make my first real test (which is very simple, consume a file on host A, and produce it in host B). However, as far as I understand, my first step to achieve that is to configure two petals servers, and especially the topology.xml file. After try to find some documentations about topology.xml (but can't find some :/), I found some examples in the petals-platform, but I still have some questions. What am I supposed to do to get two server working together, with the webconsole webconsole? I tried to deploy two petals-platform on the same box, using differents ports (do I need to change the container name on the second server?) and the webconsole on a separated tomcat. However when I try to connect from the webconsole to the first instance (running on the same host), I have the following error: "Error : : Can't get PEtALS topology" I have only this output from the platform instance: PEtALS is starting... [petals.RMI] JMX RMI server started at : service:jmx:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector and a last question, in the case I want to use a static topology, do I need to describe each servers on all topology.xml ? Thanks for your help -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: RE: Few questions: topology and services assembliesLe Monday 21 July 2008 09:49:29 Adrien LOUIS - EBM WebSourcing, vous avez
écrit : > Hi, > The PEtALS QuickStart distribution does not allow multi-server > configuration (it is the PEtALS Platform release, in fact) > That's why you can not configure several servers ! Hi Adrien, first, thanks for you (both) answers. Well, my test was with both platform and quickstart distribution, I indeed understand that the quickstart is not multiserver aware, my tests was with the platform distribution. According to Christophe, I modified my /etc/hosts to get : 10.75.128.41 eva-01.linagora.lan (which is my IP address) and modify my two topology.xml to use this address rather than localhost, and it seem to work: [petals.RMI] JMX RMI server started at : service:jmx:rmi:///jndi/rmi://10.75.128.41:7701/jmxRmiConnector [petals.Router] Creating router... [petals.NetworkService] A PEtALS container tries to join the Network, check its configuration [petals.NetworkService] Accept the PEtALS container named '1' on 10.75.128.41 btw, is that ok I have only this message from only one instance? or I should have this message from both instances? However, when I try to login from the webconsole (version 1.2), I still have the "can't get petals topology" error best regards -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: RE: Few questions: topology and services assembliesOn Mon, Jul 21, 2008 at 10:09 AM, Bruno Bonfils <bbonfils@...> wrote: Le Monday 21 July 2008 09:49:29 Adrien LOUIS - EBM WebSourcing, vous avez It seems to be OK, one server accepts a server to join the network. When deploying a service you should be able to see it on all servers.
I am not sure that the webconsole 1.2 is compatible with 2.1.x, try with the previous one.
-- Christophe Hamerling PEtALS ESB Research Engineer / Product Manager @ eBM WebSourcing http://petals.ow2.org http://petals.ebmwebsourcing.com Phone : +33534320314 Skype : christophe.hamerling -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: RE: Few questions: topology and services assembliesLe Monday 21 July 2008 10:14:43 Christophe Hamerling - eBM WebSourcing, vous
avez écrit : > > However, when I try to login from the webconsole (version 1.2), I still > > have > > the "can't get petals topology" error > > I am not sure that the webconsole 1.2 is compatible with 2.1.x, try with > the previous one. With version 1.1.2, I have Error : : Can't connect to PEtALS server (10.75.128.41:7700) (or localhost:7700) while I'm able to telnet the port with both adresses: % telnet localhost 7700 Escape character is '^] % telnet 10.75.128.41 7700 Escape character is '^]'. % telnet localhost 9002 Escape character is '^]'. Here my tomcat's logs: [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) entered [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) exited [Server@272961]: [Thread[http-8080-1,5,main]]: setDatabasePath(0,datacollector-hsqldb/datacollector-database) [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) entered [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) exited [Server@272961]: [Thread[http-8080-1,5,main]]: setDatabaseName(0,datacollector-database) [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) entered [Server@272961]: [Thread[http-8080-1,5,main]]: checkRunning(false) exited [Server@272961]: [Thread[http-8080-1,5,main]]: setPort(9002) [Server@272961]: [Thread[http-8080-1,5,main]]: setSilent(true) [Server@272961]: Initiating startup sequence... [Server@272961]: Server socket opened successfully in 2 ms. [Server@272961]: Database [index=0, id=0, db=file:datacollector-hsqldb/datacollector-database, alias=datacollector-database] op [Server@272961]: Startup sequence completed in 203 ms. [Server@272961]: 2008-07-21 10:26:19.162 HSQLDB server 1.8.0 is online [Server@272961]: To close normally, connect and execute SHUTDOWN SQL [Server@272961]: From command line, use [Ctrl]+[C] to abort abruptly Best regards -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: Re: RE: Few questions: topology and services assembliesWhat address have you defined in the datacollector webconsole page? Try with localhost or with your IP. Also check all the parameters in this page.
On Mon, Jul 21, 2008 at 10:27 AM, Bruno Bonfils <bbonfils@...> wrote: Le Monday 21 July 2008 10:14:43 Christophe Hamerling - eBM WebSourcing, vous -- Christophe Hamerling PEtALS ESB Research Engineer / Product Manager @ eBM WebSourcing http://petals.ow2.org http://petals.ebmwebsourcing.com Phone : +33534320314 Skype : christophe.hamerling -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: Re: Re: RE: Few questions: topology and services assembliesLe Monday 21 July 2008 10:59:32 Christophe Hamerling - eBM WebSourcing, vous
avez écrit : > What address have you defined in the datacollector webconsole page? Try > with localhost or with your IP. Also check all the parameters in this page. Here the logs when I start the petals instance: [petals.RMI] JMX RMI server started at : service:jmx:rmi:///jndi/rmi://eva-01.linagora.lan:7701/jmxRmiConnector while I have the following message when trying to connect from webconsole : Caused by: org.ow2.petals.tools.jmx.api.exception.ConnectionErrorException: Can not connect using URI : service:jmx:rmi:///jndi/rmi://eva-01.linagora.lan:7700/management/rmi-jmx-connector with petals/petals the URI seem different.. Regards -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: Re: Re: Re: RE: Few questions: topology and services assembliesLe Monday 21 July 2008 11:31:56 Bruno Bonfils, vous avez écrit :
> Le Monday 21 July 2008 10:59:32 Christophe Hamerling - eBM WebSourcing, > vous > > avez écrit : > > What address have you defined in the datacollector webconsole page? Try > > with localhost or with your IP. Also check all the parameters in this > > page. > > Here the logs when I start the petals instance: > > [petals.RMI] JMX RMI server started at : > service:jmx:rmi:///jndi/rmi://eva-01.linagora.lan:7701/jmxRmiConnector primary one > > while I have the following message when trying to connect from webconsole : > > Caused by: org.ow2.petals.tools.jmx.api.exception.ConnectionErrorException: > Can not connect using URI : > service:jmx:rmi:///jndi/rmi://eva-01.linagora.lan:7700/management/rmi-jmx-c >onnector with petals/petals > > the URI seem different.. > > Regards -- Bruno Bonfils Équipe Sécurité - Groupe LINAGORA +33684366175 -- You receive this message as a subscriber of the petals-users@... mailing list. To unsubscribe: mailto:petals-users-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
| Free embeddable forum powered by Nabble | Forum Help |