<br><div><span class="gmail_quote">On 5/2/07, <b class="gmail_sendername">Andreas Schildbach</b> <<a href="mailto:andreas@schildbach.de">andreas@schildbach.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everyone,<br><br>I've got a strange problem with the tomcat5.5 package.<br><br>After installing tomcat5.5 and sun-java5-jdk on Feisty, I can run<br><br>sudo /etc/init.d/tomcat5.5 start<br><br>However, Tomcat actually does not really start and does not open a port,
<br>although it can be seen in the process list.<br><br>I need to do<br><br>sudo less /var/log/tomcat5.5/catalina.out<br><br>The second I do that, Tomcat starts up.<br><br>Note that catalina.out it not a "regular file"; it has got the "p" flag.
<br>What does it mean?<br><br>Is this strange behaviour expected? Is it a bug?<br><br>Regards,<br><br>Andreas<br><br></blockquote></div><br>Hi Andreas,<br>    Something weird is happening.  catalina.out is supposed to be a normal
file, not a named pipe (that's what the 'p' means).  Try deleting the
catalina.out pipe and replacing it with a regular file:<br>
<br>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">sudo /etc/init.d/tomcat5.5 stop</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">sudo rm /var/log/tomcat5.5/catalina.out</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">sudo touch /var/log/tomcat5.5/catalina.out</span><br>
</div>
<br>    The tomcat server hanging until you try to look at the contents of catalina.out is a feature of a named pipe, though.  Look at <a href="http://www2.linuxjournal.com/article/2156">this</a> discussion of named pipes from the Linux Journal (
<a href="http://www2.linuxjournal.com/article/2156">http://www2.linuxjournal.com/article/2156</a>).<br>
<br>    I've never installed Tomcat using the package as it's really easy to do
using the regular binary distribution.  I understand the benefits of
using the package, but if you continue to have problems, try just
downloading the binary distribution and using that.<br>
<br>
-- Vince<br><br><span class="gmail_quote"></span>