tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Atkins <peter.atk...@NXCD.com>
Subject RE: HELP! Apache Virtual Server setup using Ajp13
Date Wed, 22 May 2002 16:32:36 GMT

Was this the incorrect list for this type of question?
Since I received zero replies...

-p

-----Original Message-----
From: Peter Atkins [mailto:peter.atkins@nxcd.com]
Sent: Tuesday, May 21, 2002 11:24 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: HELP! Apache Virtual Server setup using Ajp13


All,

I'm new to JBoss/Tomcat and need some help in the setup phase. Below I
included the CONFIG and ERROR that I am getting. 

I installed the following:

JBoss-2.4.4_Tomcat-4.0.1
jdk1.3.1_03

I can start the app server by doing "run_with_catalina.sh &" in the
"JBoss-2.4.4_Tomcat-4.0.1/jboss/bin" directory.  Then by accessing
http://localhost:8001/test.jsp I see the appropriate page.   But I need to
setup Virtual servers to use it with different "Document Roots".


APACHE CONFIG

This is what I have tried so far:

# Load mod_jk
LoadModule    jk_module  modules/mod_jk.so
AddModule     mod_jk.c

# Configure mod_jk
JkWorkersFile
/usr/local/src/JBoss-2.4.4_Tomcat-4.0.1/catalina/conf/workers.properties
JkLogFile     /usr/local/apache/logs/mod_jk.log
JkLogLevel    debug
#JkLogLevel    info

NameVirtualHost 209.220.157.67

<VirtualHost 209.220.157.67:80>
        ServerAdmin webmaster@tkins.com
        DocumentRoot /home/sites/mysite.com/public_html
        ServerName mysite.com
        ServerAlias www.mysite.com
        ScriptAlias /cgi-bin/ /home/sites/mysite.com/cgi-bin/
        ErrorLog /home/sites/mysite.com/logs/error_log
        TransferLog /home/sites/mysite.com/logs/access_log

        JkMount /*.jsp ajp13
        JkMount /servlet/* ajp13
</VirtualHost>


MOD_JK ERROR

This is the error that I get when I hit the server trying to access a page
on port 80:

[Tue May 21 11:16:00 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue May 21 11:16:00 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/test.jsp'
[Tue May 21 11:16:00 2002]  [jk_uri_worker_map.c (416)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Tue May 21 11:16:00 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name
ajp13
[Tue May 21 11:16:00 2002]  [jk_worker.c (127)]: wc_get_worker_for_name,
done  found a worker
[Tue May 21 11:16:00 2002]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
[Tue May 21 11:16:00 2002]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
[Tue May 21 11:16:00 2002]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Tue May 21 11:16:00 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb -
Done
[Tue May 21 11:16:00 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Tue May 21 11:16:00 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 6
[Tue May 21 11:16:00 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Tue May 21 11:16:00 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 111
[Tue May 21 11:16:00 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Tue May 21 11:16:00 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.


Thanks,
-pete


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

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


Mime
View raw message