Connection problem

2003-06-10 Thread Paul Pattison
I've been getting the following error almost daily for the past week. Original exception : org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionExcepti

Re: Connection problem to DB2

2002-05-20 Thread Kelly Cole
Thanks to all who helped with this one (thanks especially to Jon for his db2/connect help). I finally got it to work for the "esql" example. What I did was to run the program C:\Program Files\SQLLIB\java12\usejdbc2.bat (this causes db2/connect to use jdbc2 instead of jdbc1). THEN I HAD TO REBOOT.

Re: Connection problem to DB2

2002-05-17 Thread Jon Pallas
MAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 17, 2002 3:47 PM Subject: RE: Connection problem to DB2 > Hi Werner, > > Thanks for the response! I did a) and b) below, but I'm not at all sure what > you meant by c). I'm running on Win2k. My experience is

RE: Connection problem to DB2

2002-05-17 Thread Kelly Cole
CTED]] Sent: Friday, May 17, 2002 12:26 AM To: [EMAIL PROTECTED] Subject: Re: Connection problem to DB2 On 16.May.2002 -- 04:13 PM, Kelly Cole wrote: > Thanks for the quick response... I am using Cocoon 2.0.2, Tomcat 4.0.1 and > JDK 1.3.1_03. Your versions look reas

RE: Connection problem to DB2

2002-05-17 Thread Kelly Cole
Files\SQLLIB\bin I surely appreciate your help with this! Thanks, Kelly -Original Message- From: Werner Guttmann [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 3:07 AM To: [EMAIL PROTECTED] Cc: Max Foxell; Shafik Patel Subject: Re: Connection problem to DB2 All, please keep in

Re: Connection problem to DB2

2002-05-17 Thread Nicola Ken Barozzi
From: "Werner Guttmann" <[EMAIL PROTECTED]> > All, > > please keep in mind that IBM's JDBC driver for DB2 is a type 2 driver. Iow, it > relies on native code installed somewhere in your filesystem. Just for completeness, the iSeries (AS400) has his personal version of DB2-type db, with opensourc

Re: Connection problem to DB2

2002-05-17 Thread Werner Guttmann
o, sys_grp_name from > testdb2.sysgrps" > /SQLTransformer: RECEIVED CHARACTERS: > /SQLTransformer: RECEIVED END ELEMENT > execute-query(http://apache.org/cocoon/SQL/2.0) > /SQLTransformer: SQLTransformer executing query nr 0 > /SQLTransformer$Query: EXECUTING select sys_grp_

Re: Connection problem to DB2

2002-05-17 Thread Christian Haul
On 16.May.2002 -- 04:13 PM, Kelly Cole wrote: > Thanks for the quick response... I am using Cocoon 2.0.2, Tomcat 4.0.1 and > JDK 1.3.1_03. Your versions look reasonable. Have you compiled any of it yourself? > root cause > > java.lang.AbstractMethodError > at > org.apache.avalon.excalibu

RE: Connection problem to DB2

2002-05-16 Thread Kelly Cole
and sorry to bombard everyone with such a large email! Kelly -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Connection problem to DB2 On 16.May.2002 -- 12:50 PM, Kelly Cole wrote: > I am a new u

Re: Connection problem to DB2

2002-05-16 Thread Christian Haul
On 16.May.2002 -- 12:50 PM, Kelly Cole wrote: > I am a new user to Cocoon, just trying to test drive it... One of the things > I would like to do is to connect to our database (db2 on os390 connecting > via DB2/Connect). Unfortunately, I get this entry in the sitemap.log: Things you didn't tell u

Connection problem to DB2

2002-05-16 Thread Kelly Cole
I am a new user to Cocoon, just trying to test drive it... One of the things I would like to do is to connect to our database (db2 on os390 connecting via DB2/Connect). Unfortunately, I get this entry in the sitemap.log: DEBUG (2002-05-16) 10:51.03:468 [sitemap.transformer.sql](/cocoon/db/test.

RE: Another database connection problem and cocoon hang!

2002-04-07 Thread James Harris
ailto:[EMAIL PROTECTED]] Sent: 07 April 2002 11:44 To: [EMAIL PROTECTED] Subject: Re: Another database connection problem and cocoon hang! silly question, but is your MySQL server actually running on port 9002 and not the usual 3306? Can you access it using the standard mysql client? Have you trie

Re: Another database connection problem and cocoon hang!

2002-04-07 Thread Peter Robins
silly question, but is your MySQL server actually running on port 9002 and not the usual 3306? Can you access it using the standard mysql client? Have you tried the mm.mysql test suite to access it via the Java routines? When it's working properly there, then try with Tomcat/Cocoon. Database co

RE: Another database connection problem and cocoon hang!

2002-04-07 Thread James Harris
:13 To: [EMAIL PROTECTED] Subject: Another database connection problem and cocoon hang! Hi I'm a bit of a newbie as far as cocoon is concerned but I am hoping someone can shed some light on my perplexing problem. I have been trying to get cocoon to connect to a database. I have cocoon se

Another database connection problem and cocoon hang!

2002-04-06 Thread James Harris
Hi I'm a bit of a newbie as far as cocoon is concerned but I am hoping someone can shed some light on my perplexing problem. I have been trying to get cocoon to connect to a database. I have cocoon serving static content and xsp pages which are transformed using stylesheets into html for displa

Re: Database connection problem

2002-03-27 Thread Bert Van Kets
gt; > > > 1) You must have jdbc driver file in classpath > > 2) Check your cocoon.xconf > > for ... for pool configuration > > 3) See access.log for message like this > > DEBUG (2002-03-26) 17:04.45:713 [access] (Unknown-URI) > > Unknown-thread/Cocoo

