starting ECP demo without EMFStore [message #1256449] |
Tue, 25 February 2014 07:46  |
Eclipse User |
|
|
|
I would like to start the ECP demo without starting EMFStore server, but still be able to connect to an EMF store server that I start seperately.
I tried removing the localserver bundle from my launch script, but an EMFStore service still starts up running on port 8080.
When I remove all emfstore related bundles from my launch script then EMFStore server does not start, but I do not see the + icon in the ECP demo which allows me to connect to a running EMFStore (it is greyed out).
I have also tried keeping just the ecp.emfstore.ui bundles, but they require the emfstore client bundles which require the emfstore server bundles, and including those seems to start up a server.
I am using the RAP demo (but this issue should also affect the RCP version) , and want to start a production and test demo on the same server, as these both try to start emfstore servers this is giving me a few problems on startup and shutdown so I would like to start EMFStore seperately.
[Updated on: Tue, 25 February 2014 07:47] by Moderator
|
|
|
Re: starting ECP demo without EMFStore [message #1257345 is a reply to message #1256449] |
Wed, 26 February 2014 05:19   |
Eclipse User |
|
|
|
Hi Neil,
excluding the localserver bundle is the right way to avoid starting up
an EMFStore instance automatically. I just tested this myself and it did
work for me (using the current release branch of ECP 1.2). I had all
required emfstore bundles as well as the ECP EMFStore bundles
ecp.emfstore.{core, ui, ui.e3} in my launch config.
Can you provide us with some more info regarding your configuration?
Which version of the RAP demo are you using?
Regards,
Edgar
> I would like to start the ECP demo without starting EMFStore server, but
> still be able to connect to an EMF store server that I start seperately.
> I tried removing the localserver bundle from my launch script, but an
> EMFStore service still starts up running on port 8080.
> When I remove all emfstore related bundles from my launch script then
> EMFStore server does not start, but I do not see the + icon which allows
> me to connect to a running EMFStore. I have also tried keeping just the
> ecp.emfstore.ui bundles, but they require the emfstore client bundles
> which require the emfstore server bundles, and including those seems to
> start up a server.
>
> I am using the RAP demo (but this issue should also affect the RCP
> version) , and want to start a production and test demo on the same
> server, as these both try to start emfstore servers this is giving me a
> few problems on startup and shutdown so I would like to start EMFStore
> seperately.
--
Edgar Mueller
Get Professional Eclipse Support: http://eclipsesource.com/munich
|
|
|
|
|
Re: starting ECP demo without EMFStore [message #1257913 is a reply to message #1257846] |
Wed, 26 February 2014 18:05  |
Eclipse User |
|
|
|
Great!
Am 26.02.2014 22:21, schrieb Neil Mackenzie:
> I found the problem.
> When I deploy my war file to tomcat it puts the bundles into the work
> directory.
> In my case my war file is called crrbrowser so the bundles are put in
> "C:\Tomcat
> 7.0_Tomcat7_TST\work\Catalina\localhost\crrbrowser\eclipse\plugins"
>
> the work directory acts like a cache, so when I redeploy my war file any
> old plugins that were used in the past will remain even if they are not
> required in the latest deployment.
>
> So when I delete the work\catalina directory and then redeploy my war
> without localserver then things work ok, and emfstore is not started.
>
> Regards,
> Neil.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03922 seconds