Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Chris, I was looking at that earlier, wondering why it was put in there in the first place. It just doesn't fit in. Sometimes you just hate to inherit someone else's mess. While there is another school of thought telling me to re-write the entire DAO (which I could be willing to later on) for r

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Filip I grabbed the tomcat-jdbc.jar file and included it under the /lib folder in my tomcat installation. I modified my context.xml's resource tag to the following: and I am getting a tomcat startup exception: WARNING: Unexpected exception resolving reference java.lang.IllegalArgumentExceptio

Re: Tomcat6 - access denied exception ONE TIME after each restart, then all ok... Why? & How to make it stop?

2009-10-30 Thread Pete McNeil
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 10/30/2009 7:59 PM, Pete McNeil wrote: Fresh install of Tomcat6 on fresh install of ubuntu. Be specific: exactly which version of Tomcat 6? Using CATALINA_BASE: /usr/share/tomcat6 Using CATALINA_

Re: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-10-30 Thread Konstantin Kolinko
2009/10/31 tiffany.d...@inovis.com : > I installed Tomcat 6.0.20 on my 64bit Window2003. I installed the service. > But the Service did not start. Jakarta_service_mmdd.log file logs the > below: > > [994  prunsrv.c] [error] Failed creating java and > [1269 prunsrv.c] [error] ServiceStart retu

Re: Tomcat Manager sees distribution directories as applications

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 10/30/2009 5:07 PM, Hassan Schroeder wrote: > On Fri, Oct 30, 2009 at 2:03 PM, Jonathan Mast > wrote: >> When I log into the Tomcat Web Application Manager, in addition to the >> actual webapps defined in server.xml, it also lists the /bin

Re: Tomcat6 - access denied exception ONE TIME after each restart, then all ok... Why? & How to make it stop?

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 10/30/2009 7:59 PM, Pete McNeil wrote: > Fresh install of Tomcat6 on fresh install of ubuntu. Be specific: exactly which version of Tomcat 6? > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNames

Re: not able to connect to localhost

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/30/2009 8:29 PM, Brian Wolf wrote: > We it works. Thanks for all the great help. I tracked down the > problem to "wcescomm.exe" from microsoft which seems have acquired a > level of noteriety and a coll aborative tool ercalled "dimdim" wh

Re: not able to connect to localhost

2009-10-30 Thread Brian Wolf
We it works. Thanks for all the great help. I tracked down the problem to "wcescomm.exe" from microsoft which seems have acquired a level of noteriety and a coll aborative tool ercalled "dimdim" which does have a tomcat it, and is hard to remove from your computer, you need to download and install

Tomcat6 - access denied exception ONE TIME after each restart, then all ok... Why? & How to make it stop?

2009-10-30 Thread Pete McNeil
Hi folks, I've hunted for this and seen it asked in the past -- but none of the threads I found led me to the answer. Fresh install of Tomcat6 on fresh install of ubuntu. Commented out the localhost Set my someplace as the default. www.someplace.com

RE: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-10-30 Thread Martin Gainty
sc query tomcat what do the logs say? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung.

Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-10-30 Thread tiffany.d...@inovis.com
I installed Tomcat 6.0.20 on my 64bit Window2003. I installed the service. But the Service did not start. Jakarta_service_mmdd.log file logs the below: [994 prunsrv.c] [error] Failed creating java and [1269 prunsrv.c] [error] ServiceStart returned 1 Please help me to run the service su

RE: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread George Sexton
> -Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Sent: Friday, October 30, 2009 1:53 PM > To: Tomcat Users List > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotation on "catalina.out") > > On Fri, Oct 30, 2009 at 4:56 PM, Chris

Re: Tomcat Manager sees distribution directories as applications

2009-10-30 Thread Jonathan Mast
I think it must be because all the webapps except the manager webapp is actually located outside of tomcat's dir (its in httpd's directory). Its too late in the day for the sanitization needed with my server.xml, but I think the cause is the dir issue above. thanks On Fri, Oct 30, 2009 at 5:07 P

