You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Nash <na...@apache.org> on 2009/05/20 14:57:50 UTC

Unable to start travel sample fullapp-launcher

I'm unable to start the fullapp-launcher for the travel smaple.

The build.xml file has some problems so I fixed these locally
using the pattern from build.xml in introducing-launcher.

With this change, I am seeing the following error.

   Simon

F:\book\samp8\travelsample\launchers\fullapp-launcher>ant run
Buildfile: build.xml

run:
      [java] 20-May-2009 13:47:45 org.apache.tuscany.sca.node.impl.NodeImpl <init
 >
      [java] INFO: Creating node: scatours.composite
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/common-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/currency-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/hotel-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/flight-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/car-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/trip-contribution/target/classes/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/tripbooking-contribution/target/classes/

      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/travelcatalog-contribution/target/classe
s/
      [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/payment-java-contribution/target/classes
/
      [java] 20-May-2009 13:47:48 org.apache.tuscany.sca.policy.xml.PolicySetProc
essor
      [java] SEVERE: Provided Intent - {http://www.osoa.org/xmlns/sca/1.0}managed
Transaction.global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps
2
      [java] 20-May-2009 13:47:48 org.apache.tuscany.sca.assembly.xml.CompositePr
ocessor
      [java] SEVERE: PolicyValidation exception when processing implementation of
  component CustomerRegistryComponent due to Policy Intent '{http://www.osoa.org/
xmlns/sca/1.0}managedTransaction.global' is not defined in this domain  .
      [java] org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeExc
eption: Provided Intent - {http://www.osoa.org/xmlns/sca/1.0}managedTransaction.
global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps2


Re: Unable to start travel sample fullapp-launcher

Posted by Simon Nash <na...@apache.org>.
Simon Laws wrote:
> On Wed, May 20, 2009 at 1:57 PM, Simon Nash <na...@apache.org> wrote:
>> I'm unable to start the fullapp-launcher for the travel smaple.
>>
>> The build.xml file has some problems so I fixed these locally
>> using the pattern from build.xml in introducing-launcher.
>>
>> With this change, I am seeing the following error.
>>
>>  Simon
>>
>> F:\book\samp8\travelsample\launchers\fullapp-launcher>ant run
>> Buildfile: build.xml
>>
>> run:
>>     [java] 20-May-2009 13:47:45 org.apache.tuscany.sca.node.impl.NodeImpl
>> <init
>>     [java] INFO: Creating node: scatours.composite
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/common-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/currency-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/hotel-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/flight-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/car-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/trip-contribution/target/classes/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/tripbooking-contribution/target/classes/
>>
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/travelcatalog-contribution/target/classe
>> s/
>>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
>> confi
>> gureNode
>>     [java] INFO: Loading contribution:
>> file:/F:/book/samp8/travelsample/launche
>> rs/fullapp-launcher/../../contributions/payment-java-contribution/target/classes
>> /
>>     [java] 20-May-2009 13:47:48
>> org.apache.tuscany.sca.policy.xml.PolicySetProc
>> essor
>>     [java] SEVERE: Provided Intent -
>> {http://www.osoa.org/xmlns/sca/1.0}managed
>> Transaction.global not found for PolicySet
>> {http://www.osoa.org/xmlns/sca/1.0}ps
>> 2
>>     [java] 20-May-2009 13:47:48
>> org.apache.tuscany.sca.assembly.xml.CompositePr
>> ocessor
>>     [java] SEVERE: PolicyValidation exception when processing implementation
>> of
>>  component CustomerRegistryComponent due to Policy Intent
>> '{http://www.osoa.org/
>> xmlns/sca/1.0}managedTransaction.global' is not defined in this domain  .
>>     [java] org.osoa.sca.ServiceRuntimeException:
>> org.osoa.sca.ServiceRuntimeExc
>> eption: Provided Intent -
>> {http://www.osoa.org/xmlns/sca/1.0}managedTransaction.
>> global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps2
>>
>>
> A little while back when I was trying to get it running I go the same
> thing and originally thought it was because the policy-transaction
> module was missing from the full pom. Didn't seem to fix it though so
> I commented out the policy that refers to this intent temporarily
> which got me going. I'll have to do a update and try it again a little
> later.
> 
Do you mean that you commented out the @Requires for this intent in
CustomerRegistryImpl?  I just tried this and I am still seeing a
similar problem.  The error log is below.

   Simon

F:\book\samp8\travelsample\launchers\fullapp-launcher>ant run
Buildfile: build.xml

run:
      [java] 20-May-2009 14:24:45 org.apache.tuscany.sca.node.impl.NodeImpl <init
 >
      [java] INFO: Creating node: scatours.composite
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/common-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/currency-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/hotel-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/flight-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/car-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/trip-contribution/target/classes/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/tripbooking-contribution/target/classes/

      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/travelcatalog-contribution/target/classe
s/
      [java] 20-May-2009 14:24:46 org.apache.tuscany.sca.node.impl.NodeImpl confi
gureNode
      [java] INFO: Loading contribution: file:/F:/book/samp8/travelsample/launche
rs/fullapp-launcher/../../contributions/payment-java-contribution/target/classes
/
      [java] 20-May-2009 14:24:47 org.apache.tuscany.sca.policy.xml.PolicySetProc
essor
      [java] SEVERE: Provided Intent - {http://www.osoa.org/xmlns/sca/1.0}managed
Transaction.global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps
2
      [java] org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeExc
eption: Provided Intent - {http://www.osoa.org/xmlns/sca/1.0}managedTransaction.
global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps2


> Simon
> 
> 



Re: Unable to start travel sample fullapp-launcher

Posted by Simon Laws <si...@googlemail.com>.
On Wed, May 20, 2009 at 1:57 PM, Simon Nash <na...@apache.org> wrote:
> I'm unable to start the fullapp-launcher for the travel smaple.
>
> The build.xml file has some problems so I fixed these locally
> using the pattern from build.xml in introducing-launcher.
>
> With this change, I am seeing the following error.
>
>  Simon
>
> F:\book\samp8\travelsample\launchers\fullapp-launcher>ant run
> Buildfile: build.xml
>
> run:
>     [java] 20-May-2009 13:47:45 org.apache.tuscany.sca.node.impl.NodeImpl
> <init
>>
>     [java] INFO: Creating node: scatours.composite
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/common-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/currency-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/hotel-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/flight-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/car-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/trip-contribution/target/classes/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/tripbooking-contribution/target/classes/
>
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/travelcatalog-contribution/target/classe
> s/
>     [java] 20-May-2009 13:47:47 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>     [java] INFO: Loading contribution:
> file:/F:/book/samp8/travelsample/launche
> rs/fullapp-launcher/../../contributions/payment-java-contribution/target/classes
> /
>     [java] 20-May-2009 13:47:48
> org.apache.tuscany.sca.policy.xml.PolicySetProc
> essor
>     [java] SEVERE: Provided Intent -
> {http://www.osoa.org/xmlns/sca/1.0}managed
> Transaction.global not found for PolicySet
> {http://www.osoa.org/xmlns/sca/1.0}ps
> 2
>     [java] 20-May-2009 13:47:48
> org.apache.tuscany.sca.assembly.xml.CompositePr
> ocessor
>     [java] SEVERE: PolicyValidation exception when processing implementation
> of
>  component CustomerRegistryComponent due to Policy Intent
> '{http://www.osoa.org/
> xmlns/sca/1.0}managedTransaction.global' is not defined in this domain  .
>     [java] org.osoa.sca.ServiceRuntimeException:
> org.osoa.sca.ServiceRuntimeExc
> eption: Provided Intent -
> {http://www.osoa.org/xmlns/sca/1.0}managedTransaction.
> global not found for PolicySet {http://www.osoa.org/xmlns/sca/1.0}ps2
>
>
A little while back when I was trying to get it running I go the same
thing and originally thought it was because the policy-transaction
module was missing from the full pom. Didn't seem to fix it though so
I commented out the policy that refers to this intent temporarily
which got me going. I'll have to do a update and try it again a little
later.

Simon