Saving Silverman

With the help of Neil Diamond, JD (Jack Black) and Wayne (Steve Zahn) stop the wedding between Judith (Amanda Peet) and their friend Darren (Jason Biggs). Darren instead marries his high school sweetheart Sandy (Amanda Detmer), Wayne marries Judith, and JD realizes he's gay and marries his high school football coach.

(Links open in new window)
This one courtesy of The Movie Spoiler.
Read more about this film at The Internet Movie Database.