Re: setup of global resources, dbcp, mail, etc.

2003-09-16 Thread Paul
Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 15, 2003 4:33 PM Subject: Re: setup of global resources, dbcp, mail, etc. Here's what I do: !-- Global JNDI resources -- GlobalNamingResources Resource name=jdbc/GlobalRealmDB

setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Paul
has anyone been successful setting up a global resource under Tomcat 4.1, jdk 1.4 that is accessible to all webapps? If so, please describe how you configured tomcat. thanks, paul lomack

Re: setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Adam Hardy
The tricky bit is to remember to put a reference to the global-resource in the contexts which want to use it: ResourceLink name=jdbc/RealmDB global=jdbc/GlobalRealmDB type=javax.sql.DataSource/ Adam On 09/15/2003 07:03 PM Paul wrote: has anyone been successful

Re: setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Paul
PROTECTED] Sent: Monday, September 15, 2003 1:36 PM Subject: Re: setup of global resources, dbcp, mail, etc. The tricky bit is to remember to put a reference to the global-resource in the contexts which want to use it: ResourceLink name=jdbc/RealmDB global=jdbc/GlobalRealmDB

Re: setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Adam Hardy
, 2003 1:36 PM Subject: Re: setup of global resources, dbcp, mail, etc. The tricky bit is to remember to put a reference to the global-resource in the contexts which want to use it: ResourceLink name=jdbc/RealmDB global=jdbc/GlobalRealmDB type=javax.sql.DataSource

global resources

2002-05-29 Thread Christian J. Dechery
I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under $CATALINA_HOME/classes and $CATALINA_HOME/lib right? Well... when I do that, either two things happen: it doesn't find the classes and nothing works, or it gives me a crazy error

RE: global resources

2002-05-29 Thread Mark Shurgot
You should use $CATALINA_HOME/commom/classes and $CATALINA_HOME/common/lib -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want

Re: global resources

2002-05-29 Thread Phillip Morelock
-Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under $CATALINA_HOME

RE: global resources

2002-05-29 Thread Christian J. Dechery
- From: Christian J. Dechery [ mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under $CATALINA_HOME/classes

Re: global resources

2002-05-29 Thread Phillip Morelock
. Dechery [ mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under $CATALINA_HOME/classes and $CATALINA_HOME/lib right

Re: global resources

2002-05-29 Thread Christian J. Dechery
-Original Message- From: Christian J. Dechery [ mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under

global resources (2)

2002-05-29 Thread Christian J. Dechery
According to Tomcat's config, I should places classes and packages in /classes and /lib, not /common/classes and /common/lib. Altough neither is working for me... :/ http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html .:| Christian J. Dechery .:| FINEP - Depto. de

Re: global resources

2002-05-29 Thread Jacob Kjome
Hello Christian, By chance, are the libraries that you put in TOMCAT_HOME/lib refer to libraries that you put in your webapp's WEB-INF/lib? If so, this just isn't going to work. The WEB-INF/lib libraries can see libraries in TOMCAT_HOME/lib, but not the other way around. For instance, the

Re: global resources (2)

2002-05-29 Thread Phillip Morelock
Ha! Looks like i had it backwards... Thank goodness for documentation ;) fillup On 5/29/02 11:51 AM, Christian J. Dechery [EMAIL PROTECTED] wrote: According to Tomcat's config, I should places classes and packages in /classes and /lib, not /common/classes and /common/lib. Altough

Re: global resources

2002-05-29 Thread Christian J. Dechery
but I just have some beans acessing a an Oracle database... the only thing NOT working is the oracle drivers (classes12.jar, which I tried placing both in /common/lib and /lib)... and all the other classes (now in /common/lib) are working fine. .:| Christian J. Dechery .:| FINEP - Depto. de

global resources (better explained)

2002-05-29 Thread Christian J. Dechery
I have a set of beans, the package names are finep and christian. both are in $CATALINA_HOME/classes calls to these classes occur normally... the problem is, that among these classes, some of them makes calls to the oracle driver... the oracle drivers (classes12.jar) are in

Re: global resources (better explained)

2002-05-29 Thread Phillip Morelock
pay attention to the order of classloaders -- i would jar your classes and put them with the oracle classes, to ensure they're loaded in the same space. I have said this till I'm blue in the face, but so many problems mysteriously go away when you use jars instead of just throwing class files in