Great news Enric Just FYI, I think this was fixed by TUSCANY-1401 [1]
[1] https://issues.apache.org/jira/browse/TUSCANY-1401 On 7/5/07, Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> wrote:
The problem i reported in the mail below does not occur any more with the new "tuscany-das-1.0-incubating-beta1" binary version. Thks to all. Enric ---------- Forwarded message ---------- From: Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> Date: 02-jul-2007 20:06 Subject: Trying to get started To: [email protected] 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]
