Thanks a lot for your answer. I didn't have that lib in the extensions
folder, but with it (and the axis-2.0 lib) my application instantly
worked.
So now the first step (deploying my first own SCA composite) is made.
Fabian
"Luciano Resende" <[EMAIL PROTECTED]>
18.04.2007 23:04
Please respond to
tuscany-user@ws.apache.org
To
tuscany-user@ws.apache.org
cc
Subject
Re: UnrecognizedElementException while composite deployment on Tomcat
The unrecognizedElementException usually tells you that the extension
suposed to handle that part of the SCDL is not available. As I just did a
quick try and saw BigBank M2 working on TC, I'd recommend to check the
generated war file, and to see if the right dependencies are on the right
folders.
I'f i'm not mistaken, this is related to IDL WSDL extension, and you
should
see a wsdl-1.0-incubator-M2.jar in WEB-INF\tuscany\extensions. The
extension
should be placed there by the following configuration on the project POM
file (check detailed usage in bigbank\webclient\pom.xml)
...
.
org.apache.tuscany.sca.services.idl
wsdl
${scaImplVersion}
...
On 4/18/07, Fabian Stadler <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I've just started getting into SCA and using tuscany. I built my own
> composite that implements a small order system for a procurement system.
> When I try to deploy my composite as a web app on Tomcat, I keep
receiving
> the stacktrace that is printed below.
>
> My default.scdl looks like this (actually it is copied from the bigbank
> sample and suited to my application):
>
>
> http://www.osoa.org/xmlns/sca/1.0"; xmlns:wsdli="
> http://www.w3.org/2006/01/wsdl-instance"; name="OrderComposite">
>
> http://ProcurementSystem#wsdl.interface(OrderService)"
wsdli:wsdlLocation
> ="http://ProcurementSystem wsdl/OrderWebService.wsdl" />
> http://ProcurementSystem#wsdl.endpoint(OrderWebService/OrderWebServiceSOAP)
> " location="wsdl/OrderWebService.wsdl" />
> OrderSystemComponent
>
>
>
> OrderDASComponent
>
>
>
>
>
>
> Referring to this bug: http://issues.apache.org/jira/browse/TUSCANY-596
I
> thought the problem could be be fixed by building a new tuscany runtime
> with
> maven from the repository. I tried to but the problem persists. Can
anyone
> give me a hint, what I could try else?
>
> Thanks in advance
>
> Fabian
>
>
> Tomcat stdout log:
>
> org.apache.tuscany.spi.loader.UnrecognizedElementException:
> {http://www.osoa.org/xmlns/sca/1.0}interface.wsdl
> [{http://www.osoa.org/xmlns/sca/1.0}interface.wsdl]
> Context stack trace: [SCA Order System]
> org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
> org.apache.tuscany.spi.loader.UnrecognizedElementException:
> {http://www.osoa.org/xmlns/sca/1.0}interface.wsdl
> [{http://www.osoa.org/xmlns/sca/1.0}interface.wsdl]
> Context stack trace: [SCA Order System]
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(
> WebappRuntimeImpl.java:147)
> at
>
>
org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized
> (TuscanyContextListener.java:74)
> at
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3764)
> .
> Caused by: org.apache.tuscany.spi.loader.UnrecognizedElementException:
> {http://www.osoa.org/xmlns/sca/1.0}interface.wsdl
> [{http://www.osoa.org/xmlns/sca/1.0}interface.wsdl]
> Context stack trace: [SCA Order System]
> at
> org.apache.tuscany.core.loader.LoaderRegistryImpl.load(
> LoaderRegistryImpl.java:90)
> at
> org.apache.tuscany.core.loader.ServiceLoader.load(ServiceLoader.java:84)
> at
> org.apache.tuscany.core.loader.ServiceLoader.load(ServiceLoader.java:51)
> at
> org.apache.tuscany.core.loader.LoaderRegistryImpl.load(
> LoaderRegistryImpl.java:92)
> at
> org.apache.tuscany.core.implementation.composite.CompositeLoader.load(
> CompositeLoader.java:81)
> ... 25 more
> org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
> org.apache.tuscany.spi.loader.UnrecognizedElementException:
> {http://www.osoa.org/xmlns/sca/1.0}interface.wsdl
> [{http://www.osoa.org/xmlns/sca/1.0}interface.wsdl]
> Context stack trace: [SCA Order System]
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(
> WebappRuntimeImpl.java:147)
> at
>
>
org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized
> (TuscanyContextListener.java:74)
> at
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3764)
> .
>
>
>
>
>
--
Luciano Resende
http://people.apache.org/~lresende