Hello,
I'm new to Tomcat and I need some help.
I have to configure tomcat to authenticate users of a single web application
against MySql Database tables of users and roles.
Following Tomcat guide I made this steps:
1) Create users and roles table as described in tomcat guide and copping
Connect
Thank Franck but it seems it doesn't work anyway.. but I've found some other
info..
The defaul server.xml bundled with tomcat installation (i'm Under Windows XP
OS :-/)
declare a standard "in Memory" realm based on file /conf/tomcat-users.xml in
the "Engine" element and I can't delete it because o
so now these are my config files:
server.xml:
factory
org.apache.catalina.users.MemoryUs
name. Try checking through it, or
comparing it to a fresh server.xml from a Tomcat distro. Frustrating, but
that's all it will be I think. Not sure if the carriage return is allowed or
not in the value here ..
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
-Original M
Realm
>
>
> I suspect from the error msg that your server.xml is non well-formed
> somewhere, has a syntax error or bad class name. Try checking through it,
or
> comparing it to a fresh server.xml from a Tomcat distro. Frustrating, but
> that's all it will be I think. Not sure
-Messaggio originale-
Da: Stephen More [mailto:[EMAIL PROTECTED]
Inviato: venerdì 19 maggio 2006 13.40
A: Tomcat Users List
Oggetto: Re: Help with Tomcat & MySQL using JNDI
On 5/17/06, Parsons Technical Services <[EMAIL PROTECTED]>
wrote:
> Now I will assume you have reviewed
http://tom
Sorry, it seems I sent a blank reply..
Anyway... I had the same problem with using JNDI with realm.. and finally I
wrote a context.xml which works fine..
/meta-inf/context.xml:
The Resource jdbc/pmsRead works fine with the realm and within every class
of my web application if I