<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-336560476149001825</id><updated>2024-09-20T17:36:54.578+05:30</updated><category term="Tomcat"/><category term="Apache"/><category term="OpenEJB"/><title type='text'>Java Bundle</title><subtitle type='html'>Struts, J2EE, Swings, Tomcat, Apache, Linux, XML, JavaScript, Tutorials, Examples, Help, Codes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javabundle.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://javabundle.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vishal Chaudhary</name><uri>http://www.blogger.com/profile/11159956284272044426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-336560476149001825.post-4690993797798237947</id><published>2009-04-04T14:43:00.004+05:30</published><updated>2009-04-04T15:02:05.055+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Create tomcat clustering</title><content type='html'>Tomcat clustering can be used for serving request routed through Apache HTTP Server.&lt;br /&gt;&lt;br /&gt;Tomcat cluser setup can be created on single or different machine and accessed from Apache Http Server using JK connector.&lt;br /&gt;&lt;br /&gt;Following text need to be copied in server.xml file in config folder of Tomcat.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;&amp;lt;Cluster className=&quot;org.apache.catalina.ha.tcp.SimpleTcpCluster&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                 channelSendOptions=&quot;8&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;Manager className=&quot;org.apache.catalina.ha.session.DeltaManager&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                   expireSessionsOnShutdown=&quot;true&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                   notifyListenersOnReplication=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;Channel className=&quot;org.apache.catalina.tribes.group.GroupChannel&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;Membership className=&quot;org.apache.catalina.tribes.membership.McastService&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                        address=&quot;228.0.0.4&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                        port=&quot;45564&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                        frequency=&quot;500&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                        dropTime=&quot;3000&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;Receiver className=&quot;org.apache.catalina.tribes.transport.nio.NioReceiver&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                      address=&quot;auto&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                      port=&quot;4000&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                      autoBind=&quot;100&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                      selectorTimeout=&quot;5000&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                      maxThreads=&quot;6&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;Sender className=&quot;org.apache.catalina.tribes.transport.ReplicationTransmitter&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;              &amp;lt;Transport className=&quot;org.apache.catalina.tribes.transport.nio.PooledParallelSender&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;/Sender&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;Interceptor className=&quot;org.apache.catalina.tribes.group.interceptors.TcpFailureDetector&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;            &amp;lt;Interceptor className=&quot;org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;/Channel&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;Valve className=&quot;org.apache.catalina.ha.tcp.ReplicationValve&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                 filter=&quot;&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;Valve className=&quot;org.apache.catalina.ha.session.JvmRouteBinderValve&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;Deployer className=&quot;org.apache.catalina.ha.deploy.FarmWarDeployer&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                    tempDir=&quot;/tmp/war-temp/&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                    deployDir=&quot;/tmp/war-deploy/&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                    watchDir=&quot;/tmp/war-listen/&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;                    watchEnabled=&quot;false&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;ClusterListener className=&quot;org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;          &amp;lt;ClusterListener className=&quot;org.apache.catalina.ha.session.ClusterSessionListener&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;        &amp;lt;/Cluster&amp;gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://javabundle.blogspot.com/feeds/4690993797798237947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javabundle.blogspot.com/2009/04/create-tomcat-clustering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/4690993797798237947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/4690993797798237947'/><link rel='alternate' type='text/html' href='http://javabundle.blogspot.com/2009/04/create-tomcat-clustering.html' title='Create tomcat clustering'/><author><name>Gaurav Yadav</name><uri>http://www.blogger.com/profile/17058912110324400294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-336560476149001825.post-6888596838800759347</id><published>2009-04-04T12:52:00.004+05:30</published><updated>2009-04-04T14:13:51.960+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenEJB"/><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Connecting MySQL from OpenEJB</title><content type='html'>You can use OpenEJB war to get the functionality of EJB into Tomcat.&lt;br /&gt;Place the following text in openejb.xml file in config folder of Tomcat. For this setting to work your user table should have minimum one row present for root user.&lt;br /&gt;&lt;br /&gt;&lt;Resource id=&quot;MySQLDataSource&quot; type=&quot;DataSource&quot;&gt;&lt;br /&gt;  JdbcDriver com.mysql.jdbc.Driver&lt;br /&gt;  JdbcUrl jdbc:mysql://192.168.0.101:3306/DataBaseName&lt;br /&gt;  UserName root&lt;br /&gt;  Password password&lt;br /&gt;  InitialSize 10&lt;br /&gt;  ConnectionProperties connectTimeout=10000;socketTimeout=10000;&lt;br /&gt;  MaxActive 1800&lt;br /&gt;  MaxIdle 500&lt;br /&gt;  MinIdle 10&lt;br /&gt;  MaxWait 10000&lt;br /&gt;  ValidationQuery select * from User where UserId=&#39;root&#39;;&lt;br /&gt;  TestWhileIdle true&lt;br /&gt;  TimeBetweenEvictionRunsMillis 10000&lt;br /&gt;  JtaManaged true&lt;br /&gt;&lt;/Resource&gt;</content><link rel='replies' type='application/atom+xml' href='http://javabundle.blogspot.com/feeds/6888596838800759347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javabundle.blogspot.com/2009/04/connecting-mysql-from-openejb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/6888596838800759347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/6888596838800759347'/><link rel='alternate' type='text/html' href='http://javabundle.blogspot.com/2009/04/connecting-mysql-from-openejb.html' title='Connecting MySQL from OpenEJB'/><author><name>Gaurav Yadav</name><uri>http://www.blogger.com/profile/17058912110324400294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-336560476149001825.post-6387416440146548307</id><published>2009-03-25T13:48:00.007+05:30</published><updated>2009-03-25T14:25:43.761+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Using JK connector</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;JK connector&lt;/span&gt; is used to serve request from tomcat webservers. JK module is loaded into Apache Http Server optionally using following lines in &lt;span style=&quot;font-weight: bold;&quot;&gt;httpd.conf&lt;/span&gt; file under conf folder of Apache installation directory.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;LoadModule jk_module modules/mod_jk.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Single or Multiple tomcat server (Clustered configurations) can be used to serve request. Tomcat server need to defined in &lt;span style=&quot;font-weight: bold;&quot;&gt;worker.properties&lt;/span&gt; files which will be loaded into apache conf file.&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;workers.tomcat_home=/tomcatA&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;workers.java_home=&quot;/usr/java/jdk1.6.0_06&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;ps=/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.list=loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.port=8109&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.host=192.168.0.11&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.type=ajp13&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.lbfactor=1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.socket_timeout=1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.connect_timeout=1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.prepost_timeout=1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.reply_timeout=600000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.socket_keepalive=False&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.connection_pool_size=5000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.connection_pool_minsize=500&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.connection_pool_timeout=300&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatA.redirect=tomcatB &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.port=8209&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.host=192.168.0.12&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.type=ajp13&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.lbfactor=1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.socket_timeout=1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.connect_timeout=1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.prepost_timeout=1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.reply_timeout=600000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.socket_keepalive=False&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.connection_pool_size=5000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.connection_pool_minsize=500&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.connection_pool_timeout=300&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.tomcatB.redirect=tomcatA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.loadbalancer.type=lb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.loadbalancer.balance_workers=tomcatA,tomcatB&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.loadbalancer.sticky_session=True&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-family: arial; color: rgb(51, 102, 255);&quot;&gt;worker.loadbalancer.retries=2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Configurations for loading worker file into apache conf file.&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;JkWorkersFile &quot;/etc/httpd/conf/workers.properties&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;JkShmFile &quot;/var/log/httpd/mod_jk.shm&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;JkLogFile &quot;/etc/httpd/logs/mod_jk.log&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;JkLogLevel info&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can mount a particular folder or project or mount all to pass every thing to tomcat. Few sample configuration are listed below.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkMount /* loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkMount /servlet/* loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkMount /jsp/* loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkMount /project tomcatA&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkMount /&lt;/span&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;project/&lt;/span&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;jsp/* loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Filter request from forwarding to tomcat for html, jpg and gif &lt;/span&gt;and can be served from apache http server.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkUnMount /project/*.html &lt;/span&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;JkUnMount /project/*.jpg  &lt;/span&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;loadbalancer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For single tomcat server you don&#39;t require loadbalancer configuration. Only tomcatA will server the request and can be used in place of loadbalancer.</content><link rel='replies' type='application/atom+xml' href='http://javabundle.blogspot.com/feeds/6387416440146548307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javabundle.blogspot.com/2009/03/using-jk-connector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/6387416440146548307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/336560476149001825/posts/default/6387416440146548307'/><link rel='alternate' type='text/html' href='http://javabundle.blogspot.com/2009/03/using-jk-connector.html' title='Using JK connector'/><author><name>Gaurav Yadav</name><uri>http://www.blogger.com/profile/17058912110324400294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>