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
correctly
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 follwin
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 c
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
---
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: t
ssage tells that the web.xml
and
java code is fine. The server.xml is not edited correctly.
in you server.xml, you put , but
where is the resource "jdbc/conversion"?
-Original Message-----
From: Arora, Avinash [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 4:07 PM
To: Daxin Zu
y. Connection object found to be
> null");
>
>
> Why are you doing a Class.forName call after getting a datasource
> object? I think you're mixing incompatible database access methods.
> Try doing dataSource.getConnection() after getting a valid datasource
>
x27;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 w
str = "select * from myTable";
pStateSearch = con.prepareStatement(str,
ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY );
rs = pStateSearch.executeQuery();
That's all.
-Original Message-
From: A
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
Thread.java:536)
Apache Tomcat/4.1.29
Avinash Arora
Avinash Arora
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thread.java:536)
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