Re: Subclassing DefaultServlet

2004-08-18 Thread Frans Flippo
urself a ton of trouble? > > > >Yoav Shapira > >Millennium Research Informatics > > > >>-Original Message- > >>From: Frans Flippo [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, August 18, 2004 8:42 AM > >>To: Tomcat Users

Subclassing DefaultServlet

2004-08-18 Thread Frans Flippo
Hi, I've added some functionality to DefaultServlet by subclassing it (i.e. we need to do some special processing to certain URLs, for others I will just call super.doGet(...)). I compiled the DefaultServlet subclass against Tomcat's servlets-default.jar in server/lib and deployed it in my web

Re: Permanent Delivery Failure

2004-07-29 Thread Frans Flippo
cepted --> RCPT To:<[EMAIL PROTECTED]> <-- 551 [EMAIL PROTECTED] failed to route the address --- End Transcript --- : Message contains [1] file attachments Subject: Re: Mysterious null pointer exception From: Fran

Re: Symantec Mail Security detected that you sent a message containing prohibited content (SYM:01879276160509391668)

2004-07-29 Thread Frans Flippo
Hi, Could the tomcat-user subscriber at this domain (talisentech.com) please tell me what "prohibited content" my message contained, and if it did not contain any, please properly configure their "mail security" program? Thanks, Frans [EMAIL PROTECTED] wrote: Subject of the message: Re: Mysterio

Re: Mysterious null pointer exception

2004-07-29 Thread Frans Flippo
Try debugging. You have two options. 1) Insert System.out.println() statements in your code printing out references that might be null. This should point you in the right direction. 2) Use the Java Debugger (jdb) to debug your servlet. Start as jdb -connect com.sun.jdi.SocketAttach:hostname=loca

Re: Why does nobody never answer my question ??

2004-07-26 Thread Frans Flippo
Olivier wrote: Don't you like me Yeah, we hate you. In fact, we're saving up all your e-mails so we can bounce them all at once and crash your mail server so we never hear from you again. *sigh* You sent your question 90 minutes ago. You can't expect a reply that fast. Wait for a few mo

Re: "HTTP Status 503 Error:Servlet is currently unavailable." javax.servlet.ServletException: Wrapper cannot find servlet class or a class it depends on

2004-07-26 Thread Frans Flippo
The url-pattern is relative to the webapp root. So in your case it should be /SccServlet instead of /scc_html/SccServlet Hope that helps. Regards, Frans SccServlet /scc_html/SccServlet . - To unsubscri

Connection pooling with two databases

2004-06-29 Thread Frans Flippo
Hi, We're using Tomcat 4.1.30 and PostgreSQL 7.3.4 to run a high-volume website. We connect to two different databases using database connection pooling and occasionally a mixup seems to occur where a query intended for database A is executed on database B, or vice versa. Postgres says "Relation