Skip to main content



      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 17:03 Go to next message
Eclipse UserFriend
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 16:10 Go to previous messageGo to next message
Eclipse UserFriend
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/
Re: EMFStore on Tomcat: How to set it up using MongoDB? [message #1764604 is a reply to message #1764522] Wed, 31 May 2017 12:24 Go to previous messageGo to next message
Eclipse UserFriend
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/
Re: EMFStore on Tomcat: How to set it up using MongoDB? [message #1764838 is a reply to message #1764604] Fri, 02 June 2017 10:26 Go to previous message
Eclipse UserFriend
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: Fri Jun 20 15:52:14 EDT 2025

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

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

Back to the top