There are tough questions–answers about the relationship between homosexuality, ephebophilia, and the sexual abuse crisis in the Church during the 20th Century.

However, they are distinct from the broader question: Whether a person who experiences sames-sex attraction ought to be barred from priestly ordination and/or making profession in an institute of consecrated life that involves long-term same-sex community life?

If the answer is generally "yes", it makes sense to screen such a person out of the beginning of the formation process, during his application to seminary or first few semesters therein (depending on what is realized and when), or during her or his candidacy–aspirancy prior to canonical entrance into community.

To understand why the answer ought to be "yes", one needs to dig more deeply into the meaning of sexuality. Please refer to the late Fr. Quay's fine book, "The Christian Meaning of Human Sexuality" (Paul Quay, S.J., Ph.D.): http://j.mp/QuayMeaningOfSexPDFscan