RE: DB connection error -Tomcat 6 config

2010-04-16 Thread Propes, Barry L
address the matter. Thanks, Barry -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, March 26, 2010 2:25 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 26/03/2010 19:22, Propes, Barry L wrote: Mark -- looked for that and got

Re: DB connection error -Tomcat 6 config

2010-04-16 Thread Konstantin Kolinko
2010/4/17 Propes, Barry L barry.l.pro...@citi.com: Mark, got the profiler downloaded and going. Looking at the link below I see reference to one other link, https://issues.apache.org/bugzilla/show_bug.cgi?id=48837, which seems to reveal the core of my problem. Konstantin has some

RE: DB connection error -Tomcat 6 config

2010-04-16 Thread Propes, Barry L
Yes, that one, as well. Thanks, Konstantin. Sorry about that. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, April 16, 2010 5:14 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config 2010/4/17 Propes, Barry L barry.l.pro

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
...@apache.org] Sent: Tuesday, March 23, 2010 5:54 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 23/03/2010 22:39, Propes, Barry L wrote: I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload

Re: DB connection error -Tomcat 6 config

2010-03-26 Thread Mark Thomas
on the page. I'll see about downloading and implementing the profiler. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, March 23, 2010 5:54 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 23/03/2010 22:39, Propes, Barry L wrote

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
on the page. I'll see about downloading and implementing the profiler. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, March 23, 2010 5:54 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 23/03/2010 22:39, Propes, Barry L

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config I'm also having an issue with a child directory and contents being seen. Getting 404 errors from this, even though the contents are unequivocally there. Note that client requests

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Propes, Barry L
Thanks, Mark -- I'll shake down that thread here in a bit. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, March 23, 2010 5:54 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 23/03/2010 22:39, Propes, Barry L wrote: I got

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Propes, Barry L
had some classes that were still being used, which seemed odd, but I assume accurate. Thanks, pid. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 23, 2010 6:16 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On 23/03/2010 22:54

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Although when I ran find memory leaks or whatever that little button reads, it did mention my app had some classes that were still being used, which seemed odd, but I assume accurate

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Propes, Barry L
, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, March 24, 2010 9:45 AM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Although when I ran find memory

RE: DB connection error -Tomcat 6 config

2010-03-23 Thread Propes, Barry L
and restarting itthat not the case? -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 4:47 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com

Re: DB connection error -Tomcat 6 config

2010-03-23 Thread Mark Thomas
On 23/03/2010 22:39, Propes, Barry L wrote: I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload the app. Should that have a significant bearing on something like a DBCP connection so adversely? I was thinking it

Re: DB connection error -Tomcat 6 config