Re: Database connection problem

2002-03-27 Thread Derek Hohls
gt; Unknown-thread/Cocoon > Servlet: Trying to load class: org.gjt.mm.mysql.Driver > > - Original Message - > From: "Derek Hohls" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 26, 2002 4:43 PM > Subject: Database connection

RE: Database connection problem

2002-03-27 Thread Derek Hohls
o:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 8:39 AM To: [EMAIL PROTECTED] Subject: Re: Database connection problem 1) The jdbc driver file is loaded under: WEB-INF/classes/ 2) The xconf file contains: true jdbc:mysql://localhost:3306/mydbase foo

Re: Database connection problem

2002-03-27 Thread Peter Robins
ol configuration > 3) See access.log for message like this > DEBUG (2002-03-26) 17:04.45:713 [access] (Unknown-URI) > Unknown-thread/Cocoon > Servlet: Trying to load class: org.gjt.mm.mysql.Driver > > - Original Message - > From: "Derek Hohls" <[EMAIL PROTECTED

RE: Database connection problem

2002-03-26 Thread Sozonnik Andrew
Tell us, version of Cocoon and JDK. Have you compiled Cocoon by yourself and under what JDK ? -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 8:39 AM To: [EMAIL PROTECTED] Subject: Re: Database connection problem 1) The jdbc driver file

RE: Database connection problem

2002-03-26 Thread Hahn Kurt (CHA)
it's worth a try Regards Kurt -Message d'origine- De: Derek Hohls [mailto:[EMAIL PROTECTED]] Date: mercredi, 27. mars 2002 07:39 À: [EMAIL PROTECTED] Objet: Re: Database connection problem 1) The jdbc driver file is loaded under: WEB-INF/classes/ 2) The xconf file contains:

Re: Database connection problem

2002-03-26 Thread Derek Hohls
> Sent: Tuesday, March 26, 2002 4:43 PM Subject: Database connection problem > When trying to connect to a mySQL database, I get: > > Could not get the datasource java.sql.SQLException: There are no > connections in the pool, check your settings. > > I already have

Re: Database connection problem

2002-03-26 Thread Andrey Demchenko
Message - From: "Derek Hohls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 4:43 PM Subject: Database connection problem > When trying to connect to a mySQL database, I get: > > Could not get the datasource java.sql.SQLException: Th

Database connection problem

2002-03-26 Thread Derek Hohls
When trying to connect to a mySQL database, I get: Could not get the datasource java.sql.SQLException: There are no connections in the pool, check your settings. I already have the setting for the driver in the web.xml; load-class org.gjt.mm.mysql.Driver I can also connec

Oracle connection problem

2001-09-20 Thread Lukas Kubin
I am having troubles getting a connection to Oracle 8.1.7 database in Apache Cocoon 2.0b2 on Tomcat 4.0-b7 and Linux 2.4.9 I tried all the installation steps described in Cocoon's "Using Databases" documentation. Of course, I changed all the login and database properties. I also changed the connec

RE: [c2] jdbc connection problem (solved)

2001-08-28 Thread Klaus Bertram
; Subject: Re: [c2] jdbc connection problem (solved) > > > Hi! > > Problem solved: > > DEBUG (2001-08-28) 16:29.20:649 [cocoon ] (Unknown-URI) > Unknown-thread/AbstractPool: > org.apache.avalon.excalibur.datasource.JdbcConnection: could not > be instantia

Re: [c2] jdbc connection problem (solved)

2001-08-28 Thread Christoph Kliemt
Hi! Problem solved: DEBUG (2001-08-28) 16:29.20:649 [cocoon ] (Unknown-URI) Unknown-thread/AbstractPool: org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated. The password property is missing. It is mandatory. cocoon.xconf had an empty password... i provid

Re: [c2] jdbc connection problem

2001-08-28 Thread Arnaud Vandyck
Date: 28 Aug 2001 12:11:02 +0200 From: Christoph Kliemt <[EMAIL PROTECTED]> > Hi! > > I still have problems connecting a postgres database. > ("Could not get the datasource java.sql.SQLException: You cannot get > a Poolable before the pool is initialized") > > Driver is loaded ok; database

Re: [c2] jdbc connection problem

2001-08-28 Thread Berin Loritsch
Christoph Kliemt wrote: > > Hi! > > I still have problems connecting a postgres database. > ("Could not get the datasource java.sql.SQLException: You cannot get > a Poolable before the pool is initialized") > > Driver is loaded ok; database is connectable (tested with a small > java-progra

[c2] jdbc connection problem

2001-08-28 Thread Christoph Kliemt
Hi! I still have problems connecting a postgres database. ("Could not get the datasource java.sql.SQLException: You cannot get a Poolable before the pool is initialized") Driver is loaded ok; database is connectable (tested with a small java-program without the use of cocoon), config shoul