Edited sentence: A full size replica cell, constructed of wood and painted gray, was used for some of Schneider's cell scenes.Actress Marcia Wallace - cast-member of The Bob Newhart Show from 1972-1978, a frequent guest on several T.Ahman Green, former NFL running back for the Houston Texans and Green Bay Packers, appears in the film.Brandon Molale, former quarterback for the Fresno Bulldogs, appears in the movie as a guard.During the filming, temperatures in the Stockton area hit record highs of 115 degrees.Henry Gibson of the famed TV sketch-comedy series Rowan & Martin's Laugh-In appears in the movie as a prison inmate.In addition to appearing in a cameo role, Dan Inosanto was also the fight choreographer for the film.Melanie Lynskey was originally cast as Stan's ditzy "trophy" wife Mindy, but was later replaced by Jennifer Morrison who co-stars on the TV drama House.Prison scenes were shot at a closed women's prison in Stockton.Rapper Lil Rob makes an appearance in the film.Real life mixed martial arts fighters Randy Couture, Don Frye, and Bob Sapp all appear in the movie.Rob Schneider's mother, Pilar, makes an appearance in the movie.Rob Schneider's real life brother-in-law, Matt Farley, plays a guard in the movie.Robert Moreno, a Lieutenant for the San Joaquin County Sheriff's Office renowned for his expertise in sex crimes investigations, appears in the movie as a guard.Schneider collapsed from heat exhaustion and food poisoning on the set in Stockton on June 29, 2006.Schneider occasionally used weights on the set to "buff up" for scenes in the movie.Shooting on the set began as early as 6:00 am and ended as late as 4:00 am.Stockton became so hot during the shoot that Schneider provided unlimited bottled water, umbrellas, and medics to apply sunscreen every 3 hours to the cast and crew.The film was shot in six weeks, beginning in Los Angeles, and ending in Stockton, California.The warden's office was a facade, built on the rooftop of the prison and situated above a balcony with a large clock on the outer wall.World boxing champion Diego Corrales appeared in the film.game shows, and the voice of Edna Krabappel of The Simpsons - has a cameo in the movie