hello Przemyslaw, les,
On Wed, 03 Jul 2002 05:11:44 -0700 , Przemyslaw wrote:
On Tuesday 02 July 2002 16:27, Les Hughes wrote:
Ok. Summary time.
Martin reflects my experience - I dumped tyrex and used DBCP as well. But
aren't we trying to go direct without a pool? Having said that I've only
The model is very simple and as a coder you never see that DBCP is there
instead of Tyrex or a direct connection.
Let me know how you get on an I'll patch the documentation accordingly. Also
I noticed that my howto has made it into CVS (thanks guys!) so if you grab a
nightly build (probably
On Tuesday 02 July 2002 16:27, Les Hughes wrote:
Ok. Summary time.
Martin reflects my experience - I dumped tyrex and used DBCP as well. But
aren't we trying to go direct without a pool? Having said that I've only
ever managed to get datasources working when DBCP is being used...
Check
Hi
I've just started to write servlets. Servlets that only do processing, without
connecting to database work fine, but I have some problems to get the
connection with postgresql via jdbc work.
Tomcat: 4.0.4 (on linux)
Postgresql: 7.2.1 (on linux)
Jdbc: pgjdbc2.jar (from
:)
-Original Message-
From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 11:09
To: 'Tomcat Users List'
Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
Hi
I've just started to write servlets. Servlets that only do
processing, without
connecting
On Tuesday 02 July 2002 14:00, Les Hughes wrote:
Two things,
In your server.xml
user I think should be username
and
driverName has been deprecated in favour of url which needs the servername
and DB name as well
(as in something like jdbc:postgresql://full.server.name/mybookdb - or
Would you have other applications running in tomcat?
-Original Message-
From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 14:54
To: Tomcat Users List
Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
On Tuesday 02 July 2002 14:00, Les Hughes wrote:
Two
On Tuesday 02 July 2002 14:53, Przemyslaw Kowalczyk wrote:
I came to another conclusion. Even if there was some reference to hsql driver
in my server.xml it shouldn't affect my own servlet, as it uses its own
context. Am I right?
przem
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
-Original Message-
From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 12:09
To: 'Tomcat Users List'
Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
Hi
I've just started to write servlets. Servlets that only do processing, without
connecting to database work fine
Yep :-)
Oh, I think there's a typo in the URL - remove the two // - this is all
driver specific so it's a case of RTM :-)
-Original Message-
From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 14:00
To: Tomcat Users List
Subject: Re: Tomcat 4.0.4, jndi, jdbc
this is optional) but other than that it's fine.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 14:00
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
Is this normal :
resource-ref
res-ref
On Tuesday 02 July 2002 14:56, [EMAIL PROTECTED] wrote:
Would you have other applications running in tomcat?
No, I've just started to learn, so there are other apps.
przem
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Tuesday 02 July 2002 15:00, [EMAIL PROTECTED] wrote:
Is this normal :
resource-ref
res-ref-namejdbc/BookDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainter/res-auth
/resource-ref
More especially :
:[EMAIL PROTECTED]]
Sent: 02 July 2002 14:13
To: Tomcat Users List
Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
On Tuesday 02 July 2002 15:00, [EMAIL PROTECTED] wrote:
Is this normal :
resource-ref
res-ref-namejdbc/BookDB/res-ref-name
On Tuesday 02 July 2002 15:06, Les Hughes wrote:
web-app
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/TestDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
/web-app
The description is missing
]]
Sent: 02 July 2002 12:09
To: 'Tomcat Users List'
Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
Hi
I've just started to write servlets. Servlets that only do processing, without
connecting to database work fine, but I have some problems to get the
connection with postgresql via jdbc
Les Hughes wrote:
Ignore the remove // comment - I was looking at my oracle notes :-)
I really have no idea why it's trying to load the hsql driver if there's no
ref in your
server.xml
Post your server.xml and web.xml and we'll both have a look.
I struggled for weeks (on and off)
On Tuesday 02 July 2002 15:16, Les Hughes wrote:
Ignore the remove // comment - I was looking at my oracle notes :-)
I really have no idea why it's trying to load the hsql driver if there's no
ref in your
server.xml
Ok, the full versions (I cut off all comments):
przem
server.xml
On Tuesday 02 July 2002 15:43, [EMAIL PROTECTED] wrote:
Do you have already connected to a postgresql db using a java app? Are you
sure the parameters are correct? What is public? Where did you put the
postgresql.jar?
Yes, without any problems from 'standalone' application. I'm able to query
/parameter
/ResourceParams
-Original Message-
From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 14:53
To: Tomcat Users List
Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
On Tuesday 02 July 2002 15:43, [EMAIL PROTECTED] wrote:
Do you
On Tue, 2002-07-02 at 08:47, Przemyslaw Kowalczyk wrote:
On Tuesday 02 July 2002 15:16, Les Hughes wrote:
Ignore the remove // comment - I was looking at my oracle notes :-)
I really have no idea why it's trying to load the hsql driver if there's no
ref in your
server.xml
Ok, the full
Kowalczyk [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, July 02, 2002 11:08 AM
Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long]
Hi
I've just started to write servlets. Servlets that only do processing,
without
connecting to database work fine, but I have some
Neither adding description nor removing slashes helped.
I've checked the path in manual:
jdbc:postgresql:database
jdbc:postgresql://host/database
jdbc:postgresql://host:port/database
This last form is the most complete one. Anyway, that will not make a difference,
since it is up to
23 matches
Mail list logo