Hi Rob/Matt/Anyone else with a suggestion ;),
Okay... so I found a problem with the database configuration [I missed the
second password field in jdbc.properties]. But apparently there is something
else not working. I still can't find catalina.out so I can't see the raw
console output anywhere. When I had the database config problem it was the app
failed to startup at a "listenerStart". Now that I fixed the DB problem it is
failing on a "filterStart"--which is about as nondescript of an error as the
first.
This is a bit frustrating now. It always bugs me when stuff that should just
work doesn't. Unless someone has another suggestion, I guess the next step is
to ditch the packaged Tomcat and download my own binary. Then at least I can
see what is happening on the console.
Rob,
As for your experience with distribution packaged versions of Tomcat, you are
mostly right. The packaging is designed to follow the convention of the
distro, not Tomcat, so there is always a lot of sim-linking of folders here and
there. It makes sense in a twisted sort of way ;). And of course "how to's"
don't even necessarily follow distro or Tomcat convention, but rather the whim
of the author. In Ubuntu 7.10 I have been able to find basically everything
except catalina.out.
Binaries & libraries
/usr/share/tomcat5.5/bin
/common
/server
Configuration
/etc/tomcat5.5
Documentation
/usr/share/doc/tomcat5.5
Logs
/var/log/tomcat5.5
Webapps, Shared binaries, temp & work
/var/lib/tomcat5.5/shared
/temp
/webapps
/work
In Ubuntu 7.04 and 6.10 [with Tomcat 5.0] had a catalina.out pipe in
/var/log/tomcat5, but there is no equivalent in Ubuntu 7.10/Tomcat 5.5. I
know... it's time to let go... :)
Nathan
----- Original Message -----
From: "Rob Hills" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, November 15, 2007 3:44:37 PM (GMT-0800) America/Los_Angeles
Subject: Re: [appfuse-user] deploying to tomcat 5.5
Hi Nathan,
Nathan Anderson wrote:
> I'm away from that computer right now, so I can't confirm, but now that you
> mention it...
>
> There is only one log file that had any text in it. And as I think back, I
> know it ended in .log, so I'm thinking it was localhost*.log. The
> interesting thing is when I have set up Tomcat 5.0 on Ubuntu, there is a
> catalina.out pipe and file created in /var/log/tomcat5. But I'm certain
> there is no catalina.out pipe in /var/log/tomcat5.5. So that is probably the
> key to my missing stack trace. When I find catalina.out it will hopefully be
> in there...
>
I have TC installed on one of my Linux boxes and one of the
entertainments with TC and Linux is that there seems to be no
consistency to how things are setup. Which JVM you wind up using, where
your web apps are deployed and where your TC and App logs wind up seems
to vary not only with the flavour of Linux you're using, but also with
the way you install it (ie via package management, or hand-built using a
Howto somewhere.
That said, on my FC5 box, IIRC when I first installed it, all logs went
to somewhere I wasn't expecting, via a symlink in /usr/share/tomcat5/
(it was called tomcat5 even though it's version 5.5.x). On FC5, the
Tomcat conf directory is a symlink pointing to /etc/conf/tomcat5 so you
may want to look inside your logging.properties file there if you have one.
HTH,
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]