This page last changed on Apr 28, 2008 by alui.
The Bamboo upgrade tasks will fail if you are using a datasource to connect to your external database. To work around this issue please follow the procedure below:
- Navigate to your Bamboo-Home root directory.
- Execute the following command:
cp bamboo.cfg.xml bamboo.cfg.xml.bak
- Edit the bamboo.cfg.xml file in your root Bamboo-Home directory.
- Find the following line:
<property name="hibernate.connection.datasource">jdbc/bamboo</property>
- Replace the line above with:
<property name="hibernate.c3p0.acquire_increment">1</property>
<property name="hibernate.c3p0.idle_test_period">100</property>
<property name="hibernate.c3p0.max_size">15</property>
<property name="hibernate.c3p0.max_statements">0</property>
<property name="hibernate.c3p0.min_size">0</property>
<property name="hibernate.c3p0.timeout">30</property>
<property name="hibernate.connection.driver_class">YOUR_DRIVER_NAME</property>
<property name="hibernate.connection.password">YOUR_DATABASE_PASSWORD</property>
<property name="hibernate.connection.url">YOUR_CONNECTING_URL</property>
<property name="hibernate.connection.username">YOUR_DATABASE_USERNAME</property>
Note: Replace YOUR_DRIVER_NAME, YOUR_DATABASE_PASSWORD, YOUR_CONNECTING_URL and YOUR_DATABASE_USERNAME with the driver, password, url and username of your database respectively.
- Once you have successfully upgraded to Bamboo 2.0, remove your new bamboo.cfg.xml file and move your old bamboo.cfg.xml.bak from step (2) to bamboo.cfg.xml.
|