CyberDemia's PBC Library
------------------------


Installation
------------
Just add the file "cd_pbc.jar" to your CLASSPATH, or put it
in a directory where your servlet container expects to find jar files,
such as in WEB-INF/lib for Tomcat.

Trouble shooting
----------------

1. If your are using MySQL as the database, be aware that MySQL has a
default waiting timeout of 8 hours. That means that if the database
is not used for more than 8 hours, MySQL will quietly
close the connection that is held by PBC. When PBC next tries
to access the database, it will simply get an exception.
This might cause problems if your usage pattern involves
more than 8 hours stretch of inactivity, such as for a workplace
that is only active during office-hours and quiet at night.
To fix this, you can specify a longer timeout values when starting
the MySQL server. Refer to MySQL manual on how to set the
waiting_timeout and interactive_timeout settings.
You can also set PBC's "daily-reconnect-time" configuration property
to schedule daily refresh of the database connections.

Dependencies
------------
JDK 1.4 +
Jakarta OJB 0.9.7



