Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread David Haynes
Rick, Until you are comfortable with all this, may I suggest you download the NetBeans IDE (if company policy allows it) and see how they are setting everything up? NetBeans has a good template for a war distributed web-app and gives you a friendly way to deploy your war file to a TomCat serve

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
ailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 9:38 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database Depends on how you are deploying your app. 1) If deploying as an expanded folder, name the context.xml file after your webapp and place it in conf/Cat

Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread David Smith
AIL PROTECTED] > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, September 12, 2005 6:16 AM >To: Tomcat Users List >Subject: Re: Trying to connect tomcat5 with postgresql database > >And make sure the driver you downloaded matches y

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
-2002 Nashua 603 897-2084 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 6:16 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database And make sure the driver you downloaded

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 6:16 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database And make sure the driver you downloaded matches your server version. Also, for some reason, my setup wouldn't wo

Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread pacea
ner > > > > > > lisy > > > > .. > > > > == > > > > Edoardo > > > > > > Mattier, Ricardo wrote: > > > >> I duplicated your confi

Re: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread David Smith
I duplicated your configuration for the server.xml file, and I came up with the same error. -Original Message- From: Edoardo Panfili [mailto:[EMAIL PROTECTED] Sent: Saturday, September 10, 2005 7:49 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql

Re: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Edoardo Panfili
Subject: Re: Trying to connect tomcat5 with postgresql database This is my configuration server.xml type="javax.sql.DataSource"/> factoryorg.apache.commons.dbcp.BasicDataSourceFactor y driverClassNameorg.post

RE: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Mattier, Ricardo
I'm using tomcat 5.5, and postgresql 8.0.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 9:08 PM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database Sorry for the last post. Try

RE: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Mattier, Ricardo
I duplicated your configuration for the server.xml file, and I came up with the same error. -Original Message- From: Edoardo Panfili [mailto:[EMAIL PROTECTED] Sent: Saturday, September 10, 2005 7:49 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database

Re: Trying to connect tomcat5 with postgresql database

2005-09-10 Thread Edoardo Panfili
This is my configuration server.xml type="javax.sql.DataSource"/> factoryorg.apache.commons.dbcp.BasicDataSourceFactory driverClassNameorg.postgresql.Driver urljdbc:postgresql://127.0.0.1:5432/lisy usernameUNAME passwordPWD

Re: Trying to connect tomcat5 with postgresql database

2005-09-09 Thread pacea
Sorry for the last post. Try this. InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/{app name}"); Connection con = ds.getConnection(); Are you using TC 5.0 or 5.5? > Should be Context ctx = new InitialContext(); > > > > Hello, > > I'

Re: Trying to connect tomcat5 with postgresql database

2005-09-09 Thread pacea
Should be Context ctx = new InitialContext(); > Hello, > I'm currently working with Tomcat5 on Solaris10 x86 machine. I'm > running into problems when trying to access a postgresql 8.0.1 database > on the local machine. Cannot create JDBC driver of class '' for connect > URL null' is the

Trying to connect tomcat5 with postgresql database

2005-09-09 Thread Mattier, Ricardo
Hello, I'm currently working with Tomcat5 on Solaris10 x86 machine. I'm running into problems when trying to access a postgresql 8.0.1 database on the local machine. Cannot create JDBC driver of class '' for connect URL null' is the error I receive when trying to establish a connection. He