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
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
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
,
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
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
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
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
-
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
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
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 %
%@
10 matches
Mail list logo