You can't do this with timeouts in wait statements. They throw some kind of "not an integer" exception if I remember right.
ie.
java ..... -Dtimeout=2000
<wait args="Connect to database" class="abbot.tester.ComponentTester" invert="true" method="assertComponentShowing" timeout="${timeout}" />