On Mon, 2010-01-18 at 10:14 -0500, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Rick, > > On 1/17/2010 11:16 AM, Rick Bragg wrote: > > OK, I did > > #apt-get install --reinstall tomcat6 > > And the log files are back! > > > > I'm definitely a newbe at this. The re-install kept my startup scripts > > (and config files) all in tact. So this is a bit strange. > > > > Here are the changes I made in the /etc/init.d/tomcat6 file yesterday > > > > JDK_DIRS="/usr/lib/jvm/java-6-sun" > > > > if [ -z "$JAVA_OPTS" ]; then > > JAVA_OPTS="-Djava.awt.headless=true -Xmx256M" > > fi > > I suspect that, before your --reinstall, you had something broken in > your /etc/init.d/tomcat6 script. Since you re-installed before posting > back, we can't see what you did at the time. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEUEARECAAYFAktUeuYACgkQ9CaO5/Lv0PDJVQCfW+bYCBef2W4afNl8RdYcUkYE > fNsAmNRJZ544rPUqyucTSH3FRg0Gx1k= > =i0Ht > -----END PGP SIGNATURE----- >
I did allot of things really fast. Too fast. One thing I noticed is that in /etc/default/tomcat6 I had the older openjdk set, At one point, (before I did a reinstall,) I exported the sunjdk, and then when I did the reinstall, it went back to the old openjdk and started logging again... (but then it was using the wrong JDK!) Ultimately, it was the suggestion from Konstantin that fixed the newer sun jdk, but I had to be reminded of this by Chuck (on another mailing list!) Add the following line permission java.lang.RuntimePermission "setContextClassLoader"; into the grant codeBase "file: ${catalina.home}/bin/tomcat-juli.jar" { .. } block of catalina.policy file. Thanks again everyone! rick --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org