Ware was nominated by President George H. W. Bush on August 3, 1990, to a seat on the United States District Court for the Northern District of California vacated by Judge Robert Francis Peckham. He was confirmed by the United States Senate on September 28, 1990, and received commission on October 1, 1990. He served as Chief Judge from 2010 to 2012. His service terminated on August 31, 2012, due to retirement.
Failed nomination to the Ninth Circuit
On June 27, 1997, President Bill Clinton nominated Ware to a seat on the United States Court of Appeals for the Ninth Circuit, to replace J. Clifford Wallace, who had taken senior status. Ware had a hearing before the United States Senate Judiciary Committee in October 1997. However, Ware's nomination unraveled amid an embarrassing scandal that ultimately resulted in a judicial reprimand, and Clinton withdrew his nomination of Ware on November 27, 1997. In 1998, Judge Ware was reprimanded by the Judicial Council of the Northern District Court of California for fabricating the story of being the brother of Virgil Ware, a 13-year-old black boy shot by white teenagers in Alabama in 1963 on the same day as the 16th Street Baptist Church bombing. According to a story Judge Ware had told many audiences, he was riding his bike with his brother Virgil on the handlebars when Virgil was shot and killed by white racists. The incident was a real one, however it happened to a different James Ware, as was discovered when Judge Ware's claim was published in the Alabama papers after he was nominated to the Ninth Circuit by President Bill Clinton. The father of the long-ago slain boy contacted the Alabama courts to report that the California judge was impersonating his own son James Ware who was an employee in a Birmingham power plant. The Alabama courts contacted the California courts, who convened the ethics hearing. Judge Ware was reprimanded but allowed to retain his lifetime appointment as district judge. In 1998, Clinton appointed Kim McLane Wardlaw to the seat to which Ware had been nominated.
Notable cases
Ware is known for hearing a number of Internet business-related cases such as the sex.com ownership case and RealNetworks vs. Microsoft suit despite " little in the way of high-tech training or experience to make him particularly well suited to preside over these influential cases". In 2006, he heard the Google search terms suit. He ruled that search engine company Google.com must turn over bulk data related to searches, in response to a government order designed to bolster support for an anti-pornography law that has already been ruled unconstitutional. In September 2009, in Rocky Mountain Bank v. Google Inc., he ruled that Google must provide the identity and contact information for a Gmail user that was mistakenly sent confidential information by the Rocky Mountain Bank. He also ordered Google to deactivate the Gmail account. In 2001, Ware sentenced hacker Max Butler to 18 months in prison for infiltrating United States Department of Defense computers. On November 9, 2009, the Ninth Circuit Court of Appeals issued a writ of mandamus against Judge Ware in Cohen v. United States District Court, which found that Ware's decision to appoint lead counsel for the plaintiff in a securities fraud case was "clear error" that amounted to "usurpation of power". On June 14, 2011, Ware ruled that former Chief Judge Vaughn Walker did not have to recuse himself before he declared Proposition 8 unconstitutional. Opponents of same-sex marriage rights had argued that Walker could not make an impartial decision about a law removing the right of same-sex couples to marry because he was gay, and that he must publicly state that he did not wish to marry his partner of ten years. Ware cited previous cases where challenges against female or minority judges were declined, writing, "The presumption that Judge Walker, by virtue of being in a same-sex relationship, had a desire to be married that rendered him incapable of making an impartial decision, is as warrantless as the presumption that a female judge is incapable of being impartial in a case in which women seek legal relief." On November 13, 2011, Ware made a decision to throw out a lawsuit by the parents of Daniel Galli, Austin Carvalho, Matt Dariano and Dominic Maciel against the Morgan Hill Unified School District. The lawsuit was over an incident on May 5, 2010, where the students came to school at Live Oak High School wearing shirts with American flags. The school sent these students home for fear of inciting violence against the Mexican-American portion of the school body. The lawsuit claimed that "their right to free expression had been violated. They added that there had been discrimination as students wearing Mexican flag colours were not censored." Ware dismissed the lawsuit on the basis that while the Supreme Court has ruled that public school students have the right to engage in non-disruptive free speech, that ruling ‘does not require that school officials wait until disruption occurs before they act’.