ODP: JDBC Realm Problems; Probably server.xml related...

2001-03-12 Thread Herchel Wojciech

i'm sorry - i did not mean to offend you - my point was only that it is not
perfect.
i still have a problem with jdbcrealm and it wasn't me who first said that "
looks
like some of the code [jdbcRealm] in 3.2.1 is never called." 
anyways, keep up with the good work! :)

vVolf


> -Oryginalna wiadomooeæ-
> Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
> Wys³ano: 12 marca 2001 10:12
> Do: '[EMAIL PROTECTED]'
> Temat: RE: JDBC Realm Problems; Probably server.xml related...
> 
> 
> Well you can:
> 
> * report a bug in http://nagoya.apache.org/bugzilla 
> 
> * study JDBCRealm and related and send a patch ( trought a bug report
> I.e. ) to help us solve your problems.
> 
> * Buy some other container... that resolves your problems.. :)
> 
> Whichever way you elect to help yourself, will help us too... but only
> words can not help anybody
> 
> TIA
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -Mensaje original-
> > De: Herchel Wojciech [mailto:[EMAIL PROTECTED]]
> > Enviado el: lunes 12 de marzo de 2001 10:00
> > Para: '[EMAIL PROTECTED]'
> > Asunto: ODP: JDBC Realm Problems; Probably server.xml related...
> > 
> > 
> > and does not work for bunch of others...
> > 
> > vVolf
> > 
> > 
> > > -Oryginalna wiadomooec-
> > > Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
> > > Wyslano: 12 marca 2001 09:53
> > > Do: '[EMAIL PROTECTED]'
> > > Temat: RE: JDBC Realm Problems; Probably server.xml related...
> > > 
> > > 
> > > > looks like jdbcrealm is not tip-top finished - it's 
> > > > malfunctioning all the
> > > > time. 
> > > 
> > > Thanks for you help... 
> > > 
> > > but JDBCRealm works for a bunch of other people ( me too ).. 
> > > 
> > > Your help will be highly appreciatted to help out in 
> > "tip-top" finish
> > > it..
> > > 
> > > TIA
> > > 
> > > Saludos ,
> > > Ignacio J. Ortega
> > > 
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: 
> [EMAIL PROTECTED]
> > > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




ODP: JDBC Realm Problems; Probably server.xml related...

2001-03-12 Thread Herchel Wojciech

and does not work for bunch of others...

vVolf


> -Oryginalna wiadomooeæ-
> Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
> Wys³ano: 12 marca 2001 09:53
> Do: '[EMAIL PROTECTED]'
> Temat: RE: JDBC Realm Problems; Probably server.xml related...
> 
> 
> > looks like jdbcrealm is not tip-top finished - it's 
> > malfunctioning all the
> > time. 
> 
> Thanks for you help... 
> 
> but JDBCRealm works for a bunch of other people ( me too ).. 
> 
> Your help will be highly appreciatted to help out in "tip-top" finish
> it..
> 
> TIA
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




ODP: JDBC Realm Problems; Probably server.xml related...

2001-03-11 Thread Herchel Wojciech

looks like jdbcrealm is not tip-top finished - it's malfunctioning all the
time. 
my idea is that tomcat tries to tell you that a connetionName is missing -
on the other hand docs say it's optional... anybody any ideas?

vVolf


> -Oryginalna wiadomooeæ-
> Od: eric chacon [mailto:[EMAIL PROTECTED]]
> Wys³ano: 12 marca 2001 03:13
> Do: [EMAIL PROTECTED]
> Temat: JDBC Realm Problems; Probably server.xml related...
> 
> 
> I am trying to set up a JDBC Realm on tomcat 3.2.1. After 
> modifying the 
> server.xml file (shown below), tomcat will no longer start.
> 
> I am quite new to tomcat and Linux, in genral.
> 
> I have not modified any of the other xml files (the web.xml for my 
> application, for instance).
> 
> I have set up my database (Postgresql) as described in the 
> JDBC Realms 
> How-To.
> I'm running on Linux (Corel, if it matters).
> I've added the mod_jk.so; Apache handles static HTML and 
> routes requests for 
> JSPs and Servlets to Tomcat. This appears to work fine.
> 
> 
> Here is my entry in the server.xml file
> 
>   className="org.apache.tomcat.request.JDBCRealm"
> debug="99"
> driverName="org.postgresql.Driver"
>   
> connectionURL="jdbc:postgresql://localhost:5432/mysite_userdb"
> userTable="users"
> userNameCol="user_name"
> userCredCol="user_pass"
> userRoleTable="user_roles"
> roleNameCol="role_name" />
> 
> Here is the error I get when I try to start Tomacat
> 
> FATAL:java.lang.RuntimeException: JDBCRealm.start.readXml: 
> The user property 
> is missing. It is mandatory.
> java.lang.RuntimeException: JDBCRealm.start.readXml: The user 
> property is 
> missing. It is mandatory.
> at 
> org.apache.tomcat.request.JDBCRealm.contextInit(JDBCRealm.java,
> Compiled Code)
> at
> org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
> Compiled Code)
> at 
> org.apache.tomcat.core.ContextManager.init(ContextManager.java,
> Compiled Code)
> at 
> org.apache.tomcat.startup.Tomcat.execute(Tomcat.java, Compiled
> Code)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java, 
> Compiled Code)
> 
> I have all the necessary databases set up, I can connect to 
> postgres from 
> stand-alone programs. I have the JDBC drivers in the 
> classpath and in the 
> tomcat/lib directory.
> 
> If I remove the connectionURL line or the driverName line, I 
> get appropriate 
> error messages telling me that these attributes are required.
> 
> If I remove the RequestInterceptor entry for JDBC realms 
> entirely, tomcat 
> starts, and I can run servlets and JSPs.
> 
> I'm not sure what a user property is... is this a simple 
> oversight that I'm 
> missing?
> 
> Cheers, and thanks,
> 
> Eric
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]