[OT] LogWatch filter for Tomcat

2005-03-01 Thread Cindy Ballreich
Has anyone written a Tomcat filter for the LogWatch log analysys tool? http://www2.logwatch.org:81/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Changing the JVM

2004-05-25 Thread Cindy Ballreich
At 11:58 PM 5/25/04 +0200, Jan-Pieter van den Heuvel wrote: I'm trying to change the JVM Tomcat is using to Sun's JVM. I've installed the J2SDK from Sun and have set the environment variable JAVA_HOME to /usr/javaj2sdk1.4.2_04 in /etc/profile. But after restarting Tomcat it is still using the JVM

Read of HTTP Request POST parameters failed

2004-05-04 Thread Cindy Ballreich
I've got an intermittent error that's giving me a real headache. It happens at the first line of my servlet's doPost method (request.getParameter) and returns a java.lang.RuntimeException: Read of HTTP Request POST parameters failed: read content length I've seen this mentioned several times

Re: Configure Apache for running Perl(cgi)

2004-03-18 Thread Cindy Ballreich
This list is for users of the Tomcat servlet container. While it may contain information about how Tomcat interacts with Apache, it is not an Apache web server list. Perhaps you are looking for this... http://httpd.apache.org/lists.html#http-users At 01:01 PM 3/18/04 -0500, Vivek Sivagiri

Re: delaying context reload

2004-03-16 Thread Cindy Ballreich
At 08:00 PM 3/15/04 -0500, Christopher Schultz wrote: Run Plugin:c:\eudora\attach\Re delaying context reload.ems 0880.0002 Hi Chris, No, I'm not using Ant (yeah, yeah, I know I should...) This is my local development machine where I have WEB-INF/classes set as my output directory when I

delaying context reload

2004-03-15 Thread Cindy Ballreich
I like Tomcat's ability to reload a context when a change is made to one of my application's classes, but I'm having a problem with it reloading before the class has finished compiling. Is there a way to delay the reloading until all the files are ready? I'm using Tomcat 4.1.24 Thanks Cindy

response commit question

2004-01-23 Thread Cindy Ballreich
I just noticed that when I get the ServletResponse using pageContext.getResponse() in a custom tag, that the response seems to always be already committed. Is this always the case with tags or am I doing something wrong? I couldn't find any documentation that spells out the response-commit

Re: response commit question

2004-01-23 Thread Cindy Ballreich
At 09:07 AM 1/23/04 -0800, Cindy Ballreich wrote: I just noticed that when I get the ServletResponse using pageContext.getResponse() in a custom tag, that the response seems to always be already committed. Is this always the case with tags or am I doing something wrong? I couldn't find any

Re: problem with hyphen in hostname

2003-03-12 Thread Cindy Ballreich
/1.0 Host: my-host.mycompany.com Of course, substitute in real information for 'my-host', 'mycompany.com', and the URL. If the response is pointing to a different host, then you've likely got a configuration problem (but it should at least give you hints on where to look). Cindy Ballreich [EMAIL

problem with hyphen in hostname

2003-03-11 Thread Cindy Ballreich
I've recently noticed a problem that occurs when I access my site using a domain name with a hyphen in it. It seems that when I navigate using dispatcher.forward everything works fine. But when I use response.sendRedirect the hyphen is lost. Since we also own the same domain name without the

Re: Special characters

2003-02-19 Thread Cindy Ballreich
At 03:59 PM 2/19/03 +0100, Carlos Godoy wrote: I have changed Jserv to Tomcat. I'm in trouble with special characters and I dont't know where is the problem. All the special characters that servlet writes to the web page are changed by a '?' character. I add the useUnicode characterEncoding

Custom Tag / JavaBean question

2002-10-15 Thread Cindy Ballreich
I have a custom tag that takes a collection as one of it's parameters. I'd like to be able to give the name of an attribute (a String) as the value and have the tag find the attribute from the pageContext. This doesn't seem like it should be too difficult. I have setters that look like this

RE: Custom Tag / JavaBean question

2002-10-15 Thread Cindy Ballreich
/ Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Cindy Ballreich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:13 PM To: [EMAIL PROTECTED] Subject: Custom Tag

Re: AW: Too Many Sessions!

