Sangeeta Verma wrote:
 Hi,
I have installed Apache 2.0.61 and Tomcat 5.5.25 on windows 2003
machine.Ifound mod_jk-
apache-2.0.29.so and mod_jk_1.2.6_2.0.50.dll both on web and downloaded.

The 1.2.6 version is *very* old, we are at version 1.2.25 of mod_jk.
Use the 2.0.29 file, because that was obviously simply named wrong when putting on the download server and is in fact for httpd 2.0.*5*9 :)
(and is fine for your 2.0.61).

Copied the dll file to <apache_home>/module directory. When i edit the
server.xml file for adding entry under the
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.jk.config.ApacheConfig"
modJk=E:\apache\2.0.61\Apache2\modules\mod_jk.dll" />
Tomcat just refuses to startup with following error:

Dec 7, 2007 11:09:27 AM org.apache.tomcat.util.digester.Digester fatalError

SEVERE: Parse Fatal Error at line 37 column 63: Open quote is expected for
attribute "modJk" associated with an element type "Listener".

org.xml.sax.SAXParseException: Open quote is expected for attribute "modJk"
associated with an element type "Listener".

OK, so why not adding an open quote to the mod_Jk attribute you put into the server.xml? Look at the config line above, the open quote is missing.

at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
What wrong am I doing?
Unless i can get Tomcat started, the automatic generation of mod-conf file
will not take place and apache cant also start with a include directive in
it looking for the mod conf file.

Is there a place where I can get complete steps to configure connector with
the above versions. I checked so many websites and they have similar steps
but some variations depending on OS. I didnt find a windows config guide for
Tomcat 5.5.25 to work with mod_jk.

mod_jk configuration on windows works the same as for other platforms.

Look at the docs for Apache mod_jk config under

http://tomcat.apache.org/connectors-doc/

and then also at the workers.properties doc.

The above addition to server.xml is only necessary, if you want Tomcat to produce a basic mod_jk configuration for you. You can also write one from scratch, without any changes to server.xml.

Please help.Thanks a lot.

Sangeeta

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to