|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Blog data lost after Tomcat restart/shutdownHi folks,
I hope you can help with this issue because I couldn't find any hints to this problem on the internet. The problem is simply that all blog articles are lost after a shutdown or restart of Tomcat. The data directory still exists and for example changes to CSS styles etc. are preserved when I have to restart Tomcat. In contrast all articles are deleted and I see the default welcome post after a restart. Can anyone please tell me what I'm missing here? I searched the documentation but there are not very much information and I think I got everything configured as it should be. Well, obviously a small detail is not OK... But I can't figure out what is wrong with my configuration. Aren't blog entries persited by default? Do I have to make manual backups before I can restart the server? What is in case of a server crash? Thanks for your answers! Marco ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Pebble-user mailing list Pebble-user@... https://lists.sourceforge.net/lists/listinfo/pebble-user |
|
|
Re: Blog data lost after Tomcat restart/shutdownI had a similar scare to this. Not sure if you're having the same issue. What happened with me was that I had originally started my web container with one user X. But the init.d startup script I created had the container starting with a different user Y. This caused two problems. First the Pebble home directory (defined in the pebble-context.xml file or pebble.properties file) was now poinitng to a different location based on the user.home dir.
Second issue that was a little more of a pain was that even once I got Pebble home configured correctly the permissions were all screwed up because user X owned them. So I had to use chown to change the owner of the data folder. Hope that helps. These instructions are mostly aimed at a Linux machine but I imagine some of the same issues could be the same on Windows or Mac. Chris On Fri, Aug 7, 2009 at 3:48 PM, Marco Ehrentreich <erisch@...> wrote: Hi folks, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Pebble-user mailing list Pebble-user@... https://lists.sourceforge.net/lists/listinfo/pebble-user |
|
|
|
|
|
Re: Blog data lost after Tomcat restart/shutdownHi,
I second Chris' hint. Usually this happens when the user directory changes, e.g. when tomcat is started from another user account. Check this by setting the data directory in pebble.properties to a fully qualified value - e.g. not containing ${user.home}. Make sure that the user account you're running tomcat from has read/write access to that directory as well as to tomcat's subdirectories temp, work, conf and webapps (if I recall them correctly). If you're running on Linux, never run tomcat as root. Cheers. Olaf Chris Carrier schrieb: > I had a similar scare to this. Not sure if you're having the same > issue. What happened with me was that I had originally started my web > container with one user X. But the init.d startup script I created had > the container starting with a different user Y. This caused two > problems. First the Pebble home directory (defined in the > pebble-context.xml file or pebble.properties file) was now poinitng to a > different location based on the user.home dir. > > Second issue that was a little more of a pain was that even once I got > Pebble home configured correctly the permissions were all screwed up > because user X owned them. So I had to use chown to change the owner of > the data folder. > > Hope that helps. These instructions are mostly aimed at a Linux machine > but I imagine some of the same issues could be the same on Windows or Mac. > > Chris > > On Fri, Aug 7, 2009 at 3:48 PM, Marco Ehrentreich wrote: > > Hi folks, > > I hope you can help with this issue because I couldn't find any hints to > this problem on the internet. > > The problem is simply that all blog articles are lost after a shutdown > or restart of Tomcat. The data directory still exists and for example > changes to CSS styles etc. are preserved when I have to restart Tomcat. > In contrast all articles are deleted and I see the default welcome post > after a restart. > > Can anyone please tell me what I'm missing here? I searched the > documentation but there are not very much information and I think I got > everything configured as it should be. Well, obviously a small detail is > not OK... But I can't figure out what is wrong with my configuration. > Aren't blog entries persited by default? Do I have to make manual > backups before I can restart the server? What is in case of a server > crash? Thanks for your answers! > > Marco ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Pebble-user mailing list Pebble-user@... https://lists.sourceforge.net/lists/listinfo/pebble-user |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |