Issue on configuring Connection Pool and datasource in Tomcat 7.

2014-02-21 Thread Josh Gooding
Man this has been a while since I've reached out to this list, but here it goes. I am using Tomcat 7 on Windows 7 64x and trying to configure a datasource (MySQL DB running on a 2nd box) to use. I am able to connect from my local to the remote using the mysql command line, so I do know the

Re: Issue on configuring Connection Pool and datasource in Tomcat 7.

2014-02-21 Thread Josh Gooding
On Fri, Feb 21, 2014 at 9:59 AM, Mark Thomas ma...@apache.org wrote: On 21/02/2014 14:49, Josh Gooding wrote: Is there something that I am missing here? Where is the JAR containing your JDBC driver? Mark Mark, It's in the WEB-INF/lib directory with all of the other jars I have

Re: Issue on configuring Connection Pool and datasource in Tomcat 7.

2014-02-21 Thread Josh Gooding
On Fri, Feb 21, 2014 at 11:21 AM, Mark Thomas ma...@apache.org wrote: On 21/02/2014 16:17, Josh Gooding wrote: On Fri, Feb 21, 2014 at 9:59 AM, Mark Thomas ma...@apache.org wrote: On 21/02/2014 14:49, Josh Gooding wrote: Is there something that I am missing here? Where is the JAR

Scenario with Tomcat cluster session management

2013-01-29 Thread Josh Gooding
As usual, I am always working with Tomcat to tweak every ounce of oomph out of it and I ran across this scenario in my configuration trials. At present, I have a small 3 server tomcat cluster running 7.0.30 64-bit on CentOS, and jdk6. I want to move the project from having to use kill -9 (for

Re: tomcat7-maven-plugin

2012-12-18 Thread Josh Gooding
On Mon, Dec 17, 2012 at 8:13 AM, Josh Gooding josh.good...@gmail.comwrote: As far as this goes, there is definitely something strange going on, and I think it points to the SSL self signed cert. Can someone verify that the tomcat7 maven plugin works with self signed SSL? I have setup

Re: How to Enable SSL on Tomcat 7 on Linux Test using curl?

2012-12-18 Thread Josh Gooding
I just did this. I have the tomcat manager application running across SSL. Here's what I did On Mon, Dec 17, 2012 at 9:03 PM, James Dekker james.dek...@gmail.comwrote: James said... STUFF: (1) cd $CATALINA_HOME/conf (2) Create a certificate and store it in a new key store. keytool

Re: tomcat7-maven-plugin

2012-12-17 Thread Josh Gooding
:48 AM, Josh Gooding josh.good...@gmail.comwrote: On Thu, Dec 13, 2012 at 9:36 AM, Olivier Lamy ol...@apache.org wrote: 2012/12/13 Josh Gooding josh.good...@gmail.com: On Wed, Dec 12, 2012 at 6:05 PM, Olivier Lamy ol...@apache.org wrote: Good detailed description :-). Hey even I

Re: tomcat7-maven-plugin

2012-12-13 Thread Josh Gooding
share of flack for not letting Eclipse just do it. Of course I'm a control freak when it comes to my code... 2012/12/12 Josh Gooding josh.good...@gmail.com: I didn't want to come here to ask as I always hate to bother anyone, but maybe I should have come here first. I'm coming up short

Re: tomcat7-maven-plugin

2012-12-13 Thread Josh Gooding
On Thu, Dec 13, 2012 at 9:36 AM, Olivier Lamy ol...@apache.org wrote: 2012/12/13 Josh Gooding josh.good...@gmail.com: On Wed, Dec 12, 2012 at 6:05 PM, Olivier Lamy ol...@apache.org wrote: Good detailed description :-). Hey even I get it right once in a while... ;) I just wonder

tomcat7-maven-plugin

