Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.3
-
None
-
Windows XP SP2 IBM JDK5
Description
ckquote>ant run
Buildfile: build.xml
run:
[java] Starting the Sample SCA StockQuote Service...
[java] 22-Jun-2008 12:17:28 org.apache.tuscany.sca.assembly.builder.impl.Co
mpositePolicyBuilderImpl
[java] SEVERE: Policy Related Exception occured due to : org.apache.tuscany
.sca.policy.util.PolicyValidationException: Policy Intent '
integrity' is not defined in this domain
[java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org
.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.policy.util.PolicyVali
dationException: Policy Intent '
integrity' is
not defined in this domain
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta
nce(SCADomain.java:276)
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SC
ADomain.java:70)
[java] at stockquote.demo.StockQuoteServer.main(StockQuoteServer.java:3
3)
[java] Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.
sca.policy.util.PolicyValidationException: Policy Intent '
integrity' is not defined in this domain
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.an
alyseProblems(DefaultSCADomain.java:307)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.in
it(DefaultSCADomain.java:239)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<i
nit>(DefaultSCADomain.java:120)
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta
nce(SCADomain.java:242)
[java] ... 2 more
[java] Caused by: org.apache.tuscany.sca.policy.util.PolicyValidationExcept
ion: Policy Intent '
integrity' is not defined
in this domain
[java] at org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurat
ionUtil.computeInheritableIntents(PolicyConfigurationUtil.java:73)
[java] at org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurat
ionUtil.computeIntents(PolicyConfigurationUtil.java:451)
[java] at org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurat
ionUtil.computeBindingIntentsAndPolicySets(PolicyConfigurationUtil.java:389)
[java] at org.apache.tuscany.sca.assembly.builder.impl.BaseWireBuilderI
mpl.computePolicies(BaseWireBuilderImpl.java:1217)
[java] at org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyB
uilderImpl.build(CompositePolicyBuilderImpl.java:45)
[java] at org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilder
Impl.build(CompositeBuilderImpl.java:117)
[java] at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.
buildComposite(ReallySmallRuntime.java:234)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.in
it(DefaultSCADomain.java:238)
[java] ... 4 more
[java] Java Result: 1