I had a problem where the doctrine service provider would not recieve database configuration options.

It turns out that it was trying to read them from the application but the values were set after the service provider was registered. This is my quick fix for now however, I will ask around in IRC to see if there is a better solution.