This is a discussion on Tomcat + Apache (mod_jk and more) within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi! I have three questions: 1). My mod_jk does not appear to run correctly. Sometimes it works and I get ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi!
I have three questions: 1). My mod_jk does not appear to run correctly. Sometimes it works and I get connected to tomcat as expected, but most of the time it times out. When I look at the mod_jk.log I set up, I get something like this: [Sun May 01 20:37:03 2005] worker1 localhost 0.024238 [Sun May 01 20:37:12 2005] worker1 localhost 0.012673 But when I look in the apache errors.log I see this: [Sun May 01 20:37:12 2005] [error] (13)Permission denied: apr_global_mutex_lock(jk_log_lock) failed[Sun May 01 20:37:12 2005] [notice] child pid 373 exit signal Bus error (10) The timing corresponds with the "not working" of things. Any ideas? 2). When I restart the Tomcat server itself, including rebooting my machine, none of the application containers I have installed with .war files start automatically. I have go into the manager app to start them. I think I know how to fix this for servlets, but how do you do it for JSP/bean based stuff? 3). The Tomcat I installed says you need Java 1.5, otherwise you have to install some compatibility files. I have Java 1.4.2, and except for the above issues, it seems to work. Is this unusual, or will I run into problems at some point? My server configuration info is: Java Installation: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4) Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode) HTTP Server: Apache/2.0.52 (Unix) DAV/2 mod_jk/1.2.5 PHP/4.3.9 Server at localhost Port 80 Java App Server: Apache Tomcat/5.5.9 at localhost Port 8080, using Tomcat JNDI Configuration : Resource name="jdbc/pg8_ds" auth="Container" type="javax.sql.DataSource" maxActive="5" maxIdle="0" maxWait="10000" username="*" password="*" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/dev" Database: PostgreSQL Data Base Management System v.8.0.1 |