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
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
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
-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
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
ner
> >
> >
> > lisy
> >
> > ..
> >
> > ==
> >
> > Edoardo
> >
> >
> > Mattier, Ricardo wrote:
> >
> >> I duplicated your confi
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
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
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
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
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
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'
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
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
14 matches
Mail list logo