tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abbey - Jonbysoft" <domin...@jonbysoft.com>
Subject RE: jdk
Date Sat, 26 Aug 2006 18:46:55 GMT
Hi Steve,

I unistalled Apache 2.2.3 completely and downloaded and installed Apache
2.2.2 and followed the original procedure to place both JK_mod and
workers2.properties in their respecive locations...as before

Now when I try and restart Apache I get a strange error!

httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
Software Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
structure 'k2_module' in file
C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so: No
error


Any advice?

I understand there is a http server with tomcat called catalina. However, I
am trying to emulate as close as possible the actual hosting enviroment on
my local pc for development.

Kind regards

Abbey


-----Mensaje original-----
De: Steve Ochani [mailto:ochanis@ncc.edu]
Enviado el: sabado, 26 de agosto de 2006 16:24
Para: Abbey - Jonbysoft
CC: Tomcat Users List
Asunto: Re: jdk


Date sent:      	Sat, 26 Aug 2006 14:49:01 +0200
From:           	Abbey - Jonbysoft <dominios@jonbysoft.com>
Subject:        	jdk
To:             	users@tomcat.apache.org
Send reply to:  	Tomcat Users List <users@tomcat.apache.org>

>
>
> I have downloaded and installed the following in this order:
> I am running Windows XP Professional with all updates.
>
> Apache 2.2 (apache_2.2.3-win32-x86-no_ssl)
> Got that working on Port 8080
>
> JDK 5.0 (jdk-1_5_0_08-windows-i586-p)
> Seems ok!
>
> Apache Tomcat 5.0 (jakarta-tomcat-5.0.28)
> That too seems to work
>
>
> Apache_Tomcat_Connectors (mod_jk-apache-2.2.2.so) Rename to mod_jk.so
> and placed in Apache2/modules directory. I got this from
> http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/
> jk-1.2 .18/
>
> And put workers2.properties.sample into
>
> C:\Program Files\Apache Software Foundation\Apache2.2\conf
>
> And saved it as workers2.properties.
>
> After this Tomcat starts ok but Apache no go!!
>
> It has a problem with the mod_JK2.so file.
>
> When I restart apache I get this error:
>
> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
> Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
> Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into
> server: The specified procedure could not be found.
>

This is most likely because you're using mod_jk binary built for apache
httpd 2.2.2 but you
are using 2.2.3.
You should try finding and using apache httpd 2.2.2.
You can also re-evaluate the need for apache httpd alltogether since you are
trying to use
Tomcat which serves static content just fine.

Also remember you can only run one listening service on a port.


>
> Many Thanks for your help.
>
> PS. I am not a computer expert and don't even know what it is to
> Compile from source. Any advice gratefully recieved.
>
>
> Abbey
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
> e-mail: users-unsubscribe@tomcat.apache.org For additional commands,
> e-mail: users-help@tomcat.apache.org
>



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






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


Mime
View raw message