You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guillaume Alleon <gu...@laposte.net> on 2004/11/10 22:01:26 UTC

Apache/Tomcat problem

Hi,
I have a Linux FC1 machine running httpd (see conf below)
I have now a tomcat applocation that I want to access through httpd 
since only the port 80 is open
to this machine.
Therefore, I did install "jakarta-tomcat-connectors-jk2-2.0.4-src" & 
"jakarta-tomcat-5.0.28".
Trying apachectl configtest I got the following error:

Syntax error on line 199 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `mod_jk2' in file 
/etc/httpd/modules/mod_jk2.so: /usr/lib/libapr-0.so.0: undefined symbol: 
mod_jk2

line 199 is the fresh addition of :
LoadModule mod_jk2 modules/mod_jk2

Doing an "nm" on /etc/httpd/modules/mod_jk2.so does not show any 
'mod_jk2' but a 'jk2_module'...

Do you know about this problem ?
Thanks

------


Server version: Apache/2.0.51
Server built:   Oct  3 2004 10:35:33
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: [users@httpd] Apache/Tomcat problem

Posted by Fabricio Luiz Machado <so...@yahoo.com.br>.
Guillaume,

 I don´t know how to solve your problem, but I use mod_proxy to access
my Tomcat/JBoss applications over port 80:

<VirtualHost xxx.xxx.xxx.xxx:80>
    ServerName www.domain.com
    ProxyPass /portal http://localhost:8080/portal
    ProxyPassReverse /portal  http://localhost:8080/portal
    ErrorLog /var/log/apache/portal_error_log
    CustomLog /var/log/apache/portal_access_log common
</VirtualHost>

 I works fine for me, check it out.

Fabricio.



 

 --- Guillaume Alleon <gu...@laposte.net> escreveu: 
> Hi,
> I have a Linux FC1 machine running httpd (see conf below)
> I have now a tomcat applocation that I want to access through httpd 
> since only the port 80 is open
> to this machine.
> Therefore, I did install "jakarta-tomcat-connectors-jk2-2.0.4-src" & 
> "jakarta-tomcat-5.0.28".
> Trying apachectl configtest I got the following error:
> 
> Syntax error on line 199 of /etc/httpd/conf/httpd.conf:
> Can't locate API module structure `mod_jk2' in file 
> /etc/httpd/modules/mod_jk2.so: /usr/lib/libapr-0.so.0: undefined
> symbol: 
> mod_jk2
> 
> line 199 is the fresh addition of :
> LoadModule mod_jk2 modules/mod_jk2
> 
> Doing an "nm" on /etc/httpd/modules/mod_jk2.so does not show any 
> 'mod_jk2' but a 'jk2_module'...
> 
> Do you know about this problem ?
> Thanks
> 
> ------
> 
> 
> Server version: Apache/2.0.51
> Server built:   Oct  3 2004 10:35:33
> Server's Module Magic Number: 20020903:9
> Architecture:   32-bit
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D HTTPD_ROOT="/etc/httpd"
>  -D SUEXEC_BIN="/usr/sbin/suexec"
>  -D DEFAULT_PIDLOG="logs/httpd.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="logs/accept.lock"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>  


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org