The invention provides novel 6-heterocyclyl-4-morpholin-4-yl-pyridine-2-one compounds of formula (I), pharmaceutical compositions containing such compounds, and methods for using such compounds in treatment of diseases including cancer, diabetes, inflammatory disease, neurodegenerative disorders, cardiovascular disorders and viral infections; wherein R1, R2, R3 and A are as defined in the specification.