I installed a WebLogic 11g (10.3.6) server and an application inside it.
When the application is set up correctly, the server enters STARTING
state (and henceforth I only see my own application's debug messages). But the server is not listening on the default port 7001. I cannot access either the application or the admin console, although the application appears to be running OK (as per console logs).
When I break the application's configuration, the server throws exceptions (as expected) when running the application in STARTING
state. Then the server starts listening on default port 7001 and enters (changes to) ADMIN
state. Now I can access the admin console and the (albeit broken) application.
What is going on?!
- Why does the server only start listening on the port when the application in broken?
- Why is the admin console only accessible when the application is broken?
- Admin Console is on
http://localhost:7001/console
- Application is on
http://localhost:7001/myapplication
I have tried each of the following to start the server (after environment setup). All give the same result:
%JAVA_HOME%\bin\java.exe -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
CALL %MW_HOME%\domain\mydomain\bin\startWebLogic.cmd
CALL %MW_HOME%\domain\mydomain\startWebLogic.cmd
I have a feeling that I need to run the admin server separately from the application server, but I can't figure out if this is true or how to do it. I also feel that the admin server starts listening on the port, and the application server plugs into it. Is that how it's supposed to work?