[esb-java-dev] Running the ESB as an Embedded Tomcat Server or a
web application
indika
indika at wso2.com
Tue Aug 7 23:43:23 PDT 2007
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
More information about the Esb-java-dev
mailing list