Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
06. Jun 2008, 14:01 CET | Link

Hy all,

I'm a newbie in Seam. I tried to change an example from Seam Framework by using mysql instead of hsql. I pick up the registration example and I modified the persistence.xml but I did not manage to make it work on mysql server. What I need to know is exactly what file(s) I should change and exactly how that file(s) should be changed, so that the registration example will work with mysql.

Many thanks in advance, Marc

3 Replies:
06. Jun 2008, 20:22 CET | Link

Hello,

  1. Make sure you have the MySQL Driver located in your {app-server}/server/default/lib
  2. Also make sure your database exists in MySQL
  3. Change dialect within persistence.xml
  4. Modify datasource -ds.xml at {app-server}/server/default/deploy
Rating:  * * * * *
07. Jun 2008, 13:12 CET | Link

Many thanks,

The problems was with the jdbc connector driver. I copy it in the server/default/lib folder, and now it works.

Thanks again Aldo.

07. Jun 2008, 13:21 CET | Link

Hello Aldo,

Thank you four your answers. I followed the steps you described and I managed to put the registration example to work with myql.

marc.