Effect of MaxThreads

2008-01-13 Thread Berglas, Anthony
Tomcat connectors provide maxThreads parameter to throttle the number of concurrent transactions. But what actually happens when this number is exceeded? Are additional requests queued, or are they simply bounced? We have Apache in front of Tomcat (for dubious reasons). Where is the best place

DBCP user/password specified in getConnection

2008-01-13 Thread Berglas, Anthony
We have an app that uses connection pooling, but tries to specify the username/password in the code. In particular, it does not want the password to be in plain text in an xml file. There is only one username involved, so no issues with heterogeneous connection pools. Pretty basic requirement.

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread David Smith
Find the mysql-connector-java-5.0.8.jar file in the download you received from mysql.com. Put only that file in tomcat's lib directory. Remove the rest from tomcat's lib directory and things should be good to go. If the mysql .jar file is located anywhere else in your tomcat installation inc

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Thats the directory that the binary download extracted into. There's no "binary download" of the MySQL driver - the .zip (or .tar.gz) file contains the full source and b

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Thats the directory that the binary download extracted into. It contains subdirectories src, doc, debug, and other stuff like README, as well as the .jar file. I had the directory originally in webapps/examples/WEB-INF/lib,and copied the .jar file to its present location in /apache-tomcat-6.0.14/

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Would it be in this directory in tomcat ?: > /usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8 I don't know why you would create that directory; it d

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Where is the jdbc driver normally located ? I did a 'locate jdbc' and found it in a bunch of places, ie, /usr/lib/jvm/java-6-sun-1.6.0.00/imq/demo/jdbc/config.properties.mysql Would it be in this directory in tomcat ?: [EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connecto

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > I gathered from that doc that you would put a > element directly in conf/context.xml, and not in > server.xml, as previously. No. The element in conf/context.xml is

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
I read the docs at the link you provided but have a few questions. I gathered from that doc that you would put a element directly in conf/context.xml, and not in server.xml, as previously. Do you need to somehow reference your webapp within the context, in other words, do you need separate >>

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-13 Thread Mark Riggins
I'm trying to access http://localhost/manager/html, which I believe is an HTML interface into the Tomcat Manager. Maybe it would be easier to edit build.xml and replace the "deploy" with a simple copy. I can't get the Manager working. Are you using a browser to

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cuco, cuco2772 wrote: | Thanks for the link. Under the DBCP heading it states 'Versions of mysql | ...that have been known to work'. I dont see any mention of my | version, 5.0. Could that possibly be an issue as far as things like JDBC? | I'

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Thanks for the link. Under the DBCP heading it states 'Versions of mysql ...that have been known to work'. I dont see any mention of my version, 5.0. Could that possibly be an issue as far as things like JDBC? I'd prefer to resolve any version issues before I attempt this. David Smith-

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread David Smith
There is also a copy in ...webapps/examples/WEB-INF/lib/, not sure if thats correct Remove this one. It will conflict with the one in tomcat's lib directory. export setCLASSPATH=/usr/local/tomcat/apache-tomcat-6.0.14/lib/ mysql-connector-java-5.0.8-bin.jar:$CLASSPATH Don't ever set the

how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Hello all; I'm in need of some help in setting up my environment correctly. I have mysql 5.0, tomcat 6, and am running tomcat through apache2. I downloaded mysql-connector-java-5.0.8-bin.jar and put it in /usr/local/tomcat/apache-tomcat-6.0.14/lib There is also a copy in ...webapps/examples/W

Re: tomcat starting problem

2008-01-13 Thread David Smith
This is a debug level event -- not an error and nothing is broken. If you configured your logging to a higher level like warn you'd only get a brief mention of it w/o a stack trace. It doesn't break anything in tomcat -- just letting you know it can't find a native library designed to improve

tomcat starting problem

2008-01-13 Thread henry human
Hi when i start tomcat 5.5 i get ever this error: ** 20:03:13,844 DEBUG ContainerBase:747 - Add child StandardHost[localhost] StandardEngine[Catalina] 20:03:13,864 DEBUG AprLifecycleListener:91 - The Apache Tomcat Native library which allows optimal perf

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-13 Thread david delbecq
Are you using a browser to access that url? 'cause you mention ANT, but ant is not a browser and will surely not show a dialog when accessing the manager... Mark Riggins a écrit : Instead of a basic-authentication dialog box, I get the following error message instead. HTTP Status 401 -

Rejecting a file upload

2008-01-13 Thread Volker Schoenefeld
Hi everyone, I've stumbled across a little problem here: I've got a streaming client (right now its using either libcurl or apache httpclient via HTTP 1.1 chunked transfer without a content length) that connects to a servlet on a tomcat server and uploads data. Now the problem is that if s

Re: org.apache.commons.digester.Digester endElement (Q & A)

2008-01-13 Thread Mark Thomas
David Smith wrote: Thanks. It's an interesting problem. It does validate against an xml validator, but I can't reproduce your error in my tomcat 5.5 environment. If it's really an error w/ tomcat, it has to be unique to your version of tomcat. Any one on this list still using tomcat 4.1 wan

Tomcat connector port configuration

2008-01-13 Thread Asaf Lahav
Is it possible to get the Tomcat connector port configuration information from within a servlet context? I have a servlet application that is supposed to self register its link into a file when it is started. What would be the best way to do that? Thanks in advance -

Re: JBoss 4.2.2, http port is not working, but https is working

2008-01-13 Thread David Smith
I don't see anything obviously wrong here. I assume jboss.bind.address is set somewhere else in the config. Is there anything in the logs indicating a problem? Have you verified via netstat that tomcat is listening on 8080 and the address you've specified? --David Dave wrote: JBoss 4.2.2,

JBoss 4.2.2, http port is not working, but https is working

2008-01-13 Thread Dave
JBoss 4.2.2, cluster config, ie JBoss/server/all, tomcat server.xml configures ports as following: the https port 443 is working, but the port 8080 is not working. Firewall is disabled. I used filter to log all requests, but no requests for 8080 port. I chang