Luciano Resende wrote:
You might be having a problem described by Greg in [1]
I'm not sure that the problem described here is related to [1]. [1]
talks about getting a null when trying to get a ComponentContext for a
component implemented by a composite.
Let me try answering some of your questions :
[DAS RDB] - URLBasedAxisConfigurator.getAxisConfiguration (67) : No
repository found , module will be loaded from classpath
This config has been make just only for this sample?
You are seeing this message with a [DAS RDB] prefix probably because
you are
reusing a DAS sample log4j.property file with something like :
log4j.appender.A1.layout.ConversionPattern=[DAS RDB] - %c{1}.%M (%L) :
%m %n
You are actually getting an Axis error, but I'm probably not the best
person
to answer this part...
A little more context will help. How do you start this application? Can
you tell us what dependencies you have on your classpath? do you have
the tuscany-binding-ws-axis2.jar as well as the required axis2 jars?
How I can put that's components behind a web container? Better how
distribute that's components in an war file.
You would have to do it manually as of now, we still need to bring the
maven
war-plugin back to life in order to be able to generate the war with
necessary Tuscany dependencies.
Integration in a WAR is not supported yet with the latest code in trunk.
We had recent discussions on this on the list (see [2]). As the latest
runtime and the distribution of our upcoming release are getting
simpler, I am not sure that we'll still need a special Tuscany Maven
plugin to create a WAR file.
[2] http://www.mail-archive.com/[email protected]/msg16903.html
The other question is, what are you planning to put in the WAR? Are you
looking for a WAR because you want to develop a Webapp with JSPs or
another Web UI? or are you looking for a WAR as a way to host a service
with a Web Service binding?
[1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg17171.html
[snip]
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
name="DASServiceComposite">
<component name="DASServiceComponent">
<implementation.composite name="DASServiceComposite"
jarLocation="lib/sample-das-service-1.0-incubator-SNAPSHOT.jar"/>
</component>
</composite>
I am assuming that you're running with the latest code in trunk, is that
correct? If it's the case then you need to use the SCA 1.0 syntax, what
you have here is 0.96 syntax with a Tuscany jarLocation extension which
is not necessary now with SCA 1.0 and not supported by the latest code.
With SCA 1.0, you need to specify a targetNamespace on your composite,
<implementation.composite name="..."> takes the XML QName of a
composite, and jarLocation is not supported.
Hope this helps.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]