Hi all!
Is it possible to get access to the MANIFEST.MF in META-INF from my
web-application?
I would like to read the version info stored there to be used in my
web-applicaton.
InputStream mfis =
this.getClass().getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF"
);
Manifest mf = new Mani
Hi all!
Because of a mistake in writing in my log4j configuration logging has been
set to debug mode.
When deploying the webapp Tomcat began to log thousands of debug messages,
and so
became unusable because of the heavy load. I had to stop Tomcat and delete
the webapp
from the webapp-directory ma
Hi andy!
As in the HOW-TO described you need two tables, one
table 'users' that holds the username and the password,
and one table that holds the username and the roles
the user is given (it is a mapping from users to roles).
My database has also two tables, but the first table holds
username, pas
Hi all!
I have got a question regarding setup of a JBDCRealm. I read the HOW-TO
on Tomcat homepage, and I am wondering about the database structure.
I have an existing application, and the database it uses has got a table
'users'
with the follwing columns: login, password, roleid,... where the rol
One change I have found is that when printing out a prepared statement (e.g.
for debugging),
you do not get the statement you have created, but only a reference I think.
-Ursprüngliche Nachricht-
Von: David Smith [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. Oktober 2005 17:40
An: Tom
Inspired by the last mail: Have you configured your remote database to
listen
to the ip-adress of your client. Does your databse accept connections from
there?
And is there a user installed on your remote database that has rights to
access it?
-Ursprüngliche Nachricht-
Von: Andoni [mailt
I dont know if it is required, but do you have a resource-ref
entry in your web.xml, something like this?
mySQL Datasource
jdbc/myAPP
javax.sql.DataSource
Container
where res-ref-name has to be the same as in context.xml.
And perhaps your look-up-name might not be correct, but I am
no