Good day. I'm three+ hours into chroot'd jsvc odyssey that leaves me baffled. My eyes are looking but they seem to have failed to see.
Recall normally when Tomcat starts that it writes information to catalina.out. However, when I run Tomcat as chroot'd with jsvc I can see a successful open("catalina.out") (paraphrasing) system call courtesy of strace, but I not once see any attempt in strace output to write to catalina.out while Tomcat starts up. I hesitate to say that at this point Tomcat seems to be running ok, because not seeing anything written to catalina.out probably hints at a deeper problem. The output I would normally expect to find in catalina.out is, in fact, found in catalina.2006-10-18.log type files. I also note that jsvc exits with status code "1" during startup. I'm not sure that is a sign of trouble or not. jsvc debug output doesn't indicate anything unusual, and in fact seems to confirm all the right stuff wrto outfile/errfile as well as successfully changing to a nonprivileged user, etc. As I said, I've spent the last three hours confirming everything I thought I knew about chroot'd jsvc invocations. The next step is to forget everything I know, and start over. In the meantime, maybe someone can take pity on me and suggest some possible root causes of this anomaly. Thanks. -- Mark