Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Hi, everybody: I was trying out the DataSourceRealm configuration by following the documentation included in the installation of Tomcat 5.5.23 on my machine but could not make it work. It would be very much appreciated if Tomcat gurus and veterans can spare some time reading my message and help

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Jason Ling a écrit : I changed the Realm element in the server.xml file, and it became: Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=jdbc/webappDB

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Jason Ling a écrit : I changed the Realm element in the server.xml file, and it became: Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=jdbc/webappDB

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
, and is not in any of the attributes listed above. Did I miss any components in the configuration that I tried? Jason On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Jason Ling a écrit : I changed the Realm element in the server.xml file, and it became: Realm

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
of your datasource configuration, which agina is separate from the realm. Jason Ling a écrit : Thank you, David. Sorry, I sent this message two times, each time only the quoted message was sent, but not my reply. This is another try. Actually I did read the document you provided

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
specific. The file can be either located in META-INF/context.xml in your webapp for auto configuration or be put manually in tomcat config (conf/Catalina/host/webapp.xml) Jason Ling a écrit : Thank you, David. Now it works! I looked back into the documentation for DataSource

Re: Configuring DataSourceRealm using Oracle

2008-03-03 Thread Jason Ling
Thank you Mark for your clue! Jason On Mon, Mar 3, 2008 at 4:14 PM, Mark Thomas [EMAIL PROTECTED] wrote: Jason Ling wrote: What is the the realm-name sub-element of login-config for in the application's web.xml file, when and how is it used? Suppose I configure more than one Realm

Re: DataSource binding for JSP

2008-02-14 Thread Jason Ling
- Hash: SHA1 Jason, Jason Ling wrote: | When the file is invoked, | it only returns the header row of the table (First Name, Last Name, User | Name, Password), but does not return the expected records from the Oracle | data table. [snip] | %! DataSource ds; % This is dangerous; you

Re: DataSource binding for JSP

2008-02-14 Thread Jason Ling
directory's .xml files ? -Original Message- From: Jason Ling [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 3:40 PM To: users@tomcat.apache.org Subject: DataSource binding for JSP I have the following jsp file on tomcat 5.5.23. When the file is invoked, it only returns

DataSource binding for JSP

2008-02-13 Thread Jason Ling
I have the following jsp file on tomcat 5.5.23. When the file is invoked, it only returns the header row of the table (First Name, Last Name, User Name, Password), but does not return the expected records from the Oracle data table. The entire jsp file is as follows: %@ page session=false % %@