Re: DB Connection error

2012-01-09 Thread Ron McNulty
L. Hope that helps. Regards Ron - Original Message - From: "Anjib Mulepati" To: "Tomcat Users List" Sent: Wednesday, January 04, 2012 7:26 AM Subject: Re: DB Connection error On 1/3/2012 1:12 PM, Chema wrote: 2012/1/3 Anjib Mulepati: Hi All, One s

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
Oh ok, thanks for the clarification. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, January 09, 2012 1:51 PM To: Tomcat Users List Subject: Re: DB Connection error 2012/1/9 Propes, Barry L : > I think some Oracle desktop installations, l

Re: DB Connection error

2012-01-09 Thread Konstantin Kolinko
By the way, using infinite timeout on the pool (maxWait="-1") is a bad option. I would recommend something more realistic. > > > -Original Message- > From: Chema [mailto:demablo...@gmail.com] > Sent: Monday, January 09, 2012 12:03 PM > To: Tomcat Users List > Su

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
I think some Oracle desktop installations, like Oracle XE, come with 8080 as the out-of-the-box default port. -Original Message- From: Chema [mailto:demablo...@gmail.com] Sent: Monday, January 09, 2012 12:03 PM To: Tomcat Users List Subject: Re: DB Connection error > Caused

Re: DB Connection error

