I wear glasses most of the time (since early 40s anyways) I find the Sennheiser 580/600/650 and HD800 to all be comfortable with my glasses on for extended periods. Pick your pricepoint and SQ choice, to me the HD800 is superb for classical, the 650 is not too far behind for 1/4 of the price.
I find most on ear headphones to become uncomfortable, even if I angle the temples on top of the compressed ear after about an hour. This included the HF2 and the AT ESW10JPN, both of which sound great, but they are both for short sessions.
My W5000, balanced, with the Apache are spectacularly precise, and very articulate, with a nice bass. Comfortable too. However, the leather of the earpads is too microphonic on my glasses to be of use to you.
Finally, my best suggestion is to consider IEMs, if you can find some comfortable. The UE-10pros that I have used when travelling for a couple of years now are very comfortable, glasses or no, and probably have about bout the flattest frequency response of the group.