I had a quick look at this and installed the webapp you attached into tomcat and in the logs i see the SCA services starting up ok and when i do a GET on a service URL such as http://localhost:8080/QMonHandSCA2/collectfactors/CollectFactorService/getCollectFactor it successfully returns some JSON - {"factorName":"Weight","factorType":"DefaultType","id":"1"}. So all that looks good, what do you do exactly to get the NPE exception?
...ant On Fri, Aug 10, 2012 at 6:42 AM, 浩宇郑 <[email protected]> wrote: > Dear Resende: > Thank you very much,but I really copied dependencies to the lib,it also > doesn't work.I'll send the project files to you.If you have time to solve > it,please help me to analyze the problem,thank you very much! > > > 2012/8/10 Luciano Resende <[email protected]> >> >> >> >> On Thu, Aug 9, 2012 at 7:34 PM, 浩宇郑 <[email protected]> wrote: >>> >>> Hi all, >>> I've read this >>> mail:http://mail-archives.apache.org/mod_mbox/tuscany-user/201206.mbox/%[email protected]%3E >>> But this solution didn't work on tomcat. >>> I've copied wink and dependencies jars into tomcat lib's directory,but >>> it didn't work. >>> So,What am I going to solve this problem? >>> >>> Haoyu Cheng >>> >>> >> >> Any more details on what error you are getting, versions of Tuscany and >> Tomcat ? Usually, having all dependencies on the war\web-inf\lib is enough >> to get things working on Tomcat. >> >> >> -- >> Luciano Resende >> http://people.apache.org/~lresende >> http://twitter.com/lresende1975 >> http://lresende.blogspot.com/ > > > > > -- > 郑浩宇 > ------------------ > QQ:54130184 > Mail:[email protected] > 手机:15810942249 > 博客:http://tyrael007.cnblogs.com > ------------------
