Hi Jeremy,
   
  Can you tell us more detail for how to attach this thread?
  Moreover, since the current methods of running samples can usually through 
running the wrapped jar package of user-developed applications on launcher.jar 
or by extending testcase from SCATestCase. But is there a way to debug sample 
applications through Eclipse or other IDE?
   
  Chiond
  
Jeremy Boynes <[EMAIL PROTECTED]> wrote:
  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]



                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

Reply via email to