Skip to main content



      Home
Home » Archived » Service Component Architecture (SCA) Tools » About SCA Tools question
About SCA Tools question [message #8844] Fri, 05 June 2009 14:21 Go to next message
Eclipse UserFriend
Hello :
When I using Eclipse3.5RC2 to do SCA Project,but it give me a problem.
by the way, when I design that SCA Diagram, I have no any error include
xxxx.composite_diagram file and Java source and xxxx.composite file.

When I run that project, the error message is........

2009/6/6 €W€È 02:20:26 org.apache.tuscany.sca.node.impl.NodeImpl <init>
žê°T: Creating node: Restaurant.composite
Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
java.lang.IllegalArgumentException: Composite not found:
Restaurant.composite
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:171)
at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.java:63)
at test.Client.main(Client.java:11)
Caused by: java.lang.IllegalArgumentException: Composite not found:
Restaurant.composite
at
org.apache.tuscany.sca.node.impl.NodeImpl.findNodeConfigurat ion(NodeImpl.java:197)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
... 6 more
Re: About SCA Tools question [message #8889 is a reply to message #8844] Mon, 08 June 2009 05:33 Go to previous message
Eclipse UserFriend
Hi Kevin,

The composite file isn't in your classpath. Try to add the location of
your assembly file in the classpath.

Best regards,

Stephane Drapeau
Obeo

KevinWang a écrit :
> Hello : When I using Eclipse3.5RC2 to do SCA Project,but it give me a
> problem.
> by the way, when I design that SCA Diagram, I have no any error include
> xxxx.composite_diagram file and Java source and xxxx.composite file.
> When I run that project, the error message is........
>
> 2009/6/6 €W€È 02:20:26 org.apache.tuscany.sca.node.impl.NodeImpl <init>
> žê°T: Creating node: Restaurant.composite
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> java.lang.IllegalArgumentException: Composite not found:
> Restaurant.composite
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:171)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.java:63)
>
> at test.Client.main(Client.java:11)
> Caused by: java.lang.IllegalArgumentException: Composite not found:
> Restaurant.composite
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.findNodeConfigurat ion(NodeImpl.java:197)
>
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
> ... 6 more
>
>
>
Re: About SCA Tools question [message #575268 is a reply to message #8844] Mon, 08 June 2009 05:33 Go to previous message
Eclipse UserFriend
Hi Kevin,

The composite file isn't in your classpath. Try to add the location of
your assembly file in the classpath.

Best regards,

Stephane Drapeau
Obeo

KevinWang a écrit :
> Hello : When I using Eclipse3.5RC2 to do SCA Project,but it give me a
> problem.
> by the way, when I design that SCA Diagram, I have no any error include
> xxxx.composite_diagram file and Java source and xxxx.composite file.
> When I run that project, the error message is........
>
> 2009/6/6 €W€È 02:20:26 org.apache.tuscany.sca.node.impl.NodeImpl <init>
> žê°T: Creating node: Restaurant.composite
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> java.lang.IllegalArgumentException: Composite not found:
> Restaurant.composite
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:171)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.java:63)
>
> at test.Client.main(Client.java:11)
> Caused by: java.lang.IllegalArgumentException: Composite not found:
> Restaurant.composite
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.findNodeConfigurat ion(NodeImpl.java:197)
>
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
> ... 6 more
>
>
>
Previous Topic:How to instal SOA Tool
Next Topic:How to instal SOA Tool
Goto Forum:
  


Current Time: Thu Apr 24 23:12:26 EDT 2025

Powered by FUDForum. Page generated in 0.02945 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top