MIAMI, Florida (CNN) -- Hurricane Omar became a major Category 3 storm Wednesday night as it barreled toward the Virgin and Leeward Islands in the West Indies, the National Hurricane Center said.



A man watches waves crash into the shore Tuesday at Club Nautico in Falcon state, Venezuela.



Omar is expected to continue gathering strength as it passes east of the Virgin Islands in the next few hours and makes its way to the northern Leeward Islands Thursday morning, the hurricane center said.



At 11 p.m., Omar was moving northeast at about 20 mph with maximum sustained winds of 115 mph. The hurricane's center was about 30 miles (45 km) southwest of St. Croix and about 105 miles (165 km) southwest of St. Martin.



A hurricane warning --meaning winds of 74 mph and higher are expected within a day -- is in effect for the U.S. Virgin Islands, the islands of Vieques, Culebra, St. Martin, Saba, St. Eustatius, St. Barthelemy, the British Virgin Islands and Anguilla.  See where Omar is headed »



Puerto Rico is under a tropical storm warning and a hurricane watch, as are St. Kitts and Nevis, the hurricane center said.



As Omar approached, Hovensa, a 500,000-barrel-a-day oil refinery on St. Croix, began shutting down all processing and auxiliary equipment "except those necessary to maintain power supply in the complex," refinery spokesman Alex Moorhead said in a statement.  Watch Venezuelans try to save homes, dogs »



The move was to ensure the safety of employees and the operation of the refinery, which is jointly owned by Hess Corp. and Venezuela's state oil company.



The U.S. Coast Guard closed the Christiansted Harbor, where the refinery is located, on Tuesday, and it will remain closed until the order is lifted, Moorhead said.



"Once Hurricane Omar has passed, we will conduct an inspection of our facilities as soon as it is safe to do so. If no damage is found that would impact safe operation of the refinery, the start-up of processing units will begin in sequential order," Moorhead said.



Puerto Rico and some portions of the northern Leeward Islands, which includes the Virgin Islands, could get up to 20 inches of rain, according to the forecast.



"These rains could produce life-threatening flash floods and mudslides," the hurricane center warned.



Also, the storm could produce large swells affecting the western and southern coasts of the Lesser Antilles, the Caribbean islands that stretch from the Virgin Islands southward to the islands off Venezuela's coast.



The swells could cause beach erosion and damage coastal structures, the hurricane center said.



Antigua, Barbuda and Montserrat are under a tropical storm warning, meaning they could experience tropical storm conditions over the coming 24 hours. A tropical storm watch is in effect for Guadeloupe.



The storm's forecast track shows it heading into the open waters of the Atlantic Ocean after crossing over the Virgin Islands and sweeping past Puerto Rico, but hurricane tracks are subject to variation, and such long-range predictions can change.



Omar formed Tuesday in the eastern Caribbean. It is the 15th named storm of the Atlantic hurricane season, which began June 1 and ends November 30.
What could see 20 inches of rain? At what speed do winds have to blow to be considered a hurricane? What does Omar become? How many miles per hour is a Category 3 hurricane? who shuts down Christiansted Harbor, where refinery is? What does the coast gurad shut down?
Puerto Rico and some portions of the northern Leeward Islands, which includes the Virgin Islands, 74 mph a major Category 3 storm 115 U.S. Coast Guard Christiansted Harbor,
question: What could see 20 inches of rain?, answer: Puerto Rico and some portions of the northern Leeward Islands, which includes the Virgin Islands, | question: At what speed do winds have to blow to be considered a hurricane?, answer: 74 mph | question: What does Omar become?, answer: a major Category 3 storm | question: How many miles per hour is a Category 3 hurricane?, answer: 115 | question: who shuts down Christiansted Harbor, where refinery is?, answer: U.S. Coast Guard | question: What does the coast gurad shut down?, answer: Christiansted Harbor,