Hi,
I want to provide a login page for my web applicatioin. I used the
memory realm, by making changes in the server.xml. But it started giving
me Connection errors, and I was not able to see the web pages. Then I
commented the Memory realms tag and then I was able to see the web pages
Hi,
I was making some changes to my server.xml (I was adding another
context to it). I was also using the webpage of manager. But even after
making changes I cannot see the newly context available in the manager
window. I decided to restart tomcat using command line. But I am getting
the
Hi,
Does tomcat provides any help in creating the log in page. I want
to create a login page, that will accept same username and password
specified in server.xml particular data source context (for logging to
database) in the ResourceParams tag.
Thanks.
Avinash Arora
Hi,
When we obtain the Statement object from the connection object is it
necessary to close the statement object separately, when I am closing
the connection object. I had an impression that when we close the
Connection object the Statement and Result set objects get closed
automatically. Am I
Hi,
How do we set up the number of connections that we want, while using
dbcp connection pooling provided by tomcat. I think we have to configure
some xml file. But don't know what changes we have to make in which
file. Can any body give a sample file.
Thanks.
Avinash Arora
block? To me, the message tells that the web.xml
and
java code is fine. The server.xml is not edited correctly.
in you server.xml, you put ResourceParams name=jdbc/conversion, but
where is the resource jdbc/conversion?
-Original Message-
From: Arora, Avinash [mailto:[EMAIL PROTECTED]
Sent
Hi,
How can we specify the location of config file, so that we don't have
to hardcode it in our code. Thanks.
Avinash Arora
Avinash Arora
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 3:27 PM
To: [EMAIL PROTECTED]
Subject: tomcat
: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 4:29 PM
To: Tomcat Users List
Subject: RE: DB connection pool problem
You have to add
con = dataSource.getConnection();
after
dataSource = (DataSource)ctx.lookup(jdbc/conversion);
-Original Message-
From: Arora, Avinash
,
ResultSet.CONCUR_READ_ONLY );
rs = pStateSearch.executeQuery();
That's all.
-Original Message-
From: Arora, Avinash [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 3:10 PM
To: Tomcat Users List
Subject: DB connection pool problem
Hi,
I am
you're mixing incompatible database access methods.
Try doing dataSource.getConnection() after getting a valid datasource
instead. You'll be happier with the result. Take a look at the
javadocs for javax.sql.DataSource for more info.
--David
Arora, Avinash wrote:
Hi friends
Hi,
I am also having the problem with the connection pools. Since I am
writing an application first time by using connection pools, I created a
test application DBTest. I edited my server.xml and web.xml (of my
application in following way--
#added to server.xml
Context path=/DBTest
)
Apache Tomcat/4.1.29
Avinash Arora
Avinash Arora
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
)
Apache Tomcat/4.1.29
Avinash Arora
Avinash Arora
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
13 matches
Mail list logo