2016-04-14 13:59 GMT+03:00 akshay hiremath <akshay...@yahoo.com.invalid>: > Hi, > I see one jenkins installation on one of the servers in my organization.This > jenkins is running on tomcat-7.0.24. When I had a look at server.xmlI see > following: > <Server port="jenPort+85" shutdown="SHUTDOWN">.......... > <Connector executor="tomcatThreadPool" port="jenPort" > protocol="org.apache.coyote.http11.Http11NioProtocol" > connectionTimeout="20000" URIEncoding="UTF-8" > acceptCount="200" /> > when I looked at catalina.properties I couldn't see jenPort.From where does > tomcat is taking the value of jenPort?? > catalina.properties contains this.. > tomcat.util.scan.DefaultJarScanner.jarsToSkip=\bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\jasper.jar,jasper-el.jar,ecj-*.jar,\tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\tomcat-jni.jar,tomcat-spdy.jar,\tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\tomcat-jdbc.jar,\tools.jar,\commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\commons-math*.jar,commons-pool*.jar,\jstl.jar,\geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\junit.jar,junit-*.jar,ant-launcher.jartomcat.util.buf.StringCache.byte.enabled=true > > > WHere the hell this jenPort is coming from ? I'm confused.. And jenkins site > doesn't give any documentation related to this...
There is no such feature in Tomcat. The property substitutions in Tomcat configuration files have the form of ${propName} and there is no arithmetic such as your "jenPort+85". My guess is that that file is just a template that is pre-processed by something. Maybe you can delete it and get a FileNotFoundException with a stacktrace? Also you can ask on jenkins mailing list/forum/what they have there. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org