Thank you - very helpful & much appreciated.
On Sat, Aug 14, 2021 at 4:24 PM Mark Thomas wrote:
> On 14/08/2021 01:51, Andrew Tanton wrote:
> > In the Tomcat "JNDI Datasource How-To" documentation page
> > <
> http://tomcat.apache.org/tomcat-9.0-doc/
On 14/08/2021 01:51, Andrew Tanton wrote:
In the Tomcat "JNDI Datasource How-To" documentation page
<http://tomcat.apache.org/tomcat-9.0-doc/jndi-datasource-examples-howto.html#comments_section>,
there is an unusually opinionated section, which discusses the Java service
provider
In the Tomcat "JNDI Datasource How-To" documentation page
<http://tomcat.apache.org/tomcat-9.0-doc/jndi-datasource-examples-howto.html#comments_section>,
there is an unusually opinionated section, which discusses the Java service
provider (driver manager) mechanism:
"*Howeve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Felix,
On 10/26/19 16:37, Felix Schumacher wrote:
>
> Am 22.10.19 um 20:07 schrieb Magosányi Árpád:
>> Thank you all for the suggestions.
>>
>> Based on the documentation, my setup should work: The server
>> certificate is already processed and ac
Am 22.10.19 um 20:07 schrieb Magosányi Árpád:
> Thank you all for the suggestions.
>
> Based on the documentation, my setup should work: The server certificate
> is already processed and accepted (I know that because I could not get
> it right at the first try). The driver is supposed to work wit
Thank you all for the suggestions.
Based on the documentation, my setup should work: The server certificate
is already processed and accepted (I know that because I could not get
it right at the first try). The driver is supposed to work with a PEM
certificate and a pkcs-8 DER encoded key, and tho
Arpad,
On 10/22/19 12:19, logo wrote:
I have the following in context.xml:
url="jdbc:postgresql://infra.kodekonveyor.com:5432/users?ssl=true&sslmode=verify-ca"
username="market" maxTotal="20" maxIdle="10"
maxWaitMillis="-1"/>
I have this in ~tomcat/.postgresq
Arpad and Chris,
Am 2019-10-22 18:07, schrieb Christopher Schultz:
Magosányi,
On 10/22/19 11:09, Magosányi Árpád wrote:
As I understand you are suggesting to use direct connection to the
database.
The servlet needs a JNDI datasource, and the question is about
configuring that datasource in
Magosányi,
On 10/22/19 11:09, Magosányi Árpád wrote:
As I understand you are suggesting to use direct connection to the database.
The servlet needs a JNDI datasource, and the question is about
configuring that datasource in tomcat.
As I can modify the servlet, I could choose to set up hibernate
Peter,
As I understand you are suggesting to use direct connection to the database.
The servlet needs a JNDI datasource, and the question is about
configuring that datasource in tomcat.
As I can modify the servlet, I could choose to set up hibernate in other
ways, but I would like to separate the
this working in
mysql...
Peter
Am 2019-10-22 12:56, schrieb Magosányi Árpád:
Hi!
Anyone have a postgresql jndi datasource with certificate
authentication
working?
I have the following in context.xml:
I have this in ~tomcat/.postgresql:
root@market:/var/lib/tomcat9/.postgr
Hi!
Anyone have a postgresql jndi datasource with certificate authentication
working?
I have the following in context.xml:
I have this in ~tomcat/.postgresql:
root@market:/var/lib/tomcat9/.postgresql# ls -lL
total 11
-rw-r--r-- 1 root root 4597 Oct 21 12:49 postgresql.crt
-r
Hello Luis,
thanks for your answer.
Connection pool exposes an MBean (jmxEnabled is true by default).
Using jconsole, I can see pool defined in server configuration or
context configuration, but I cannot see neither change properties of
existing pool (maxActive for example).
Of course I cou
Hello Arnaud,
mmm, nothing stops you from create your custom mbean interface that wraps
your datasource.
>From Tomcat 8.5 doc "The connection pool object exposes an MBean that can
be registered" [1] Perhaps you could start having a look here. Nevertheless
may I ask you what is your use case for t
Hello,
I would like to know if it is possible to create/configure a Datasource
Ressource in tomcat using JMX.
I tried with a tomcat 8.5 and jconsole, I managed to create some
resource with type javax.sql.Datasource, but I did not find a way to
configure the datasource (jdbc driver, url, max
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Francesco,
On 8/1/18 4:10 PM, Francesco Viscomi wrote:
> I do not understand unfortunately; I have only one file under conf
> directory: contex.xml;
You shouldn't be modifying that file, because it will apply to all
contexts. Instead, you should cr
On 01/08/18 21:10, Francesco Viscomi wrote:
> I do not understand unfortunately;
> I have only one file under conf directory: contex.xml;
> So every application installed on this instance of tomcat can view the
> resource; It is like I have configured the resource globally;
No it is not.
Configu
I do not understand unfortunately;
I have only one file under conf directory: contex.xml;
So every application installed on this instance of tomcat can view the
resource; It is like I have configured the resource globally; I can
understand it, if every application has it's own context.xml file but
On 01/08/18 20:22, Francesco Viscomi wrote:
> Hi all,
> I'm using tomcat 8.5 and I need to configure a datasource in tomcat;
>
> If a configure it in the contex.xml file under conf directory using the tag
> everythings goes well.
>
> But if I configure it in the server.xml file under the conf di
Hi all,
I'm using tomcat 8.5 and I need to configure a datasource in tomcat;
If a configure it in the contex.xml file under conf directory using the tag
everythings goes well.
But if I configure it in the server.xml file under the conf directory, a
message tell me that the resource that i have
che.tomcat.dbcp.dbcp2.BasicDataSourceFactory), it works like a
charm!
Cheers,
Woonsan
>
> Matk
>
>
>>
>> Regards,
>>
>> Woonsan
>>
>> [1] https://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
>> [2]
>> http://tomcat.a
t implementation
(org.apache.tomcat.jdbc).
Which one are you actually using?
Matk
>
> Regards,
>
> Woonsan
>
> [1] https://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
> [2]
> http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html
ter even though it's supported by the underlying dbcp?
Regards,
Woonsan
[1] https://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
[2] http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html
---
Hello Mark,
Thanks for the quick reply, we will definitely try this !
Aurelien
On 16/09/2015 09:59, Aurelien Pernoud wrote:
> Hello,
>
> In our Tomcat (7 or 8 doesn't matter) servers we always override many
> parameters among datasources, in each application context file (we deploy
> one context file / application under conf/Catalina/localhost).
>
> Every time I have to set
Hello,
In our Tomcat (7 or 8 doesn't matter) servers we always override many
parameters among datasources, in each application context file (we deploy
one context file / application under conf/Catalina/localhost).
Every time I have to set :
- maxActive
- maxIdle
- validationQuery (we mostly work
On 2/6/2014 10:45 PM, Filip Hanik wrote:
> Yes, define the connection pool in server.xml, then
> in context.xml define a That binds the shared connection pool
> to each context.
Thank you, that worked perfectly. Although I think you meant
.
-Dave
-
Yes, define the connection pool in server.xml, then
in context.xml define a That binds the shared connection pool
to each context.
On Thursday, February 6, 2014, David Newman wrote:
> I have defined a JNDI JDBC datasource as a resource in the global
> context.xml file. I was under the impre
I have defined a JNDI JDBC datasource as a resource in the global
context.xml file. I was under the impression that what this does is to
create a shared connection pool that is tomcat wide. But in practice what
seems to happen is that a new instance of that connection pool is created
for each con
" for the help.
~Justin
-Original Message-
From: Justin Rosenberg [mailto:rosenbe...@crlcorp.com]
Sent: Wednesday, January 23, 2013 7:06 PM
To: users@tomcat.apache.org
Subject: JAAS Module Tomcat 7 (Bundling and JNDI Datasource access)
I'm running into issues accessing a JNDI
I'm running into issues accessing a JNDI datasource in a JAAS module.
Can I bundle a JAAS module in my war file? When I try to do this by
defining the Realm in the context.xml of the web application I get a
java.lang.ClassNotFoundException. The documentation specifies I must
put the m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pramod,
On 10/30/12 11:32 AM, p.krishnamoor...@accenture.com wrote:
> Hi,
>
> I was working to inject the JNDI datasource context outside the
> tomcat container. I referred this link -
> https://blogs.oracle.com/r
On 10/30/2012 8:32 AM, p.krishnamoor...@accenture.com wrote:
Hi,
I was working to inject the JNDI datasource context outside the
tomcat container. I referred this link -
https://blogs.oracle.com/randystuph/entry/injecting_jndi_datasources_for_junit.
In order to initialize the datasource
.
> From: p.krishnamoor...@accenture.com
> To: users@tomcat.apache.org
> Subject: Injecting JNDI datasource context outside tomcat container
> Date: Tue, 30 Oct 2012 15:32:01 +
>
> Hi,
>
> I was working to inject the JNDI datasource context outside the tomcat
>
Hi,
I was working to inject the JNDI datasource context outside the tomcat
container. I referred this link -
https://blogs.oracle.com/randystuph/entry/injecting_jndi_datasources_for_junit.
In order to initialize the datasource context, I had to put three java-naming
jars (naming-java-5.0.28
tober 27, 2012 5:24 PM
To: Tomcat Users List
Subject: Re: JNDI datasource error upgrading from Tomcat 7.0.23 to 7.0.27
Hello,
I am mot familiar with Hibernate or Liferay, but I ran into what appear to
be similar. Look onto the thread titled "
JDBCRealm conection timeout failure on getPasswor
tion.
Bob
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Saturday, October 27, 2012 3:28 PM
To: Tomcat Users List
Subject: Re: JNDI datasource error upgrading from Tomcat 7.0.23 to 7.0.27
2012/10/28 Bob Dietrich :
> Greetings,
> I've researched this pro
Hello,
I am mot familiar with Hibernate or Liferay, but I ran into what
appear to be similar. Look onto the thread titled "
JDBCRealm conection timeout failure on getPassword" in thus list. It may help.
Aladin
On Oct 27, 2012, at 6:28 PM, Konstantin Kolinko wrote:
> 2012/10/28 Bob Dietrich :
2012/10/28 Bob Dietrich :
> Greetings,
> I've researched this problem for several days, but I must be doing something
> wrong. I'm trying to upgrade from Tomcat 7.0.23 to 7.0.27 (actually running
> Liferay). I'm getting the following exception when trying to access a
> datasource via Hibernate:
>
>
Greetings,
I've researched this problem for several days, but I must be doing something
wrong. I'm trying to upgrade from Tomcat 7.0.23 to 7.0.27 (actually running
Liferay). I'm getting the following exception when trying to access a
datasource via Hibernate:
16:28:27,694 ERROR
[http-bio-8080-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zuxiong,
On 6/6/12 6:47 AM, zuxiong lin wrote:
> Hi ALL. Anybody help ?
Filip asked for your startup logs and you never posted them. If you
post them, perhaps we can help.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin
Hi ALL.
Anybody help ?
On Thu, May 3, 2012 at 10:00 PM, zuxiong lin wrote:
> Hei. Of course, I write the name in element.
> But Tomcat 7's logs report it .
> Please to find others before this letter, and you will read the Tomcat's
> logs!
> > minConnectionsPerPartition="3" name="jdbc/SoftmgrV3
Hei. Of course, I write the name in element.
But Tomcat 7's logs report it .
Please to find others before this letter, and you will read the Tomcat's
logs!
> minConnectionsPerPartition="3" name="jdbc/SoftmgrV3" partitionCount="2"
On Thu, May 3, 2012 at 9:24 PM, Filip Hanik Mailing Lists <
devl
found it, check the logs at startup for the error and post it here.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
reading this on my phone, but does your element have a name
attribute?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
rce" .../>
>
> Filip
>
> > -Original Message-
> > From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> > Sent: Wednesday, May 02, 2012 8:40 PM
> > To: Tomcat Users List
> > Subject: Re: How to config the Tomcat 7.x JNDI datasource by using
> > Bo
Aah, yes you are right. The specify
Filip
> -Original Message-
> From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> Sent: Wednesday, May 02, 2012 8:40 PM
> To: Tomcat Users List
> Subject: Re: How to config the Tomcat 7.x JNDI datasource by
> critical features, like validation etc
>
> Filip
>
> > -Original Message-
> > From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> > Sent: Wednesday, May 02, 2012 7:36 PM
> > To: Tomcat Users List
> > Subject: Re: How to config the Tomcat 7.x JNDI data
ubject: Re: How to config the Tomcat 7.x JNDI datasource by using
> BoneCP ??
>
> > Don't do that: remove mysql-connector-j-5.1.9.jar from WEB-INF/lib.
> > Also remove the JAR for BoneCP.
>
> I donot have a try now. This morning I received your mail ,UTC+8.
> Be
> Don't do that: remove mysql-connector-j-5.1.9.jar from WEB-INF/lib.
> Also remove the JAR for BoneCP.
I donot have a try now. This morning I received your mail ,UTC+8.
Before I sent my mail for help , I just put the jar in both Tomcat/lib dir
and webapp/WEB-INF/lib.
And I found I am very confuse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zuxiong,
On 5/2/12 9:13 PM, zuxiong lin wrote:
> When I use BoneCP in per-web-app, it is OK with partitionCount .
> "partitionCount " is a property of BoneCP.
Okay, that's fine then.
> MySQL Connector/J 5.1.19, I put it into both Tomcat's lib/
; > Sent: Wednesday, May 02, 2012 2:35 AM
> > To: Tomcat Users List
> > Subject: Re: How to config the Tomcat 7.x JNDI datasource by using
> > BoneCP ??
> >
> > See appending mail.
> >
> > On Wed, May 2, 2012 at 4:23 PM, Pid wrote:
> >
&
When I use BoneCP in per-web-app, it is OK with partitionCount .
"partitionCount " is a property of BoneCP.
MySQL Connector/J 5.1.19, I put it into both Tomcat's
lib/ directory and my webapp's WEB-INF/lib directory . (I can have a try. I
think it doesnot work :
> you'll need to have the JAR fi
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
> -Original Message-
> From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> Sent: Wednesday, May 02, 2012 2:35 AM
> To: Tomcat Users List
> Subject: Re: How to config the Tomcat 7.x JNDI datasource by using
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zuxiong,
On 5/2/12 3:09 AM, zuxiong lin wrote:
> In Tomcat 7 , conf/server.xml -> GlobalNamingResources driverClass="com.mysql.jdbc.Driver" *
> factory="com.jolbox.bonecp.BoneCPDataSource"*
> idleMaxAgeInMinutes="600" jdbcUrl="jdbc:mysql://
> 10.2
See appending mail.
On Wed, May 2, 2012 at 4:23 PM, Pid wrote:
> On 02/05/2012 02:12, zuxiong lin wrote:
> > Hi, All.
> > Any help ?
> >
> > Thanks?
> >
>
> Perhaps you could read the following:
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> and then rephrase your question?
>
>
> p
On 02/05/2012 02:12, zuxiong lin wrote:
> Hi, All.
> Any help ?
>
> Thanks?
>
Perhaps you could read the following:
http://www.catb.org/~esr/faqs/smart-questions.html
and then rephrase your question?
p
--
[key:62590808]
signature.asc
Description: OpenPGP digital signature
xConnectionsPerPartition="100"
> minConnectionsPerPartition="3" name="jdbc/SoftmgrV3" partitionCount="2"
> password="root" releaseHelperThreads="2"
> type="com.jolbox.bonecp.BoneCPDataSource" username="root" />
Actually , I have do it 5 times by different way.
But Tomcat 7 tells me Exception!
In Tomcat 7 , conf/server.xml -> GlobalNamingResources
In my Web App:
META-INF/context.xml :
web-inf/web.xml :
jndi datasource
jdbc/SoftmgrV3
com.jolbox.bonecp.BoneCPDataSource
Container
spring jee:
*
see tomcat domcument mybe that will help you
-- Original --
From: "zuxiong lin";
Date: 2012??5??2??(??) 9:12
To: "users";
Subject: How to config the Tomcat 7.x JNDI datasource by using BoneCP ??
Hi, All.
Any help ?
Thanks?
Hi, All.
Any help ?
Thanks?
Fred Janon wrote:
I am looking into using the JNDI/Datasource facility in Tomcat 5.5 to
connect to a mySQL 5.0 database on a Windows 2003 server. Both Tomcat and
mySQL run as services.
What happens if the Tomcat service starts before mySQL? Does Tomcat wait for
a while for the DB to be ready
Hi,
I am looking into using the JNDI/Datasource facility in Tomcat 5.5 to
connect to a mySQL 5.0 database on a Windows 2003 server. Both Tomcat and
mySQL run as services.
What happens if the Tomcat service starts before mySQL? Does Tomcat wait for
a while for the DB to be ready? Does it launch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas,
On 8/7/2009 4:39 PM, Nicholas Sushkin wrote:
> On Friday 07 August 2009 10:53, Christopher Schultz wrote:
>
>> Recently, there was a post on the list regarding connection pool leakage
>> from Tomcat (ref:
>> http://www.nabble.com/Right-way-
On Friday 07 August 2009 10:53, Christopher Schultz wrote:
> Recently, there was a post on the list regarding connection pool leakage
> from Tomcat (ref:
> http://www.nabble.com/Right-way-to-close-database-connection-pool-td24832
>197.html).
This is the code I picked up from http://wiki.apache.or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kees Jan,
On 8/7/2009 12:44 PM, Kees Jan Koster wrote:
> I have to restart Tomcat regularly because it exhausted my MySQL
> connections. Show processlist confirms the problem.
>
> I use Hibernate. Do you?
No, I just use straight JDBC in all my code.
er class that would shut down a JNDI DataSource
and installed it in my development environment. Satisfied that I was
protected from the evils of JDBC connection pool leakage, I moved on
with my life.
This morning, as I did a live build-and-re-deploy of my webapp, I saw
the JNDIDataSourceShutdownListe
ted a listener class that would shut down a JNDI DataSource
and installed it in my development environment. Satisfied that I was
protected from the evils of JDBC connection pool leakage, I moved on
with my life.
This morning, as I did a live build-and-re-deploy of my webapp, I sa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Len,
Len Popp wrote:
> On Fri, Jan 16, 2009 at 16:45, Christopher Schultz
> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Keith,
>>
>> Keith Thomas wrote:
>>> As part of the
>>> deployment I just need a way of defining the datasour
Caldarale, Charles R wrote:
>> From: Pid [mailto:p...@pidster.com]
>> Subject: Re: How to turn off JNDI datasource connection pooling
>>
>> I'm getting a little confused trying to follow this thread.
>
> There was a distinct lack of specifics in the beginning
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> I'm getting a little confused trying to follow this thread.
There was a distinct lack of specifics in the beginning. However, I think I
understand why he's doing thi
Caldarale, Charles R wrote:
>> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>> Subject: RE: How to turn off JNDI datasource connection pooling
>>
>> Look at the construct in the servlet spec.
>
> O.k., that was too simplistic. You'll also ne
On Fri, Jan 16, 2009 at 16:45, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Keith,
>
> Keith Thomas wrote:
>> As part of the
>> deployment I just need a way of defining the datasource in a manner that is
>> external to my code and configurable by administrators.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith,
Keith Thomas wrote:
> As part of the
> deployment I just need a way of defining the datasource in a manner that is
> external to my code and configurable by administrators.
Use of a DataSource implies the use of a connection pool, which seems
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> Look at the construct in the servlet spec.
O.k., that was too simplistic. You'll also need the following.
Does your DB driver include some f
> From: Caldarale, Charles R
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> Make sure you set auth=Servlet in the .
That should be auth="Application".
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and i
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> I just want to be able to define the datasource using JNDI so
> it is external to my application.
That's another piece of information you haven't
Thanks Jan. I don't want to use Tomcat's database pool, I just want to be
able to define the datasource using JNDI so it is external to my
application. I am doing this for various web servers and I'm beginning to
think I will have to tell my customers Tomcat does not support
live with the uid/pw being stored in a clear text xml file before
taking my app.
--
View this message in context:
http://www.nabble.com/How-to-turn-off-JNDI-datasource-connection-pooling-tp21490681p21507739.html
Sent from the Tomcat - User mailing list archive at Nabble.com
Dear Keith,
It's not clear what you want to do (as opposed to what you don't
want to
do). Is your goal to use a >> new DB connection for every DB access
your
webapp makes, or do you want to do DB connection >>
pooling inside your webapp, or ???
Not using connection pooling at all is a r
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> The security for the data within the database is entirely
> baked into the restriction that every user has their own
> database connection.
>From the
ns but the app just seems to be
hanging.
--
View this message in context:
http://www.nabble.com/How-to-turn-off-JNDI-datasource-connection-pooling-tp21490681p21507284.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> provided enough explanation but what I want is for Tomcat
> to keep out of connection creation
It's not clear what you want to do (as opposed to what
Apologies if I don't understand how a jndi datasource should work or if I've
not provided enough explanation but what I want is for Tomcat to keep out of
connection creation. Even if I have maxactive set to 1 I still get a
stacktrace like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith,
Keith Thomas wrote:
> I have an application that runs against a legacy database. For reasons I
> won't go into here I need to turn off jndi datasource connection pooling. I
> have been unsuccessful finding documentation or mailin
Thanks Chuck. I've uploaded it again, this time as a text file. It seems ok
this time.
On Thu, Jan 15, 2009 at 7:02 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Keith Thomas [mailto:keith.tho...@gmail.com]
> > Subject: How to turn off JNDI dataso
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: How to turn off JNDI datasource connection pooling
>
> I attach my server.xml file in case this helps.
Your attachment failed to materialize.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
I have an application that runs against a legacy database. For reasons I
won't go into here I need to turn off jndi datasource connection pooling. I
have been unsuccessful finding documentation or mailing list entries on how
to do this.
I am running Tomcat 6.0.18 as a service on Win XP agai
Hi John,
just an other suggestion which you could try too:
the context.xml file inside yourApp/META-INF/context.xml gets by
default copied to
$CATALINA_HOME/conf/Catalina/localhost/yourApp.xml at the first
deployment normally when undeploying
yourApp.war the container does remove the yourApp.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Cartwright wrote:
> I have a problem where a Datasource is configured in
> META-INF/context.xml and referenced in web.xml. If I install this
> webapp unpacked, everything works fine. However, if I try to run this
> webapp as a packed war,
Hello All,
I have a problem where a Datasource is configured in
META-INF/context.xml and referenced in web.xml. If I install this
webapp unpacked, everything works fine. However, if I try to run this
webapp as a packed war, the datasource fails giving the exception:
org.apache.tomcat.dbcp.
Aljosa Mohorovic wrote:
i'm trying to find a way where i don't need to change my app to work
on tomcat, some way to define jndi resource that doesn't require
changes to application.
every document related to this requires some changes to app so i'm
wondering how can i configure tomcat with minima
i'm trying to deploy a spring/hibernate based application on tomcat
and i have this defined in application:
-
-
application is currently running on websphere where
on Java 5 very soon. We are stuck in the past
like a Simon and Simon re-run...
Tom
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 10:19 AM
To: Tomcat Users List
Subject: Re: Tomcat JNDI datasource
Just had a brainstorm while responding on
Tomcat 5.0.30 that we are trying to get to use
JDBC through JNDI.
I am trying to follow along with
akarta-tomcat-5.0.30/webapps/tomcat-docs/jndi-datasource-examples-howto.
html.
I have setup the context.xml
type="javax.sql.DataS
g your .jar files in \WEB-INF\lib of you webapp?
"Tom Henricksen" <[EMAIL PROTECTED]> 3/28/2008 8:08 AM >>>
I have an application in Tomcat 5.0.30 that we are trying to get to use
JDBC through JNDI.
I am trying to follow along with
akarta-tomca
>>>>
>>>>
>I have an application in Tomcat 5.0.30 that we are trying to get to use
>JDBC through JNDI.
>
>I am trying to follow along with
>akarta-tomcat-5.0.30/webapps/tomcat-docs/jndi-datasource-examples-howto.
>html.
>
>
>
>I have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
|
|> | | docBase="C:/Java/eclipse-europa/europa-workspace/bop-med/web"
|> | path="/bop-med" reloadable="true"
|> | workDir="work\Catalina\localhost\bop-med">
|>
|> Bad boy: take out the docBase and path attribut
;Tom Henricksen" <[EMAIL PROTECTED]> 3/28/2008 8:08 AM >>>
I have an application in Tomcat 5.0.30 that we are trying to get to use
JDBC through JNDI.
I am trying to follow along with
akarta-tomcat-5.0.30/webapps/tomcat-docs/jndi-datasource-examples-howto.
ht
|
Bad boy: take out the docBase and path attributes. At best, they will be
ignored. At worse, they will confuse both you /and/ Tomcat. Feel free to
leave workDir in there, though it is not required. Unless you /need/ to
specify it, you should take that out and let Tomcat do what it
1 - 100 of 181 matches
Mail list logo