[Lift] Re: Building war for production mode.

2009-11-28 Thread Neil.Lv
Now the lift app runs in the production mode, ### put the JAVA_OPTIONS=-Drun.mode=production on the top, and it can workd. ### But it will create the database in the jetty's folder /home/jetty6/derby.log /home/jetty6/lift_example It can's find the jdbc:mysql ? (It the development mode

[Lift] Re: Building war for production mode.

2009-11-28 Thread Neil.Lv
Now the lift app runs in the production mode, ### put the JAVA_OPTIONS=-Drun.mode=production on the top, and it can workd. ### But it will create the database in the jetty's folder /home/jetty6/derby.log /home/jetty6/lift_example It can's find the jdbc:mysql ? (It the development mode

[Lift] Re: Building war for production mode.

2009-11-28 Thread Leo Lännenmäki
Hi, I'm a Lift newbie so I don't know if my way is the right way but here goes: I generated my app using the archetype lift-archetype-basic in order to get the database configuration stuff to Boot.scala. Then i created two files src/main/webapp/WEB-INF/classes/props/default.props and

[Lift] Re: Building war for production mode.

2009-11-28 Thread Neil.Lv
Thanks very much, I missing the production.default.props file . Cheers, Neil On Nov 28, 9:33 pm, Leo Lännenmäki leo.lannenm...@gmail.com wrote: Hi, I'm a Lift newbie so I don't know if my way is the right way but here goes: I generated my app using the archetype

[Lift] Re: Building war for production mode.

2009-11-27 Thread Neil.Lv
I have the same issue, is add this statement into /home/jetty6/bin/ jetty.sh ### echo JAVA_OPTIONS=-Drun.mode=production /home/jetty6/bin/ jetty.sh ### then restart the jetty server, but it alwasy show the Development Mode information The requested page was not defined in your SiteMap, so