I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Good luck :-)
Duncan Smith
Decker Telecom Ltd
Rhugga wrote:
> I get this error during tomcat 4.2.27 startup:
>
> INFO: Starting Coyote HTTP/1.1 on port 8443
> [Fri Sep 26 07:54:52 2003] (error ) [jk_config_file.c (279)]
> config.update(): Can't find config file ${serverRoot}/conf/workers2.pr
> operties
> [Fri Sep 26 07:54:52 2003] ( info ) [jk_config.c (251)]
> config.setAttribute() Error setting config: file ${serverRoot}/conf/workers
> 2.properties
> [Fri Sep 26 07:54:52 2003] ( info ) [jk_logger_file.c (184)]
> Initializing log file stderr
> [Fri Sep 26 07:54:52 2003] (error ) [jk_shm.c (333)] shm.init(): No file
> [Fri Sep 26 07:54:52 2003] ( info ) [jk_workerEnv.c (403)]
> workerEnv.init() ok ${serverRoot}/conf/workers2.properties
>
> Here is the connector definition from server.xml:
>
> <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8443" minProcessors="5" maxProcessors="75"
> enableLookups="true" serverRoot="/usr/local/jakarta-tomcat-4.1.27"
> acceptCount="100" debug="5" scheme="https" secure="true"
> useURIValidationHack="false" disableUploadTimeout="true">
> <Factory
> className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
> clientAuth="false" protocol="TLS" />
> <parameter>
> <name>serverRoot</name>
> <value>/usr/local/jakarta-tomcat-4.1.27</value>
> </parameter>
> </Connector>
>
> My workers2.properties file is here:
> ganja:/usr/local/tomcat/conf #ls -l
> /usr/local/jakarta-tomcat-4.1.27/conf/workers2.properties
> -rw-r--r-- 1 tomcat httpd 258 Aug 30 23:14
> /usr/local/jakarta-tomcat-4.1.27/conf/workers2.properties
>
> The contents of this file are as follows:
> [shm]
> file=/usr/local/jakarta-tomcat-4.1.27/logs/shm.file
> size=1048576
>
> # Example unixsocket channel.
> [channel.un:unixsocket]
> file=/usr/local/jakarta-tomcat-4.1.27/work/jk2_tomcat.socket
>
> # define the worker
> [ajp13:unixsocket]
> channel=channel.un:unixsocket
>
> Any ideas?
>
> Thx,
> Chuck
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]