The WebLogic plugin starts/stops a web logic server by running a script. The default script runs the AdminServer. However, I found there isn't a way to properly start/stop a managed server (i.e. the real app one is developing) EVEN IF I change the script to start/stop the managed server. In development, we mostly aren't interested in running the AdminServer (and start the managed server manually from the console, a lot of steps.) We want to do that in one or two clicks and quickly.
First, if I just change the start script to startManagedServer.cmd, the started server cannot be shut down later as the shutdown script tries to talk to the admin server which is not running. One has to laboriously go to the task manager to kill the JVM.
Then if I first run the AdminServer and then run startManagedServer (as directed by http://edocs.bea.com/wls/docs100/server_start/overview.html#wp1070247
), I get an error saying that the port (i.e. 7001) is already in use. However, doing the same from Windows command-line shell can start the server properly. (And subsequently, it can be stopped with stopManagedServer script.)