ContextConfig[/ipcs]: No Realm has been configured to authenticate against...

2003-04-03 Thread Uros Kotnik
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 applicat

Accessing my Realm implementation trough JNDI

2003-02-19 Thread Uros Kotnik
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(); MyData

RE: DataSourceRealm, Exception performing authentication ?

2003-02-10 Thread Uros Kotnik
: [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 "

DataSourceRealm, Exception performing authentication ?

2003-02-08 Thread Uros Kotnik
Here is the problem, I defined DataSource in Server.xml in Context for my app like this : and that connection is working OK from my test servlet like this : Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); DataSourc

DataSourceRealm

2003-02-07 Thread Uros Kotnik
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

DataSourceRealm

2003-02-07 Thread Uros Kotnik
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

RE: Cannot load JDBC driver class 'null' , again

2003-02-07 Thread Uros Kotnik
5 >To: [EMAIL PROTECTED] >Subject: RE: Cannot load JDBC driver class 'null' , again > >Is your jdbc driver in jar file? > >Regards, > > >PQ > >"This Guy Thinks He Knows Everything" >"This Guy Thinks He Knows What He Is Doing" >

RE: BUG...? java.sql.SQLException: Cannot load JDBC driver class 'nul l'

2003-02-06 Thread Uros Kotnik
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

RE: Cannot load JDBC driver class 'null' , again

2003-02-06 Thread Uros Kotnik
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, This questi

Cannot load JDBC driver class 'null' , again

2003-02-06 Thread Uros Kotnik
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 -- factory org.apache.commons.dbcp.BasicDataSourceFactory