Reg crowbar and xulrunner

View: New views
3 Messages — Rating Filter:   Alert me  

Reg crowbar and xulrunner

by Rakesh Soni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Can we start and stop multiple instance of crowbar using different port numbers?
My requirement is that I have to start crowbar using some port number (For e.g.45333), then later I should be able to stop it using same port number.
(I can stop by killing process which started on port no. 45333).

Problem:
I want different process for each instance of crowbar.

For eg.
xulrunner application.ini --port=45333
xulrunner application.ini --port=53444
xulrunner application.ini --port=43777


I tried it but process for 45333 only is starting serivice on 53444 and 43777 also.
Hence if I will kill process for 45333 all instances will get stopped.

I have to create 3 different process for each port no, so that I can stop(kill) any process using port number.
Is it possible?
If it is not possible then kindly give me any alternative solution in which I can stop crowbar by using port number.


Regards
--
Rakesh Soni
Chennai



_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general

Re: Reg crowbar and xulrunner

by jneves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Default xulrunner behaviour is to find a running proc and pass control
to that process. to avoid that, you set up the environment varibale
MOZ_NO_REMOTE to 1.

Of you're running from a Linux/Un*x system, just run:

MOZ_NO_REMOTE=1 xulrunner application.ini --port=45333
MOZ_NO_REMOTE=1 xulrunner application.ini --port=53444
MOZ_NO_REMOTE=1 xulrunner application.ini --port=43777

Cumprimentos,
João Miguel Neves

Rakesh Soni escreveu:

> Hi,
>
> Can we start and stop multiple instance of crowbar using different
> port numbers?
> My requirement is that I have to start crowbar using some port number
> (For e.g.45333), then later I should be able to stop it using same
> port number.
> (I can stop by killing process which started on port no. 45333).
>
> Problem:
> I want different process for each instance of crowbar.
>
> For eg.
> xulrunner application.ini --port=45333
> xulrunner application.ini --port=53444
> xulrunner application.ini --port=43777
>
>
> I tried it but process for 45333 only is starting serivice on 53444
> and 43777 also.
> Hence if I will kill process for 45333 all instances will get stopped.
>
> I have to create 3 different process for each port no, so that I can
> stop(kill) any process using port number.
> Is it possible?
> If it is not possible then kindly give me any alternative solution in
> which I can stop crowbar by using port number.
>
>
> Regards
> --
> Rakesh Soni
> Chennai
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> General@...
> http://simile.mit.edu/mailman/listinfo/general
>  


--
Intraneia
http://www.intraneia.com/

Suporte a Software Livre
Tradução/Localização de software e sítios web
Desenvolvimento de software

Ao seu serviço...


_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general

Re: Reg crowbar and xulrunner

by Rakesh Soni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot..

But still I am facing problem..
I am using Linux.

In one terminal tab I executed:
MOZ_NO_REMOTE=1 xulrunner application.ini --port=45333

Now when in another terminal tab I am trying to execute,
MOZ_NO_REMOTE=1 xulrunner application.ini --port=53444

it's, giving a pop-up window with message:
"Crowbar is already running, but is not responding. To open a new window, you must first close the existing Crowbar process, or restart your system."

Do we have any solution?
Is there any way to get multiple process of crowbar using different port no.?

Thanks in advance
--
Rakesh Soni
Chennai



2009/10/12 João Miguel Neves <joao.neves@...>
Default xulrunner behaviour is to find a running proc and pass control
to that process. to avoid that, you set up the environment varibale
MOZ_NO_REMOTE to 1.

Of you're running from a Linux/Un*x system, just run:

MOZ_NO_REMOTE=1 xulrunner application.ini --port=45333
MOZ_NO_REMOTE=1 xulrunner application.ini --port=53444
MOZ_NO_REMOTE=1 xulrunner application.ini --port=43777

Cumprimentos,
João Miguel Neves

Rakesh Soni escreveu:
> Hi,
>
> Can we start and stop multiple instance of crowbar using different
> port numbers?
> My requirement is that I have to start crowbar using some port number
> (For e.g.45333), then later I should be able to stop it using same
> port number.
> (I can stop by killing process which started on port no. 45333).
>
> Problem:
> I want different process for each instance of crowbar.
>
> For eg.
> xulrunner application.ini --port=45333
> xulrunner application.ini --port=53444
> xulrunner application.ini --port=43777
>
>
> I tried it but process for 45333 only is starting serivice on 53444
> and 43777 also.
> Hence if I will kill process for 45333 all instances will get stopped.
>
> I have to create 3 different process for each port no, so that I can
> stop(kill) any process using port number.
> Is it possible?
> If it is not possible then kindly give me any alternative solution in
> which I can stop crowbar by using port number.
>
>
> Regards
> --
> Rakesh Soni
> Chennai
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> General@...
> http://simile.mit.edu/mailman/listinfo/general
>


--
Intraneia
http://www.intraneia.com/

Suporte a Software Livre
Tradução/Localização de software e sítios web
Desenvolvimento de software

Ao seu serviço...


_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general






_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general