We found an issue [1] where, in some cases, incompatible code was being generated for the DAS config model if you had a previous tuscany-sdo-plugin available in your local maven repo. I have fixed this in trunk under revision #552624.
If this does not help, please let me know, and maybe you could create a jira and provide the test scenario that is failing to you. [1] http://issues.apache.org/jira/browse/TUSCANY-1401 On 7/2/07, Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> wrote:
Hi, i'm trying to load a sample configuration file (from the samples distributed by tuscany) like this: Config config = ConfigUtil.*loadConfig*(t.getClass().getClassLoader().getResourceAsStream(configFile)); where t is an instance of the current class, but I'm get the following error: Exception in thread "main" *java.lang.RuntimeException*: * org.eclipse.emf.ecore.resource.Resource$IOWrappedException*: Feature 'ConnectionInfo' not found. (http:///temp.xml, 22, 20) at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(*ConfigUtil.java:54 *) at _test.CATest.main(*CATest.java:48*) Caused by: *org.eclipse.emf.ecore.resource.Resource$IOWrappedException*: Feature 'ConnectionInfo' not found. (http:///temp.xml, 22, 20) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(*XMLLoadImpl.java :80*) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(*XMLLoadImpl.java:274*) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(* XMLResourceImpl.java:666*) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.load(*XMLResourceImpl.java :634*) at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(*XMLDocumentImpl.java :238*) at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(*XMLDocumentImpl.java :216*) at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(*XMLHelperImpl.java:75*) at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(*XMLHelperImpl.java:69*) at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(*ConfigUtil.java:52 *) ... 1 more
-- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]