Could there be a command line version of this so sca jars can be run outside of 
Tomcat? Something like java -jar tuscany.jar <repositoryFolder> where  
repositoryFolder is the same type of thing used by the tuscany.war?


----- Forwarded Message ----
From: Bob Marbeck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Wednesday, October 31, 2007 5:33:49 PM
Subject: Re: [jira] Commented: (TUSCANY-1884) Allow the setting of the 
contribution root in the web.xml


This seems quite neat and makes running things much easier. Is it going to be 
included in a release soon? And are the other samples going to be updated so 
they all work  when run in the tuscany.war?


----- Original Message ----
From: Bob Marbeck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Wednesday, October 31, 2007 4:33:34 PM
Subject: Re: [jira] Commented: (TUSCANY-1884) Allow the setting of the 
contribution root in the web.xml


It does! Thanks Ant.


----- Original Message ----
From: ant elder <[EMAIL PROTECTED]>
To: Bob Marbeck <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Wednesday, October 31, 2007 4:24:44 PM
Subject: Re: [jira] Commented: (TUSCANY-1884) Allow the setting of the 
contribution root in the web.xml




On 10/31/07, Bob Marbeck <[EMAIL PROTECTED]> wrote: 
That tuscany.war sounded interesting so i gave it a try but it doesn't seem to 
work. The Tomcat console shows: 

 
31-Oct-2007 15:43:11 org.apache.tuscany.sca.webapp.WarContextListener 
addContribution
INFO: Added contribution: 
file:/C:/TuscanyRepository/sample-helloworld-ws-service.jar
31-Oct-2007 15:43:11 org.apache.tuscany.sca.node.impl..SCANodeImpl 
startComposites
INFO: http://localhost:8080/ has no composites to start

Any ideas? 

It looks like you're trying the Tuscany sample helloworld-ws-service, looking 
in that jar the problem is that it doesn't have  an sca-contribution.xml file 
or have the  .composite file in the meta-inf/sca-deployables folder, so the  
composite wont get started by default. That can be fixed by adding one of 
those, i've tried that and put the resulting jar up at 
http://people.apache.org/~antelder/tuscany/sample-helloworld-ws-service.jar. 
That works ok for me with the tuscany.war, and once deployed you can see the 
wsdl for the service by going to 
http://localhost:8080/tuscany/HelloWorldServiceComponent?wsdl

Can you let me know if that works for you?

   ...ant









__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to