First thing to do is read the codes. If the battery is indeed not charging then that will upset the engine manangement and many other things. It could be there's a short to earth in the warning light circuit which will cause this. There could be a number of other reasons for it as well, i'd suggest searching for a local Jag independent specialist and/or a good autoelectrician.