How does your composite look like ?
Most of the times, you could set a binding uri and set the proper port
there, as the example below

<component name="Store">
        <t:implementation.widget location="uiservices/store.html"/>
        <service name="Widget">
                <t:binding.http uri="http://localhost:8085/store"/>
        </service>
                <reference name="catalog" target="Catalog">
                        <t:binding.jsonrpc/>
                 </reference>
                 <reference name="shoppingCart" target="ShoppingCart/Cart">
                        <t:binding.atom/>
                 </reference>
                 <reference name="shoppingTotal" target="ShoppingCart/Total">
                        <t:binding.jsonrpc/>
                 </reference>
    </component>


On Tue, Mar 10, 2009 at 12:04 PM, Rohan Sahgal <[email protected]> wrote:
> Hi all,
> I have been using SCADomain.newInstance to start a domain and deploy a
> composite file.
>
> This always starts a jetty server on port 8080.
>
> Now, I have run into issues where the port 8080 is already being used
> by some other application (and I cannot change that). I was wondering
> whether there's a way to make it start on a different port.
>
> I was trying something like
> SCADomain.newInstance("http://localhost:9090","/","Calculator.composite";);
>
> but that still starts a server at 8080.
>
> Thanks,
> Rohan
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to