Verify domain creation.
Using the file explorer, verify that the domain directory C:\bea\user_projects\domains\mydomain was created. Verify the existence of the config.xml file and the startWebLogic.cmd file. The latter is used to launch the Admin Server.
Start the Admin Server by selecting Start -> Programs -> BEA WebLogic Platform 8.1 -> User Projects -> mydomain -> Start Server. Wait until you see a Server started in RUNNING mode message.
Next, we will launch the admin console. Using a Web browser, open the Administration Console with the URL:
http://localhost:7001/console
You should be presented with a login page. Specify username and password to be weblogic and then click on Sign In to login. This will bring up the administration console or adminconsole.
In the left pane of the administration console, click on Servers to view the status of the two servers we have created. Note that the status of AdminServer is RUNNING while the status of myserver is UNKNOWN. This is because myserver has not been started yet.
Next, launch the managed server myserver. Open another DOS command window. Change to c:/bea/user_projects/domains/mydomain. Enter:
startManagedWebLogic myserver http://localhost:7001
Note the syntax of the command:
StartmanagedWebLogic SERVER_NAME ADMIN_SERVER_ADDRESS
MainServer server will begin to boot. Wait until you see the message “Server Started in RUNNING mode”. In the admin console, click on Servers again to refresh the status.
Congratulations! You have finished creating a domain complete with an administration server and a single managed server. Now shutdown each server from the console and close the browser.
|