Re: Logging with Log4J

2009-12-05 Thread Bart Vandewoestyne
On Fri, Dec 04, 2009 at 05:08:05PM -0500, Christopher Schultz wrote: > > [snip] > > > log4j.rootLogger=DEBUG, cons > > See Jeffrey's suggestion in his post. OK. I changed that... and I'm working my way through the Log4J docs to better understand how it works... > > log4j.appender.myAppender.F

Logging with Log4J

2009-12-04 Thread Bart Vandewoestyne
Hello list, Up until now, I have used simple System.out.println() statements to do the logging of my web applications, but I want to start using a more advanced system with more possibilities. Log4J seemed like a good choice. The most important thing for me is that the log messages are written n

security manager

2009-06-12 Thread Bart Vandewoestyne
Hello all, First of all, my setup: * Tomcat 5.5.26 on a Debian GNU/Linux 5.0 system. * java version "1.6.0_12" I have deployed a webapp under /usr/share/tomcat5.5/webapps/servlet.war I have configured my Tomcat not to unpack .war files. Within my servlet.war file, I have a WEB-INF/lib/mysql

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
On Mon, Feb 09, 2009 at 08:49:06AM -0600, Caldarale, Charles R wrote: > > Indicative of a broken Tomcat installation, which is pretty > typical with these 3rd-party repackaged versions. I strongly > suggest you throw away that junk and install a real Tomcat from > tomcat.apache.org; this mailing l

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
On Mon, Feb 09, 2009 at 03:34:41PM +0100, Bart Vandewoestyne wrote: > > [...] > When i trie to access the servlet using the URL > > http://clydet:8180/testbart/helloworld > > I get > > java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet > > I

HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
Hello list, I'm doing my first experiments with Tomcat and servlets. Here's my setup: * Tomcat 5.5 runs on a Debian GNU/Linux 4.0 stable box and is installed via the packaging system (apt-get). * The following tomcat and sun-java related packages are installed: r...@clydet:~# dpkg --list | g