You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "aarthi natarajan (JIRA)" <de...@tuscany.apache.org> on 2011/06/27 02:47:47 UTC

[jira] [Commented] (TUSCANY-3885) binding.ws problems in tuscany

    [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055253#comment-13055253 ] 

aarthi natarajan commented on TUSCANY-3885:
-------------------------------------------

Could somebody provide a suggestion to the problem urgently,  as we are considering using apache tuscany as an SOA environment for students at UNSW.

> binding.ws problems in tuscany
> ------------------------------
>
>                 Key: TUSCANY-3885
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3885
>             Project: Tuscany
>          Issue Type: Test
>          Components: SCA Java Domain Manager
>    Affects Versions: Java-SCA-1.6.2
>         Environment: windows
>            Reporter: aarthi natarajan
>             Fix For: Java-SCA-1.6.2
>
>         Attachments: sca_maths_zipped.zip
>
>
> this is the structure of my composite file: 
> <?xml version="1.0" encoding="UTF-8"?><sca:composite xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="maths" targetNamespace="http://eclipse.org/sca_maths/src/maths">
> <sca:component name="MathServiceComponent">
> <sca:implementation.java class="maths.MathServiceImpl"/>
> <sca:service name="MathService">
> <sca:binding.ws uri="http://aarthi_unsw_pc:8081/MathService"/> 
> </sca:service>
> </sca:component>
> </sca:composite>
>  
> I am using tuscany 1.6.2 and running the above example on Eclipse helios.   The binding.ws does not seem to use the specified port number 8081 and always uses port 8080.  Hence, when I run more than one composite, I receive error: 
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use: JVM_Bind:8080
>  
> I have the same problem, starting the node using the domain manager.  Even though I specify a node uri of http://localhost:8081,  tuscany runtime always defaults to 8080.  How can I override the default port number ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Commented] (TUSCANY-3885) binding.ws problems in tuscany

Posted by Simon Laws <si...@googlemail.com>.
On Mon, Jun 27, 2011 at 1:47 AM, aarthi natarajan (JIRA)
<de...@tuscany.apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055253#comment-13055253 ]
>
> aarthi natarajan commented on TUSCANY-3885:
> -------------------------------------------
>
> Could somebody provide a suggestion to the problem urgently,  as we are considering using apache tuscany as an SOA environment for students at UNSW.
>
>> binding.ws problems in tuscany
>> ------------------------------
>>
>>                 Key: TUSCANY-3885
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3885
>>             Project: Tuscany
>>          Issue Type: Test
>>          Components: SCA Java Domain Manager
>>    Affects Versions: Java-SCA-1.6.2
>>         Environment: windows
>>            Reporter: aarthi natarajan
>>             Fix For: Java-SCA-1.6.2
>>
>>         Attachments: sca_maths_zipped.zip
>>
>>
>> this is the structure of my composite file:
>> <?xml version="1.0" encoding="UTF-8"?><sca:composite xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="maths" targetNamespace="http://eclipse.org/sca_maths/src/maths">
>> <sca:component name="MathServiceComponent">
>> <sca:implementation.java class="maths.MathServiceImpl"/>
>> <sca:service name="MathService">
>> <sca:binding.ws uri="http://aarthi_unsw_pc:8081/MathService"/>
>> </sca:service>
>> </sca:component>
>> </sca:composite>
>>
>> I am using tuscany 1.6.2 and running the above example on Eclipse helios.   The binding.ws does not seem to use the specified port number 8081 and always uses port 8080.  Hence, when I run more than one composite, I receive error:
>> SEVERE: Error initializing endpoint
>> java.net.BindException: Address already in use: JVM_Bind:8080
>>
>> I have the same problem, starting the node using the domain manager.  Even though I specify a node uri of http://localhost:8081,  tuscany runtime always defaults to 8080.  How can I override the default port number ?
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Hi Aarthi

How are you running the sample from within Eclipse? I don't see any
particular launcher in the sample. Are you using the domain manager?

Regard

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com