Michael Ni wrote:
public ResultSet getData(String queryStr) throws Exception
{
try {
DBConstants db = new DBConstants();
Class.forName(db.getDrivername());
Connection conn;
conn =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ni wrote:
i don't get any error when there isn't that much traffic
but i dont close my jdbc connections, could that be a problem?
Oh, yeah. Failing to close connections is very likely to give you
errors, as you will end up
You need to configure your database connection pool so that it accepts
unlimited users or the certain limit that you require.
Check the tomcat website for the syntax.
@tomcat.apache.org
Sent: Friday, January 05, 2007 4:42 PM
Subject: Re: web application - student need help
Did you configure a connection pool in Tomcat? Then,
get a connection object from the pool for each data
search method invocation.
I am at work now. I do not have the configuration
thx caroline
From: Caroline Jen [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: web application - student need help
Date: Fri, 5 Jan 2007 13:42:18 -0800 (PST)
Did you configure a connection pool in Tomcat
Subject: Re: web application - student need help
Date: Fri, 05 Jan 2007 17:10:13 -0500
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ni wrote:
i don't get any error when there isn't that much traffic
but i dont close my jdbc connections, could that be a problem?
Oh, yeah
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ni wrote:
even with connection pooling, how many connections are we looking at
here? if my project works as intended, im predicting from 30 to 1000
poeple simultaneously hitting tomcat and sql server.
What you really need to
classes?
From: Christopher Schultz [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: web application - student need help
Date: Fri, 05 Jan 2007 17:10:13 -0500
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
=2 disableUploadTimeout=true /
I use 9191 because 8080 is already in use on the server. Do I need to change it
to something else?
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 20 décembre, 2006 16:57
To: Tomcat Users List
Subject: Re: Need help with JK2 connector
PROTECTED]
Gesendet: Donnerstag, 21. Dezember 2006 19:12
An: Tomcat Users List; Martin Gainty
Betreff: RE: Need help with JK2 connector/workers2.properties
This?
!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
Connector
port=9191 maxHttpHeaderSize=8192
maxThreads
Yes, it is running on 2003. I also created the web extension and it is allowed.
-Original Message-
From: Uhlig, Stefan [mailto:[EMAIL PROTECTED]
Sent: 21 décembre, 2006 16:05
To: Tomcat Users List
Subject: AW: Need help with JK2 connector/workers2.properties
Do you run a Windows 2003
-examples/ works fine but I get a 404 if
I try to go to http://192.168.64.20/jsp-examples/.
What am I missing?
Thanks!
Simon
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 19 décembre, 2006 14:20
To: Tomcat Users List
Subject: RE: Need help with JK2 connector
From: Simon Renshaw [mailto:[EMAIL PROTECTED]
Subject: Need help with JK2 connector/workers2.properties
I followed the instructions found at
http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
connector.
The mod_jk2 package has been deprecated for well over a year
Caldarale, Charles R schrieb:
From: Simon Renshaw [mailto:[EMAIL PROTECTED]
Subject: Need help with JK2 connector/workers2.properties
I followed the instructions found at
http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
connector.
The mod_jk2 package has been
At the point I'm at, I will try this.
Thanks!
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: 19 décembre, 2006 14:29
To: Tomcat Users List
Subject: Re: Need help with JK2 connector/workers2.properties
Caldarale, Charles R schrieb:
From: Simon Renshaw [mailto
Hi
I'd like to read an element from /Apache Software Foundation/Tomcat
5.5/conf/context.xml file from my program.
The element is one of many Parameter elements of the form Parameter
name=foo value=bar/
The context.xml is laid out as
Context allowLinking=*true*
From: Lenny Wintfeld [mailto:[EMAIL PROTECTED]
Subject: Need help reading context.xml in Tomcat's conf directory
The context.xml is not part of the web-app servlet directory tree,
its in Tomcat's conf directory.
The context.xml file in the conf directory is common to all webapps.
You can
Andy Tipton wrote:
I have read all through the documentation and can't find what I am doing
wrong. The only thing that I didn't do was the importing of the
valicert_class2_root.crt file because I wasn't given one when I downloaded
my certificate. I imported the real one after I imported the
PROTECTED] On Behalf Of Saravana Kumar
Sent: Wednesday, November 15, 2006 5:07 AM
To: users@tomcat.apache.org
Subject: Re: Need help w/ installing certificate continued...
Andy Tipton wrote:
I have read all through the documentation and can't find what I am doing
wrong. The only thing that I didn't
-file signed certificate
That's my suggestion.
-Original Message-
From: Andy Tipton [mailto:[EMAIL PROTECTED]
Sent: Thursday, 16 November 2006 11:23 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Need help w/ installing certificate continued...
I have done the following... (I am
: Re: Need help w/ installing certificate continued...
Andy Tipton wrote:
I have read all through the documentation and can't find what I am doing
wrong. The only thing that I didn't do was the importing of the
valicert_class2_root.crt file because I wasn't given one when I
downloaded
my
Users List'
Subject: Need help w/ installing certificate.
Afternoon,
I have my real certificate downloaded. I am trying to
install
it into my keystore so that is the one to be used. however, I am can't
get
it to work. Please help!!
I am running these commands but I
I have read all through the documentation and can't find what I am doing
wrong. The only thing that I didn't do was the importing of the
valicert_class2_root.crt file because I wasn't given one when I downloaded
my certificate. I imported the real one after I imported the intermediate
crt.
Hi,
IF ANYBODY CAN HELP PLS HELP ME AS SOON AS POSSIBLE
This is Jayant Kr. Punjabi from iTG india Pvt. Ltd., Jaipur(INDIA). We are
using comet feature provided by Tomcat 6.0. According to Documantation we
have implemented the CometProcessor Interface this is same as example given
in Tomcat
Hi,
This is Jayant Kr. Punjabi from iTG india Pvt. Ltd., Jaipur(INDIA). We are
using comet feature provided by Tomcat 6.0. According to Documantation we
have implemented the CometProcessor Interface this is same as example given
in Tomcat Advanced IO documentation. but when we sends a
/tomcat-seems-slowing-down%2C-need-help-tf2326113.html#a6471383
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
You can configure a tomcat datasource to get a
connection or you can load your database driver and
get a connection object.
The advantage with using tomcat datasource is that it
will handle connection pooling for you.
The tomcat docs explain how to define a datasource
(you have to do it in
I don't suppose that on the Tomcat site there is a Type 4 database
driver , which I have read is the preferred driver to get because it is
pure Java, is there instead of the 1 which I assume I can always get at
java.sun.com?
Sameer Acharya wrote:
You can configure a tomcat datasource to get
From: Steve R Burrus [mailto:[EMAIL PROTECTED]
Subject: Re: Need Help w. Servlets And The JDBC.
I don't suppose that on the Tomcat site there is a Type 4
database driver , which I have read is the preferred driver
to get because it is pure Java, is there instead of the 1
which I assume I
I am currently using the Microsoft SQL Server 2005 JDBC Driver. It is free.
If you need to connect to a SQL Server 2000 or 2005, this is a good driver.
On 9/21/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Steve R Burrus [mailto:[EMAIL PROTECTED]
Subject: Re: Need Help w. Servlets
to connect to a SQL Server 2000 or 2005, this is a good
driver.
On 9/21/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Steve R Burrus [mailto:[EMAIL PROTECTED]
Subject: Re: Need Help w. Servlets And The JDBC.
I don't suppose that on the Tomcat site there is a Type 4
database driver
to connect to a SQL Server 2000 or 2005, this is a good
driver.
On 9/21/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Steve R Burrus [mailto:[EMAIL PROTECTED]
Subject: Re: Need Help w. Servlets And The JDBC.
I don't suppose that on the Tomcat site there is a Type 4
database driver
a copy. Thank you.
- Original Message -
From: Steve R Burrus [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, September 21, 2006 6:31 PM
Subject: Re: Need Help w. Servlets And The JDBC.
Well this Microsoft SQL Server 2005 JDBC Driver. is it a Type 4 pure
Hi all. I am an admitted newbie when it comes to using a database
connection for a servlet to access. So can someone please tell me the
basics about how exactly I should go about doing this?? I have been very
much stumped about how I should do this for quite a long time now! I
just know that I
Google is your friend... here's a quick hit:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/cjvjdbas.htm
...and another (although slightly older, still looks to be valid)...
http://www.cs.bham.ac.uk/~aps/syllabi/2004_2005/issws/h01/jdbc.html
...and
Adding to that, you should try using a connection pool rather than
direct JDBC connection, once you get familiar with the fundamentals.
With connection pools the application performs better than not.
Santosh.
Frank W. Zammetti wrote:
Google is your friend... here's a quick hit:
I just installed Tomcat 5.5.17 onto
my IBM mainframe system, running operating system z/OS 1.7. I'm getting
numerous problems with JCL that I obtained from JZOS which is purported
to start tomcat, but I am getting numerous failures that I would appreciate
some help on.
The first is:
.
.
.
Sep
Kevin you need to submit please your Deployment Descrtiptor file, i.e.,
the web.xml, for the I assume a servlet kind of a web application! Yeah
you are right about the server error msg., it never indicates exactly
which line in that file has a problem in it.
Kevin Mullin wrote:
I just
You will have to look at catalina.sh and check how these two are being set
$JAVA_OPTS $CATALINA_OPTS
-Sameer
Lee Chalupa [EMAIL PROTECTED] wrote: Hello:
I need help figuring out how to modify my tomcat deployment so when the JVM
starts it starts with
a -server option. There seems to be a bug
-
From: Lee Chalupa [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 03, 2006 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: need help with .startup.sh
Well I think something else is going on here that has to do with how the
server is setup or maybe this userid.
Here is what I found out.
Nothing
Hello:
I need help figuring out how to modify my tomcat deployment so when the JVM
starts it starts with
a -server option. There seems to be a bug in the jvm implementation that
fedoracore 4 is using and using
this option when the jvm starts corrects the problem at least from my
application's
[mailto:[EMAIL PROTECTED]
Sent: Saturday, September 02, 2006 9:52 AM
To: users@tomcat.apache.org
Subject: need help with .startup.sh
Hello:
I need help figuring out how to modify my tomcat deployment so when the JVM
starts it starts with a -server option. There seems to be a bug in the jvm
Is the while... line number 19? If so make atest that is != null before you
continue.
Regards
Nils-Olov Fransson
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Steve R Burrus ha scritto:
I need some pretty immediate help/assistance with always getting a
NullPointerException Java exception when I try to view a particular
image in my favorite web browser!!! The line of text in my servlet file
which is, I think, problemmatic is a while loop. Well here
getResourceAsStream() will return null if the requested resource is not
available. Keep in mind that getRequestAsStream() is rooted to your
webapp, so the requested image needs to be found relative to the top
level of your web application.
--David
Steve R Burrus wrote:
I need some pretty
yes the while loop is on line number 19 okay. Please forgive me for my
ignorance about this, but I was wondering how I should go about doing
that check for a non-null value??
[EMAIL PROTECTED] wrote:
Is the while... line number 19? If so make atest that is != null before you
continue.
Simply compare to the key word null:
if ( is != null ) {
while ( is.read..etc.) {
}
}
--David
Steve R Burrus wrote:
yes the while loop is on line number 19 okay. Please forgive me for my
ignorance about this, but I was wondering how I should go about doing
that check for a
I was trying to see a simple servlet when I got the following server
error! What does that mean, a UnsupportedClassVersionError and how
do I go about fixing this problem in hopefully the quickest way possible??
HTTP Status 500 -
Steve R Burrs wrote:
I was trying to see a simple servlet when I got the following server
error! What does that mean, a UnsupportedClassVersionError and how
do I go about fixing this problem in hopefully the quickest way possible??
Usually something along the lines of running a class
I need some pretty immediate help/assistance with always getting a
NullPointerException Java exception when I try to view a particular
image in my favorite web browser!!! The line of text in my servlet file
which is, I think, problemmatic is a while loop. Well here is my entire
servlet file
We are receiving this error in the catalina.out logs. here's the full log
message:
Aug 24, 2006 4:09:15 PM org.apache.jasper.runtime.PageContextImpl release
WARNING: Internal error flushing the buffer in release()
We get this error repeatedly. We are running Tomcat 5.0.30.
Is there a way to
Hi there,
I recently downloaded and installed Tomcat 5.5.17 on my Windows XP machine,
and did some basical tests. It turns out that the it has problems executing
jsp files with the vrey basic functions. For example, I have a very simple
jsp file as follows:
---test.jsp
%@ page import =
did you import the proper packages into the JSP?
-Original Message-
From: Tom Jerry [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 12:06 PM
To: users@tomcat.apache.org
Subject: need help on jsp issue under Tomcat 5.5.17
Hi there,
I recently downloaded and installed Tomcat
To: users@tomcat.apache.org
Subject: need help on jsp issue under Tomcat 5.5.17
Hi there,
I recently downloaded and installed Tomcat 5.5.17 on my Windows XP
machine,
and did some basical tests. It turns out that the it has problems
executing
jsp files with the vrey basic functions. For example, I have
tomcat folder and it ran without a hitch. Can you
view the samples that come with tomcat?
-Original Message-
From: Tom Jerry [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 1:06 PM
To: users@tomcat.apache.org
Subject: need help on jsp issue under Tomcat 5.5.17
Hi there,
I recently
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: RE: need help on jsp issue under Tomcat 5.5.17
make sure rt.jar is on your CLASSPATH
Absolutely do not ever, ever do this. Items pointed to by the CLASSPATH
variable (or -cp launcher option) are loaded by the system classloader
hi Tomcat experts,
I am a fresher. Just now joined in HCL. I am basically very poor in Server
side. Even from my first day itself, they spoke something technically about
tomcat. I dont know anything about tomcat. But i am doing projects with the
help of tomcat only. Will you anyone please send
Go to apache site
jakarta.apache.org
u will get all the information about the tomcat server and
other technologies related.Also try a googlwe search u can get a hell
lot of books bout tomcat in the market.but better u read the documents
at the apache site
On 6/26/06, Ravichandran
On 6/26/06, vineesh kumar [EMAIL PROTECTED] wrote:
Go to apache site
jakarta.apache.org
u will get all the information about the tomcat server and
other technologies related.Also try a googlwe search u can get a hell
lot of books bout tomcat in the market.but better u read the
What does this mean in my console?
SeverityDescription ResourceIn Folder LocationCreation Time
Id
1 The local variable name is never read LoginAction.java
NewPatron/JavaSource/com/patron/Actionline 18 June 23, 2006 2:28:03
PM623
This is my first web project.
probably not the right mailing list for that.
try: http://www.eclipse.org/community/
[EMAIL PROTECTED] wrote:
What does this mean in my console?
SeverityDescription ResourceIn Folder LocationCreation Time
Id
1 The local variable name is never read LoginAction.java
That looks like a Java compile error (or warning). It says there's a
variable that is set but never used.
--
Len
On 6/26/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
What does this mean in my console?
SeverityDescription ResourceIn Folder LocationCreation Time
Id
1 The
[EMAIL PROTECTED] wrote:
What does this mean in my console?
1 The local variable name is never read LoginAction.java
This is my first web project. Thank you for your help.
I think that is just warning that you have declared (and set) variable
which you are never used in the
The current tomcat binaries are all win32. I need help in getting a binary
(tomcat.exe and tomcatw.exe) that will
run on Windows 2003 - 64bit.
I currently use tomcat 5.5.9 on Windows Server 2003 32bit. I am trying to
migrate to Windows Server 2003 64bit running on the Intel EM64T processor
need help in getting a binary
(tomcat.exe and tomcatw.exe) that will
run on Windows 2003 - 64bit.
I currently use tomcat 5.5.9 on Windows Server 2003 32bit. I am trying to
migrate to Windows Server 2003 64bit running on the Intel EM64T processor.
Any help would be greatly appreciated.
Mike
[EMAIL
Bauer, Michael E wrote:
The current tomcat binaries are all win32. I need help in getting a binary
(tomcat.exe and tomcatw.exe) that will
run on Windows 2003 - 64bit.
I currently use tomcat 5.5.9 on Windows Server 2003 32bit. I am trying to
migrate to Windows Server 2003 64bit running
i've posted a couple of times. i need help. i can't tell if anyone
is seeing the posts, or no one is replying, or what. would someone
at least acknowledge that the posts are getting in?
j.
--
Jay Scott 512-835-3553[EMAIL PROTECTED]
Head of Sun Support, Sr
yes, we do,
whats the problem once again?
On 6/15/06, Jay G. Scott [EMAIL PROTECTED] wrote:
i've posted a couple of times. i need help. i can't tell if anyone
is seeing the posts, or no one is replying, or what. would someone
at least acknowledge that the posts are getting in?
j.
--
Jay
If I have IIS and Tomcat on 2 seperate Windows servers - What must I install on
the IIS server? Do I ONLY need the redirector2.dll, workers2.properties,
uriworkermap.properties, registry changes, and virtual directory?..or must I
also install an instance of the Tomcat application on the IIS
HellO.
All my servers are running windows.
I have IIS running on a seperate physical server and I'm attempting to get the
redirector2.dll to direct traffic from the IIS server to the seperate physical
server where Tomcat is running. So far I have been able to get IIS to
successfully (shows
On the IIS machine, connector is installed by default
under the directory
C:\Program Files\Apache Software Foundation\Jakarta
Isapi Redirector\
Under C:\Program Files\Apache Software
Foundation\Jakarta Isapi Redirector\conf directory you
will find two configuration files
uriworkermap.properties
Res Pons [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry to post across the userlists.
I'm using Subversion, Ant, and Anthill OS to automate my projects. We
release many products in different projects.
Currently I have set up a property sheet in Anthill for each project's
: Friday, February 24, 2006 1:26 AM
To: users@tomcat.apache.org
Subject: Need help with click streams
Hi,
I need to extract the click Stream logs from tomcat. Is this
possible?? I would like to know who's clicked what, when and
how many times. I need these stats for analytic purposes
You may be interested in the open source product
http://www.opensymphony.com/clickstream/
ND
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 7:31 AM
To: 'Tomcat Users List'
Subject: RE: Need help with click streams
Tomcat has an access log
hi,
i am not familiar with the method u have used.
but try to access the resource in noramal way we acess the resources.
1. put an resource reference to ur web.xml as follows. ( change the type and
name)
resource-ref
descriptionDB Connection/description
chandra yalla wrote:
Hi.
i have requirement to get Users in LDAP using the realm information give
in my application xml file museadmin.xml ( i have attached this file)
museadmin.xml is incorrect. It should start
Context path=/museadmin
docBase=${catalina.home}/webapps/museadmin debug=0
Hi Mark,
Thanks for the replay , i have changed the museadmin.xml file context to
mycontext to test the code given below in some site
Server server = ServerFactory.getServer();
//Note, this assumes the Container is Catalina
Service service = server.findService(Catalina);
Engine engine
Hi.i have requirement to get Users in LDAP using the realm information give in my application xml file museadmin.xml ( i have attached this file)i want to get JNDIRealm information , i will use real object to get information like getConnectionURL etc. I have seen code give below
Yes, that was the problem. I changed the permissions and now it works as
advertised.
Thanks!
Mark
On Tuesday 13 December 2005 12:13 am, Jan Behrens wrote:
I am not a Linux man myself but I would think that you do have a problem
with the access rights - unless Tomcat is running as root, which
Given the following:
A Tomcat 5.5.9 server.
Login authentication via org.apache.catalina.realm.DataSourceRealm
realm.
Is there a third party tool either open source or commercial that
provides basic login level services such as:
Limit the number of login attempts.
Limit the number of
I have Tomcat 5.5.9 running on a Linux server. I am having hard time deploying
war files remotely from my Linux desktop over the LAN. I have tried the
following:
1. Upload war file using tomcat manager
I can access the war file on my local machine using the tomcat manager from
the server. So,
I am still struggling to get tomcat to authenticate access to my application.
As a starting point I am trying to use BASIC authentication with the
DataSource Realm (basically because I can check the query SQL)
Whatever I do the user is presented with the authentication dialog box, but
this
to the username column in the database
then you may be in trouble!
Andoni.
- Original Message -
From: Alan Chandler
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Tuesday, November 01, 2005 8:07 PM
Subject: Still failing authentication - need help on how to Debug
I am still
On Tuesday 01 Nov 2005 20:26, Andoni wrote:
Hi Alan,
Show us the relevant section of your server.xml.
Are you using a view in your database?
What the authenticator is doing is basically two select statements on your
database to find the usernames and passwords. If the name of the username
501 - 584 of 584 matches
Mail list logo