I was trying to use the DWR binding. I dont think it has a uri attribute. Even if it did, I want to leave the port configurable (if we run into similar issues again). Having it hardcoded in the composite will make the application highly unmaintainable.
Long back, I was trying to get the distributed sample working. I think that starts the server on a different port. Do you think I can use something of that sort even though I dont really have a distributed application (its all just specified in one composite file). Thanks, Rohan On Tue, Mar 10, 2009 at 2:10 PM, Luciano Resende <luckbr1...@gmail.com> wrote: > 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 <rohansah...@gmail.com> 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/ >