ng desperate so does 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"
Sent: Tuesday, March 21, 2006 8:59 PM
Subject: Data Truncation
runcation=false&autoReconnect=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
stricts access to any request
(url-pattren) to any user that doesn't have the role "admin"...
Access control
Protected Area
/*
DELETE
GET
POST
PUT
admin
NONE
FORM
LoginRealm
k of how to use the login 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
. 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"
Sent: Sat
;t be "localhost", 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 i
p" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
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 &
ge.setSubject("Test email");
message.setContent("Test email", "text/plain");
Transport.send(message);
Can anyone tell me where I'm going wrong?
Many thanks
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. Howeve
what
object.
Ron Day
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
ressway, 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 1:47 PM
To: Tomcat Users List
Subject: [SPAM] - Problems with extracting beans from a JavaServer Page
- Bayesian Filter detected sp
I can extract the gameBean from the page?
Many thanks
Mark Whitby
[EMAIL PROTECTED]
David,
Thanks very much for the tips. I haven't yet got it in a package as I am
just using this for testing at the moment though I had managed to find out
about number 2 and 3 for myself. Thanks for the hint though.
Now I have another problem with the following code:
import java.io.*;
impo
ved the problem fine. It's my fault for
misunderstanding how things were processed.
Thanks for everyone's help again
Mark
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, February 21, 2006 8:24 AM
OTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 20, 2006 11:30 PM
Subject: RE: Fw: Servlet 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
- SearchServlet. Is there
any wy map both pages in one go?
Mark
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 20, 2006 10:36 PM
Subject: RE: Fw: Servlet problem
From: Mark Whitby
o: "Tomcat Users List"
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
Fi
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 Netbeans
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
hange.
Have you verified that the db connection works at all
with the url that you're using?
-marc
--- Mark Whitby <[EMAIL PROTECTED]> wrote:
Yeah I know, I was using the wrong guide. I'm using
Tomcat 5.5.15. However I'm now using the right
guide and still have the sam
version here,
> but in 5.5 the part of the config is
> no longer used. All paramters go in the ...> tag with name="value" format just like name and
> auth from your example below. i.e. maxIdle="30".
>
> -marc
>
> --- Mark Whitby <[EMAIL PROTECTED]&g
cation is
started.
-Original 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:
correct.
Mark
- Original Message -----
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
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 on
oblem
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 using version 5.5.15. What I have in the server.xml file is what
is
advis
PROTECTED]>
To:
Sent: Sunday, February 19, 2006 8:40 PM
Subject: Re: JNDI Datasource Problem
Since you have , this suggests you are using some
version of 5.5. In this case, the is ignored (you set
them as attributes on the tag).
"Mark Whitby" <[EMAIL PROTECTED]> wrot
le (rs.next()) {
out.println(rs.getString("foo")+"");
}
rs.close();
conn.close();
%>
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, February 19, 2006 7:26 PM
Subject: Re: JNDI Data
e jar file in the common/lib and no where else.
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, February 19, 2006 12:53 PM
Subject: JNDI Datasource Problem
Hey guys,
Thanks for the help with the previous
same
problem.
I'm using MySQL, database is called 'fyptest' and the table is called
'testdata'. So where am I going wrong?
Many thanks
Mark Whitby
Server.xml file:
factory
org.apache.commons.dbcp.BasicDataSourceFactory
t this out everything works fine. Any ideas why?
Mark
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, February 17, 2006 3:55 PM
Subject: Problems with web.xml file
Hi there,
I've set up a basic web.x
art from my server.xml file are attached.
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:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
index.jsp
4
ry to
use the 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:
TTPS.html
May be someone help you out with Tomcat 5.0 but since I know things are
working with Tomcat
5.5 so I thought above instructions will make you move quickly.
Let us know your experience.
Regards,
D
--- Parsons Technical Services <[EMAIL PROTECTED]> wrote:
What is in the
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 tryi
think about
installing the JSSE 1.3 to see if that had an effect, as I 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]
34 matches
Mail list logo