On Aug 3, 2006, at 11:24 AM, ant elder wrote:

Hi David.

Very topical question! You get the NPE as you're not running in an SCA
runtime. You can run the sample outside of eclipse as described in this
email:
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200607.mbox/ browser.

Doing this, you can also use remote debugging to debug it:

$ java -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -jar bin/ launcher.jar --classpath ~/.m2/repository/org/apache/tuscany/samples/ sca/sample-localwire/1.0-SNAPSHOT/sample-localwire-1.0-SNAPSHOT.jar

and then attach to the suspended process.

--
Jeremy




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to