Running Roller via the Maven build script and "mvn jetty:run" is only meant
for development. In development we use Jetty and Derby because they are
easy to setup an start from the Maven build script.

If you want to run Roller "in production" for a real blog, the best
approach is to follow the installation guide, install Roller into Tomcat
and use MySQL as the database.

- Dave



2012/3/20 Shen Hongzhou <[email protected]>

> By the way, I use eclipse as IDE.
>
> 2012-3-20 12:26 am, Shen Hongzhou <[email protected]>:
>
> > Hi everybody,
> >
> > I'm new to Roller and I just ran the source code of Roller, everything
> > works fine. I created a new user and a new blog.
> > But when I stopped Roller and ran it again, all of newly created data
> > disappeared, there is no user and no blog. I guess maybe the Derby
> cleared
> > the old data when it was started.
> >
> > So, I just want to know how to keep the old data when I restart the
> > Roller?
> > Or, maybe I can use MySQL for developing, how can I change to MySQL?
> >
> > This is my first time to user maven+jetty+Derby, I'm sorry for this kind
> > of "stupid" question.
> >
> > Regards,
> > Hongzhou
> >
>



-- 
Dave M. Johnson
Apache Roller PMC Chair
http://rollerweblogger.org/roller

Reply via email to