[opencms-dev] Dealing with lost database connection
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Tue Mar 4 19:33:16 CET 2008
Yves,
sure you can make opencms aware of lost of database and even send an
email or sms to admin group and provide a user friendly page to the
online users that the app has problems with connecting to the database
(but it doesn't help with only one database server).
Where high availability is required we are using also clustered app
servers with hardware load balancers and clustered databases (and
opencms provides connection pooling settings for this).
Best,
Arash
--
Join OpenCms User Group on Facebook
<http://www.facebook.com/group.php?gid=7264892441>
Yves Glodt schrieb:
> Hello,
>
> I have my site running with OpenCms on a MySQL database.
>
> I I have tried stopping mysql, and then the site of course stopped working
> completely, and returned only empty pages.
>
> Then I restarted mysql, and the site worked again as expected, without
> relaunching tomcat.
>
> Is it possible that OpenCms will notify in case of failure of the database
> backend?
>
> Or should I write a custom servlet in a separate application which polls the
> database and acts on failure?
>
> Best regards,
> Yves
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list