JNDI DataSource configuration

2005-07-08 Thread Peter . Zoche
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

Re: JNDI DataSource configuration

2005-07-08 Thread Joe Plautz
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

address for documentation bugs? (jndi datasource examples broken)

2005-03-24 Thread Michael Stillwell
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

Re: address for documentation bugs? (jndi datasource examples broken)

2005-03-24 Thread Mark Thomas
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread Darryl Wagoner
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
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

newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
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 ---

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
@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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Justin Crabtree
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
-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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
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

Help on config JNDI datasource for DB2

2005-02-22 Thread tom chen
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

Re: order of creation of JNDI datasource from context.xml and Filter.init() using it

2005-02-07 Thread Wouter Boers
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

order of creation of JNDI datasource from context.xml and Filter.init() using it

2005-02-05 Thread Jeroen Kransen
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

Re: order of creation of JNDI datasource from context.xml and Filter.init() using it

2005-02-05 Thread Jacob Kjome
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

Re: order of creation of JNDI datasource from context.xml and Filter.init() using it

2005-02-05 Thread Mario Winterer
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

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Shapira, Yoav
: 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

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-28 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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,

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Ben Souther
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-27 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-27 Thread Benson Margulies
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

Re[2]: JNDI DataSource GlobalResources problem

2004-10-27 Thread Allen Holub
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

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-27 Thread Benson Margulies
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

JNDI DataSource GlobalResources problem

2004-10-26 Thread Roland Carlsson
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

Re: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shinobu Kawai
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread Roland Carlsson
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

Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread Roland Carlsson
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

Re: Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread David Smith
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

Sv: Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread Roland Carlsson
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

RE: Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
: 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
://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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread sven morales
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.

RE: RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
, 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
/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

Sv: JNDI DataSource GlobalResources problem

2004-10-26 Thread Roland Carlsson
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

Re: JNDI DataSource GlobalResources problem

2004-10-26 Thread Viorel Dragomir
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

2004-10-26 Thread Shapira, Yoav
: 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
, 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Branko Peteh
: 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Shapira, Yoav
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Benson Margulies
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,

RE: RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Benson Margulies
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

RE: RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
] 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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Steve Kirk
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

RE: Connection Pooling using JNDI DataSource

2004-10-15 Thread Marot Laurent
: 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

RE: Connection Pooling using JNDI DataSource

2004-10-15 Thread Phillip Qin
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

Connection Pooling using JNDI DataSource

2004-10-13 Thread Marot Laurent
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

RE: Connection Pooling using JNDI DataSource

2004-10-13 Thread Shapira, Yoav
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

RE: Connection Pooling using JNDI DataSource

2004-10-13 Thread Steve Kirk
. -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

jndi-datasource

2004-09-01 Thread Steve Cheng
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

Re: jndi-datasource

2004-09-01 Thread Antony Paul
: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

Re: jndi-datasource

2004-09-01 Thread Robert Einsle
: 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

Re: jndi-datasource

2004-09-01 Thread V. Karthik Kumar
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

Re: jndi-datasource

2004-09-01 Thread QM
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

JNDI, DataSource SingleSignOn but one question!

2004-08-12 Thread Keith Bottner
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

RE: JNDI, DataSource SingleSignOn but one question!

2004-08-12 Thread Shapira, Yoav
- 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

RE: JNDI, DataSource SingleSignOn but one question!

2004-08-12 Thread Keith Bottner
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

RE: JNDI, DataSource SingleSignOn but one question!

2004-08-12 Thread Shapira, Yoav
, 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

JNDI Datasource advanced use

2004-06-08 Thread Enrico Drusiani
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

RE: JNDI Datasource advanced use

2004-06-08 Thread Freddy Villalba Arias
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

RE: JNDI Datasource advanced use

2004-06-08 Thread Enrico Drusiani
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

RE: JNDI Datasource advanced use

2004-06-08 Thread Hans
(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

RE: JNDI Datasource advanced use

2004-06-08 Thread Enrico Drusiani
; '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

ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Toby Tittles
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

ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Toby Tittles
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

ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Toby Tittles
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

ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Toby Tittles
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

RE: ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Shapira, Yoav
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

RE: ResourceLink to JNDI DataSource in GlobalResources not working

2004-05-26 Thread Toby Tittles
: 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

Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
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

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread Benjamin Armintor
, 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

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
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

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread Benjamin Armintor
, 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

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
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

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread Jacob Kjome
:[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

RE: JNDI Datasource receives AccessControlException with Security Manager

2004-04-04 Thread Daniel Huang
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   2   3   4   >