[ http://issues.apache.org/jira/browse/TUSCANY-363?page=all ]
ant elder updated TUSCANY-363: ------------------------------ Fix Version: Java-Mx Version: Java-Mx These types of things are less likely to happen now that we have the jars with the manifest classpath, and there's going to be work done in Mx to make exception msgs better so moving to Mx > FAQ Entry: Trying to run web services with the J2SE jars > -------------------------------------------------------- > > Key: TUSCANY-363 > URL: http://issues.apache.org/jira/browse/TUSCANY-363 > Project: Tuscany > Type: Improvement > Components: Java SCA Samples > Versions: Java-Mx > Environment: at least Fedora Core 5 ( maybe all bu I've only tried this on > Fedora) > Reporter: Simon Laws > Priority: Minor > Fix For: Java-Mx > > If you try and run the HelloWorldWSClient client class but with the classpath > pointing to the j2se jars (rather than j2sews) you don't get a class not > found error, as you might expect, but a rather strange parse error when the > client tries to load the client sca.module file: > runHelloWorldWSClient: > [java] Exception in thread "main" > org.apache.tuscany.core.config.ConfigurationLoadException: Unrecognized > element [{http://www.osoa.org/xmlns/sca/0.9}binding.ws] > [java] at > org.apache.tuscany.core.loader.impl.StAXLoaderRegistryImpl.load(StAXLoaderRegistryImpl.java:62) > [java] at > org.apache.tuscany.core.loader.assembly.ExternalServiceLoader.load(ExternalServiceLoader.java:57) > [java] at > org.apache.tuscany.core.loader.assembly.ExternalServiceLoader.load(ExternalServiceLoader.java:42) > [java] at > org.apache.tuscany.core.loader.impl.StAXLoaderRegistryImpl.load(StAXLoaderRegistryImpl.java:66) > [java] at > org.apache.tuscany.core.loader.assembly.CompositeLoader.loadComposite(CompositeLoader.java:43) > [java] at > org.apache.tuscany.core.loader.assembly.ModuleLoader.load(ModuleLoader.java:41) > [java] at > org.apache.tuscany.core.loader.assembly.ModuleLoader.load(ModuleLoader.java:34) > [java] at > org.apache.tuscany.core.loader.impl.StAXLoaderRegistryImpl.load(StAXLoaderRegistryImpl.java:66) > [java] at > org.apache.tuscany.core.config.impl.StAXModuleComponentConfigurationLoaderImpl.loadModule(StAXModuleComponentConfigurationLoaderImpl.java:51) > [java] at > org.apache.tuscany.core.config.impl.AbstractModuleComponentConfigurationLoader.loadModuleComponent(AbstractModuleComponentConfigurationLoader.java:142) > [java] at > org.apache.tuscany.core.config.impl.AbstractModuleComponentConfigurationLoader.loadModuleComponent(AbstractModuleComponentConfigurationLoader.java:132) > [java] at > org.apache.tuscany.core.config.impl.AbstractModuleComponentConfigurationLoader.loadModuleComponent(AbstractModuleComponentConfigurationLoader.java:100) > [java] at > org.apache.tuscany.core.client.TuscanyRuntime.<init>(TuscanyRuntime.java:103) > [java] at hello -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira