-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You need to use localDataSource="true" so the Realm looks locally
for the DataSource.
Great, that is even better (and it also works) :-)
Thanks again.
MaxX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAkvsZgwACgkQ/6VV
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm not positive about this, but I think your
declaration will need to be in server.xml in order to be used for a
(even though the is specific to just one
). The authentication is done by Tomcat, not the webapp,
so it's Tomcat that has to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,
Ew. Don't use a JDBCRealm (it's synchronised etc), use a
DataSourceRealm with an appropriately configured DataSource.
so I changed my META-INF/context.xml to:
- ---
- ---
and added some lines to the WEB-INF/w
Hello,
I installed Tomcat 6.0.26 and PostgreSQL 8.3 on my PC (win) and a
server (ubuntu). On both's machines the databases are similar.
I use Eclipse 3.5 Java EE (Dynamic Web Project). My project uses
"Form based authentication".
The META-INF folder contains a context.xml:
---
c