[Rife-users] Problem adding database support to rife

2007-03-22 Thread Mork0075
Hi, i try to add some basic database functionality to my rife app, but got some errors. First of all, adding this line to my auth.xml (which extends rife/autheticated/database.xml) element property name=datasourcedatasourcemysql/datasource/property causes the following error: The property

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
Hi, you probably checked this, but are you sure the MySQL jdbc driver is in the classpath ? cheers Henk On 22 Mar 2007, at 21:11, Mork0075 wrote: Hi, i try to add some basic database functionality to my rife app, but got some errors. First of all, adding this line to my auth.xml

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Mork0075
I use the rife jumpstart project, i thaught theres mysql support out of the box? Henk schrieb: Hi, you probably checked this, but are you sure the MySQL jdbc driver is in the classpath ? cheers Henk On 22 Mar 2007, at 21:11, Mork0075 wrote: Hi, i try to add some basic database

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
Actually, rife jumpstart does support MySQL, but does not include the driver. Moreover, it depends on your mysql version which jdbc driver you should use. Check out http://www.mysql.com/products/connector/ j/ for more information. good luck Henk On 22 Mar 2007, at 21:23, Mork0075

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Mork0075
Ok, thanks a lot, this was my mistake. But the other problem remains: The property 'datasource' of element 'auth/loginBoxElement.xml' was expected to have the type 'com.uwyn.rife.database.Datasource', however it's actual type 'java.lang.String' couldn't be cast to it. Henk schrieb: Actually,

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
Check the following : rep/datasources.xml : should contain datasource name=mysql drivercom.mysql.jdbc.Driver/driver urljdbc:mysql://localhost:3306/config param=database_name/?autoReconnect=true/url userconfig param=database_user//user passwordconfig

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Mork Ork
Ok, i checked this but same error config-base.xml config param name=datasourcemysql/param param name=database_namerife/param param name=database_userrife/param param name=database_passwordrife/param /config participants.xml rep participant

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Geert Bevin
Can you post the entire stacktrace of the exception you get and the site structure in which universalAuthElement.xml is declared also? On 22 Mar 2007, at 14:17, Mork Ork wrote: Ok, i checked this but same error config-base.xml config param name=datasourcemysql/param param