2012-12-12 Thread Josh Gooding
I didn't want to come here to ask as I always hate to bother anyone, but maybe I should have come here first. I'm coming up short on answers and ideas. I'm having an issue with using maven and the tomcat7 plugin. Maven version -3.0.4 Tomcat version - 7.0.29 .jdk version - 1.6

Re: Delete catalina.out

2012-11-19 Thread Josh Gooding
PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 11/17/12 11:37 PM, Josh Gooding wrote: Moved this to the user list instead of the dev group. Hmmm strangely enough, I tried this on a CentOS system, I believe it forced me to be root over the tomcat user. It all depends upon the file

Re: Delete catalina.out

2012-11-17 Thread Josh Gooding
, Christopher Schultz ch...@christopherschultz.net wrote: Josh, On 11/15/12 2:45 PM, Josh Gooding wrote: That is the tomcat default log file. Nothing server wise will happen if you delete if that is your concern. It just removes that particular log file. I believe that you have to either

Re: Tomcat 7.0.30 CMA, clustering, and SSO

2012-10-26 Thread Josh Gooding
Haha, Scott you're here too? On Thu, Oct 25, 2012 at 2:06 PM, Scott Carlson scott.a.carl...@gmail.comwrote: We've setup TC 7.0.32 with Clustering and Tomcat Container Managed Authentication. HTTPSessions and SSOSessions are clustered across the wire. With logging turned way up, I can see

Tomcat 7 manager quirk?

2012-10-26 Thread Josh Gooding
Hey group, I'm working with Tomcat 7's manager application for text deployments. I am having a bit of a quirky issue here. I am deploying a web application that is approx 75MB as a war file that uses Tomcat's ROOT context. Is there a way that I can get tomcat to NOT start auto-deploying

Re: Tomcat 7 manager quirk?

2012-10-26 Thread Josh Gooding
shooting problems. Just my $.02. - Josh On Fri, Oct 26, 2012 at 6:37 PM, Igor Cicimov icici...@gmail.com wrote: On 27/10/2012 5:27 AM, Josh Gooding josh.good...@gmail.com wrote: Hey group, I'm working with Tomcat 7's manager application for text deployments. I am having a bit

Re: Question on realm configuration in TC 6 / 7

2012-10-02 Thread Josh Gooding
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 9/29/12 5:41 PM, Josh Gooding wrote: It seems that I have run into something that seems a bit strange. I have configured 4 separate web applications to each have their own context.xml files. I have also

Question on realm configuration in TC 6 / 7

2012-09-29 Thread Josh Gooding
It seems that I have run into something that seems a bit strange. I have configured 4 separate web applications to each have their own context.xml files. I have also configured one of the web applications to have a realm. It seems to me, when you configure a realm, tomcat forces you to put what

Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
Wow, has it really been that long since I've asked questions here? On to the meat and potatoes... I have a tomcat 5.5.23 installation here that I am trying to do some changes too and I am a bit lost.. Let me try to explain what I want to do. The application has both a context defined in the

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/8/24 Josh Gooding josh.good...@gmail.com: Server port=8005 shutdown=SHUTDOWN debug=0 All those debug= attributes... - Tomcat 5.5 does not support them. See Configuration Reference chapters of documentation, where these attributes

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
Mark, Konstantin, thank you very much. As usual I highly appreciate it. On Fri, Aug 24, 2012 at 4:05 PM, Mark Thomas ma...@apache.org wrote: On 24/08/2012 20:53, Josh Gooding wrote: Yeah you see what I'm given to work with. The sever.xml will be cleaned up, but i'm trying to get

JMX enabled - not able to monitor connection pooling

2012-02-09 Thread Josh Gooding
Using: Toncat 6.0.35 AND 7.0.latest in a Win32 Environment. My JMX params are as follows: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false This is only on my dev box, so I am no so

unable to set MaxPermSize past 128MB

2012-02-05 Thread Josh Gooding
Hey one more wild question for this sunday evening (I hope) I just upgraded to 6.0.35 running on Win2K3 32 bit platform. I used the Win installer. I tried setting the Initial Pool to 512MB and the MaxPool to 1536MB of ram, however when I pass in the -XX:MaxPermSize:256m in the config - Java -

