|Texo ModelPackage already registered [message #881475]
||Mon, 04 June 2012 12:18
| Sebastian Steinacher
Registered: June 2012
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:
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?
P. S. I'm quite curious about the 3. tier RCP features in Texo, this is exactly what we are looking for.