2012-01-09 Thread Chema
> Caused by: oracle.net.ns.NetException: The Network Adapter could not > establish the connection >    at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375) >    at > oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422) >    at oracle.net.ns.NSProtocol.establishConne

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
: Monday, January 09, 2012 9:22 AM To: Tomcat Users List Subject: Re: DB Connection error I did change my config.xml to And this morning when DB restart I had to restart the tomcat to get connection. What can be other solutions

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
Are you getting any kind of error in the logs? -Original Message- From: Anjib Mulepati [mailto:anji...@hotmail.com] Sent: Monday, January 09, 2012 9:22 AM To: Tomcat Users List Subject: Re: DB Connection error I did change my config.xml to And this morning when DB restart I had to

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
com.anjib.exceptions.ICDAOException: Error in your database. at com.anjib.actions.GetMyListAction.execute(GetMyListAction.java:71) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(Request

Re: DB Connection error

2012-01-09 Thread Chema
2012/1/9 Anjib Mulepati : > I did change my config.xml to > > > >            driverClassName="oracle.jdbc.driver.OracleDriver" >            maxActive="20" >            maxIdle="10" >            maxWait="-1" >            name="jdbc/myName" >            password="myPassword" >            testOnBorr

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
meout="300" logAbandoned="false" -Original Message- From: Daniel Mikusa [mailto:dmik...@vmware.com] Sent: Tuesday, January 03, 2012 1:10 PM To: Tomcat Users List Subject: Re: DB Connection error On Tue, 2012-01-03 at 10:47 -0800, Chema wrote: But in my application I

Re: DB Connection error

2012-01-03 Thread Pid
On 03/01/2012 17:08, Anjib Mulepati wrote: > Hi All, > > One simple question If I have JINDI configuration in my application will > my application reconnect to the DB whenever my DB gets restart. > I am having DB connection problem every Monday since our DB get > restarted on weekends which we don

Re: DB Connection error

2012-01-03 Thread Chema
> Try adding validationQuery="SELECT 1 FROM DUAL" and testOnBorrow="true". testOnBorrow is true by default :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apa

RE: DB Connection error

2012-01-03 Thread Propes, Barry L
quot; poolPreparedStatements="true" removeAbandoned="true" removeAbandonedTimeout="300" logAbandoned="false" -Original Message- From: Daniel Mikusa [mailto:dmik...@vmware.com] Sent: Tuesday, January 03, 2012 1:10 PM To: Tomcat Users List Subject:

Re: DB Connection error

2012-01-03 Thread Daniel Mikusa
On Tue, 2012-01-03 at 10:47 -0800, Chema wrote: > > But in my application I have context.xml with following > > > > > > >driverClassName="oracle.jdbc.driver.OracleDriver" > >maxActive="20" > >maxIdle="10" > >maxWait="-1" > >name="jdbc/my

Re: DB Connection error

2012-01-03 Thread Chema
> But in my application I have context.xml with following > > >            driverClassName="oracle.jdbc.driver.OracleDriver" >            maxActive="20" >            maxIdle="10" >            maxWait="-1" >            name="jdbc/myName" >            password="myPassword" >            type="javax.

Re: DB Connection error

2012-01-03 Thread Anjib Mulepati
On 1/3/2012 1:12 PM, Chema wrote: 2012/1/3 Anjib Mulepati: Hi All, One simple question If I have JINDI configuration in my application will my application reconnect to the DB whenever my DB gets restart. I am having DB connection problem every Monday since our DB get restarted on weekends which

Re: DB Connection error

2012-01-03 Thread Chema
2012/1/3 Anjib Mulepati : > Hi All, > > One simple question If I have JINDI configuration in my application will my > application reconnect to the DB whenever my DB gets restart. > I am having DB connection problem every Monday since our DB get restarted on > weekends which we don't have control of

Re: DB connection error and broken images while changing webapp context path

2010-08-13 Thread Mark Eggers
Astghik, As has already been pointed out: 1. Don't put elements in server.xml - use either: a. META-INF/context.xml in your web application b. $CATALINA_HOME/conf/Catalina/[hostname]/[application].xml 2. Don't use docBase in your element. Tomcat will figure that out 3. Don't use subdir

Re: DB connection error and broken images while changing webapp context path

2010-08-13 Thread David Smith
HI Astghik 1. Don't put elements in server.xml. They should go into files named ROOT.xml in /etc/tomcat6/Catalina/localhost and /etc/tomcat6/Catalina/www.myip.com. While your at it, drop the docbase and path attributes ... they aren't needed when the Context element is in it's own xml file. 2.

Re: DB connection error and broken images while changing webapp context path

2010-08-13 Thread Astghik
And to create virtual host and to set my webapp as root dir. I've done both of them. But now I have db access problems and images on site don't display. Estanislao Gonzalez-2 wrote: > > Hi Astghik, > > I don't really have a clue on your problem as I think you are creating a > virtual host wit

Re: DB connection error and broken images while changing webapp context path

2010-08-13 Thread Estanislao Gonzalez
Hi Astghik, I don't really have a clue on your problem as I think you are creating a virtual host within your tomcat installation. What I do when I want to have myapp at the root directory of server (so you access it with http://myip:8080) is to install your application in webapps/ROOT inste

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 : > M

Re: DB connection error -Tomcat 6 config

2010-04-16 Thread Konstantin Kolinko
2010/4/17 Propes, Barry L : > 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 instructions on there I'l

RE: DB connection error -Tomcat 6 config

2010-04-16 Thread Propes, Barry L
helps 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

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. No

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
2:40:19 PM org.apache.catalina.startup.ContextConfig validateSecurityRoles -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

Re: DB connection error -Tomcat 6 config

2010-03-26 Thread Mark Thomas
just look for that text 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 co

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
-- 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 this again today, and it seems to happen when/if I go into the Tomcat > Manager app and

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Propes, Barry L
Caldarale, 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 > > Alt

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, wh

RE: DB connection error -Tomcat 6 config

2010-03-24 Thread Propes, Barry L
ion my app 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/

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: &g

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 s

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

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.

RE: DB connection error -Tomcat 6 config

2010-03-20 Thread Travis
icely. -Travis -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Tuesday, March 16, 2010 7:07 PM To: 'Tomcat Users List' Subject: RE: DB connection error -Tomcat 6 config And I should have added the proper path(s) was/were /webapps/ch

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 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

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
? : ) -Original 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, Andr

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,

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 > > javax.servlet.ServletException: > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create > PoolableConnectionFactory (ORA-00923: FROM keyword not found wh

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
junk being 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 -Tomca

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
s fully an Oracle error 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, B

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
llows it to work. Thanks. -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] > S

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 f

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread Gregor Schneider
schrieb "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 >> *

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
I'll remove those. Other than than, I'm 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 t

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 w

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 @ http://pgpkeys.pca.df

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
:ma...@apache.org] 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 -

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
will work simply by specifying the params, but not in the reference. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 19, 2010 11:50 AM To: Tomcat Users List Subject: RE: DB connection error -Tomcat 6 config > From: Pr

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
Thanks. Yeah, I'd let it default from the installerbig mistake there I'm sure. I'll kill it off and reinstall elsewhere... Thanks, guys! -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, March 19, 2010 11:41 AM To: Tomcat Users List