Re: unable to set MaxPermSize past 128MB

2012-02-05 Thread Josh Gooding
your kidding me right? Why is tweaking the JVM for this so hard? On Sun, Feb 5, 2012 at 11:19 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: David Dabbs [mailto:dmda...@gmail.com] Subject: RE: unable to set MaxPermSize past 128MB I just upgraded to 6.0.35 running on

Re: unable to set MaxPermSize past 128MB

2012-02-05 Thread Josh Gooding
again Charles! - Josh On Sun, Feb 5, 2012 at 11:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: unable to set MaxPermSize past 128MB your kidding me right? Why is tweaking the JVM for this so hard? Why

Re: Upgrading Tomcat need some info

2012-01-26 Thread Josh Gooding
Konstantin - 1. Have you seen the following page? http://tomcat.apache.org/migration.htmlhttp://tomcat.apache.org/migration.html I'm getting there, I'm still perusing the change logs to see what the major differences in between 5.5 and 6 are and from 6 to 7. The application was written

Upgrading Tomcat need some info

2012-01-25 Thread Josh Gooding
Hey group, I've been tasked here at work to upgrade Tomcat from 5.5 to 6.0 since I'm the Tomcat guru here. Does anyone know, if I take the 5.5 configuration (server and context.xml) and drop them into 6.0, will the 6.0 server start or are there things that have to be changed over? Also were

Grabbing the user's info

2011-11-14 Thread Josh Gooding
Hey guys, Question. I'm developing an application that resides on a network. I wondered if (and how) there was a way to use the users network authentication as a valid authentication into this application? - Josh

Login page not showing up with configured realm.

2011-02-27 Thread Josh Gooding
ok, I swore I wasn't going to bother you guys again on the weekend, but I am running into a little quirk here. I'm running 6.0.29. Here is my webapp's context.xml: ?xml version='1.0' encoding='utf-8'? Context WatchedResourceWEB-INF/web.xml/WatchedResource Resource

Question on Realm Configuration

2011-02-26 Thread Josh Gooding
Hey guys it's been a while here, but I have some questions on a realm configuration I'm working on. I'm running 6.0.29 and I have setup a realm in my context.xml file as follows: ?xml version='1.0' encoding='utf-8'? Context WatchedResourceWEB-INF/web.xml/WatchedResource Resource

Re: Question on Realm Configuration

2011-02-26 Thread Josh Gooding
...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Question on Realm Configuration I'm running 6.0.29 and I have setup a realm in my context.xml file as follows: Exactly which context.xml file? Where is it located? If it's in the webapp's META-INF/context.xml file

Re: Quick Questions on some Tomcat settings

2011-01-06 Thread Josh Gooding
thank you thank you thank you! I cannot thank you all enough! On Wed, Jan 5, 2011 at 9:53 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: Quick Questions on some Tomcat settings I have: Engine name=Catalina

Quick Questions on some Tomcat settings

2011-01-05 Thread Josh Gooding
Hey guys and gals, it's been a while, but I have a question for you. I am setting up a new Tomcat 6.0.29 installation that is for project management software. Here's the scenario. On this server we are currently running Apache 2.2 for our companies wiki on port 80. This is bound to a specific

Re: Quick Questions on some Tomcat settings

2011-01-05 Thread Josh Gooding
wrote: Josh Gooding wrote: Hey guys and gals, it's been a while, but I have a question for you. I am setting up a new Tomcat 6.0.29 installation that is for project management software. Here's the scenario. On this server we are currently running Apache 2.2 for our companies wiki on port 80

Re: Quick Questions on some Tomcat settings

2011-01-05 Thread Josh Gooding
and sorry for the double posting... I have no idea what happened there. On Wed, Jan 5, 2011 at 8:43 PM, Josh Gooding josh.good...@gmail.com wrote: EXCELLENT! Almost there now! Just one more thing. I have it serving to http://proj-name and it is coming up with the tomcat default page. I

