Implemented my own Realm(ASFramework.jar), put it in TC_home\server\lib
(Tomcat 4.1.18)
When I start TC I get this :
HttpConnector Opening server socket on all host IP addresses
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
ProxyServer Start
HostConfig[localhost]: Deploying web
Hi,
I implemented my own class for user authentication based on RealmBase
class
public class MyDataSourceRealm
extends RealmBase {...
Is it possible somehow to access MyDataSourceRealm over JNDI,
something like this.
try{
Context ctx = new InitialContext();
To: [EMAIL PROTECTED]
Subject: Re: DataSourceRealm, Exception performing authentication ?
Did you declare the Realm after your Resource or before it?
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
Uros
Here is the problem,
I defined DataSource in Server.xml in Context for my app like this :
Resource name=jdbc/TestDB auth=Container
type=javax.sql.DataSource/
and that connection is working OK from my test servlet like this :
Context initCtx = new InitialContext();
Context
in jar file?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Uros Kotnik [mailto:[EMAIL PROTECTED]]
Sent: February 6, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: Cannot load JDBC driver class 'null' , again
Hi
I'm using TC 4.1.8
I read a instructions for implementing DataSourceRealm basicaly same as
JDBCrealm but my tables for users and roles are connected with id
(number).
Users(id_user, login_name, pass)
Roles(id_role, role_name)
Users_Roles (id_user, id_role)
Because of that I can't use TC realm
I'm using TC 4.1.8
I read instructions for implementing DataSourceRealm, basicaly the same
as JDBCrealm but my tables for users and roles are connected with id
(number).
Users(id_user, login_name, pass)
Roles(id_role, role_name)
Users_Roles (id_user, id_role)
Because of that I can't use TC
Hi,
This question was probbably posted many times but I didn't found answer
and I really need it.
I'm using TC 4.1
DB : Hypersonic
HSQLDB.jar in \tomcat_home\common\lib
Server.xml
--
Context path=/DBTest docBase=DBTest
debug=5 reloadable=true crossContext=true
Logger
Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Uros Kotnik [mailto:[EMAIL PROTECTED]]
Sent: February 6, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: Cannot load JDBC driver class 'null' , again
Hi,
This question was probbably posted many times but I didn't
There must be a way to connect to DB from TC ?
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 17:54
To: 'Tomcat Users List'
Subject: RE: BUG...? java.sql.SQLException: Cannot load JDBC driver
class 'nul l'
Can you post the Bugzilla
10 matches
Mail list logo