RE: DB connection error -Tomcat 6 config

2010-03-19 Thread Propes, Barry L
2010 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.0>jar -t

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 t

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.0>jar -tf >> tomcat.dbcp.jar >> >> java.io.FileNotFoundException: tomcat.dbcp.jar (

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.0>jar -tf tomcat.dbcp.jar java.io.FileNotFoundException: tomcat.dbcp.jar (The system cannot find the file specified) ... And it is in the l

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 >>>&g

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 n

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
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.DataSourceConnectionFact

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
6 series. -Original Message- From: Caldarale, 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 >>

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 element is not being found by

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:

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 = (

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 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) > initCtx.lookup("java:comp/env"); > DataSour

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 -Tomca

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
March 18, 2010 5:02 PM To: Tomcat 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 > R wrote: > >> If you can, move up to 6.0.26 so we can all be looking at the same >> relea

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 3:02 PM, Pid 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 w

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 Pid
On 18/03/2010 21:26, Bob Hall wrote: --- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R 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

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
al 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 -Tomcat 6 config --- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R wrote: > If you can, move up to 6.0.26 so we can all be looking at the

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,

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 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 mismatch: cannot convert fro

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 element. If you can, move up to 6.0.26 so we can all be looking at the same relea

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
x27;d done 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.

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
rl_005fdetails_jsp._jspService(chgctrl_005fdetails_jsp.java:141) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) Same error. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 3:17 PM To: Tomcat Users List Subject: RE:

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 > However, I do not have an additional element > in the conf/Catalina/ folder or subfolders That in itself is suspicious, since Tomcat 6.0.26 should be copying every elem

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
arale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, March 18, 2010 3:17 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 > > Good po

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'

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
ent: Thursday, March 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" N

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
, March 18, 2010 2:35 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config 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: You don

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

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread 2smart4u
One more word: The config I posted refers to 2.4 xsd, so put this at the beginning of your deployment-descriptor: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_

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: You don't habe to specify the DS in your deployment-descriptor (web.xml) at all. Within your servlet / jsp, your get

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
: Thursday, 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: > In web.xml, located in.../webapps/chngctrl/WEB-INF/web.xml > (for what it's wo

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: > 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-) > > > http://java.sun.com/xml/ns/javaee"; >xmlns:xsi="http:

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
, not with a NamingContext. -Original Message- From: Caldarale, Charles R [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] > S

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, ple

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Propes, Barry L
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, the errors I get: Have you looked in the logs? >

RE: DB connection error -Tomcat 6 config

2010-03-17 Thread Propes, Barry L
Original Message- 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 -

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? > auth="Container" > type="javax.sql.DataSource" > factory="org.apache.tomcat.

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
not find the naming context? 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 b

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
uughhh!! -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 o

RE: DB connection error -Tomcat 6 config

2010-03-04 Thread Anthony J. Biacco
L [mailto:barry.l.pro...@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&#x

RE: DB connection error -Tomcat 6 config

2010-03-03 Thread Propes, Barry L
e now META-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 c

RE: DB connection error -Tomcat 6 config

2010-03-03 Thread Propes, Barry L
Appreciate it, Mark. I'll rebuild the Tomcat collection with that jar and see if it will alleviate this issue. -Original Message- From: Mark Shifman [mailto:mark.shif...@yale.edu] Sent: Tuesday, March 02, 2010 7:08 PM To: Tomcat Users List Subject: Re: DB connection error -Tom

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.j

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Anthony J. Biacco
08 PM To: Tomcat Users List 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 used these

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 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 has used th

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Mark Shifman
ets (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

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 wrote: > Then that should w

  1   2   >