I used the remote configuration for debugging purpose.Which the people mentioned in the Javaranch.com..But i am getting some exception:
Failed to connect to remote VM.Connection refused
So I am assuming this is what you did ..
Run > Debug > Remote
Java Application > New ...
I risk sounding silly, but .. did you also make the relevant changes to your startWeblogic.cmd(sh) and double-check the Connection Properties like the port numbers etc.