You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Nishant Chandra <ni...@gmail.com> on 2009/08/03 06:21:22 UTC
M3: WS binding
Hi,
I am using tuscany2.0 M3 tomcat .war deployment. While I deploy my own
contribution, I get few warnings.
INFO: Deploying web application archive FRCheckerServiceWebapp.war
Aug 3, 2009 9:33:24 AM org.apache.tuscany.sca.tomcat.TuscanyStandardContext
isSCAApplication
INFO: Tuscany SCA ignoring webapp with embedded Tuscany runtime:
/FRCheckerServiceWebapp
Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: FRCheckerServiceWebapp
Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
configureNode
INFO: Loading contribution:
file:/F:/server/apache-tomcat-6.0.20-2/webapps/FRCheckerServiceWebapp/
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
read
WARNING: Element {
http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
processed. ([row,col {unknown-source}]: [8,7])
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
WARNING: Element {
http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
processed. ([row,col {unknown-source}]: [8,7])
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
read
WARNING: Element {
http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
processed. ([row,col {unknown-source}]: [8,7])
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
WARNING: Element {
http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
processed. ([row,col {unknown-source}]: [8,7])
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
WARNING: No type specified on component property: Component = SWComponent
Property = SWs
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
WARNING: No type specified on component property: Component = SWComponent
Property = SWs
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
CheckerComponent#service-binding(CheckerService/CheckerService)
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
addEndpointReference
INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
CheckerComponent#reference(PService) Target = Endpoint: URI =
PServiceComponent#service(PService) [Unresolved]
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
addEndpointReference
INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
CheckerComponent#reference(SWService) Target = Endpoint: URI =
SWComponent#service(SWService) [Unresolved]
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
PServiceComponent#service-binding(PService/PService)
Aug 3, 2009 9:33:26 AM
org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
SWComponent#service-binding(SWService/SWService)
Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive SrujanDemo.war
Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive tuscany.war
Aug 3, 2009 9:33:27 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
.......
SCA definition as follows:
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
name="Checker" targetNamespace="http://FRCheckerService">
<component name="CheckerComponent">
<implementation.java class="com.fr.profanity.impl.CheckerServiceImpl"/>
<service name="CheckerService">
<interface.java interface="com.fr.profanity.service.CheckerService"/>
<binding.ws uri="CheckerComponent"/>
</service>
<reference name="SWService" target="SWComponent/SWService"/>
<reference name="PService" target="PServiceComponent/PService"/>
</component>
<component name="PServiceComponent">
<implementation.java class="com.fr.profanity.impl.cdyne.PServiceImpl"/>
<service name="PService">
<interface.java interface="com.fr.profanity.service.PService"/>
</service>
</component>
<component name="SWComponent">
<implementation.java
class="com.fr.profanity.impl.stoplist.SWServiceImpl"/>
<service name="SWService">
<interface.java interface="com.fr.profanity.service.SWService"/>
</service>
</component>
</composite>--
I am unable to access the WS end point:
http://localhost:8080/CheckerComponent/CheckerComponent?wsdl
Please help me with this.
---------------------
Nishant Chandra
Re: M3: WS binding
Posted by Nishant Chandra <ni...@gmail.com>.
Any help on this please?
Nishant
On Mon, Aug 3, 2009 at 9:51 AM, Nishant Chandra
<ni...@gmail.com>wrote:
> Hi,
> I am using tuscany2.0 M3 tomcat .war deployment. While I deploy my own
> contribution, I get few warnings.
> INFO: Deploying web application archive FRCheckerServiceWebapp.war
> Aug 3, 2009 9:33:24 AM org.apache.tuscany.sca.tomcat.TuscanyStandardContext
> isSCAApplication
> INFO: Tuscany SCA ignoring webapp with embedded Tuscany runtime:
> /FRCheckerServiceWebapp
> Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: FRCheckerServiceWebapp
> Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
> configureNode
> INFO: Loading contribution:
> file:/F:/server/apache-tomcat-6.0.20-2/webapps/FRCheckerServiceWebapp/
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> read
> WARNING: Element {
> http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws<http://docs.oasis-open.org/ns/opencsa/sca/200903%7Dbinding.ws>cannot be processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> WARNING: Element {
> http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws<http://docs.oasis-open.org/ns/opencsa/sca/200903%7Dbinding.ws>cannot be processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> read
> WARNING: Element {
> http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws<http://docs.oasis-open.org/ns/opencsa/sca/200903%7Dbinding.ws>cannot be processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> WARNING: Element {
> http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws<http://docs.oasis-open.org/ns/opencsa/sca/200903%7Dbinding.ws>cannot be processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
> WARNING: No type specified on component property: Component = SWComponent
> Property = SWs
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
> WARNING: No type specified on component property: Component = SWComponent
> Property = SWs
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> CheckerComponent#service-binding(CheckerService/CheckerService)
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
> addEndpointReference
> INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
> CheckerComponent#reference(PService) Target = Endpoint: URI =
> PServiceComponent#service(PService) [Unresolved]
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
> addEndpointReference
> INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
> CheckerComponent#reference(SWService) Target = Endpoint: URI =
> SWComponent#service(SWService) [Unresolved]
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> PServiceComponent#service-binding(PService/PService)
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> SWComponent#service-binding(SWService/SWService)
> Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive SrujanDemo.war
> Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive tuscany.war
> Aug 3, 2009 9:33:27 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> .......
> SCA definition as follows:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
> name="Checker" targetNamespace="http://FRCheckerService">
>
> <component name="CheckerComponent">
> <implementation.java class="com.fr.profanity.impl.CheckerServiceImpl"/>
> <service name="CheckerService">
> <interface.java interface="com.fr.profanity.service.CheckerService"/>
> <binding.ws uri="CheckerComponent"/>
> </service>
> <reference name="SWService" target="SWComponent/SWService"/>
> <reference name="PService" target="PServiceComponent/PService"/>
> </component>
>
> <component name="PServiceComponent">
> <implementation.java class="com.fr.profanity.impl.cdyne.PServiceImpl"/>
> <service name="PService">
> <interface.java interface="com.fr.profanity.service.PService"/>
> </service>
> </component>
>
> <component name="SWComponent">
> <implementation.java
> class="com.fr.profanity.impl.stoplist.SWServiceImpl"/>
> <service name="SWService">
> <interface.java interface="com.fr.profanity.service.SWService"/>
> </service>
> </component>
> </composite>--
> I am unable to access the WS end point:
> http://localhost:8080/CheckerComponent/CheckerComponent?wsdl
> Please help me with this.
> ---------------------
> Nishant Chandra
>
>
Re: M3: WS binding
Posted by ant elder <an...@gmail.com>.
You say you're using the tuscany.war distribution but there is a warning:
INFO: Tuscany SCA ignoring webapp with embedded Tuscany runtime
so it looks like FRCheckerServiceWebapp.war must be including all the
tuscany jars and they will get used not the tuscany.war. The next
warning is:
WARNING: Element
{http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
processed
one reason you get that error is when the jars for binding.ws aren't
included. Are they included in FRCheckerServiceWebapp.war? If not then
what happens if you try deleting all the tuscany jars from
FRCheckerServiceWebapp.war so then it will use the ones from the
tuscany.war runtime.
...ant
On Mon, Aug 3, 2009 at 5:21 AM, Nishant
Chandra<ni...@gmail.com> wrote:
> Hi,
> I am using tuscany2.0 M3 tomcat .war deployment. While I deploy my own
> contribution, I get few warnings.
> INFO: Deploying web application archive FRCheckerServiceWebapp.war
> Aug 3, 2009 9:33:24 AM org.apache.tuscany.sca.tomcat.TuscanyStandardContext
> isSCAApplication
> INFO: Tuscany SCA ignoring webapp with embedded Tuscany runtime:
> /FRCheckerServiceWebapp
> Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: FRCheckerServiceWebapp
> Aug 3, 2009 9:33:25 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
> configureNode
> INFO: Loading contribution:
> file:/F:/server/apache-tomcat-6.0.20-2/webapps/FRCheckerServiceWebapp/
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> read
> WARNING: Element
> {http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
> processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> WARNING: Element
> {http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
> processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> read
> WARNING: Element
> {http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
> processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
> WARNING: Element
> {http://docs.oasis-open.org/ns/opencsa/sca/200903}binding.ws cannot be
> processed. ([row,col {unknown-source}]: [8,7])
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
> WARNING: No type specified on component property: Component = SWComponent
> Property = SWs
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
> WARNING: No type specified on component property: Component = SWComponent
> Property = SWs
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> CheckerComponent#service-binding(CheckerService/CheckerService)
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
> addEndpointReference
> INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
> CheckerComponent#reference(PService) Target = Endpoint: URI =
> PServiceComponent#service(PService) [Unresolved]
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl
> addEndpointReference
> INFO: EndpointRegistry: Add endpoint reference - Endpoint Reference: URI =
> CheckerComponent#reference(SWService) Target = Endpoint: URI =
> SWComponent#service(SWService) [Unresolved]
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> PServiceComponent#service-binding(PService/PService)
> Aug 3, 2009 9:33:26 AM
> org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
> INFO: EndpointRegistry: Add endpoint - Endpoint: URI =
> SWComponent#service-binding(SWService/SWService)
> Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive SrujanDemo.war
> Aug 3, 2009 9:33:26 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive tuscany.war
> Aug 3, 2009 9:33:27 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> .......
> SCA definition as follows:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
> name="Checker" targetNamespace="http://FRCheckerService">
>
> <component name="CheckerComponent">
> <implementation.java class="com.fr.profanity.impl.CheckerServiceImpl"/>
> <service name="CheckerService">
> <interface.java interface="com.fr.profanity.service.CheckerService"/>
> <binding.ws uri="CheckerComponent"/>
> </service>
> <reference name="SWService" target="SWComponent/SWService"/>
> <reference name="PService" target="PServiceComponent/PService"/>
> </component>
>
> <component name="PServiceComponent">
> <implementation.java class="com.fr.profanity.impl.cdyne.PServiceImpl"/>
> <service name="PService">
> <interface.java interface="com.fr.profanity.service.PService"/>
> </service>
> </component>
>
> <component name="SWComponent">
> <implementation.java
> class="com.fr.profanity.impl.stoplist.SWServiceImpl"/>
> <service name="SWService">
> <interface.java interface="com.fr.profanity.service.SWService"/>
> </service>
> </component>
> </composite>
> --
> I am unable to access the WS end point:
> http://localhost:8080/CheckerComponent/CheckerComponent?wsdl
> Please help me with this.
> ---------------------
> Nishant Chandra
>
>