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
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
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
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
> 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
: 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
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
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
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
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
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
> 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
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:
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
> 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.
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
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
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
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.
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
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
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
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
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
> 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
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
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
--
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
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
> 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
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/
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
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
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
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.
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
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:
> 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
? : )
-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
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,
> 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
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
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
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
> 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
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
>> *
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
> 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
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
: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
-
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
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
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
> 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
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 (
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
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
> 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
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
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
>>
> 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
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:
> 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 = (
--- 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
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
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
--- 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
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
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
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
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,
--- 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
> 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
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.
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:
> 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
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
> 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'
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
, 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
> 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
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_
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
: 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
-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:
, 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
> 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
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?
>
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 -
> 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.
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
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
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
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
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
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
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
--- 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
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
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 - 100 of 149 matches
Mail list logo