Your message dated Tue, 12 Sep 2006 15:39:31 +0200
with message-id <[EMAIL PROTECTED]>
and subject line #153801: tomcat4: doesn't write the auto config file
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: tomcat4
Version: N/A
Severity: normal
the tomcat4 server.xml would use the following directives:
[cut]
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- (toma): -->
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
jkConfig="/var/lib/tomcat/conf/mod_jk.conf"
workersConfig="/etc/tomcat/jk/workers.properties"
jkLog="/var/log/apache/mod_jk.log"
jkWorker="ajp13"
forwardAll="false"
noRoot="false"
append="true"
/>
<!-- :(toma) -->
[cut]
which means the default libapache-mod-jk installs the following config into
the httpd.conf:
[cut]
<IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
Include /var/lib/tomcat/conf/mod_jk.conf
</IfModule>
[cut]
so it should be configure by the tomcat4 itself. the problem is, that file
is owned by the root, and the second, if I change its owner, doesn't happen
anything else, so it is not the fix, and i have no idea why.
And a plus in init.d script, you should use in the stop) section the --stop
instead of --start because right now it is buggy, and you are unable to stop
the tomcat server. and a comment about it, it will not check if the server
is running or not, just the pidfile... if you'd like to check it, use eg.
the kill -0 <pidfile> command. but I don't care about it, it's only a
habit/style/mood question. :)
If I configure into the httpd.conf what I mentioned here in the server.xml
statically:
[cut]
<IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
Include /var/lib/tomcat/conf/mod_jk.conf
#(toma):
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /*.jsp ajp13
#://localhost:8005/
#JkMount /servlet/* ajp13
#JkMount /otherworker/*.jsp remoteworker
</IfModule>
[cut]
I got this message:
[cut]
Apache Tomcat/4.0.4 - HTTP Status 404 - /jsp/test.jsp
type Status report
message /jsp/test.jsp
description The requested resource (/jsp/test.jsp) is not available.
[cut]
where the file's content is:
[cut]
<HTML>
<%@ page language="java" imports="java.util.*" %>
<H1>Welcome</H1>
<P>Today is </P>
<jsp:useBean id="clock" class="jspCalendar" />
<UL>
<LI>Day: <%= clock.getDayOfMonth() %>
<LI>Year: <%= clock.getYear() %>
</UL>
<%-- Check for AM or PM --%>
<%! int time = Calendar.getInstance().get(Calendar.AM_PM); %>
<%
if (time == Calendar.AM) {
%>
Good Morning
<%
}
else {
%>
Good Afternoon
<%
}
%>
<%@ include file="copyright.html" %>
</HTML>
[cut]
So any idea what I missed or what is my fault? every other config is the debian
default...
thanks!
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux mlf 2.4.18 #1 Tue Jun 25 14:55:24 CEST 2002 i586 unknown
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomcat4 has been removed
- --
.''`.
: :' :rnaud
`. `'
`-
Java Trap: http://www.gnu.org/philosophy/java-trap.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFBriT4vzFZu62tMIRAtCEAKCN8I3PW/YuRBTILub5kp1EdErfSQCfYDRN
6nLC23r+Hc2FUxPv9ulOqdc=
=6BbH
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers