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:39:47 UTC

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

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


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

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

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057431#comment-13057431 ] 

Simon Laws commented on TUSCANY-3885:
-------------------------------------

Hi Aarthi

I asked a question ML. Adding as a comment here in case you didn't see it. 

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?

> 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

        

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

Posted by "aarthi natarajan (JIRA)" <de...@tuscany.apache.org>.
    [ 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

        

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

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-3885:
-------------------------------

    Fix Version/s:     (was: Java-SCA-1.6.2)
                   Java-SCA-1.x

> 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.x
>
>         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

        

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

Posted by "aarthi natarajan (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057548#comment-13057548 ] 

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

I tried running the sample from within eclipse by configuring a master launcher class (through Eclipse Menu -> Window -> Preferences -> Run/Debug  and then configured a SCA Master launch configuration.  This helps me to run a tuscany app as an SCA application.

I have also tried starting up the example using domain manager.  The result is the same in both cases.  The node is always started at port 8080, even though a port number was specified with the domain manager.



> 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

        

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

Posted by "aarthi natarajan (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aarthi natarajan updated TUSCANY-3885:
--------------------------------------

    Attachment: sca_maths_zipped.zip

zipped version of the project

> 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