[esb-java-dev] Re: [esb-java-user] Running the ESB as an Embedded Tomcat Server or a web application

Paul Fremantle paul at wso2.com
Wed Aug 8 00:19:03 PDT 2007


Indika

Can you please ensure that the Nightly Builds page on wso2.org includes 
the WAR distro?

Thanks
Paul

indika wrote:
> hi all
> 
> Jetty Server and the Jetty transports had been removed from the ESB in 
> the current SVN. Now ESB can be run as an embedded tomcat server or it 
> can be deployed as a web application.
> 
>   1.
> 
>      To run as an Embedded Server ...just run the wso2-esb.sh or the
>      wso2-esb.bat . The default context path is /esb and it can be
>      changed from editing the server-web.xml .
> 
>   2.
> 
>      To deploy as a web application
> 
> eg : tomcat
> 
>         1.
> 
>            add some configuration properties to the server.xml of the
>            tomcat
> 
>               1.
> 
>                  add a SSL connector
> 
>                  eg:
> 
>                  <Connector port="9443" maxHttpHeaderSize="8192"
>                  maxThreads="150" minSpareThreads="25"
>                  maxSpareThreads="75" enableLookups="false"
>                  disableUploadTimeout="true" acceptCount="100"
>                  scheme="https" secure="true"
> 
>                  clientAuth="false" sslProtocol="TLS"
>                  
> keystoreFile="/@esb.home@/webapp/WEB-INF/classes/conf/identity.jks"
>                  keystorePass="password" />
> 
>               2.
> 
>                  add a context path to the host
> 
>                  eg :
> 
>                  <Context path="/esb docBase="@esb.home@/webapp"/>
> 
>               3.
> 
>                  add an init-param to the StartUpServlet. The web.xml
>                  is located in the @esb.home@/webapp/WEB-INF
> 
>                  <init-param>
> 
>                  <param-name>esb.home</param-name>
> 
>                  <param-value>@esb.home@</param-value>
> 
>                  </init-param>
> 
>                  esb,home – the absolute path to the ESB binary
>                  distribution
> 
> 
> thanks
> 
> indika
> 
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 

-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

Office: +1 646 290 8050
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul at wso2.com

"Oxygenating the Web Service Platform", www.wso2.com




More information about the Esb-java-dev mailing list