|
Re: Runnning the same application in // on 2 java VM [message #195607 is a reply to message #195591] |
Thu, 22 February 2007 15:21 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09894 seconds