From: Loren C. <lor...@gm...> - 2010-07-19 22:43:23
|
Hello Marco, You can change the port value by changing the following in tools/jetty/etc/jetty.xml: <Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host" /></Set> <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set> <Set name="maxIdleTime">300000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort">8443</Set> <Set name="lowResourcesConnections">20000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call> You can change the port by changing the value for jetty.port. It is 8080 by default. You will also probably need to change the confidentialPort value. the confidentailPort is the SSL port. If you would like to get rid of the "exist" in the URL, then you can change the contextPath value from "/exist" to "/" <Set name="handler"> <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection"> <Set name="handlers"> <Array type="org.eclipse.jetty.server.Handler"> <Item> <New id="webapp" class="org.exist.http.WebAppContext"> <!-- can either be '/exist' or '/' --> <Set name="contextPath">/exist</Set> <Set name="war"><SystemProperty name="jetty.home" default="."/>/../../webapp/</Set> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="." />/etc/webdefault.xml</Set> </New> </Item> <Item> <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/> </Item> <Item> <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/> </Item> <Item> <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/> </Item> </Array> </Set> </New> </Set> Loren On Jul 19, 2010, at 04:35 PM, Marco Simbaña wrote: > Good afternoon, > > Please help me I want camber port 8080 which is where the base is raised by defaukt exist. I have another database built in that port and not change the value of which exist to upload service. > > Thanks for your help > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first_______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |