Data Truncation Error

2006-03-21 Thread Mark Whitby
=falseautoReconnect=true Tomcat fails to start and I have to remove the truncation bit so it just reads url=jdbc:mysql://localhost:3306/fyp?autoReconnect=true with which Tomcat does start up. So how can I get rid of this error? Many thanks Mark Whitby

Re: Data Truncation Error

2006-03-21 Thread Mark Whitby
anyone know how I can set the truncation to false and still have the auto reconnect on? Mark - Original Message - From: Mark Whitby [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, March 21, 2006 8:59 PM Subject: Data Truncation Error Hello all, I am

Setting up a secure area

2006-03-12 Thread Mark Whitby
pages to log into the secure area, or the code to make the /secure/ folder secure. I've looked everywhere but can't for the life of me find it! Can anyone point me in the right area? Mark Whitby

Re: Setting up a secure area

2006-03-12 Thread Mark Whitby
realm-nameLoginRealm/realm-name form-login-config form-login-page/loginForm.jsp/form-login-page form-error-page/loginError.jsp/form-error-page /form-login-config /login-config security-role role-nameadmin/role-name /security-role HTH Mark Mark Whitby

Problems with JavaMail

2006-03-11 Thread Mark Whitby
); message.setContent(Test email, text/plain); Transport.send(message); Can anyone tell me where I'm going wrong? Many thanks Mark Whitby

Re: Problems with JavaMail

2006-03-11 Thread Mark Whitby
PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, March 11, 2006 3:15 PM Subject: Re: Problems with JavaMail Yes, you need an SMTP server. If you've got Outlook Express running, you can use the same server it's using. -- Len On 3/11/06, Mark Whitby [EMAIL PROTECTED] wrote

Re: Problems with JavaMail

2006-03-11 Thread Mark Whitby
, it should be whatever email server Outlook Express uses (look in Tools Accounts). -- Len On 3/11/06, Mark Whitby [EMAIL PROTECTED] wrote: Thanks for the email Len, So if that's the case where am I going wrong with my code to get the error described in my first email? What settings do I need

Re: Problems with JavaMail - catching bounced emails - help

2006-03-11 Thread Mark Whitby
. If the address is invalid e.g [EMAIL PROTECTED] I want an Java exception to catch this rather than just get a bounced email. Is there any way to do this? Mark - Original Message - From: Mark Whitby [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday

Getting the date from a Tomcat httpsession

2006-03-06 Thread Mark Whitby
Dear all, Apologies if this isn't really relevant but I'm struggling for what to do! I have a table in a MySQL database with a DATE column in the format -mm-dd (incidentally does anyone know how to change this?) and I'm trying to do a date entry and comparison using a Java Servlet.

Problems with extracting beans from a JavaServer Page

2006-03-02 Thread Mark Whitby
a null pointer error. Can anyone help me and tell me how I can extract the gameBean from the page? Many thanks Mark Whitby [EMAIL PROTECTED]

Re: - Problems with extracting beans from a JavaServer Page

2006-03-02 Thread Mark Whitby
Voice: 214.782.2834 Fax: 214.782.2900 -Original Message- From: Mark Whitby [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 1:47 PM To: Tomcat Users List Subject: [SPAM] - Problems with extracting beans from a JavaServer Page - Bayesian Filter detected spam Hey all, This may seem

Re: - Problems with extracting beans from a JavaServer Page

2006-03-02 Thread Mark Whitby
Senior Developer e-Rewards, Inc. 8401 N. Central Expressway, Suite 900 Dallas, TX 75225 Voice: 214.782.2834 Fax: 214.782.2900 -Original Message- From: Mark Whitby [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 2:00 PM To: Tomcat Users List Subject: Re: - Problems with extracting

Re: Fw: Servlet problem

2006-02-21 Thread Mark Whitby
problem From: Mark Whitby [mailto:[EMAIL PROTECTED] Subject: Re: Fw: Servlet problem If nothing is found then it redirects the user to searchnone.jsp. If an item or more than one item is found then the page will redirect to itemlist.jsp or matchlist.jsp As a previous poster pointed out, there's

Re: JNDI Datasource Problem

2006-02-20 Thread Mark Whitby
Message- From: chuanjiang lo [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 7:25 AM To: Tomcat Users List Subject: Re: JNDI Datasource Problem i think you would need to change the context.xml? On 2/20/06, Mark Whitby [EMAIL PROTECTED] wrote: Hey guys, Thanks for the help

Re: JNDI Datasource Problem

2006-02-20 Thread Mark Whitby
paramters go in the Resource ... tag with name=value format just like name and auth from your example below. i.e. maxIdle=30. -marc --- Mark Whitby [EMAIL PROTECTED] wrote: Hey guys, Thanks for the help with the previous problem I had, I've managed to solve them now thanks to your help

Servlet problem

2006-02-20 Thread Mark Whitby
Hi all, Apologies for the stupidity of this email but I'm having a few servlet problems. I've created the following SearchServlet.java file, compiled it into a class file using Netbeans then copied the class file into my WEB-XML/classes file. Now for testing the servlet is very limited but

Fw: Servlet problem

2006-02-20 Thread Mark Whitby
EDIT: I've sent this twice because the first one contained an error in what I wrote. Ignore the first one. Hi all, Apologies for the stupidity of this email but I'm having a few servlet problems. I've created the following SearchServlet.java file, compiled it into a class file using

Re: Fw: Servlet problem

2006-02-20 Thread Mark Whitby
@tomcat.apache.org Sent: Monday, February 20, 2006 10:23 PM Subject: Re: Fw: Servlet problem per your web.xml http://localhost:8080/WEB-INF/classes/SearchServlet?itemvalue=type+search+criteria+here should be http://localhost:8080/searchmatch.jsp?itemvalue=type+search+criteria+here Filip Mark

Re: Fw: Servlet problem

2006-02-20 Thread Mark Whitby
. Is there any wy map both pages in one go? Mark - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, February 20, 2006 10:36 PM Subject: RE: Fw: Servlet problem From: Mark Whitby [mailto:[EMAIL PROTECTED

JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
' and the table is called 'testdata'. So where am I going wrong? Many thanks Mark Whitby Server.xml file: Context path=/DBTest docBase=DBTest debug=5 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_DBTest_log. suffix=.txt

Re: JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
Look up resource link. It goes in the context.xml Also only put the jar file in the common/lib and no where else. - Original Message - From: Mark Whitby [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, February 19, 2006 12:53 PM Subject: JNDI Datasource

Re: JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
@tomcat.apache.org Sent: Sunday, February 19, 2006 8:40 PM Subject: Re: JNDI Datasource Problem Since you have WatchedResources /, this suggests you are using some version of 5.5. In this case, the ResourceParams / is ignored (you set them as attributes on the Resource / tag). Mark Whitby [EMAIL

Re: JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
List users@tomcat.apache.org Sent: Sunday, February 19, 2006 9:22 PM Subject: Re: JNDI Datasource Problem There is no ResourceParams in 5.5. Check the documentation again, and make sure you're looking at the docs for 5.5 not 5.0. -- Len On 2/19/06, Mark Whitby [EMAIL PROTECTED] wrote: Yes I'm

Re: JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
- Original Message - From: Mark Whitby [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, February 19, 2006 9:34 PM Subject: Re: JNDI Datasource Problem I've checked the documentation and yes I was reading the 5.0 version not the 5.5 one! However I've followed

Problems with web.xml file

2006-02-17 Thread Mark Whitby
. If anyone can tell me why the error-page and security-constraint tags aren't working I'd be very grateful. Many thanks Mark Whitby Web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds

Problem with setting up an SSL secure page

2006-02-08 Thread Mark Whitby
can't find any of the jar files that are mentionned in that area. However, I felt it best to ignore that as it says. So as you can see I've tried everything I can think of. Nothing as worked. If anyone can help me I would be extremely grateful. Many thanks Mark Whitby [EMAIL PROTECTED]

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Mark Whitby
Can you post the config files you consider relevant, in particular the server.xml. Have you enabled access logging in server.xml; if so, can you see it receiving the relevant request? Mike In reference to the Firewall, I'm using McAfee Security Centre (I have turned it on and off when

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Mark Whitby
.../ same as I have written. See if you get success. These instructions have been tested many times and it works with self-signed certificates. Let me know your progress and we will get you going on your project. Regards, D --- Mark Whitby [EMAIL PROTECTED] wrote: Dhavel, I'm unable to get