I've not tried to attempt to open it in Textpad with a current date log.
If I'm trying to troubleshoot some problems, I just drag it from my shared
dir's subdirectory to either my desktop (usually) or another location and then
open it in notepad.
I'm not using any other logging mechanism like
02, 2007 10:54 PM
Subject: RE: Log files always locked
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Log files always locked
but if you look at Propes, Barry L post... thats exactly wot
I had to do ie copy all the files... and then open them...
That doesn't really make sense
files always locked
Yes... but I dont think we should ever have to do that...
Textpad works BTW... will save u you some hassle...
But thanks... nice to know other guys are also seeing it.
- Original Message -
From: Propes, Barry L [EMAIL PROTECTED]
To: Tomcat Users List users
maybe I'm on such an old version, but I can't pass parameters thru my conn
string like you have here.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 03, 2007 7:03 PM
To: Tomcat Users List
Subject: Re: JDBCRealm
Murtuza
here is server.xml example
I've never seen that either and I use the same environment you do.
Seems as if users' sessions are somehow crossing/getting overlapped, but not
sure how.
Are you using some lookup for an id? Like SSO or something?
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent:
Hello,
I have a strange situation.
Tomcat has stopped logging today on my prod. server. Not sure why. All of the
app seems to be working just fine, but the key log file stopped generating new
info.
I have a scheduled task stop and restart Tomcat every morning around 6am, so as
to dump bad
I belive you can do it in a connection pool setting.
-Original Message-
From: Ignacio Iborra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 7:57 AM
To: users@tomcat.apache.org
Subject: How to configure Tomcat response timeout?
Hi!
We are trying to call a JSP file that inserts
looks like the proper driver might not be included in the jar file being
referenced...or perhaps it needs a different jar file for that DBCP reference.
-Original Message-
From: Tim Alberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 10, 2007 6:23 PM
To: users@tomcat.apache.org; For
Ok,
I've had an app running in place just fine for several months now.
All of a sudden, I've got some weird happenings.
I'll preface my problem by saying that I had added an extra security constraint
to the file. If I need to show that code for assistance, I'll pass it along
later.
But
extra sidenote to this that is odd.
This user can access OTHER requests and pages protected by the constraint, just
not this particular one!!
What would give there?
-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 1:28 PM
To: Tomcat Users
Users List
Subject: Re: strange session behavior!
Hi Barry I think you session may not have been created...
See my MOD below
- Original Message -
From: Propes, Barry L [EMAIL PROTECTED]
I'm using this code for part of my app:
String juser = request.getRemoteUser
it didn't work Either?
-Original Message-
From: Abdelmonaam Kallali [mailto:[EMAIL PROTECTED]
Sent: Friday, May 18, 2007 1:45 PM
To: 'Tomcat Users List'
Subject: RE: I've been trying to unsubscribe from this list for years.
It didn't work neither
Abdelmonaam KALLALI
Test Specialist
informations inside.
Thanks a lot for help.
Regards,
Zdenek
On 5/15/07, Propes, Barry L [EMAIL PROTECTED] wrote:
Hi Rashmi,
thans for reply.
I think that ojdbc14.jar is newer version of oracle drivers and it
works fine with standard datasource factory
your docBase shouldn't include the absolute path should it? Just the relative
path?
Besides, that looks totally configured for running files on IIS' server, not
(thru) Tomcat's servlet engine.
-Original Message-
From: Thomas Hoffmann (Speed4Trade)
[mailto:[EMAIL PROTECTED]
Sent:
if (Pippo.equals(Pluto)) maybe?
-Original Message-
From: Massimiliano PASQUALONI
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 9:40 AM
To: 'Tomcat Users List'
Subject: if don't work?!?!?
Hi guy!
Wat's happen??
If i read an checkrequest post
String Pippo =
try this, Al.
I think it may have it.
http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html
-Original Message-
From: Al Sparks [mailto:[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 5:25 PM
To: Tomcat Users List
Subject: Finding isapi_redirector2.dll
I'm new to Tomcat.
I
Mohammed, for driver value, try the following:
valueoracle.jdbc.OracleDriver/value
-Original Message-
From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: JDBC
Thank you Foo for your patience with me,
I did imported all
Mohammed,
Maybe on import try the following:
%@ page
import=javax.naming.Context,javax.naming.InitialContext,javax.naming.NamingException,javax.sql.DataSource
%
even though what you have should cover it, theoretically.
And regarding below, YES!!!
C:\tomcat\common\lib\ojdbc14_g.jar
maybe put the jar file in the wrong directory? Looks like that's what could
have happened.
-Original Message-
From: Jean-Pierre Astier [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 24, 2007 5:27 AM
To: Tomcat Users List
Subject: error in catalina.out log
Hi all,
I've got this message
actually, Oracle stated on their site that oracle.jdbc.driver.OracleDriver is
deprecated and from versions 9i and on it's preferred to use
oracle.jdbc.OracleDriver instead, but if Mohammed's truly relying on his
localhost (127.0.0.1) for the Oracle connection, unless that's where his Oracle
Hi,
I'm having some users get this error reaching a portion of the secured section
of my app.
They oddly enough can access certain pages within the directory of this
application, by logging in appropriately through the form. However, another
file in the same directory gives them this error
, Barry L [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 4:04 PM
To: Tomcat Users List
Subject: invalid reference to login form
Hi,
I'm having some users get this error reaching a portion of the secured section
of my app.
They oddly enough can access certain pages within the directory
we'll see how this goes.
It's been relatively stable to this point. And further, this user can log on to
certain sections, but not a certain path of the URL.
In other words, I have certain files that are protected. Then I have a
completely separate directory that's protected.
This person can
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 9:26 AM
To: Tomcat Users List
Subject: Re: Tomcat stopped logging
ran out of disk space or the file is too large
Filip
Propes, Barry L wrote:
Hello,
I have a strange situation.
Tomcat has stopped logging today on my prod. server
... Are you saying Tomcat
just stop's logging to the catalina.out?
On 5/9/07, Propes, Barry L [EMAIL PROTECTED] wrote:
Hello,
I have a strange situation.
Tomcat has stopped logging today on my prod. server. Not sure why. All of
the app seems to be working just fine, but the key log file
, May 29, 2007 12:17 PM
To: Tomcat Users List
Subject: Re: Tomcat stopped logging
I can't remember off the top of my head but I think there is a 2GB limit(OS
Level). but I'd have to try and find that, to be totally sure.
On 5/29/07, Propes, Barry L [EMAIL PROTECTED] wrote:
yeah, it did one day
To: Tomcat Users List
Subject: Re: Tomcat stopped logging
Propes, Barry L wrote:
I'm not even close to that!
I'm at about 4.7 MB! For the logs anyway...isn't that the directory to which
you're referring?
But one thing I do wonder about...seems as if someone had told me one time
I don't believe you can have both, Paulo...i believe it's one realm or the
other if I'm not mistaken.
-Original Message-
From: Paulo Vivacqua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 1:07 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Configuring a DataSourceRealm
on solaris.
That is odd. Is there any stack traces in the localhost log?
On 5/29/07, Propes, Barry L [EMAIL PROTECTED] wrote:
yeah, I didn't think there was, or that I'd had trouble with the number of
files in the directory before. Would seem absurd.
Might be on a different OS that Windows
with the folder permissions.
--David
Propes, Barry L wrote:
that was another problem that I (unfortunately!) combat daily.
I can't see the stack trace. I don't have permissions to the account under
which Tomcat runs. I can Terminal Service into the server, but only under my
profile
do you mean like the amount of users per a pool connection instance?
I think you're stuck with configuration inside the WEB-INF level per app.
-Original Message-
From: Sorin Juco [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 2:41 AM
To: users@tomcat.apache.org
Subject: JDBC
that, you should be seeing all the console output.
--David
Daniel Stephens wrote:
well the localhost log should have the stack trace you need. Try and get
them to do David's suggesstion that's a good one.
On 5/30/07, Propes, Barry L [EMAIL PROTECTED] wrote:
I can try...the thing is, I can actually
I might have one for youlet me know if you found it or not.
-Original Message-
From: Teh Noranis Mohd Aris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 9:48 PM
To: Tomcat Users List
Subject: Re: Servlet and Random Access File
I would like to refer to an example servlet
in this line,
Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
I think you need to have className=org.apache.log4j.Logger
although I say that...I've been trying to get log4j configured in my
environment with zero luck, too.
But
that's true, and I get something similar as that the first time Tomcat (the
apps) make a call to the database, but only initially. It doesn't keep posting
to the console afterwards.
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 3:44 AM
To:
maybe I've set or allocated enough (about 100) connections so I only get that
once?
I'd be happy to send you my server.xml config if you'd like.
-Original Message-
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 11:10 AM
To: Tomcat Users List
Subject: Re:
and unfortunately, as I'd posted in a reply with a different topic you might
have seen, there's (at the moment) no way for me to see the console in the prod
setting, so I can't verify that's happening, but I'd be inclined to think with
my current configuration that message is only getting
getting a little off-topic (but on-topic for your other post): don't
you have a test-server with the identical environment as the
prod-server where you could try to recreate the same race-conditions?
cheers
gregor
-
Yes, but I don't have the traffic or
yes, you can do what I suggested...I tried it out and it worked just fine.
-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 6:10 PM
To: users@tomcat.apache.org
Subject: adding authentication to unprotected page
Hi All,
I was wondering if any of you
not sure which version you're using, but it seems like you could add the page
(package/protected/index.html) to the
welcome-file-list/welcome-file-list attribute, and then in the
security constraint, make it protected.
Would that not work?
-Original Message-
From: Ryan
if it's working ok in Windows and NOT in Linux, check to see that the spelling
reference of jdbc/TestOracle is the same through out.
You might want to wrap equalsIgnoreCase() around it.
-Original Message-
From: Somu Sundar Reddy.Y [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007
I think you answered your own question.
Look again at your context definition. Probably an invalid tag there causing it
to break. Without looking at your code, perhaps a missing /?
-Original Message-
From: Felipe Martins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 06, 2007 12:01 PM
was misconfigured from this time.
Thank you for your attention anyway.
Regards,
Felipe.
Propes, Barry L [EMAIL PROTECTED] escreveu: I think you answered your own
question.
Look again at your context definition. Probably an invalid tag there causing it
to break. Without looking at your code, perhaps
can't you open up the bat or .sh file and just make the change there?
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:48 PM
To: users@tomcat.apache.org
Subject: Re: Programmatically Determine JVM Version used by Tomcat
I believe the suggested
oh, sorry. You do that and it STILL runs it with the service. Correct?
Are you sure it doesn't change if you stop and restart it manually?
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:48 PM
To: users@tomcat.apache.org
Subject: Re:
I wonder if you had to tweak the in-memory document cache? Although I wouldn't
think that would do it.
I wonder if when you added the filter if it added an option to adjust the size
of uploads? I haven't added that ISAPI director myself. Fortunately haven't
needed to.
-Original
so in one connection string you have user and in the Realm you're using
userName?
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 12:42 PM
To: users@tomcat.apache.org
Subject: Tomcat 6, SQL Server 2005 JDBC Realm not working
I have a web
somehow, somewhere your classpath is not correct, but I don't know what you're
naming your tomcat directory so I couldn't tell from that.
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 3:58 PM
To: users@tomcat.apache.org
Subject: The Apache
that doesn't sound rightare you sure you're pulling back a value from a
column that's a string?
-Original Message-
From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 6:02 AM
To: Tomcat Users List
Subject: Re: Null
I tried it the other way, if(
just set a value to null or ; if it's null, return (maybe this nbsp;) some
value for a space, if you want to paint the border on a table (the HTML part)
this is likely the best way to do it. You could populate it with a dash (-)
or some other.
-Original Message-
From: Mohammed Zabin
that's not allowed, is it?
-Original Message-
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 3:28 PM
To: users@tomcat.apache.org
Subject: Save sessions across restarts
During development, I'd like my sessions to stick around while I reload the
context or
))[c]).equalsIgnoreCase(null))
return 00:00:00;
return(((String[])queryResults.elementAt(r))[c]);
}catch(Exception e){return 00:00:00;}
}
Doug
- Original Message -
From: Propes, Barry L [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, June 22
Hello,
I'm finally upgrading my Tomcat version from 4.1.31 to 6.0.24;
in this instance, running on
XP Pro w/ jdk1.6.0_18 and jre6
I'm having some trouble with the configuration of the context.xml and web.xml
files.
I've left the content out of the server.xml file, as instructed, as opposed to
Ok, will do.
Thanks, Chuck.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, February 19, 2010 4:17 PM
To: Tomcat Users List
Subject: RE: DB connection error -Tomcat 6 config
From: Propes, Barry L [mailto:barry.l.pro...@citi.com
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, February 19, 2010 4:17 PM
To: Tomcat Users List
Subject: RE: DB connection error -Tomcat 6 config
The Context element for your webapp should be in the webapp's
META-INF/context.xml file.
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
Should I (not) be rendering some of the particular webapps's info in
the WEB-INF/web.xml file?
What did you have
So it appears Tomcat can't find the OracleDriver class. Verify that Tomcat
has read access to the jar you placed in Tomcat's lib directory, and that
the jar does in fact contain that class, and that you haven't also placed
that jar in the webapp's WEB-INF/lib directory. (You must not have the
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
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
, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Have you changed conf/catalina.properties, by any chance?
No, I haven't -- should I do that?
No; that file contains the classpaths for the various Tomcat classloaders. If
you had changed it, it might
connection error -Tomcat 6 config
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
[mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, February 23, 2010 2:40 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
I did have my CLASSPATH referencing the following
Let me give that a shot, and see if it works.
Odd thing is that I've purposefully changed the xml reference of
oracle.jdcb.OracleDriver reference to the deprecated version of
oracle.jdcb.driver.OracleDriver to see how or if the errors being thrown would
be stated differently, and they're not
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
Odd thing is that I've purposefully changed the xml reference of
oracle.jdcb.OracleDriver reference
Ok, Chris -- I blew away the new version I'd made, and recreated the webapps
ensuring I went in this order.
I'm still getting an error, but now it seems confined to the jdbc/env lookup
reference I'd earlier tried to make.
I've put that reference, as noted below in your email, in the
I feel his pain. We're still on IE6. : (
But yes, like Andre says, go to Tools | Options or Internet Options | Advanced
and uncheck the Show friendly HTTP error messages box.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, February 24, 2010 3:22 PM
To:
Sorry for the delay - supplying both my META-INF/context.xml and
webapps/WEB-INF/web.xml contents.
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
(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
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
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
]
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
With Oracle 10GDB , JDK1.4 /1.5,ojdbc14.jar
With regards
karthik
-Original 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
thing with filenames. You called your context file META-INF/context.xml
but your web.xml webapps/WEB-INF/web.xml. beware that both directories META-INF
and WEB-INF are located inside your webapp. Keeping the foo examples, they
would be sitting in webapps/foo.
Bye
Felix
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
,5.0.20.0 , 5.0.24.0 And have never any
issues with connection pool
With Oracle 10GDB , JDK1.4 /1.5,ojdbc14.jar
With regards
karthik
-Original 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
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
Point it relative to your webapp path.
-Original Message-
From: John McKaine [mailto:sevjob...@mail.ru]
Sent: Monday, March 01, 2010 3:55 PM
To: users@tomcat.apache.org
Subject: Re: How configure Tomcat redirect to web page instead index.htm
ramzi khlil wrote:
In web.xml you can
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
-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/chngctrl/META-INF/context.xml.
Thanks, Chuck.
-Original Message-
From
application.
ojdbc14_g.jar is used for advance debug 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
, 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 change,
please apprise.
Not sure how
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
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 environments together and needed to make the change,
please apprise.
I am using ojdbc6.jar
-Tomcat 6 config
--- 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
I was initially getting this error, too, with my first install, but rebuilt the
Tomcat collection and finally vanquished it using the factory reference of
org.apache.tomcat.dbcp.DataSourceConnectionFactory in there, even though I'd
initially gotten an error not being able to create the factory
And in TC 6, versus the 4 series and older versions, you should be able to cram
all of the Resource params into one element or attribute tag.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, March 09, 2010 2:36 PM
To: Tomcat Users List
!!
-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
And I should have added the proper path(s) was/were
/webapps/chngctrl/META-INF/context.xml
And /webapps/chngctrl/WEB-INF/web.xml
Regards,
Barry
-Original Message-
From: Propes, Barry L [GCG-NAOT]
Sent: Tuesday, March 16, 2010 6:04 PM
To: 'Tomcat Users List'
Subject: RE: DB
-
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
: 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
[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
, 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
Good point...I'll switch back to
factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory
Although I've attempted with and without a factory reference, all to the same
outcome.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, March
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
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
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
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);
DataSource ds = (DataSource) envCtx.lookup(jdbc/myoracle);
Tried other variations
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
, 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)
initCtx.lookup(java:comp/env); DataSource ds = (DataSource
Sorry for any confusion.
I do have my JSP source as the following:
Connection connection = null;
Context initCtx = new InitialContext(); Context envCtx = (Context)
initCtx.lookup(java:comp/env); DataSource ds = (DataSource)
envCtx.lookup(jdbc/myoracle);
connection = ds.getConnection();
301 - 400 of 623 matches
Mail list logo