apr.apache.org problems?

2010-11-03 Thread Josh Gooding
Hey can someone verify if http://apr.apache.org links on the windows sources got changed to something dealing with www.gossipcheck.com/mirrors/apache ?? Something strange happened there. - Josh

Re: Struts 2 help with Tomcat 6

2010-10-19 Thread Josh Gooding
Just one more thing on this. Do you have to download the Javaassist jar separately? I've d/l'd both the libs and the all package, but it is in neither. Does anyone have it to spare by chance for version 2.2.1? On Tue, Oct 19, 2010 at 8:25 AM, Josh Gooding josh.good...@gmail.comwrote: Rock

Struts 2 help with Tomcat 6

2010-10-18 Thread Josh Gooding
Hello all, I'm trying to get Struts 2.2.1 working with Tomcat 6.0.29. I'm a total newbie to struts. Apache's documentation says copy the struts.jar file into the /lib directory. Since Struts 2.2.1 has no struts.jar file, does anyone happen to know which file(s) is/are supposed to be moved to

Re: Glassfish overriding Tomcat 6.0.24 installation?

2010-06-15 Thread Josh Gooding
Thanks David, I did that and it seemed to work. :: thumbs up :: - Josh On Thu, May 27, 2010 at 2:02 PM, David Smith david.sm...@cornell.eduwrote: On 5/27/2010 1:44 PM, Josh Gooding wrote: Hey guys (and gals). Interesting enough, I installed the Jave EE 5 JDK for windows. I

Glassfish overriding Tomcat 6.0.24 installation?

2010-05-27 Thread Josh Gooding
Hey guys (and gals). Interesting enough, I installed the Jave EE 5 JDK for windows. I then installed Tomcat 6.0.24, when I navigate to htp://localhost:8080 (which should be the default of Tomcat) I am getting the glassfish junk. How can I remove the glassfish? I don't believe that there is an

Re: [OT] ConnectionPool question

2009-11-11 Thread Josh Gooding
9:18 AM, Josh Gooding wrote: the reason there are multiple recycleConnection methods is because if a RS is passed to the front presentation layer, I have to have a way to close it, I have to be able to get the statement and connection somehow, and I don't want that in my code. I

Re: [OT] ConnectionPool question

2009-11-11 Thread Josh Gooding
chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: [OT] ConnectionPool question Not only did I get yelled at for having the audacity to write up procedures for the developers on my team But we've always done it that way... A long habit

Re: [OT] ConnectionPool question

2009-11-10 Thread Josh Gooding
I'm glad I amuse all of you :P Chris, the reason there are multiple recycleConnection methods is because if a RS is passed to the front presentation layer, I have to have a way to close it, I have to be able to get the statement and connection somehow, and I don't want that in my code. From

Re: ConnectionPool question

2009-11-05 Thread Josh Gooding
Barry, that's a normal console message when using the DataSource. :) Alright. I have a question. I've finished up the ConnectionPool wrapper class that I found and is being used. I don't need it to run, but I figured it's there why not modify it to handle EVERYTHING dealing with connections.

Re: ConnectionPool question

2009-11-04 Thread Josh Gooding
connection messages are for letting me know they were abandoned and put back into the pool? On Tue, Nov 3, 2009 at 4:06 PM, Josh Gooding josh.good...@gmail.com wrote: nevermind. I get: javax.servlet.ServletException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Re: ConnectionPool question

2009-11-04 Thread Josh Gooding
:24 PM, Josh Gooding wrote: If I close the RS, can I still use the MD? I see you've already answered this, but note the error is that the Connection is closed, not the ResultSet. I would expect that ResultSetMetaData requires that the ResultSet itself still be open in order to use

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

2009-11-03 Thread Josh Gooding
: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start EDIT: Don't install tomcat as a service. I've always had trouble running the 64 bit service. Really? Once the modes of tomcat6.exe and the designated JVM match

