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

2007-03-31 Thread Geert Bevin
Hi Mork, what do you mean what 'nothing happens'? Is the user logged out, but you don't see a new page? Is there a URL generated in the login box? Did you look at example 7 about authentication? Btw, if you want to snap back to the same location, you need to trigger the request through a

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

2007-03-25 Thread Geert Bevin
Ahh, yeah, the upcoming RIFE has specific support for JDK 1.6 and the new JDBC, but that hasn't been integrated in the nightly builds yet since it requires the building to be executed with a different JDK. To have the JDK 1.6 jar, you need to build from sources. Checkout the current

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

2007-03-24 Thread Geert Bevin
Strange, I tried it with a recent snapshot and it works just fine. You have an error in your site structure though since you're linking from an exit that doesn't exit (logged_out). Besides that, the site starts up without any errors. Are you sue you don't have another copy lingering around

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

2007-03-24 Thread Mork0075
Hello Geert, have you tried it with the jumpstart 1.5.1 archive from the rife site or with an snapshot from the current head of the repository? Geert Bevin schrieb: Strange, I tried it with a recent snapshot and it works just fine. You have an error in your site structure though since you're

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

2007-03-24 Thread Geert Bevin
I tried it with the archive that you sent me and simply replaced the RIFE jar with the latest binary nightly build. On 24 Mar 2007, at 10:46, Mork0075 wrote: Hello Geert, have you tried it with the jumpstart 1.5.1 archive from the rife site or with an snapshot from the current head of

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

2007-03-24 Thread Geert Bevin
Hi, definitely, the snapshot is actually more stable that the latest release. I'll be pushing out a new release in the next couple of weeks. I think the problem you're referring to was solved a couple of months in the RIFE core project, not the jumpstart. Take care, Geert On 24 Mar

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

2007-03-23 Thread Mork Ork
Hi Geert, this is my site structure (pub.xml) http://rifers.org/paste/show/4031 This is universalAuthElement.xml http://rifers.org/paste/show/4032 This is loginBoxElement.xml http://rifers.org/paste/show/4033 And this is the complete stack trace. http://rifers.org/paste/show/4034 Thanks

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

2007-03-23 Thread Mork Ork
I did some debugging, perhaps this is helpful: The error occurs in PurgingDatabaseAuthenticatedDeployer.java where a Datasource object tries to be created (line 59). This line is executed twice. First time the correct datasource object is created (with my mysql settings). The second time in

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

2007-03-23 Thread Geert Bevin
Which version of RIFE are you using? On 23 Mar 2007, at 03:00, Mork Ork wrote: I did some debugging, perhaps this is helpful: The error occurs in PurgingDatabaseAuthenticatedDeployer.java where a Datasource object tries to be created (line 59). This line is executed twice. First time the

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

2007-03-23 Thread Geert Bevin
I can't find anything form the snippets you pasted, indeed. Would you mind zipping up your project and sending it to me privately (not to the list). I can step through it myself then and pinpoint why this happens. Take care, Geert On 23 Mar 2007, at 07:33, Geert Bevin wrote: Which

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

2007-03-23 Thread Geert Bevin
Hang on, can you quickly try something for me, don't use the MySQL jar that is in your project (mysql-connector-java-5.0.5-bin.jar). MySQL's JDBC drivers have a tendency to be frequently unstable and incompatible, can you try with this one that's in here http://

[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