2010-03-23 Thread Pid
On 23/03/2010 22:54, Mark Thomas wrote: On 23/03/2010 22:39, Propes, Barry L wrote: I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload the app. Should that have a significant bearing on something like a DBCP connection

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
Well, that's interesting... -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 6:13 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config And if you remove the factory attribute? when I remove the I

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread André Warnier
Propes, Barry L wrote: ... I may be missing something, but And in doing this, I get this error!! C:\Program Files\Apache Software Foundation\Tomcat 6.0jar -tf tomcat.dbcp.jar java.io.FileNotFoundException: tomcat.dbcp.jar (The system cannot find the file specified) ... And it is in the

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread Mark Thomas
On 19/03/2010 16:31, André Warnier wrote: Propes, Barry L wrote: ... I may be missing something, but And in doing this, I get this error!! C:\Program Files\Apache Software Foundation\Tomcat 6.0jar -tf tomcat.dbcp.jar java.io.FileNotFoundException: tomcat.dbcp.jar (The system cannot

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config (Looks like our corporate e-mail filter is removing some of your messages - I had to retrieve this from the archive.) So now we're down to this problem: java.lang.ClassNotFoundException

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
11:32 AM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config Propes, Barry L wrote: ... I may be missing something, but And in doing this, I get this error!! C:\Program Files\Apache Software Foundation\Tomcat 6.0jar -tf tomcat.dbcp.jar java.io.FileNotFoundException

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
connection error -Tomcat 6 config On 19/03/2010 16:31, André Warnier wrote: Propes, Barry L wrote: ... I may be missing something, but And in doing this, I get this error!! C:\Program Files\Apache Software Foundation\Tomcat 6.0jar -tf tomcat.dbcp.jar java.io.FileNotFoundException

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
] Sent: Friday, March 19, 2010 11:41 AM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config That, and look in the right file. It is tomcat-dbcp.jar, not tomcat.dbcp.jar Mark - To unsubscribe, e-mail

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread 2smart4u
just a quick thought: have you tried installing Tomcat into a directory where it's name is *not* containing any spaces? cheers gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Caldarale, Charles R
From: 2smart4u [mailto:rc4...@googlemail.com] Subject: Re: DB connection error -Tomcat 6 config just a quick thought: have you tried installing Tomcat into a directory where it's name is *not* containing any spaces? I would have thought a smart person would be keeping up - André

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
still quite baffled at this. -Original Message- From: 2smart4u [mailto:rc4...@googlemail.com] Sent: Friday, March 19, 2010 12:12 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config just a quick thought: have you tried installing Tomcat into a directory where it's

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread Gregor Schneider
chuck.caldar...@unisys.com : From: 2smart4u [mailto:rc4...@googlemail.com] Subject: Re: DB connection error -Tomcat 6 config just a quick thought: have you tried installing Tomcat into a directory where it's name is *not* containing any spaces? I would have thought a smart person would

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config There is another copy of the tomcat-dbcp.jar in my JRE lib directory. That must be removed - it could be the source of all the problems. Tomcat doesn't copy files there, too does

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 1:58 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
yet. But I could be wrong about that. : ) -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 1:58 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
the tomcat-dbcp.jar file located myriad places! Thanks so much for your patience and help!! Regards, Barry -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Friday, March 19, 2010 4:03 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Alright, done

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
Ok, will do...thanks for the suggestion. I'll remove that. Thanks. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 4:31 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
Message- From: Propes, Barry L [GCG-NAOT] Sent: Friday, March 19, 2010 4:31 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config GOOD GOSH!!! I don't believe it! It's now friggin' working! Thank you all: Chuck, Chris, Andre, Mark, Gregor, et al. I had one little bad

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Weird, thoughnow I'm getting an IllegalStateException: Timer already cancelled. Wonder what this is? Or what's causing it? Can't say - I have very little experience with Oracle

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
Ok, thanks. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 4:47 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
: Tuesday, March 16, 2010 6:12 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Still, the errors I get: Have you looked in the logs? Resource name=jdbc/myoracle auth

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Yes, and it's essentially the same. And I seem to have gotten this no matter the version I've tried out (6.018, 6.0.24, etc.) If you don't mind, please repost your Resource configuration

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
[mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 11:41 AM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Yes, and it's essentially the same. And I seem

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 3/18/2010 1:16 PM, Propes, Barry L wrote: Resource name=jdbc/myoracle In web.xml, located in.../webapps/chngctrl/WEB-INF/web.xml (for what it's worth, and I think it's immaterial, this at the top-) ?xml version=1.0

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
, March 18, 2010 2:03 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 3/18/2010 1:16 PM, Propes, Barry L wrote: Resource name=jdbc/myoracle In web.xml, located in.../webapps/chngctrl/WEB-INF/web.xml (for what it's

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread 2smart4u
Resource-Ref is definately 2.3-standard. Here's a configuration we're running in production. Adapt it to your needs, should work with TC 5.5 and 6.x: META-INF/context.xml: ?xml version='1.0' encoding='utf-8'? Context Resource auth=Container description=somedescr name=jdbc/someName

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: 2smart4u [mailto:rc4...@googlemail.com] Subject: Re: DB connection error -Tomcat 6 config factory=org.apache.commons.dbcp.BasicDataSourceFactory Note that this is using the commons-dbcp library, *not* the DBCP packaged with Tomcat. The OP is trying to make his webapp function

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
18, 2010 2:54 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: 2smart4u [mailto:rc4...@googlemail.com] Subject: Re: DB connection error -Tomcat 6 config factory=org.apache.commons.dbcp.BasicDataSourceFactory Note that this is using the commons-dbcp library

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Good point...I'll switch back to factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory Again, that factory reference is incorrect - there's no such class. If you insist

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
with my old 4.1.31 build. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 3:37 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Should it behave the same way as 6.0.26? No, 6.0.18 did not copy every instance of a Context element. If you can, move up to 6.0.26 so we can all be looking at the same release. - Chuck

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: If you can, move up to 6.0.26 so we can all be looking at the same release. From one of the OP's earlier messages: An error occurred at line: 68 in the jsp file: /chngctrl/chgctrl_details.jsp Type

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
Ok, Chuck, I'll give that one a shot and then deploy. Thanks. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 3:57 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread Pid
On 18/03/2010 21:26, Bob Hall wrote: --- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles Rchuck.caldar...@unisys.com wrote: If you can, move up to 6.0.26 so we can all be looking at the same release. From one of the OP's earlier messages: An error occurred at line: 68 in the jsp file:

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
Tried it Bob. Same errors in both of those attempts. javax.naming.NameNotFoundException: Name jdbc is not bound in this Context -Original Message- From: Bob Hall [mailto:rfha...@yahoo.com] Sent: Thursday, March 18, 2010 4:27 PM To: Tomcat Users List Subject: RE: DB connection error

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 3:02 PM, Pid p...@pidster.com wrote:   Context envCtx = initCtx.lookup(java:comp/env);   DataSource ds = initCtx.lookup(jdbc/myoracle); should be:   Context envCtx = initCtx.lookup(java:comp/env);   DataSource ds = envCtx.lookup(jdbc/myoracle); no? I was

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
Users List Subject: Re: DB connection error -Tomcat 6 config On 18/03/2010 21:26, Bob Hall wrote: --- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles Rchuck.caldar...@unisys.com wrote: If you can, move up to 6.0.26 so we can all be looking at the same release. From one of the OP's earlier

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
I tried that, too, and still get a NameNotFound exception. jdbc is not bound in this Context -Original Message- From: Bob Hall [mailto:rfha...@yahoo.com] Sent: Thursday, March 18, 2010 5:07 PM To: Tomcat Users List; p...@pidster.com Subject: Re: DB connection error -Tomcat 6 config

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 3:07 PM, Propes, Barry L barry.l.pro...@citi.com wrote: Yes, it should be. Not sure how that got jumbled as such but what I did have was: Connection connection = null; Context initCtx = new InitialContext(); Context envCtx = (Context)

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Connection connection = null; Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(jdbc/myoracle

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
A little bit...but I'll probe into it some more. Thanks for the suggestion. -Original Message- From: Bob Hall [mailto:rfha...@yahoo.com] Sent: Thursday, March 18, 2010 5:14 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config --- On Thu, 3/18/10 at 3:07 PM

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config I tried that, too, and still get a NameNotFound exception. jdbc is not bound in this Context Still indicates the Resource element is not being found by Tomcat. - Chuck

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 5:14 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config Since things are a bit confused now, you might want to verify that the JSP source is what it should be (using envCtx for the lookup of jdbc

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Good point...I'll switch back to factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory Again, that factory

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config I configured it with the proper factory reference below And if you remove the factory attribute? Double-check that tomcat-dbcp.jar is in Tomcat's lib directory and nowhere else

RE: DB connection error -Tomcat 6 config

2010-03-17 Thread Propes, Barry L
- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 16, 2010 6:12 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Still

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
!! -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Thursday, February 25, 2010 3:53 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config I'll totally remove factory. It was necessary in my 4.1 build. I'll also tweak the other ms time settings, and the WhileIdle

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
? Ughhh!! -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Thursday, February 25, 2010 3:53 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config I'll totally remove factory. It was necessary in my 4.1 build. I'll also tweak the other ms time settings

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Still, the errors I get: Have you looked in the logs? Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory

RE: DB connection error -Tomcat 6 config

2010-03-04 Thread Anthony J. Biacco
...@citi.com] Sent: Monday, March 01, 2010 2:50 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config 1. Quadruple-check that you have your JDBC driver only in one place (in Tomcat's /lib directory) 2. Remove all unnecessary configuration from your Resource element: just

RE: DB connection error -Tomcat 6 config

2010-03-03 Thread Propes, Barry L
(can't remember the exact details). ojdbc6 seems to work just fine. mas Thanks, Barry -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Tuesday, March 02, 2010 9:50 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Really? Well, when I

RE: DB connection error -Tomcat 6 config

2010-03-03 Thread Propes, Barry L
-INF/context.xml largley does the overriding. Either way, that info is correct, so I'm still troubleshooting. Thanks for the info, Bob! -Original Message- From: Bob Hall [mailto:rfha...@yahoo.com] Sent: Tuesday, March 02, 2010 7:39 PM To: Tomcat Users List Subject: RE: DB connection error

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
. Thanks, Karthik. -Original Message- From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Sent: Monday, March 01, 2010 10:59 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config Hi Please double check the ojdbc14.jar size, Some times I find the jar files

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
, Barry L [GCG-NAOT] Sent: Tuesday, March 02, 2010 9:50 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Really? Well, when I was implementing connection pooling in 4.1.31, I specifically remember having to use ojdbc14_g.jar instead of ojdbc14.jar to successfully get

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Hassan Schroeder
On Tue, Mar 2, 2010 at 3:18 PM, Propes, Barry L barry.l.pro...@citi.com wrote: I wonder now...should I perhaps be using this jar?   ojdbc6.jar  ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has used these environments together and needed to make the

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
Then that should work...are you using DBCP with it? Thanks. -Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: Tuesday, March 02, 2010 5:34 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On Tue, Mar 2, 2010 at 3:18 PM

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Hassan Schroeder
On Tue, Mar 2, 2010 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote: Then that should work...are you using DBCP with it? I don't *believe* so; possibly ActiveRecord/activerecord-jdbc-adapter was doing pooling under the hood but it was strictly a proof of concept for the client so I

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
Oh ok. Thanks. -Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: Tuesday, March 02, 2010 5:53 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On Tue, Mar 2, 2010 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Mark Shifman
remember the exact details). ojdbc6 seems to work just fine. mas Thanks, Barry -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Tuesday, March 02, 2010 9:50 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Really? Well, when I was implementing

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Bob Hall
--- On Tue, 3/2/10 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote: Then that should work...are you using DBCP with it? I wonder now...should I perhaps be using this jar?   ojdbc6.jar  ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Anthony J. Biacco
, March 02, 2010 6:08 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: DB connection error -Tomcat 6 config Propes, Barry L wrote: I wonder now...should I perhaps be using this jar? ojdbc6.jar ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Karthik Nanjangude
future With regards karthik -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Wednesday, March 03, 2010 4:48 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config I wonder now...should I perhaps be using this jar? ojdbc6.jar ? Has

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Propes, Barry L
Subject: RE: DB connection error -Tomcat 6 config Hi, have you checked, that no context file for your webapp exists in conf/Catalina/localhost? The file would be named like your webapp but ending with .xml. So if your webapp is called foo. The file would be conf/Catalina/localhost/foo.xml. Another

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Yes, I believe that is indeed getting created. Should that be being done by Tomcat? Yes, the Context element is copied from the webapp to conf/Catalina/[host]/[appName].xml when

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Propes, Barry L
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, March 01, 2010 12:32 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Propes, Barry L
[mailto:karthik.nanjang...@xius-bcgi.com] Sent: Thursday, February 25, 2010 10:58 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config Hi I hope this helps ?xml version=1.0 encoding=UTF-8? Context workDir=work/Catalina/localhost/appwar Resource name=jdbc/OrclDB

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Propes, Barry L
1. Quadruple-check that you have your JDBC driver only in one place (in Tomcat's /lib directory) 2. Remove all unnecessary configuration from your Resource element: just (simple) URL, driver class, username and password, just to get things started. Good luck, - -chris Ok, I did this - blew

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config If I try to reference the resource reference in the webapps/META-INF/context.xml file, Is that the real location? If so, it's not valid. The webapps directory is the default

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Propes, Barry L
Sorry, no. webapps/chngctrl/META-INF/context.xml. Thanks, Chuck. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, March 01, 2010 4:29 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L

RE: DB connection error -Tomcat 6 config

2010-03-01 Thread Karthik Nanjangude
purpose, although it works try with normal ojdbc14.jar With regards karthik -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Tuesday, March 02, 2010 4:44 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Sorry, no. webapps

RE: DB connection error -Tomcat 6 config

2010-02-27 Thread Felix Schumacher
23, 2010 5:53 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config If you don't mind, post your Context element again. The error message indicates something doesn't match between what your JSP/servlet is requesting and what's registered via the Resource element

RE: DB connection error -Tomcat 6 config

2010-02-26 Thread Propes, Barry L
10:58 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config Hi I hope this helps ?xml version=1.0 encoding=UTF-8? Context workDir=work/Catalina/localhost/appwar Resource name=jdbc/OrclDB auth=Container type=oracle.jdbc.pool.OracleDataSource factory

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
-authContainer/res-auth /resource-ref -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 23, 2010 5:53 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config If you don't mind, post your Context element again. The error

Re: DB connection error -Tomcat 6 config

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 3:45 PM, Propes, Barry L wrote: Should be noted: for the factory type in the params below, I tried both factory=org.apache.commons.dbcp.BasicDataSourceFactory and factory=org.apache.dbcp.BasicDataSourceFactory, each to no

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
(HttpServlet.java:717) -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Thursday, February 25, 2010 2:46 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Sorry for the delay - supplying both my META-INF/context.xml and webapps/WEB-INF/web.xml contents

Re: DB connection error -Tomcat 6 config

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 4:26 PM, Propes, Barry L wrote: After reconfiguring, I seem to be getting this error too, now. For which a cursory search on Google seems to reveal many cases of this happening with various DB drivers, as well as different

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config javax.servlet.ServletException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' That's symptomatic of the Resource element

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, February 25, 2010 3:26 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 3:45 PM, Propes, Barry L wrote: Should

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
3:43 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config javax.servlet.ServletException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
] Sent: Thursday, February 25, 2010 3:43 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 4:26 PM, Propes, Barry L wrote: After reconfiguring, I seem to be getting this error too, now. For which a cursory

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Karthik Nanjangude
Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Friday, February 26, 2010 2:16 AM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config Sorry for the delay - supplying both my META-INF/context.xml and webapps/WEB-INF/web.xml contents. Should be noted

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Felix Schumacher
/resource-ref -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 23, 2010 5:53 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config If you don't mind, post your Context element again. The error message indicates

RE: DB connection error -Tomcat 6 config

2010-02-23 Thread Propes, Barry L
Is the system CLASSPATH environment variable set to anything? (It shouldn't be.) Yes, it is...I'll have to double check it, but I did configure it, I think with a reference to the oracle jre. Is the Oracle driver jar anywhere else on the system (in the jre/lib directory, for example)? Make

Re: DB connection error -Tomcat 6 config

2010-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/20/2010 10:01 AM, Caldarale, Charles R wrote: From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: DB connection error -Tomcat 6 config BTW: i put my Oracle driver classes (classes12.jar or classes12.zip) in WEB-INF/lib

RE: DB connection error -Tomcat 6 config

2010-02-23 Thread Propes, Barry L
Using 10g now... Thanks. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, February 23, 2010 1:23 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/20

RE: DB connection error -Tomcat 6 config

2010-02-23 Thread Propes, Barry L
.zip You're saying remove those? (The last four references I presume). -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, February 19, 2010 6:04 PM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config From: Propes

RE: DB connection error -Tomcat 6 config

2010-02-23 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config I did have my CLASSPATH referencing the following: .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip; C:\Java\jdk1.6.0_18\bin; C:\oracle\ora92\jdbc\lib; C:\oracle\ora92\jdbc\lib

  1   2   >