Re: ConnectionPool question

2009-11-03 Thread Josh Gooding
If I close the RS, can I still use the MD? On Tue, Nov 3, 2009 at 3:13 PM, Elli Albek e...@sustainlane.com wrote: No, you do not need to close the XXXMetaData classes. E On Tue, Nov 3, 2009 at 12:02 PM, Josh Gooding josh.good...@gmail.com wrote: One more question on bleeding resources

Re: ConnectionPool question

2009-11-03 Thread Josh Gooding
Elle, I am going to dig into this code and check it out. I want to know more about how to use threadlocal and filters. (Sorry I'm not as experienced in Tomcat as some for you gurus here). The code looks promising and I like the 2nd option due to the fact that each HTTP req. only has one

Re: ConnectionPool question

2009-11-03 Thread Josh Gooding
nevermind. I get: javax.servlet.ServletException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. Guess that answers my question. On Tue, Nov 3, 2009 at 3:24 PM, Josh Gooding josh.good...@gmail.com wrote: If I close the RS

Re: ConnectionPool question

2009-11-03 Thread Josh Gooding
One more question on bleeding resources. When closing RS / statement / connections. Do I have to do anything with the MetaData if I got that as well? (I.E Do I explicitly have to close the metadata as well?) Josh On Tue, Nov 3, 2009 at 2:01 PM, Josh Gooding josh.good...@gmail.com wrote

Re: ConnectionPool question

2009-11-02 Thread Josh Gooding
It seems as though you cannot set the maxActive to -1 as you can in the javax.sql.ConnectionPool for unlimited. On Mon, Nov 2, 2009 at 4:36 AM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2009/10/31 Josh Gooding josh.good...@gmail.com: (...) and I am getting a tomcat startup exception

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread Josh Gooding
. That's all. On Mon, Nov 2, 2009 at 4:03 AM, André Warnier a...@ice-sa.com wrote: Josh Gooding wrote: Unlike Apache HTTPD, can Tomcat be configured to allow access to a single directory? Huh ? Which Apache http documentation have you been reading ? Not this one : http://httpd.apache.org

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread Josh Gooding
of having to have a JDBC connection to a database. On Mon, Nov 2, 2009 at 10:51 AM, André Warnier a...@ice-sa.com wrote: Josh Gooding wrote: What I was saying is that in httpd, you can configure httpd to do what I want, but I was unsure if you could in tomcat. Since I'm not using httpd, I just

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

2009-11-02 Thread Josh Gooding
Did you copy over the 64 bit tomcat files to the tomcat directory? Not the 64 bit java files. On Mon, Nov 2, 2009 at 5:05 PM, tiffany.d...@inovis.com tiffany.d...@inovis.com wrote: I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit

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

2009-11-02 Thread Josh Gooding
EDIT: Don't install tomcat as a service. I've always had trouble running the 64 bit service. On Mon, Nov 2, 2009 at 5:19 PM, Josh Gooding josh.good...@gmail.com wrote: Did you copy over the 64 bit tomcat files to the tomcat directory? Not the 64 bit java files. On Mon, Nov 2, 2009 at 5

Will tomcat allow me to configur access to a single folder?

2009-11-01 Thread Josh Gooding
Unlike Apache HTTPD, can Tomcat be configured to allow access to a single directory? I am looking at writing a bit of code to be able to upload spare files to a section on the webserver, and then be able to view them and d/l them. Writing the code for the upload is not hard, but just wondering

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
. On Fri, Oct 30, 2009 at 12:58 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/29/2009 9:17 PM, Josh Gooding wrote: I wrote some code on top of the Tomcat's ConnectionPool class. In regular Java based programming if I

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
. 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 ConnectionPool class. In regular Java based programming if I close a ResultSet with connection.close

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 josh.good...@gmail.comwrote: 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

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 beyond

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
/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 Goodingjosh.good...@gmail.com wrote: AHH, I will read the API for the StatementFinalizer. I

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 Josh Gooding
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 Goodingjosh.good...@gmail.com wrote: AHH, I will read the API for the StatementFinalizer. I was looking at something to do that. Thank you Filip! On Fri

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
, 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: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Friday, October 30, 2009 1:43 PM To: Tomcat Users List Subject: Re

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
, written by the previous developer? -Original Message- From: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Friday, October 30, 2009 3:32 PM To: Tomcat Users List Subject: Re: ConnectionPool question Barry I changed the code to this: public static void closeResources(ResultSet

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: Resource name=jdbc/RealmDB auth=Container type=javax.sql.DataSource

Re: ConnectionPool question

2009-10-30 Thread Josh Gooding
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

ConnectionPool question

2009-10-29 Thread Josh Gooding
I wrote some code on top of the Tomcat's ConnectionPool class. In regular Java based programming if I close a ResultSet with connection.close(), this frees up both the statement and resultset's memory associated with the connection if it was still open. If I close a connection with Tomcat's

Re: Questions on Single Sign On?

2009-10-20 Thread Josh Gooding
not clue one on how to do this. What is put in the session upon authentication that I could have my code look for to invalidate the other live session? - Josh On Mon, Oct 12, 2009 at 10:01 AM, André Warnier a...@ice-sa.com wrote: Josh Gooding wrote: To my knowledge the Single Sign on in Tomcat

Re: doubts about tomcat form based authentication

2009-10-20 Thread Josh Gooding
The way I solved the issue was removing he user from the tomcat role table. Tomcat itself will then not allow you to login. I am using a Realm authentication as well. In the user table I specified what role the user had (either plain user, manager, admin, or a trainer), then based off of that,

Questions on Single Sign On?

2009-10-12 Thread Josh Gooding
To my knowledge the Single Sign on in Tomcat is a way for all of your back end applications in your VH to recognize that you have logged in to one place, and all of the apps belonging to that VH will be logged into. What I am trying to do is restrict the login from users to one single session.

Re: Questions on Single Sign On?

2009-10-12 Thread Josh Gooding
I know doing this at the application level is probably going to be a little messy and that's ok for now. Since this is for a video training program, yes the requirement is appropriate. As for handling browser crashes, I'll have to set the timeout to an appropriate time, (1/2 hour or so) but if

Re: Questions on Single Sign On?

2009-10-12 Thread Josh Gooding
upon closing the browser window? On Mon, Oct 12, 2009 at 11:02 AM, Andre-John Mas aj...@sympatico.ca wrote: On 12-Oct-2009, at 10:51, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Perter, On 10/12/2009 9:37 AM, Peter Crowther wrote: 2009/10/12 Josh Gooding

Re: Questions on Single Sign On?

2009-10-12 Thread Josh Gooding
On Mon, Oct 12, 2009 at 11:03 AM, André Warnier a...@ice-sa.com wrote: Josh Gooding wrote: ... Andre, your talking about something like Active Directory for Windows Domain's to use with say Communicator, Outlook, etc, across windows environments with domain authentication? Yes, although

Re: Questions on Single Sign On?

2009-10-12 Thread Josh Gooding
Ugh... tabs said it all. I didn't take into consideration about them. On Mon, Oct 12, 2009 at 11:41 AM, Andre-John Mas aj...@sympatico.ca wrote: On 12-Oct-2009, at 11:24, Josh Gooding wrote: Well upon clicking logout the following occurs: session.removeAttribute(User

configuring multiple domain's and forwarding on Tomcat 6 questions.

2009-09-26 Thread Josh Gooding
My Tomcat configuration as of right now is set to serve on a .com domain. I recently bought 2 more domains and want to host a different .com but use the same installation of tomcat that I am using currently. Is this just another Host declaration or would I need another Enginedeclaration? Also

Re: configuring multiple domain's and forwarding on Tomcat 6 questions.

2009-09-26 Thread Josh Gooding
not positive of this. Josh Gooding wrote: My Tomcat configuration as of right now is set to serve on a .com domain. I recently bought 2 more domains and want to host a different .com but use the same installation of tomcat that I am using currently. Is this just another Host declaration

Re: configuring multiple domain's and forwarding on Tomcat 6 questions.

2009-09-26 Thread Josh Gooding
something then, I think I might have to call the company I got the domain from to get it pointing to the right server IP. On Sat, Sep 26, 2009 at 11:50 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: configuring multiple

Re: php 5 and tomcat 6

2009-09-25 Thread Josh Gooding
Chris, I think you're right about it being a PHP question, I was just inquiring if someone here had the PECL dll files that I need. Here is what I was looking at: http://tojackwu.blogspot.com/2008/10/php-5-on-tomcat-6-installation.html Ziggy - I'm aware of liferay. Off the top of your head do

Re: Apache Tomcat, IIS, ISAPI

2009-09-25 Thread Josh Gooding
Joerg, If you want your JSP's protected you can configure that in your web.xml file. I can't fully remember (someone jump in here) but I used role's in tomcat and put the jsp files in a seperate directory, then I added declarations in my web.xml file for it. Here is the snippets from my web.xml:

php 5 and tomcat 6

2009-09-24 Thread Josh Gooding
Hey gang, Does anyone know where the last release of PECL was that had the tomcat files in it for getting PHP to run with Tomcat? Looks like the version of PHP I have (5.2.11) doesn't include the PECL libraries and from what I have read, the PECL are currently not released. I seem to be coming

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
folder in $CATALINA_HOME I could add and remove folders in the webapps folder and I didn't have to restart tomcat each time. - J On Thu, Aug 13, 2009 at 5:33 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: slight

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
=false Context docBase=ROOT path= / /Host So I understand why they are not being ignored. I still figure that I should be able to deploy a new project on the fly though and not have to restart tomcat. On Wed, Aug 26, 2009 at 10:29 AM, Josh Gooding josh.good

Re: slight problem with Tomcat and Httpd working together.

2009-08-26 Thread Josh Gooding
You know Chuck, it would probably work if I put Auto-deploy to true instead of false. (tried and it works). On Wed, Aug 26, 2009 at 10:32 AM, Josh Gooding josh.good...@gmail.comwrote: Wait a sec. The only Context element I have defined in my server.xml file is here: Engine name

Re: Need some SSL Config help.

2009-08-14 Thread Josh Gooding
Thanks Chris, I appreciate it! On Fri, Aug 14, 2009 at 10:30 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 8/13/2009 2:38 PM, Josh Gooding wrote: So I navigated to https://(domain).com and low and behold it works

Re: Need some SSL Config help.

2009-08-13 Thread Josh Gooding
).com/company1/ it drops the HTTPS. I don't want that. Any pointers? Thanks again - Josh On Tue, Aug 11, 2009 at 10:35 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 8/11/2009 4:47 PM, Josh Gooding wrote: ok back

Re: slight problem with Tomcat and Httpd working together.

2009-08-13 Thread Josh Gooding
I understand what the appBase is Perhaps you don't; the appBase attribute of a Host is the /default/ deployment directory for its webapps; individual webapps are typically located *under* the appBase directory. I don't understand why the docBase and appBase cannot be the same declaration

Re: slight problem with Tomcat and Httpd working together.

2009-08-11 Thread Josh Gooding
Chris, My thanks to you and Chuck for clarifying that. The reason that I set up httpd on the machine is for PHP and other possible languages. I was trying to be a little more future thinking, however, since PHP is no longer an option for these guys, I'll just nix the httpd server and move back

Re: slight problem with Tomcat and Httpd working together.

2009-08-11 Thread Josh Gooding
Even better, I got what I was looking for. Where do I put the DLL that I want to use? in wondows or in what tomcat directory? On Tue, Aug 11, 2009 at 10:27 AM, Josh Gooding josh.good...@gmail.comwrote: Chris, My thanks to you and Chuck for clarifying that. The reason that I set up httpd

Re: slight problem with Tomcat and Httpd working together.

2009-08-11 Thread Josh Gooding
NVM chuck, I believe it's in the native docs. I looked at the link right after you posted. I couldn't find the native link on apaches site. T/Y sir On Tue, Aug 11, 2009 at 10:46 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com

Re: slight problem with Tomcat and Httpd working together.

2009-08-11 Thread Josh Gooding
appreciate all of your help. On Tue, Aug 11, 2009 at 10:51 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: slight problem with Tomcat and Httpd working together. Where do I put the DLL that I want to use? In Tomcat's

Re: slight problem with Tomcat and Httpd working together.

2009-08-11 Thread Josh Gooding
is? On Tue, Aug 11, 2009 at 11:28 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: slight problem with Tomcat and Httpd working together. HEY!!! It's in there and working. Congratulations. INFO: Loaded APR

Re: Need some SSL Config help.

2009-08-11 Thread Josh Gooding
ok back to the topic at hand here. I have removed httpd from my server, installed APR, and have gotten my cert file from my hosting company. it is in pfx format. Now I found some information on the net: http://tp.its.yale.edu/pipermail/cas/2005-July/001337.html It was saying that I can just

slight problem with Tomcat and Httpd working together.

2009-08-07 Thread Josh Gooding
Interesting situation I have going on here When running Tomcat 6.0.18 as the webserver I have 2 hosts configured one as the .com and it is serving from the webapps folder just fine, the other is serving to a subdomain perfectly. I couldn't be happier in how it is running. Here is where it

moving webapps directory to another location

2009-08-06 Thread Josh Gooding
Hello folks, I am running Tomcat 6.0.18 on a dedicated server at a hosting company. I have ported Apache HTTPD and Tomcat to talk to each other quite nicely. I have ran into a small dilemma. I noticed that I have a 20GB windows / program partition and a 500GB data partition. Am I able to

Re: Need some SSL Config help.

2009-08-05 Thread Josh Gooding
and nothing more? On Tue, Aug 4, 2009 at 4:18 PM, André Warnier a...@ice-sa.com wrote: Josh Gooding wrote: Update: So after re-re-reading the docs, since TC is not my standalone webserver, I should configure Apache (httpd) for SSL. That seems to be what I am reading. Yes. Client

Re: Need some SSL Config help.

2009-08-05 Thread Josh Gooding
nevermind, I think I made some headway on this and will ask this over on the httpd list. Thank you for getting me this far, I really appreciate it. On Wed, Aug 5, 2009 at 8:50 AM, Josh Gooding josh.good...@gmail.com wrote: *Andre wrote: The above is assuming that you would want all accesses

Re: Need some SSL Config help.

2009-08-04 Thread Josh Gooding
wait a sec here. I'm a little confused. Let me ask it this way. I have a Login.jsp file that takes uname / pwd and uses j_security_check for authentication. That is the only thing that I want HTTPS on. Everything else is not important. I have setup Apache (httpd) and am forwarding the 1 html

Re: Need some SSL Config help.

2009-08-04 Thread Josh Gooding
Update: So after re-re-reading the docs, since TC is not my standalone webserver, I should configure Apache (httpd) for SSL. That seems to be what I am reading. On Tue, Aug 4, 2009 at 3:43 PM, Josh Gooding josh.good...@gmail.com wrote: wait a sec here. I'm a little confused. Let me ask

Re: Need some SSL Config help.

2009-07-27 Thread Josh Gooding
:08 AM, Josh Gooding josh.good...@gmail.comwrote: Thanks all, I appreciate the input. I used http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html to attempt to configure SSL. I'll read up on APR. On Sat, Jul 25, 2009 at 6:14 AM, Mark Thomas ma...@apache.org wrote: Josh Gooding wrote: One

  1   2   >