Hi Imran,
If you are using GlassFish V3, there is a command called flush-connection-pool that re-initializes the connections in the pool without the need for a server restart.
CLI command for doing this is :
asadmin flush-connection-pool <poolName>
In Administration GUI, there is a Flush button in the advanced tab that you could use.
[Message sent by forum member 'sm157516' (shalini.muthukrishnan_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=367858