One more thing, when I use mvn jetty:run -Dmaven.test.skip=true I am unable to create new users. It is giving me the following exception:
The database returned no natively generated identity value Why this thing is happening only when I use mvn jetty:run -Dmaven.test.skip=true?? -Owais From: owais [mailto:ow...@preceptglobalaccess.com] Sent: Friday, October 02, 2009 12:47 PM To: users@appfuse.dev.java.net Subject: RE: [appfuse-user] Database related issue Thanks for the reply. mvn jetty:run -Dmaven.test.skip=true is working. But, I didn't understand how I can use postgre database. Secondly, in which file do I have to make changes in order to access remote database? -Owais From: Marc Siramy [mailto:marc.sir...@gmail.com] Sent: Thursday, October 01, 2009 8:04 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Database related issue Try 'mvn jetty:run -Dmaven.test.skip=true' instead of "mvn jetty:run" . To use postgre, I think you have to use 'mvn -P postgresql' (see pom.xml <profile> part also) 2009/10/1 owais <ow...@preceptglobalaccess.com> I am using appfuse (struts 2 basic). I am starting the application by "mvn jetty:run". Everything is working fine, but as soon as I stop the application and restart it again, I lost all the changes I made in the database (like adding new users). How can I get around this problem? How can I use postgre database instead of MySQL? Please help -Owais No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.14.2/2408 - Release Date: 10/01/09 18:23:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.14.2/2408 - Release Date: 10/01/09 18:23:00