Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFStore on Tomcat: How to set it up using MongoDB?
EMFStore on Tomcat: How to set it up using MongoDB? [message #1764105] Wed, 24 May 2017 21:03 Go to next message
Yuri Sokolovski is currently offline Yuri SokolovskiFriend
Messages: 9
Registered: July 2015
Junior Member
Hi, I followed the instructions http://eclipsesource.com/blogs/2016/11/15/running-emf-client-platform-emfstore-as-rap-application-on-tomcat/ to start EMFStore in Tomcat environment. But I couldn't figure out how to make it use MongoDB as a back-end as opposed to the filesystem.

Is there any documentation on how to configure it for Tomcat installation? Appreciate any pointers!

Thank you!
Re: EMFStore on Tomcat: How to set it up using MongoDB? [message #1764522 is a reply to message #1764105] Tue, 30 May 2017 20:10 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi Yuri,
sorry for the delay. No, unfortunately there's no such guide. I'll need to look through the guide myself, but I'll keep you posted once I know more.
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMFStore on Tomcat: How to set it up using MongoDB? [message #1764604 is a reply to message #1764522] Wed, 31 May 2017 16:24 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
I had a look at the article and I think you need to pay attention to the following aspects:
- When setting the target, make sure the necessary mongo bundles are available (see ecpmongo.target in the EMFStore repo)
- When creating the warproduct based on the launch config, the launch config should contain the relevant mongo bundles. There's a launch config you can use for comparison in the mongodb.client bundle
- Check for any missing plugin dependencies during war export
- After exporting and starting/stopping the server, update the mongodb.properties file under $TOMCATDIR/.emfstore/server/profiles/default/conf to adjust any mongo db specific properties
Let me know if this is of any help.

Cheers,
Edgar
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMFStore on Tomcat: How to set it up using MongoDB? [message #1764838 is a reply to message #1764604] Fri, 02 June 2017 14:26 Go to previous message
Yuri Sokolovski is currently offline Yuri SokolovskiFriend
Messages: 9
Registered: July 2015
Junior Member
Thank you very much, Edgar!

I'll give it a try.

Regards,

-Yuri
Previous Topic:How to add a map with generics?
Next Topic:can-not open xmI files
Goto Forum:
  


Current Time: Thu Apr 18 04:50:03 GMT 2024

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

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

Back to the top