Dear Luciano Resende,

Follow your indication:

    - LaunchTutorialDomainManager(successful)
   - LaunchCurrencyNode(fail)
   ...

the following are error messages:
_______________________________________________________________________________________________________________________________________________

2008-8-1 14:33:20 org.apache.tuscany.sca.node.launcher.NodeLauncher main
信息: Apache Tuscany SCA Node starting...
2008-8-1 14:33:20 org.apache.tuscany.sca.node.launcher.NodeLauncher main
信息: SCA Node configuration: http://localhost:9990/node-config/CurrencyNode
2008-8-1 14:33:21 org.apache.tuscany.sca.node.impl.NodeImpl <init>
信息: Creating node: http://localhost:9990/node-config/CurrencyNode
2008-8-1 14:33:22 org.apache.tuscany.sca.node.launcher.NodeLauncherUtil node
严重: SCA Node could not be created
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:340)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNodeFromURL(NodeLauncher.java:62)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:118)
 at launch.LaunchCurrencyNode.main(LaunchCurrencyNode.java:26)
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.IOException: Server
returned HTTP response code: 500 for URL:
http://localhost:9990/node-config/CurrencyNode
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:142)
 at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromURL(NodeFactoryImpl.java:46)
 at
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:94)
 ... 8 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for
URL: http://localhost:9990/node-config/CurrencyNode
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at java.net.URL.openStream(Unknown Source)
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:122)
 ... 10 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:380)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNodeFromURL(NodeLauncher.java:62)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:118)
 at launch.LaunchCurrencyNode.main(LaunchCurrencyNode.java:26)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:340)
 ... 3 more
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.IOException: Server
returned HTTP response code: 500 for URL:
http://localhost:9990/node-config/CurrencyNode
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:142)
 at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromURL(NodeFactoryImpl.java:46)
 at
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:94)
 ... 8 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for
URL: http://localhost:9990/node-config/CurrencyNode
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at java.net.URL.openStream(Unknown Source)
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:122)
 ... 10 more
_______________________________________________________________________________________________________________________________________________

Here I only import tutorial-domain project into eclipse. I guess the errors
is caused by it.
But I don't know how to contact tutorial-domain project with other
projects(such as web-services and store-mashup).
I found that the file tutorial-domain\workspace.xml may be the key file.

So I try to put the other projects(such as web-services and store-mashup) in
the same directory of tutorial-domain project.
But there are still some errors :
_______________________________________________________________________________________________________________________________________________
2008-8-1 16:24:23 org.apache.tuscany.sca.node.launcher.NodeLauncher main
信息: Apache Tuscany SCA Node starting...
2008-8-1 16:24:23 org.apache.tuscany.sca.node.launcher.NodeLauncher main
信息: SCA Node configuration: http://localhost:9990/node-config/CurrencyNode
2008-8-1 16:24:23 org.apache.tuscany.sca.node.impl.NodeImpl <init>
信息: Creating node: http://localhost:9990/node-config/CurrencyNode
2008-8-1 16:24:27 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
信息: Loading contribution:
file:/C:/workspace/tutorial-domain/../assets/target/tutorial-assets.jar
2008-8-1 16:24:27 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
信息: Loading contribution:
file:/C:/workspace/tutorial-domain/../web-services/target/tutorial-web-services.jar
2008-8-1 16:24:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
信息: Loading composite:
http://localhost:9990/composite-resolved/composite:web-services;http://services;currency
2008-8-1 16:24:33 org.apache.tuscany.sca.node.launcher.NodeLauncherUtil node
严重: SCA Node could not be created
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:340)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNodeFromURL(NodeLauncher.java:62)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:118)
 at launch.LaunchCurrencyNode.main(LaunchCurrencyNode.java:26)
Caused by: org.osoa.sca.ServiceRuntimeException:
java.io.FileNotFoundException:
http://localhost:9990/composite-resolved/composite:web-services;http://services;currency
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:142)
 at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromURL(NodeFactoryImpl.java:46)
 at
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:94)
 ... 8 more
Caused by: java.io.FileNotFoundException:
http://localhost:9990/composite-resolved/composite:web-services;http://services;currency
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at java.net.URL.openStream(Unknown Source)
 at
org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:507)
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:139)
 ... 10 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:380)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.createNodeFromURL(NodeLauncher.java:62)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncher.main(NodeLauncher.java:118)
 at launch.LaunchCurrencyNode.main(LaunchCurrencyNode.java:26)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
org.apache.tuscany.sca.node.launcher.NodeLauncherUtil.node(NodeLauncherUtil.java:340)
 ... 3 more
