Tutorial sample doesn't work: First Steps - Building your first web services 
using Tuscany
------------------------------------------------------------------------------------------

                 Key: TUSCANY-2483
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2483
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-1.2
         Environment: eclipse 3.3.2, java 1.5.0_15-b04, suse 11, apache tuscany 
sca tools 1.2.1, sca-java-1.2.1
            Reporter: gk


When following the steps in the tutorial given under:
http://tuscany.apache.org/build-your-first-web-services-with-tuscany.html
I get the following exception when I try to start (Runas->Tuscany)


----------------schnipp---------------
Jun 16, 2008 7:38:16 PM org.apache.tuscany.sca.node.launcher.NodeLauncher main
INFO: Apache Tuscany SCA Node starting...
Jun 16, 2008 7:38:16 PM org.apache.tuscany.sca.node.launcher.NodeLauncher main
INFO: SCA Node configuration: http://localhost:9990/node-image/helloworldNode
Jun 16, 2008 7:38:16 PM org.apache.tuscany.sca.node.launcher.NodeLauncherUtil 
collectJARFiles
INFO: Runtime classpath: 93 JARs from 
/home/software/eclipse/features/org.apache.tuscany.sca.feature_1.2.1/runtime/apache-tuscany-sca-1.2.1-incubating/tuscany-sca-1.2.1-incubating/modules
Jun 16, 2008 7:38:16 PM org.apache.tuscany.sca.node.launcher.NodeLauncherUtil 
collectJARFiles
INFO: Runtime classpath: 148 JARs from 
/home/software/eclipse/features/org.apache.tuscany.sca.feature_1.2.1/runtime/apache-tuscany-sca-1.2.1-incubating/tuscany-sca-1.2.1-incubating/lib
Jun 16, 2008 7:38:16 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: http://localhost:9990/node-image/helloworldNode
Jun 16, 2008 7:38:17 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/home/gerald/workspace/ws/bin/
Jun 16, 2008 7:38:19 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading composite: 
http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
Jun 16, 2008 7:38:19 PM org.apache.tuscany.sca.node.launcher.NodeLauncherUtil 
node
SEVERE: SCA Node could not be created
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:297)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNode(NodeLauncher.java:60)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:109)
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: 
http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
        at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:120)
        at 
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANode(NodeFactoryImpl.java:37)
        at 
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:95)
        ... 7 more
Caused by: java.io.FileNotFoundException: 
http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
        at java.net.URL.openStream(URL.java:1007)
        at 
org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:224)
        at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:117)
        ... 9 more
Exception in thread "main" 
org.apache.tuscany.sca.node.launcher.LauncherException: 
java.lang.reflect.InvocationTargetException
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:318)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNode(NodeLauncher.java:60)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:109)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at 
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:297)
        ... 2 more
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: 
http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
        at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:120)
        at 
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANode(NodeFactoryImpl.java:37)
        at 
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:95)
        ... 7 more
Caused by: java.io.FileNotFoundException: 
http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
        at java.net.URL.openStream(URL.java:1007)
        at 
org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:224)
        at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:117)
        ... 9 more
----------------schnapp---------------

http://localhost:9990/composite-resolved/composite:ws;http://helloworld;helloworld
shows me an 404

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to