Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Runnning the same application in // on 2 java VM
Runnning the same application in // on 2 java VM [message #195591] Thu, 22 February 2007 14:35 Go to next message
Philippe Nachtergal is currently offline Philippe NachtergalFriend
Messages: 2
Registered: July 2009
Junior Member
We have an application that targets an oracle9 db trough a weblogic7 server.
On client's site, the application runs on multiple windows pcs.
The client has some deadlock problem on site and I'm trying to emulate as
much as possible environnement of the client.

Using 2 pcs for my tests is a bit difficult at the moment so i was wondering
if it was possible to run 2 instances of eclipse for the same project and/or
run 2 instance of the same application within eclipse and have each of these
application instances use a separate java vm ( i don't want static class
variables to be shared between the two instances of the application).

Any idea?
Re: Runnning the same application in // on 2 java VM [message #195607 is a reply to message #195591] Thu, 22 February 2007 15:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

"Philippe" <peko1@hotmail.com> wrote in message
news:erk9n5$r5v$1@utils.eclipse.org...
>
> We have an application that targets an oracle9 db trough a weblogic7
server.
> On client's site, the application runs on multiple windows pcs.
> The client has some deadlock problem on site and I'm trying to emulate as
> much as possible environnement of the client.
>
> Using 2 pcs for my tests is a bit difficult at the moment so i was
wondering
> if it was possible to run 2 instances of eclipse for the same project
and/or
> run 2 instance of the same application within eclipse and have each of
these
> application instances use a separate java vm ( i don't want static class
> variables to be shared between the two instances of the application).
>
> Any idea?
>
>

You don't want to run 2 instances of Eclipse using the same workspace.
However, you can run multiple Eclipse instances each pointing to a separate
workspace.

Each application launch from within Eclipse runs in a separate VM, so this
is probably your best bet. You can launch as many application instances as
your workstation memory and processor will allow. Just remember that a
given launch configuration will cause each instance to run in the same
directory. If you need to prevent the launches from running into resource
conflicts, you may need to create separate launch configurations that
separate the conflicting resources (log files, output files, etc).
Re: Runnning the same application in // on 2 java VM [message #195659 is a reply to message #195591] Thu, 22 February 2007 20:50 Go to previous message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

You can define two separate instances of WebLogic in the servers view
(I'm assuming that you're using Web tools). The real challenge is that
you need to configure the servers to use different ports. Once you've
done that, you can deploy the same projects (or different projects) on
both servers and start/stop them individually.

HTH,

Wayne

Philippe wrote:
> We have an application that targets an oracle9 db trough a weblogic7 server.
> On client's site, the application runs on multiple windows pcs.
> The client has some deadlock problem on site and I'm trying to emulate as
> much as possible environnement of the client.
>
> Using 2 pcs for my tests is a bit difficult at the moment so i was wondering
> if it was possible to run 2 instances of eclipse for the same project and/or
> run 2 instance of the same application within eclipse and have each of these
> application instances use a separate java vm ( i don't want static class
> variables to be shared between the two instances of the application).
>
> Any idea?
>
>
Previous Topic:Execute any Eclipse actions
Next Topic:Convert existing project to J2EE project
Goto Forum:
  


Current Time: Fri Apr 26 09:02:47 GMT 2024

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

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

Back to the top