Caused by: org.osoa.sca.ServiceRuntimeException:
java.io.FileNotFoundException:
http://localhost:9990/composite-resolved/composite:web-services;http://services;currency
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:142)
 at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromURL(NodeFactoryImpl.java:46)
 at
org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.<init>(NodeImplementationLauncherBootstrap.java:94)
 ... 8 more
Caused by: java.io.FileNotFoundException:
http://localhost:9990/composite-resolved/composite:web-services;http://services;currency
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at java.net.URL.openStream(Unknown Source)
 at
org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:507)
 at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:139)
 ... 10 more
_______________________________________________________________________________________________________________________________________________




2008-08-01
------------------------------
 sleep651
------------------------------
 *发件人:* Luciano Resende
*发送时间:* 2008-08-01  06:09:16
*收件人:* sleep651
*抄送:* [email protected]
*主题:* Re: GoogleMap
 Below are the steps I used to try to the Tutorial Store Mashup :

1.Update to latest svn revision and build modules and tutorial
2.From eclipse, tutorial-domain project, run the following launchers :

   - LaunchTutorialDomainManager
   - LaunchCurrencyNode
   - LaunchCatalaogsNode
   - LaunchStoreMashupNode

3.Now you should be able to run the store tutorial from using [2]

Although the plain ui got displayed when accessing [2], I got various
errors due to javascript cross-domain issue. Is there a different set
of steps that would make the Store mashup work without the javascript
cross-domain fixes ? I thought I saw this working couple weeks ago.


[1] http://localhost:9990/ui/cloud/
[2] http://localhost:8106/mashup/

2008/7/31 sleep651  <[EMAIL PROTECTED] >:
> Dear Luciano Resende,
>
> Thanks for your reply!  Depending on your advices, I trid to do something.
> But there are some problems yet.
>
> 1. I try to do some operations like them:
> Enter into tuscany/sca directory and run: mvn -fae clean install
>
> Result reported from system is:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Gdata Binding Extension (during
> ins
> tall)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> F:\svnworkspace\tuscany\sca\modules\binding-gdata-runtime-gsoc\t
> arget\surefire-reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Axis2-based WS Binding
> Extension (d
> uring install)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> F:\svnworkspace\tuscany\sca\modules\binding-ws-axis2\target\sure
> fire-reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Extensibility for Eclipse
> Equinox (
> during install)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Couldn't find a version in [1.0.0-v20070606] to match range [1.0.0,2.0.0)
>   org.eclipse.equinox:app:jar:null
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.ws.zone (http://ws.zones.apache.org/repository2),
>   apache.incubator (
http://people.apache.org/repo/m2-incubating-repository),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
>   indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error for project: Apache Tuscany SCA Eclipse Tools Core Plugin
> (during i
> nstall)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Couldn't find a version in [1.0.0-v20070606] to match range [1.0.0,2.0.0)
>   org.eclipse.equinox:app:jar:null
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.ws.zone (http://ws.zones.apache.org/repository2),
>   apache.incubator (
http://people.apache.org/repo/m2-incubating-repository),
>   repo1.eclipse (http://repo1.maven.org/eclipse/),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
>   indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD ERRORS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 54 minutes 30 seconds
> [INFO] Finished at: Thu Jul 31 16:28:37 CST 2008
> [INFO] Final Memory: 99M/185M
> [INFO]
> ------------------------------------------------------------------------
>
> 2. Ignore above errors and run continuely:
> Going into tuscany\sca\tutorials\store directory and run: mvn -fae -Peclipse
> eclipse:eclipse, successful!
> And how to integrate all directories in tutorial directory to run whole
> tutorial using eclipse? Especially, how can I see the view of store-mashup
> example?
>
> 3. In another way, I obey the readme in tuscany\sca\tutorials\store and run
> this example:
> ――――――――――――――――――――――――――――――――――――――
> Start the SCA Domain Manager:
>    cd domain
>    java -jar ../../modules/tuscany-node2-launcher-1.2-incubating.jar domain
> ――――――――――――――――――――――――――――――――――――――
> But there is not any ".jar" files in "modules" directory after completing.
> At this moment, there is also not "lib" folder.
> May I need to create ".jar" in tuscany\sca\modules and lib directory? if
> that, how can I create them?
> In this way, how can I run the tuscany\sca\tutorials\store example?
> Best
>
> 2008-07-31
> ________________________________
> sleep651



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

2008-08-01
------------------------------
sleep651

Reply via email to