Is it in enough light? Or, this may seem silly...are you sure that it is a tomato plant? I've known people to cultivate a weed that grew in the pot instead of the required plant! Try feeding it with tomato food to encourage flower production. Good luck!