After it shutdown, in order to help people find a community solution to reconnecting with Battlefield 2, I made a reddit thread not too long ago with fixes for not only EA Games but for also any other game affected by the shutdown that I could find.
You can find the extensive list here
If you just want the Battlefield 2 fix, the site is: revivebf2
Battlefield 2 must live on with its great mods like Project Reality and Forgotten Hope.
If you have any other fixes, please tell me.