2002-10-10 Thread Cindy Ballreich
- Von: Cindy Ballreich [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 20:29 An: [EMAIL PROTECTED] Betreff: Too Many Sessions! I'm using Tomcat 4.1.12 on a NT 4.0 system. I've been watching my logs and I'm noticing a lot of sessions being created for no apparent reason when

RE: AW: Too Many Sessions!

2002-10-10 Thread Cindy Ballreich
At 01:18 PM 10/10/02 -0400, Shapira, Yoav wrote: Hi, Just a curiosity question: does your session listener keep a count of sessions? And if so, how does that count compare to the manager webapp's count? That's an interesting idea. It's pretty easy to see from the logs how many sessions are

Iteration tag question

2002-10-10 Thread Cindy Ballreich
Not directly a Tomcat question, but I hope not too far off topic. Let's say I have a collection of objects that I want to iterate through and display on a JSP page with a custom tag. The body content of the tag on the page formats the output as rows and elements of a table. Now, let's say I

Too Many Sessions!

2002-10-09 Thread Cindy Ballreich
I'm using Tomcat 4.1.12 on a NT 4.0 system. I've been watching my logs and I'm noticing a lot of sessions being created for no apparent reason when there is no user activity on the system and no activity (as far as I can tell) in my servlet. Here's a sample from the logs... 2002-10-09

forwarding to a page anchor

2002-09-25 Thread Cindy Ballreich
I'd like to forward to an anchor a name=anchorName in a jsp page, but I keep getting a 404 error when I try to do it. It works from the browser, but not from the server. Is it possible to forward to a page anchor like this? RequestDispatcher rd =

dynamic page building question

2002-09-09 Thread Cindy Ballreich
I'd like to make a page that will allow users to dynamically add and modify page elements by clicking on form buttons on the page. I'd like these changes to automatically appear on the page. The simplest way to do this would be to use javascript and document.createElement() to apply these

Re: Bringing up DBCP pooling again

2002-09-05 Thread Cindy Ballreich
I had this same problem and would love to hear a solution. (Sorry to post a me too message, but I've seen several versions of this question go unanswered. I guess it's a little off-topic, but there isn't a DBCP-user list. Here's to hoping a DBCP guru is listening.) Cindy At 04:37 PM 9/5/02

RE: going crazy with DBCP

2002-07-10 Thread Cindy Ballreich
At 11:44 AM 7/10/02 -0700, Clay Graham wrote: this is confusing because first of all I read on the list that needed to create a directory under my webapps called /DBTest (for my example) I don't really see how you are doing you're path to jdbc/Support, did you create a directory? This is what

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Cindy Ballreich
Hi Clay, It's a small net. I hope you are well!! I haven't tried using Struts yet, but I've been thinking about checking it out. I did try the JNDI/DBCP method described at the URL you posted and it does work and it seemed to be pooling correctly. However, the connection times out after a

Re: Book recommendation

2002-06-21 Thread Cindy Ballreich
I can't speak to the others, but I really didn't like JSP, Servlets, and Mysql. It reads nicely, but the examples are full of really basic errors. Be sure to check out the reader reviews on Amazon for any book you're interested in. They can be very helpful. At 10:26 AM 6/21/02 -0700, [EMAIL

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread Cindy Ballreich
At 06:53 AM 6/14/02 +0200, Nikola Milutinovic wrote: Yes, and it should work - but it doesn't. For most of us, DataSource is null and nothing apperas in the logs. Question: where is your JDBC driver currently located? I got the same result until I moved it from WEB_INF/lib/ to

[offtopic] IDE for Tomcat?

2002-06-13 Thread Cindy Ballreich
I was wondering what kind of IDEs people were using for Tomcat development? Any recomendations for someone who's been developing on linux from a NT desktop via ssh? (vi has it's charms, but there's got to be a better way!) Anything to avoid? Thanks Cindy -- To unsubscribe, e-mail:

Re: Connection Pooling Solution

2002-05-30 Thread Cindy Ballreich
At 03:43 PM 5/30/02 -0400, Rick Fincher wrote: Because the MySql driver is a javax.sql.DataSource and that's what gets passed back by the pool, making the pool transparent (no pun intended). That way you can later change the driver or the pooling details without changing your code (assuming the

Re: Connection Pooling Solution

2002-05-30 Thread Cindy Ballreich
fillup, At 01:28 PM 5/30/02 -0700, Phillip Morelock wrote: javax.sql.DataSource itself is not returning Connections. DataSource is an interface -- what this means in practice is that some random class (in this case, BasicDataSource) is implementing that interface. You're actually asking that

RE: Connection Pooling Solution

2002-05-26 Thread Cindy Ballreich
What do you guys think of DBCP? Any specific comments on performance or functionality? Do you think it's ready for a production project? Should I use it over DbConnectionBroker (obviously not a JNDI solution, but it works pretty well). I'd love to hear a review from someone who's been using

RE: strange shut down problem - solution?

2002-05-22 Thread Cindy Ballreich
At 05:45 PM 5/21/02 -0700, Subir Sengupta wrote: This is a documented bug. Apparently if there is a non Daemon thread running Tomcat won't shut down cleanly. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8700 Hmmm. That sure sounds like what's happening on my system. I guess catalina.sh

strange shut down problem

2002-05-21 Thread Cindy Ballreich
I've got Tomcat 4.0.3 on Redhat 7.1 and when I start it I get the usual batch of 20-50 threads. When I shut tomcat down (using shutdown.sh) there are about a dozen threads that don't go away. Tomcat is definately not running (at least it's not accepting requests), but the threads are still

the ups and downs of JNDI connection pooling

2002-05-06 Thread Cindy Ballreich
After reading every message I could find in the archives (and marveling at the blood, sweat, and tears shed over this subject) I believe that I've finally got JNDI connection pooling working with the Tyrex software!!! My joy was boundless until I started having problems with Tyrex itself.

JNDI: datasource is null

2002-05-03 Thread Cindy Ballreich
I know there's been a lot of JNDI/database type questions lately, but I hope you guys won't mind one more. I'm trying to set up a configuration similar to the one in the How-To. In my servlet I have the following lines... Context initCtx = new InitialContext(); Context envCtx = (Context)

Re: JNDI: datasource is null - solved

2002-05-03 Thread Cindy Ballreich
Well, it just goes to show that as soon as you post something to a public forum you'll stumble across the answer. It turned out that I needed to move my mm-mysql driver from my application's WEB-INF/lib to $CATALINA_HOME/common/lib. As soon as I did this (and restarted tomcat) it started

REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
I'm using mod_jk with Tomcat 4.0.1 and Apache 1.3.19 on a Redhat 7.0 system. Looking at my mod_jk.log file, it appears that mod_jk is trying to map every request that comes to my server, regardless of whether it should be handled by Tomcat or Apache. This seems very inefficient to me and I'm

Re: REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
have things set up right, you will see the static content requests in the Apache log, but not the Tomcat access log. Jeff - Original Message - From: Cindy Ballreich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 22, 2002 11:04 AM Subject: REPOST: mod_jk.log question I'm

Re: REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
returned to the browser? Your mod_jk log certainly makes it seem like '/images/logo_level2.gif' is being mapped into the servlet name space. - Original Message - From: Cindy Ballreich [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 22, 2002 1:46 PM Subject: Re: REPOST

mod_jk.log question

2002-03-20 Thread Cindy Ballreich
I'm using mod_jk with Tomcat 4.0.1 and Apache 1.3.19 on a Redhat 7.0 system. Looking at my mod_jk.log file, it appears that mod_jk is trying to map every request that comes to my server, regardless of whether it should be handled by Tomcat or Apache. This seems very inefficient to me and I'm

RE: java.util.zip.ZipException: Permission denied

2002-02-18 Thread Cindy Ballreich
At 02:00 PM 2/18/02 -0500, Delage, Dave wrote: I got this message once when I had two different versions of a jar file in two different locations. It took forever to debug. (The jar file was part of the Informix JDBC driver package.) Once I deleted the wrong version, the ZipException went

java.util.zip.ZipException: Permission denied

2002-02-15 Thread Cindy Ballreich
Can anyone tell me why I would be getting a java.util.zip.ZipException: Permission denied error in catalina.out? (The entire error is at the bottom of this e-mail.) This seems to be the last things that happens when tomcat starts. I'm also getting some similar errors in my application's log

Re: java.util.zip.ZipException: Permission denied

2002-02-15 Thread Cindy Ballreich
At 03:38 PM 2/15/02 -0800, Craig R. McClanahan wrote: Normally, a permission denied message like this would imply that operating system permissions are not set correctly. I've never tried Tomcat with the Blackdown JDK, so there could also be a bug in the way Blackdown implements JAR file

problem with WebAppConnection at boot time

2002-02-07 Thread Cindy Ballreich
I've been reading through the archives and I've seen a lot of questions about using mod_webapp. In general, mod_webapp seems to be working pretty well for me. My problem is that it doesn't seem to be able to make a connection when httpd is started at boot time. I'm using RedHat 7.0 and I've

RE: problem with WebAppConnection at boot time

2002-02-07 Thread Cindy Ballreich
John, Thanks for the info! I wrote a new script loading both Tomcat and Apache with sleep 10 in between and it does work. The other behaviors you describe certainly are strange. I haven't seen them yet, but I've only just upgraded from Tomcat 3.3 a couple of days ago. How do you feel about