This phase I trial is studying the side effects and best dose of dasatinib in treating young patients with recurrent or refractory solid tumors or Philadelphia chromosome-positive acute lymphoblastic leukemia or chronic myelogenous leukemia that did not respond to imatinib mesylate. Dasatinib may stop the growth of cancer cells by blocking some of the enzymes needed for cell growth