Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to run two clients with parallel processes in Eclipse?
How to run two clients with parallel processes in Eclipse? [message #1556544] Sat, 10 January 2015 11:37 Go to next message
Alexey Lekomtsev is currently offline Alexey LekomtsevFriend
Messages: 1
Registered: January 2015
Junior Member
Good day.

I googled, but could not find the exact answer.

I created a simple EJB project in eclipse. I created a session full bean, added a business method, then created a simple java console client, deployed EJB project and started the server.

Then I run the client.

Is it possibly to run the second instance(process) to the same client in eclipse?

I would like to start running two processes for a single client app simultaneously.

I guess it must be something simple, but I can't figure it out.
Re: How to run two clients with parallel processes in Eclipse? [message #1558751 is a reply to message #1556544] Sun, 11 January 2015 17:36 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 01/11/2015 11:06 AM, Alexey Lekomtsev wrote:
> Good day.
>
> I googled, but could not find the exact answer.
>
> I created a simple EJB project in eclipse. I created a session full
> bean, added a business method, then created a simple java console
> client, deployed EJB project and started the server.
>
> Then I run the client.
>
> Is it possibly to run the second instance(process) to the same client in
> eclipse?
>
> I would like to start running two processes for a single client app
> simultaneously.
>
> I guess it must be something simple, but I can't figure it out.
Simply select the client launch from the Run menu while the first client
is running. This will start a new Java process. You can kick off as
many instances of a process as your system will allow.

Note that if the processes use a common resource, you will need to
change values between instances you launch. For example, if the process
opens a listen socket, you will have to use a different port number for
each process. This isn't an Eclipse limitation, it is a system
limitation. Only one process is allowed to listen on a port at one time.
Previous Topic:using HttpClient 4.3.6 from apache.org
Next Topic:Help for project
Goto Forum:
  


Current Time: Sat Sep 21 00:42:11 GMT 2024

Powered by FUDForum. Page generated in 0.08152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top