Re: PostgreSQL access via JNDI

2006-04-06 Thread Mark Slater
ResourceLink is for linking in Global resources (DataSources, Environment Entries, etc) that are defined in the Server.xml file. -----Original Message- From: Mark Slater [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 1:40 PM To: Tomcat Users List Subject: Re: PostgreSQL access v

Re: PostgreSQL access via JNDI

2006-04-05 Thread Mark Slater
ced in the common/lib directory. If you search the list, you will find my previous posts containing all the configuration files. Have a lot of fun! PETR On 4/5/06, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: On 4/5/06, Mark Slater <[EMAIL PROTECTED]> wrote: I've been trying

PostgreSQL access via JNDI

2006-04-04 Thread Mark Slater
I've been trying to get PostgreSQL set up to be accessed through JNDI in Tomcat 5.5.x. I found the docs page describing it, "jndi- datasource-examples-howto.html", and followed the example there, but it still doesn't work. I'm trying to provide access to PostgreSQL for use by both JDO and JC

Re: Tomcat+Eclipse, breakpoints not working

2006-03-29 Thread Mark Slater
that in Eclipse and then created the "Remote Java Application" for debugging, and selected the project in the Connect tab. Do I need to compile the WAR from within Eclipse? I checked the compile settings for Maven, and it is building with Debug on in the generated class files.

Tomcat+Eclipse, breakpoints not working

2006-03-29 Thread Mark Slater
I'm using Eclipse to try and debug a servlet in tomcat. I've got eclipse set up so that it starts and stops tomcat in debug mode (I can tell because the list of tomcat threads is visible and updated when I'm using the debug perspective). I added a few breakpoints to my code and triggered th

Re: Trouble accessing Resources in my Context

2006-02-14 Thread Mark Slater
: Mark Slater [mailto:[EMAIL PROTECTED] Subject: Re: Trouble accessing Resources in my Context So, while this works acceptably (the context information for the webapp is not included in server.xml), I would *much* prefer to use the WEB-INF/context.xml the Tomcat docs say I can (the fourth bullet on

Re: Trouble accessing Resources in my Context

2006-02-14 Thread Mark Slater
n't work, I'd be really appreciative. Is this possibly a known issue? Thanks, Mark On Feb 13, 2006, at 9:40 PM, Mark Slater wrote: I've solved part of the problem... or at least made it less complicated (I hope). The ClassNotFound exception mentioned at the bottom is due to

Re: Trouble accessing Resources in my Context

2006-02-13 Thread Mark Slater
not create resource instance). As the latter is definitely the preferred option (by tomcat documentation and myself), I'd really like to get that to work. I've also confirmed that I get the same errors on a newly downloaded and configured Tomcat 5.5.15. Mark On Feb 13, 2006, at

Trouble accessing Resources in my Context

2006-02-13 Thread Mark Slater
I'm running Tomcat 5.5.9 with JVM 1.5.0_05-83 on MacOS X 10.4.4. I'm trying to build an example webapp that shows the configuration for two Jackrabbit resources: one configured as an embedded resource for that web app and another configured as a shared resource for the entire host. I've tri