Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Texo ModelPackage already registered
Texo ModelPackage already registered [message #881475] Mon, 04 June 2012 12:18 Go to previous message
Sebastian Steinacher is currently offline Sebastian Steinacher
Messages: 3
Registered: June 2012
Junior Member
Hello,

we are evaluating Texo for a while now and are quite confident to use it in our next project. As I now started to also use the model features, besides the generated JPA classes, a problem arose. I'm not sure, if I'm using something in the wrong way.
We deploy Texo on a Glassfish server, with the required jars in place. I my EJB I register the model package like this:

ServiceModelPackageRegistry.getInstance().register(PersistenceModelPackage.INSTANCE);


After starting Glassfish and deploying for the first time, everything works fine, but the second time I always get the following excpetion:

Caused by: java.lang.IllegalStateException: The EcoreModelPackage with NsUri ... has already been registered!


I already tried to find some hint in the Texo documentation and also watched the youtube videos. What am I missing?

Thanks!

Sebastian

P. S. I'm quite curious about the 3. tier RCP features in Texo, this is exactly what we are looking for.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:EMFT Texo: Latest Build and Backward Compatibility
Next Topic:[Teneo] Hibernate 4.1 has Trouble with Booleans
Goto Forum:
  


Current Time: Mon May 20 10:33:15 EDT 2013

Powered by FUDForum. Page generated in 0.01696 seconds