> > I attempted these changes and stopped tomcat and apache, then started
apache
> > and got the following error:
> >
> > [EMAIL PROTECTED]:~$ sudo /etc/init.d/apache2 start
> > * Starting web server apache2
> >
Syntax
> > error on line 2 of /etc/apache2/conf.d/workers.properties:
> > Invalid command 'worker.list=worker1', perhaps misspelled or defined by
a
> > module not included in the server configuration
> >   [fail]
>
> See above, this is because there is some include for any file in
> /etc/apache2/conf in some of your httpd configuration files.
> workers.properties is not understandable by httpd itself, only by
> mod_jk, which will load it separately.
>
> Regards,
>
> Rainer

Rainer,

Thanks for your prompt reply.

I was able to resolve the apache error by moving the workers.properties file
to /etc/apache2/
and changing the relevant reference in /etc/apache2/conf.d/jk_mod

I also added <Listener className="org.apache.jk.config.ApacheConfig"
modJk="/usr/lib/apache2/mod_jk.so"
workersConfig="/etc/apache2/workers.properties" />  between </Host> and
</Engine> in the conf/server.xml file

Now Apache starts successfully.   I also modified jk_mod section:  JkMount
/*.jsp worker1   as you suggested.

With this apache runs, and tomcat runs (as it should), however, .jsp files
are not being parsed.

Should I change the <Connector port="8090" protocol="HTTP/1.1"
to 80

Any suggestions for troube shooting this?

Aslo,  can you CC me on these emails, as I am only subscribed to the digest
and don't get your message without awaiting that or checking the archives.

Thanks so much!

Reply via email to