Re: ConnectionPool question

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/30/2009 4:31 PM, Josh Gooding wrote: > public static void closeResources(ResultSet rs) throws > AardvarkResourceException { > Statement s = null; > Connection c = null; > > try { > s = rs.getStatement()

Re: Tomcat Manager sees distribution directories as applications

2009-10-30 Thread Hassan Schroeder
On Fri, Oct 30, 2009 at 2:03 PM, Jonathan Mast wrote: > When I log into the Tomcat Web Application Manager, in addition to the > actual webapps defined in server.xml, it also lists the /bin, /conf, /logs, > /temp, /lib and /work directories of the Tomcat installation as if they are > webapps. > >

Tomcat Manager sees distribution directories as applications

2009-10-30 Thread Jonathan Mast
When I log into the Tomcat Web Application Manager, in addition to the actual webapps defined in server.xml, it also lists the /bin, /conf, /logs, /temp, /lib and /work directories of the Tomcat installation as if they are webapps. I doubt this is correct, so how do I fix it? thanks, Tomcat 6 (

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Yes, but the code for the AardvarkResourceException is a little strange. public class AardvarkResourceException extends Exception { //TODO: eventually change this to a logging exception public AardvarkResourceException() { } public AardvarkResourceException(String message) {

RE: ConnectionPool question

2009-10-30 Thread Propes, Barry L
Sorry, Josh. I forgot to include this: factory org.apache.commons.dbcp.BasicDataSourceFactory Although you might very well have to use DataSourceFactory, not BasicDataSourceFactory -Original Message- From: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Friday,

RE: ConnectionPool question

2009-10-30 Thread Propes, Barry L
THIS looks MUCH better. Initializing the connections and statements to null outside, then going in to do the conns and subsequently closing with the try/catch/finally block like you have. What did the stack trace show? I am still on the dinosaur 4 version, getting ready to very soon upgrade to

Re: ConnectionPool question

2009-10-30 Thread Filip Hanik - Dev Lists
When you said you used the Tomcat ConnectionPool class, I simply assumed that you were using the new pool being developed at Tomcat http://people.apache.org/~fhanik/jdbc-pool/v1.0.7.1/ the org.apache.tomcat.dbcp is the same as the commons-dbcp, just renamed to avoid class naming conflicts Fil

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Barry I changed the code to this: public static void closeResources(ResultSet rs) throws AardvarkResourceException { Statement s = null; Connection c = null; try { s = rs.getStatement(); if (s != null) { c = s.getConnection();

RE: ConnectionPool question

2009-10-30 Thread Propes, Barry L
Where does it close the connection? Looks like it gets it, but the close part is commented out. The rs gets closed, but the connection gets recycled. Theoretically. Seems like you put a finally block down there to try catching/closing the wayward connection. -Original Message- From: J

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Hey Filip, I do not have /jdbc/pool/DataSourceFactory in my tomcat-dbcp.jar. Is there some other place I should look? My jar's structure goes as: org/apache/tomcat/ dbcp jocl pool Under the dbcp I have a DataSourceConnectionFactory.class (which I am making an assumption that is what it is.) O

Re: servlet mappings

2009-10-30 Thread Juha Laiho
Caldarale, Charles R wrote: From: Chris Blackwell [mailto:ch...@team193.com] Subject: servlet mappings Coldfusion 9's web.xml ships with the following servlet-mapping, but it doesn't seem to work on Tomcat CfmServlet *.cfm/* I don't think the above mapping is valid. Seconded,

RE: ConnectionPool question

2009-10-30 Thread Propes, Barry L
-Original Message- From: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Friday, October 30, 2009 1:11 PM To: Tomcat Users List Subject: Re: ConnectionPool question This is not bad, but there is NO PLACE in the code that actively closes all of the resources. Sometimes the code is L

RE: servlet mappings

2009-10-30 Thread Caldarale, Charles R
> From: Chris Blackwell [mailto:ch...@team193.com] > Subject: servlet mappings > > Coldfusion 9's web.xml ships with the following servelt-mapping, but it > doesn't seem to work on Tomcat > > CfmServlet > *.cfm/* > I don't think the above mapping is valid. To quote from the servl

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Leon Rosenberg
On Fri, Oct 30, 2009 at 4:56 PM, Christopher Schultz wrote: >> Java is for big boys only, isn't it? > > I've heard that recent (even several years old, now) versions of Java > VMs can "match" the speed of compiled C++ for many non-trivial uses. > But, can the Java compiler use its generics feature

servlet mappings

2009-10-30 Thread Chris Blackwell
I'm trying to get basic SES urls working, in the form of http://mysite.dev/index.cfm/foo/1/bar/2 Coldfusion 9's web.xml ships with the following servelt-mapping, but it doesn't seem to work on Tomcat CfmServlet *.cfm/* I just end up with 404's. Anyone suggest a way to achieve thi

Re: mod_proxy_ajp (2.2.13) + Tomcat 6.0.20 - APR does not understand this error code: proxy: read response failed

2009-10-30 Thread Damian Traverso
Hi, we have one Apache-2.2.13 running mod_proxy_ajp + mod_proxy_balancer, connected to (3) Tomcat-6.0.20 instances under Fedora release 8. We are experiencing some issues with high CPU load on the Tomcat side, and Apache starts logging errors like this [Fri Oct 30 14:47:43 2009] [error] (70007)The

Re: ConnectionPool question

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/30/2009 2:42 PM, Josh Gooding wrote: > I also found this tid bit lying around. It get's a connection, but doesn't > close the statement. Might I suggest the following changes: > public static void closeResources(ResultSet rs) throws

Re: ConnectionPool question

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/30/2009 2:10 PM, Josh Gooding wrote: > Oh this code BLEEDS resources. The only semi annoyance is that the methods > that get RS's are usually returned like: > return > ConnectionPool.getConnection().createStatement().executeQuery(

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/30/2009 1:17 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Hammers and nails (was Re: A question about log- rotationon "catalina.out") Here

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/30/2009 1:17 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] Hammers and nails (was Re: A question about log- >> rotationon "catalina.out") >> >> Here's one Java can'

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
I also found this tid bit lying around. It get's a connection, but doesn't close the statement. public static void closeResources(ResultSet rs) throws AardvarkResourceException { try { Statement s = rs.getStatement(); if (s != null) { // ResultSets produced by

Re: ConnectionPool question

2009-10-30 Thread Filip Hanik - Dev Lists
nope, you're using commons-dbcp, see the "factory" attribute in my config Filip On 10/30/2009 12:22 PM, Josh Gooding wrote: Wait a second. What I am seeing from you Filip and what I have in my context.xml are similar: WEB-INF/web.xml My ConnectionPool class: import java.s

RE: not able to connect to localhost

2009-10-30 Thread Caldarale, Charles R
> From: Brian Wolf [mailto:brw...@gmail.com] > Subject: Re: not able to connect to localhost > > Oct 30, 2009 11:23:02 AM org.apache.catalina.core.StandardServer await > SEVERE: StandardServer.await: create[8005]: > java.net.BindException: Address already in use: JVM_Bind Something is already usi

Re: not able to connect to localhost

2009-10-30 Thread Brian Wolf
staI guess this is the problem , although I don't understand it catalina log file: Oct 30, 2009 11:22:54 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2799 ms Oct 30, 2009 11:22:55 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Wait a second. What I am seeing from you Filip and what I have in my context.xml are similar: WEB-INF/web.xml My ConnectionPool class: import java.sql.Connection; import java.sql.SQLException; import javax.naming.InitialContext; import javax.servlet.ServletContextEvent; import

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
On Fri, Oct 30, 2009 at 11:33 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > Heh. Obviously, someone hasn't worked in the real world. Did he realize > that writing to the contract in this case could potentially bring-down > the database server? > > Eh, I just let it go. I'm be

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Chris Blackwell
Ok, that was it. chrome was hanging on to the source in its cache and really didn't want to give it up. I do take on board your points about the single docroot approach. testing here on windows requesting indeX.cfM will serve up the source, which isn't good! but the hosting environment is linux

RE: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Caldarale, Charles R
> From: Robert Koberg [mailto:r...@koberg.com] > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotationon "catalina.out") > > I have been trying to pound in a nail with java. I have tried > everything and the damn nail just won't go in. I almost ready > to give up. Try poun

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Robert Koberg
On Oct 30, 2009, at 10:17 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Hammers and nails (was Re: A question about log- rotationon "catalina.out") Here's one Java can't do (without significant help): Write a command-line (no

RE: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotationon "catalina.out") > > Here's one Java can't do (without significant help): > > Write a command-line (no GUI) app that prompts for a sensitive keyboard

Re: Tomcat hangs when reloading context if user is logged in

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 10/30/2009 9:05 AM, James Murphy wrote: > Some background info: > OS: Windows Server 2003 > Tomcat Version: 5.5 > JDK Version: 1.6.0 > > I've run into a very annoying problem while trying to enable > automatic context reload on our developm

Re: Config file weirdness for additional applications

2009-10-30 Thread Peter Flynn
Caldarale, Charles R wrote: Interesting. Where should such new appBase directories be? That's entirely up to you (and your sysadmin). So they don't have to be in and around the tomcat directories. OK, many thanks. I must have missed this in the docs: the plural status of the directory nam

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > I'm setting httpd & tomcat's doc roots to the same location because in my > hosting setup users will be presented with /public_html directory in their > home directory.  They should be able to place cfml, php and static resources > in the same location and have them s

Re: ConnectionPool question

2009-10-30 Thread Filip Hanik - Dev Lists
look at jdbc-pool.html it has all the info, here are examples out of it Configuration Code: import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.apache.tomcat.jdbc.pool.DataSource; import org.apache.tomcat.jdbc.pool.

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, On 10/30/2009 9:21 AM, Pierre Goupil wrote: > I'm a true Java developper (tm). If a problem can't be solved with Java, > that's not a real problem. Here's one Java can't do (without significant help): Write a command-line (no GUI) app that p

Re: ConnectionPool question

2009-10-30 Thread Filip Hanik - Dev Lists
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java?view=log Filip On 10/30/2009 08:34 AM, Josh Gooding wrote: Hey what API holds the statementFinalizer? On Fri, Oct 30, 2009 at 9:57 AM, Josh Goodingwrote: AHHH

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Chris Blackwell
I'm setting httpd & tomcat's doc roots to the same location because in my hosting setup users will be presented with /public_html directory in their home directory. They should be able to place cfml, php and static resources in the same location and have them served. I realize this might not be i

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread André Warnier
Chris Blackwell wrote: ... DocumentRoot "C:\Users\Chris\Documents\Eclipse Workspace\mysite" Bad idea, almost always... ServerName mysite.dev ProxyPreserveHost On ProxyPassReverse / ajp://localhost:8009/ RewriteEngine On # If it's a CFML (*.cfc or *.cfm) request, just proxy it to Tomcat:

Re: ConnectionPool question

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 10/30/2009 9:53 AM, Filip Hanik - Dev Lists wrote: > There is an interceptor you can configure called StatementFinalizer that > does exactly that during the close call. Can you point me to some documentation for this? The only thing I can f

Re: ConnectionPool question

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/30/2009 9:54 AM, Josh Gooding wrote: > While I asked a question about it on the sun forums and got slammed > for a class I wrote and posted about why a ConnectionPool would ever have to > implement ServletContextListener. basically I was

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > I'm trying to get this setup with httpd, because eventually i'd like to > deploy it to my webserver that will host sites with a mixture of coldfusion > and php apps across multiple virtual hosts. Yep, that's a great reason to go with the architecture you have. So, f

Re: Config file weirdness for additional applications

2009-10-30 Thread Hassan Schroeder
On Fri, Oct 30, 2009 at 7:59 AM, Peter Flynn wrote: > Interesting. Where should such new appBase directories be? Should they be > siblings of webapps? eg /var/lib/tomcat5/abc, /var/lib/tomcat5/def, etc? Personal choice, but I put *all* webapp directories outside Tomcat's installation directory,

RE: Config file weirdness for additional applications

2009-10-30 Thread Caldarale, Charles R
> From: Peter Flynn [mailto:pfl...@ucc.ie] > Subject: Re: Config file weirdness for additional applications > > Interesting. Where should such new appBase directories be? That's entirely up to you (and your sysadmin). 3rd-party repackaged versions of Tomcat scatter files all over the place, so

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Chris Blackwell
Hi Peter, I'm trying to get this setup with httpd, because eventually i'd like to deploy it to my webserver that will host sites with a mixture of coldfusion and php apps across multiple virtual hosts. I wouldn't go to the bother if it were just for my development environment. This is my first v

Re: Config file weirdness for additional applications

2009-10-30 Thread Peter Flynn
Caldarale, Charles R wrote: From: Peter Flynn [mailto:pfl...@ucc.ie] Subject: Re: Config file weirdness for additional applications Indeed they do. But both ROOT and OpenClinica are subdirectories of webapps. Which is why you're getting all webapps deployed under both s. Use different appBase

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > > DocumentRoot "C:\Users\Chris\Documents\Eclipse Workspace\mysite" If I recall correctly, you don't want this. Serve a blank directory out of httpd, and proxy everything to Tomcat. Or take httpd out of the equation completely if you don't need it for other purpose

tomact, apache & adobe coldfusion 9

2009-10-30 Thread Chris Blackwell
Hi all, I've setup tomcat and apache on my workstation, and unpacked the contents of the coldfusion 9 war file to my application root. I have added Host in server.xml and can browse to http://mysite.dev:8080 and everything runs fine. looks like this So i then wanted to connect apache to tom

RE: Config file weirdness for additional applications

2009-10-30 Thread Caldarale, Charles R
> From: Peter Flynn [mailto:pfl...@ucc.ie] > Subject: Re: Config file weirdness for additional applications > > Indeed they do. But both ROOT and OpenClinica are subdirectories of > webapps. Which is why you're getting all webapps deployed under both s. Use different appBase directories for eac

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
Hey what API holds the statementFinalizer? On Fri, Oct 30, 2009 at 9:57 AM, Josh Gooding wrote: > AHH, I will read the API for the StatementFinalizer. I was looking at > something to do that. Thank you Filip! > > > On Fri, Oct 30, 2009 at 9:53 AM, Filip Hanik - Dev Lists < > devli...@hanik.

Re: Config file weirdness for additional applications

2009-10-30 Thread Peter Flynn
Caldarale, Charles R wrote: From: Peter Flynn [mailto:pfl...@ucc.ie] Subject: Config file weirdness for additional applications Then I found that Tomcat had also created another identical file in /etc/tomcat5/Catalina/publish.ucc.ie (our virtual host for the default Cocoon app). Post your serv

Re: not able to connect to localhost

2009-10-30 Thread Peter Crowther
2009/10/30 Brian Wolf : > I've installed and   un-installed  Tomcat 5.x and 6.x several times using > the windows  installer  on the Tomcat Apache site  on Windows XP. > > I've started  it as service, and  not, manually, on port 80 and 8080. > Stopped all other  server related software. In all case

Re: not able to connect to localhost

2009-10-30 Thread André Warnier
Brian Wolf wrote: Searched and googled for a answer for couple of hours. I've installed and un-installed Tomcat 5.x and 6.x several times using the windows installer on the Tomcat Apache site on Windows XP. I've started it as service, and not, manually, on port 80 and 8080. Stopped all

not able to connect to localhost

2009-10-30 Thread Brian Wolf
Searched and googled for a answer for couple of hours. I've installed and un-installed Tomcat 5.x and 6.x several times using the windows installer on the Tomcat Apache site on Windows XP. I've started it as service, and not, manually, on port 80 and 8080. Stopped all other server relate

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
AHH, I will read the API for the StatementFinalizer. I was looking at something to do that. Thank you Filip! On Fri, Oct 30, 2009 at 9:53 AM, Filip Hanik - Dev Lists wrote: > hi Josh, calling Connection.close() does not close statements and > resultsets. > There is an interceptor you can c

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
I have been reading it and ALMOST chimed in, but decided to read farther first. While I asked a question about it on the sun forums and got slammed for a class I wrote and posted about why a ConnectionPool would ever have to implement ServletContextListener. basically I was told to write in accor

Re: ConnectionPool question

2009-10-30 Thread Filip Hanik - Dev Lists
hi Josh, calling Connection.close() does not close statements and resultsets. There is an interceptor you can configure called StatementFinalizer that does exactly that during the close call. Filip On 10/29/2009 07:17 PM, Josh Gooding wrote: I wrote some code on top of the Tomcat's Connectio

RE: Authencation in apache tomcat

2009-10-30 Thread Caldarale, Charles R
> From: daulat khan [mailto:daulat@gmail.com] > Subject: Re: Authencation in apache tomcat > > Now i am experience different NPE > java.lang.NullPointerException > java.util.Hashtable.put(Hashtable.java:396) > com.cisco.earms.fm.Dispatcher.doPost(Dispatcher.java:565) > com.ci

RE: Config file weirdness for additional applications

2009-10-30 Thread Caldarale, Charles R
> From: Peter Flynn [mailto:pfl...@ucc.ie] > Subject: Config file weirdness for additional applications > > Then I found that Tomcat had also created another identical file in > /etc/tomcat5/Catalina/publish.ucc.ie (our virtual host for the default > Cocoon app). Post your server.xml file. I sus

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Pierre Goupil
I'm a true Java developper (tm). If a problem can't be solved with Java, that's not a real problem. Java is for big boys only, isn't it? On Fri, Oct 30, 2009 at 2:12 PM, André Warnier wrote: > Peter Crowther wrote: > >> >> At the other end of the language-complexity scale, I can't remember >> t

RE: Share libraries for Context Descriptors

2009-10-30 Thread Caldarale, Charles R
> From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com] > Subject: Share libraries for Context Descriptors > > Differents apps often use same libraries, and I'd like to share > libraries at Context Descriptor level (in context.xml). As has been discussed numerous times on this mailing lis

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread André Warnier
Peter Crowther wrote: At the other end of the language-complexity scale, I can't remember the source of the quote but I do appreciate "When C++ is your hammer, everything looks like a screw." I don't know what you people are all talking about. We Perl programmers don't have such issues. It do

Tomcat hangs when reloading context if user is logged in

2009-10-30 Thread James Murphy
Hi all, Some background info: OS: Windows Server 2003 Tomcat Version: 5.5 JDK Version: 1.6.0 I've run into a very annoying problem while trying to enable automatic context reload on our development server. It works well when there is not a user logged on to the system (I guess that means while

RE: tomcat utilization is 100 %

2009-10-30 Thread Martin Gainty
Peter last year we targeted IBMWebsphere war files but experienced deployment anomalies when dual deploying first to IBM-Websphere6 and then to Tomcat6. We noticed IBM-Websphere Server pegging stack/heap after just one webapp was deployed we experienced no resource limitations when redeploying

Config file weirdness for additional applications

2009-10-30 Thread Peter Flynn
I am serving Cocoon as my default app under Tomcat5 on RHEL5 using a virtual host implemented in the Apache httpd.conf. This is now working fine (thanks to the explanations of others on this list!) I now have to add another app, OpenClinica, in its own virtual host, so the DNS entry was made,

Turn off login window in proxy-based authentication (JAAS)

2009-10-30 Thread Johan Thorselius
I wonder where the mechanism to invoke the login window with user/pwd for authentication is located, and how to turn it off ? I have a proxy-based authentication in a server in front of my Tomcat, so the user is already authenticated when the request reaches Tomcat. - I have a small valve class l

Re: tomcat utilization is 100 %

2009-10-30 Thread Peter Crowther
2009/10/30 Vikram S Chauhan : > I am Vikram Chauhan from New Delhi India and working for one telecom > client. i have installed tomcat 6.6 on my one Application server having > windows 2003 server environment. from last some days its utilization is > going 90% or 95%  . due to this lots of problem

AW: tomcat utilization is 100 %

2009-10-30 Thread Marc Bartrina
Hello, what about the initial memory pool and the maximum memory pool? Are you using: -XX:MaxPermSize=xxxm What does the TomCat Logfile write? Best regrads Marc -Ursprüngliche Nachricht- Von: Vikram S Chauhan [mailto:vikram.chau...@in.ibm.com] Gesendet: Freitag, 30. Oktober 2009 11:

tomcat6 starts tomcat 6w won't start

2009-10-30 Thread Marc Bartrina
Hello, we are using tomcat 6.18 with different webapps for a Document Management System on a windows 2003 server. TomCat was running as a Windows Service for 1 Year now, without any problems. After the Installation of an new Software from another software vendor which is using Apache 2.2.11 htt

tomcat utilization is 100 %

2009-10-30 Thread Vikram S Chauhan
Hello team, I am Vikram Chauhan from New Delhi India and working for one telecom client. i have installed tomcat 6.6 on my one Application server having windows 2003 server environment. from last some days its utilization is going 90% or 95% . due to this lots of problem are coming . some app

Share libraries for Context Descriptors

2009-10-30 Thread Paolo Santarsiero
Hi, I have a cluster with three tomcat6's instances. My tomcats access applications on a common repository server, so I use Context descriptors in order to point the applications. Differents apps often use same libraries, and I'd like to share libraries at Context Descriptor level (in context.xml).

[OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Peter Crowther
2009/10/30 Caldarale, Charles R : > Smalltalk is a classic example of the philosophy: "I have a hammer, therefore > everything is a nail." I used to teach Smalltalk*. Of a 3-day course, 1/4 day was on the language, 1/2 day was on the environment and the rest was on the class library. It's an in