Hi!
I am trying to connect my web-app running under tomcat 5.5.9 to connect to
a postgresql database. I read
the JNDI Datasource HOW-TO on
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-h
owto.html.
I would like to have an application-specific resource
I'm not sure about 5.5.x, but in 5.0.x and earlier it was put in META-INF.
Joe
[EMAIL PROTECTED] wrote:
Hi!
I am trying to connect my web-app running under tomcat 5.5.9 to connect to
a postgresql database. I read
the JNDI Datasource HOW-TO on
http://jakarta.apache.org/tomcat/tomcat-5.5-doc
Where should I send documentation bugs?
There's a few problems with
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html:
1.
Section 2 says to add a slug of XML between a /Context tag and a
/Host tag. Tomcat's conf/server.xml (at least version 5.0.28) does
All bugs, documentation or otherwise, should be reported via bugzilla.
Mark
Michael Stillwell wrote:
Where should I send documentation bugs?
There's a few problems with
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html:
1.
Section 2 says to add a slug of XML
In your context definition, you have Resource name=TestDB..
In your web.xml, you have res-ref-namejdbc/TestDB/res-ref-name
These two need to match. If one is jdbc/TestDB, so must the other.
--David
Darryl Wagoner wrote:
Greetings,
Not sure if this made it the first time. I didn't see it show
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrote:
In your context definition, you have Resource name=TestDB..
In your web.xml, you have
No problem. Amazing what an extra set of eyes will catch, isn't it?
Enjoy!
David
Darryl Wagoner wrote:
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrote:
In
Greetings,
Not sure if this made it the first time. I didn't see it show up on the
list
I am trying to get the example in the MySQL JDBC/JNDI HOWTO to work and
I am missing something.
I get this error: My webapp directory is /DBTest.
What am I missing?
thanks
-darryl
--- Error Page ---
@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Greetings,
Not sure if this made it the first time. I didn't see it show up on the
list
I am trying to get the example in the MySQL JDBC/JNDI HOWTO to work and I
am missing
Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Greetings,
Not sure if this made it the first time. I didn't see it show up on
the list
I am trying to get the example in the MySQL JDBC/JNDI
Sounds like it can't find the driver. Do you have the Connector/J jar
installed in the correct place? Should be in common/lib.
I think so! I have
$CATALINA/common/lib/mysql-connector-java-3.0.16-ga-bin.jar which I
believe to be the correct.
I just downloaded and installed 3.1 with same
What version are you running of Tomcat?
Did you put in your resource link?
Doug
- Original Message -
From: Darryl Wagoner [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI
-user@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Greetings,
Not sure if this made it the first time. I didn't see it show up on the
list
I am trying to get the example in the MySQL JDBC/JNDI
you put in your resource link?
Doug
- Original Message -
From: Darryl Wagoner [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Hello All,
Can some show how to set db2 jndi datasource in tomcat 5.5.7.
DB2 and tomcat all in windows XP.
tomcat can talk to db2 with direct jdbc connection.
Why it is so hard for db2?
Thank you very much!
--tom
-
Do you Yahoo!?
Yahoo
The easiest way to add a JNDI datasource is to install the webadmin
and define the datasource not as a global JNDI but 'local' to the
context. This can easily be achieved with the admin application.
I have seen this problem where I defined the global datasource in TC
5.5 and it was not visible
request to
the webapp and provide it with a Hibernate Session. In the init() the
Hibernate SessionFactory is configured by doing a lookup on JNDI for a
DataSource.
My problem is that Hibernate can't find the JNDI datasource:
17:44:14,745 INFO [nl.kransen.mywebapp.context.HibernateSessionFilter
a HibernateSessionFilter that will filter any request to
the webapp and provide it with a Hibernate Session. In the init() the
Hibernate SessionFactory is configured by doing a lookup on JNDI for a
DataSource.
My problem is that Hibernate can't find the JNDI datasource:
17:44:14,745 INFO
Hi Jeroen!
Two weeks ago I (almost) exactly did what you want to do - make
hibernate use a JNDI-DataSource defined as a GlobalNamingResource! The
differences: My database is Oracle and I didn't configure hibernate
directly because I use the spring-framework in between.
I experienced problems
Benson wrote:
Yoav, in one posting, explained that the servlet spec is
written from a
point of view that only requires support for applications in
unexploded WAR files.
Does the spec explicitly state that point of view? I can't find that
anywhere in the spec doc. Therefore this makes me
2004 02:28
To: Tomcat Users List; Allen Holub
Subject: RE: Re[2]: JNDI DataSource GlobalResources problem
As I read the discussion, I don't think that anyone claimed that only
WAR's are interesting or important.
Yoav, in one posting, explained that the servlet spec is
written from
The standard make a series of provisions for the case in which there is
no 'pathname' corresponding to some resource in a web application. These
provisions were intended to support a model where a WAR file is never
exploded into a native file system. Conceptually, you can model this as
supporting
: JNDI DataSource GlobalResources problem
I have been in learning mode about Resource/Context config for the last
few
weeks, mainly from the point of view of DBCP config. I did find all
the
alternatives confusing at first, but having read more and more docs,
and
getting some help from the good
Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 11:21 AM
To: Tomcat Users List
Subject: RE: Re[2]: JNDI DataSource GlobalResources problem
The standard make a series of provisions for the case in which there is
no 'pathname' corresponding to some
for me. Unless the spec changes
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday 28 October 2004 16:21
To: Tomcat Users List
Subject: RE: JNDI DataSource GlobalResources problem
Hi,
Besides completely agreeing with Steve (so Benson, your time
Hi,
Don't know why I didn't think of it earlier really. I suppose it's
because
when you first try this, you google for something like servlet
connection
pooling, and get to various DBCP how-to pages, and away you go down
that
path, and get tied up with context.xml vs server.xml, META-INF/ vs
I think that JNI is the only counter-example. Forgive me if the
following is well know but seen as unimportant to all concerned.
There is a JVM restriction: any given class with native members can only
be loaded into one classloader of a JVM. So, if two webapps both try to
include a native class,
about putting the DBCP jars in
WEB-INF/lib? if so, wouldn't putting them in shared/lib instead solve it?
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Thursday 28 October 2004 20:47
To: Tomcat Users List
Subject: RE: JNDI DataSource GlobalResources problem
28 October 2004 21:49
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource GlobalResources problem
Benson, I read your post on classloading JNI classloading
with interest.
Certainly wasn't well-known to me.
Only one question: counter-example to what? i.e. is there
a configuration
I'm reading this thread as the following meta-discussion. I may be
confused.
Steve and others: Help us, we've having trouble making global resources
work due to poor documentation and problems deciding what to put in the
'common' classpath and what to put in the webapp class path.
Yoav and
Whoops, I missed a point:
'counter-example' to the general idea that anything you can do as a
global resource you can do just as well as a per-web-app resource.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Thursday 28 October 2004 21:49
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource GlobalResources problem
Benson, I read your post on classloading JNI classloading
with interest.
Certainly wasn't well-known to me
October 2004 22:13
To: Tomcat Users List
Subject: RE: JNDI DataSource GlobalResources problem
There is a section in the release notes on JNI classes that are shared
by multiple apps. I assume this is what he's talking about.
What it boils down to is that you can't put multiple copies
Benson wrote:
I'm reading this thread as the following meta-discussion. I may be
confused.
It's been a fairly long thread. You've got the jist though, except:
I don't use global resources and I'm not for or against either them or
per-webapp resources. I joined the thread to help someone
Yoav said (re: context.xml files):
They're a TC-only feature. Other containers go about it different ways.
and:
Context.xml files are NOT designed to increase portability at all.
They're a convenience feature. In fact, they're a sinkhole for
beginners to REDUCE their portability in favor of
The specifications specify how a webapp declares the resources that it
uses, but not how those resources are configured in the container and
made accessible to the webapp. So, whatever we have in here is going to
be tomcat-specific.
The question is, are the arbiters of taste interested in
BM The question is, are the arbiters of taste interested in considering
BM making the administrative configuration process more convenient?
BM It seems to me that there is a tension here: from a security standpoint,
BM administrative configuration has to be outside the webapp. From a
BM
As I read the discussion, I don't think that anyone claimed that only
WAR's are interesting or important.
Yoav, in one posting, explained that the servlet spec is written from a
point of view that only requires support for applications in unexploded
WAR files. That is not the same thing as
Hi!
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems like the DataSource doesn't get the properties I set. I get the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null' (Full stacktrace
Hi Roland,
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems like the DataSource doesn't get the properties I set. I get the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null
This type of bug crops up a lot on this list. The best answer seems to be
to make sure you follow the instructions on this page _exactly_:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
I assume that where you have x/y in your config file this is to hide
11.25, skrev Shinobu Kawai [EMAIL PROTECTED]:
Hi Roland,
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems like the DataSource doesn't get the properties I set. I get the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create
PROTECTED]:
This type of bug crops up a lot on this list. The best answer seems to be
to make sure you follow the instructions on this page _exactly_:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
I assume that where you have x/y in your config file
this affect the configuration I already have done? Is the use of
resource-ref and Resource correct?
Thanks in advance
Roland Carlsson
Den 04-10-26 11.25, skrev Shinobu Kawai [EMAIL PROTECTED]:
Hi Roland,
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems
to use the JNDI DataSource to administer my
database-connections.
But it seems like the DataSource doesn't get the properties I set. I get
the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null' (Full stacktrace below)
I
Hi,
In server.xml I created a default-context and viola! It
worked! :-)
Ahh, I'd stay on tiptoes if I were you. DefaultContext has a couple of
subtle bugs that affect a small subset of applications which rely on
binding order.
It's worth your time to dump DefaultContext and declare the
: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: Tuesday 26 October 2004 12:09
To: TomcatUsers
Subject: Sv: JNDI DataSource GlobalResources problem
Hello!
Thanks for your answer. I have no ResourceLink in my configuration. I
understand that I should put it a Context-tag but not where
://www.yoavshapira.com
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 8:58 AM
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource GlobalResources problem
This question illustrates (IMHO) probably the biggest issue of
confusion
with regard to DBCP
Stever Kirk: Did I read that right, Resource
nested inside GlobaNamingResource is not visible to
the webapp? I thought that was the whole purpose to
make it visible globally naming resources under
GlobalNamingResource noh? If Im wrong I stand
corrected.
, October 26, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: RE: JNDI DataSource GlobalResources problem
Stever Kirk: Did I read that right, Resource
nested inside GlobaNamingResource is not visible to
the webapp? I thought that was the whole purpose to
make it visible globally naming resources
/config/context.html#Resource
%20Links
-Original Message-
From: sven morales [mailto:[EMAIL PROTECTED]
Sent: Tuesday 26 October 2004 14:54
To: [EMAIL PROTECTED]
Subject: RE: JNDI DataSource GlobalResources problem
Stever Kirk: Did I read that right, Resource
nested inside
confused. I've also been meaning to post this to the list for a few
months, having spent days learning it. Hope this helps you and others :)
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: Tuesday 26 October 2004 12:09
To: TomcatUsers
Subject: Sv: JNDI DataSource
To: TomcatUsers
Sent: Tuesday, October 26, 2004 17:55
Subject: Sv: JNDI DataSource GlobalResources problem
Thank you very much for your help. I appreciate it very much.
I feel that the GlobalNamingResources is the place to put my
DataSource-definition since there I can do it one time for all web-apps
October 2004 16:18
To: Tomcat Users List
Subject: Re: JNDI DataSource GlobalResources problem
Hi
Review current docs from jakarta project regarding jndi config.
I personally disagree with your conclusion, setting
server.xml is not such a good idea.
So here what I've done, maybe
Hi,
Actually I would like your approach better than mine if I could get it
to
work, because it would mean that the context config is located in a
META-INF/context.xml only works on later versions of Tomcat. He might
be using a later version than yours. Try 5.0.19 or later.
I understood that
I'm using 5.0.28 - which I've been running for several months - but no joy.
I'm getting the same SQLNestedException that Roland first reported at the
start of this thread !!
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
Hi,
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
webapps/mywebapp/META-INF/context.xml
is there something I've missed?
Yeah. The META-INF/context.xml is consulted when deploying a WAR. Just
putting it there for an already deployed and
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
webapps/mywebapp/META-INF/context.xml
is there something I've missed?
Yeah. The META-INF/context.xml is consulted when deploying a
WAR. Just
putting it there for an already deployed and
: RE: JNDI DataSource GlobalResources problem
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
webapps/mywebapp/META-INF/context.xml
is there something I've missed?
Yeah. The META-INF/context.xml is consulted when deploying a
WAR. Just
, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday 26 October 2004 17:48
To: Tomcat Users List
Subject: RE: JNDI DataSource GlobalResources problem
Hi,
Nope, if you just use the unpacked directory structures to deploy,
META-INF/context.xml will not be read.
Yoav Shapira http
: Tuesday, October 26, 2004 9:36 AM
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource GlobalResources problem
I'm using 5.0.28 - which I've been running for several months - but no joy.
I'm getting the same SQLNestedException that Roland first reported at the
start of this thread !!
All I did
Hi,
So, I am currently including my webapp's Context in
conf/Catalina/localhost/mywebapp.xml, which is sub-optimal for 2
reasons:
1. it's outside the webapp directory
2. the path depends on the server configuration - not predictable
These server-specific configuration files, unlike web.xml, are
to be designed to increase
portability. Are they spec'd/recommended somewhere else than in the jsr154
docs, or are they in fact a TC feature?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday 26 October 2004 18:11
To: Tomcat Users List
Subject: RE: JNDI DataSource
Hola,
I also hadn't realised that the servlet spec does not require support
for
the unpacked mode that I have been using, and that only packed war
files
need to be supported. Where does the spec say this - I've looked at it
again just now, but can't find it.
It says it implicitly by only
As a recent patcher of this document, I wish that I had made all the
references to ResourceLink say 'of the Context or DefaultContext'
element to stop people from accidently trying to put them into the
Global...
-
To unsubscribe,
Message-
From: sven morales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: RE: JNDI DataSource GlobalResources problem
Stever Kirk: Did I read that right, Resource
nested inside GlobaNamingResource is not visible to
the webapp? I thought
]
Sent: Wednesday 27 October 2004 01:48
To: Tomcat Users List
Subject: RE: RE: JNDI DataSource GlobalResources problem
Webapps can only see GlobalNamingResource resources if there is a
ResourceLink in the Context or DefaultContext. By default, the global
context is only visible to global
Yoav - interesting points again. thanks :)
It says it implicitly by only discussing packed WAR files as the only
deployment method.
Sorry if I'm being slow here, but which sections of the servlet spec talk
about these deployment methods? I can't find anything on that in the spec -
have
: Connection Pooling using JNDI DataSource
As Yoav says, it works, and is very easy to use once you have it configured.
But note that lots of people seem to have trouble getting the config right.
I was one of those. You have to persevere a bit. The problem I had was
that there are lots of pages on lots
I guess the issue is with compilation or JNI.
-Original Message-
From: Marot Laurent [mailto:[EMAIL PROTECTED]
Sent: October 15, 2004 5:13 AM
To: Tomcat Users List
Subject: RE: Connection Pooling using JNDI DataSource
uh ...
it works fine from our side. But as i saw so many posts
Hi all,
Could you please confirm me that when using JNDI DataSource described there
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
(just defining the Datasource in your server.xml file and configuring
Message-
From: Marot Laurent [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 10:33 AM
To: Tomcat Users List
Subject: Connection Pooling using JNDI DataSource
Hi all,
Could you please confirm me that when using JNDI DataSource described
there
http://jakarta.apache.org/tomcat/tomcat
.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday 13 October 2004 15:26
To: Tomcat Users List
Subject: RE: Connection Pooling using JNDI DataSource
Hi,
Yeah, it works. Note that your choice of words is a bit
misleading: you
don't configure anything
I follow the tomcat document and try to setup JNDI in tomcat.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
But I get the following exception.
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL 'null
:15 PM
Subject: jndi-datasource
I follow the tomcat document and try to setup JNDI in tomcat.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
But I get the following exception.
javax.servlet.ServletException: Cannot create JDBC driver of class
: jndi-datasource
I follow the tomcat document and try to setup JNDI in tomcat.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
But I get the following exception.
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL
Hmmm,
But seriously, there ought to be a better way to add datasources in the
future...
Probably the only solution is to set-up a LocalDataSourceFactory, when
an entry exists in Context.xml ... and then add these to the current
classpath... Yeah, I know it sucks, but when it's possible to have
On Wed, Sep 01, 2004 at 07:08:06PM +0530, V. Karthik Kumar wrote:
: But seriously, there ought to be a better way to add datasources in the
: future...
See below.
: Probably the only solution is to set-up a LocalDataSourceFactory, when
: an entry exists in Context.xml ... and then add these
Ok, I read the archives, I read past mailings and I still can't get this to
work. So here it goes.
I have a DataSource that I define in the GlobalNamingResources section of
the server.xml.
I also define a Realm (specifically a DataSourceRealm) in the Engine
section of the server.xml that
-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 11:44 AM
To: [EMAIL PROTECTED]
Subject: JNDI, DataSource SingleSignOn but one question!
Ok, I read the archives, I read past mailings and I still can't get
this to
work. So here it goes.
I have a DataSource that I define
Thank you, Thank you, Thank you, Thank you, Thank you!
That did it!
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 10:52 AM
To: Tomcat Users List
Subject: RE: JNDI, DataSource SingleSignOn but one question!
Hi,
You need a ResourceLink
, August 12, 2004 12:07 PM
To: 'Tomcat Users List'
Subject: RE: JNDI, DataSource SingleSignOn but one question!
Thank you, Thank you, Thank you, Thank you, Thank you!
That did it!
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 10:52 AM
connection. Can that be
achieved by using the JNDI datasource or have I to use some more advanced
data layer like hibernate or jdo?
Thanks for your time and attention
Enrico Drusiani
-
To unsubscribe, e-mail: [EMAIL PROTECTED
transaction, etc... etc...
HTH,
Freddy.
-Mensaje original-
De: Enrico Drusiani [mailto:[EMAIL PROTECTED]
Enviado el: martes, 08 de junio de 2004 13:14
Para: [EMAIL PROTECTED]
Asunto: JNDI Datasource advanced use
Greetings everyone.
I need to give the user of my servlet based web application
Drusiani
-Original Message-
From: Freddy Villalba Arias [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 01:48 PM
To: Tomcat Users List; Edrusiani
Subject: RE: JNDI Datasource advanced use
Hi Enrico,
I suppose that by closing you mean freeing up the resource. When you close
(or not) any transaction, etc... etc...
HTH,
Freddy.
-Mensaje original-
De: Enrico Drusiani [mailto:[EMAIL PROTECTED]
Enviado el: martes, 08 de junio de 2004 13:14
Para: [EMAIL PROTECTED]
Asunto: JNDI Datasource advanced use
Greetings everyone.
I need to give the user of my servlet based web
; 'Freddy Villalba Arias'; 'Tomcat Users List'
Subject: RE: JNDI Datasource advanced use
Hi,
seems to me you are talking about 2 different things:
- preventing the user from executing a huge query while another is running
- cancelling the huge query
The first can easily be implemented using some flags
Hi There,
I'm running Tomcat 4.1.30. When I put the Resource and ResourceParams elements in the
Context element of my webapp, it seems to work fine, but when I move it to the
GlobalNamingResources element and point to it using a ResourceLink, it doesn't seem to
work giving me an exception
Hi There,
I'm running Tomcat 4.1.30. When I put the Resource and ResourceParams elements in the
Context element of my webapp, it seems to work fine, but when I move it to the
GlobalNamingResources element and point to it using a ResourceLink, it doesn't seem to
work giving me an exception
Hi There, I'm running Tomcat 4.1.30. When I put the Resource and ResourceParams
elements in the Context element of my webapp, it seems to work fine, but when I move
it to the GlobalNamingResources element and point to it using a ResourceLink, it
doesn't seem to work giving me an exception
Hi There, I'm running Tomcat 4.1.30. When I put the Resource and ResourceParams
elements in the Context element of my webapp, it seems to work fine, but when I move
it to the GlobalNamingResources element and point to it using a ResourceLink, it
doesn't seem to work giving me an exception
to JNDI DataSource in GlobalResources not working
Hi There, I'm running Tomcat 4.1.30. When I put the Resource and
ResourceParams elements in the Context element of my webapp, it seems
to
work fine, but when I move it to the GlobalNamingResources element and
point to it using a ResourceLink
: Toby Tittles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 4:14 PM
To: [EMAIL PROTECTED]
Subject: ResourceLink to JNDI DataSource in GlobalResources not working
Hi There, I'm running Tomcat 4.1.30. When I put the Resource and
ResourceParams elements in the Context element of my webapp
Hi all,
This probably a simple question but I cannot find any answer to this in the
FAQ or buglist. Why is it that the required jars for 3rd party JNDI
datasource (such as JDBC pools) have to be placed in
$CATALINA_HOME/common/lib? Why does the Tomcat instance not use
$CATALINA_BASE/[common
, Chris, FM [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 7:54 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 5: Location of 3rd party JNDI datasource jars in
$CATALINA _HOME/common/lib
Hi all,
This probably a simple question but I cannot find any answer to this in
the FAQ or buglist. Why
instances.
Cheers,
Chris
-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: 21 May 2004 14:03
To: Tomcat Users List
Subject: RE: Tomcat 5: Location of 3rd party JNDI datasource jars in
$CATALINA _HOME/common/lib
If a class needs to be accessed by both server
, FM [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 8:13 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5: Location of 3rd party JNDI datasource jars in
$CATALINA _HOME/common/lib
Thanks for the info Ben. The only counter argument I have is
...$CATALINA_BASE is for instance specific
were halfway sensible that wouldn't be done.
Cheers again,
Chris
-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: 21 May 2004 15:27
To: Tomcat Users List
Subject: RE: Tomcat 5: Location of 3rd party JNDI datasource jars in
$CATALINA _HOME/common/lib
I understand
:[EMAIL PROTECTED]
Sent: 21 May 2004 15:27
To: Tomcat Users List
Subject: RE: Tomcat 5: Location of 3rd party JNDI datasource jars in
$CATALINA _HOME/common/lib
I understand where you're coming from. Maybe Yoav will correct me if I'm
wrong, but the important caveat is that classes are only
Debugging with Security manager can be challenging. You probably want to
take a look at Tomcat Security Manager HowTo.
Regards,
Daniel
-Original Message-
From: Juergen Weber [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 03, 2004 2:55 AM
To: [EMAIL PROTECTED]
Subject: JNDI Datasource
1 - 100 of 310 matches
Mail list logo