Hi Pradeep, On Wed, May 2, 2012 at 3:31 PM, <[email protected]> wrote:
> Author: supunm > Date: Wed May 2 06:01:20 2012 > New Revision: 126286 > URL: http://wso2.org/svn/browse/wso2?view=rev&revision=126286 > > Log: > changing tomcat autodeploy to false. This made tomcat monitor for > artifacts which is not required for carbon. > > Modified: > > carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/tomcat/catalina-server.xml > > Modified: > carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/tomcat/catalina-server.xml > URL: > http://wso2.org/svn/browse/wso2/carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/tomcat/catalina-server.xml?rev=126286&r1=126285&r2=126286&view=diff > > ============================================================================== > --- > carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/tomcat/catalina-server.xml > (original) > +++ > carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/tomcat/catalina-server.xml > Wed May 2 06:01:20 2012 > @@ -70,7 +70,7 @@ > > <Realm > className="org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm"/> > > - <Host name="localhost" unpackWARs="false" autoDeploy="true" > appBase="${carbon.home}/repository/deployment/server/webapps/"> > + <Host name="localhost" unpackWARs="false" autoDeploy="false" > appBase="${carbon.home}/repository/deployment/server/ Is setting autodeploy param to true has a purpose?. This makes tomcat monitor for artifacts for deployment. "This flag value indicates if Tomcat should check periodically for new or updated web applications while Tomcat is running. If true, Tomcat periodically checks the appBase and xmlBasedirectories and deploys any new web applications or context XML descriptors found. Updated web applications or context XML descriptors will trigger a reload of the web application. The flag's value defaults to true. See Automatic Application Deployment<http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic Application Deployment> for more information." Since I have set the app base to CARBON_HOME/repository/deployment/server/webapps for fixing webapp unpacking now it tries to deploy webapps in the webapp dir. Since carbon deployment threads also tries to deploy the same webapp its giving errors for not unique context. So I changed the value to false and it works fine now. Please shout if setting to true is intentional. thanks, > webapps/"> > <Valve > className="org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve"/> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="${carbon.home}/repository/logs" > prefix="http_access_" suffix=".log" > _______________________________________________ > Commits mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/commits > -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
