This chapter contains the following sections.
For information on server startup not contained in this chapter, see "Starting and Stopping Servers" in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.
There are specific issues to account for when starting Oracle Service Bus development servers that use the default Apache Derby database. For more information, see "Running Multiple Development Servers with Derby" in the Oracle Fusion Middleware Developer's Guide for Oracle Service Bus.
This section describes different options for starting and Oracle Service Bus Admin server.
startWebLogic command from the root of the Oracle Service Bus domain:
A command window is displayed showing status information about Oracle WebLogic Server.
If you started the server in production mode, you are required to enter a valid user name and password to start the server.
This section describes how to start the Oracle Service Bus Admin server on Windows systems.
From the Windows Start menu, select Start > All Programs > Oracle WebLogic > User Projects > domain_name > Start Server for Oracle Service Bus Domain.
The domain_name is the name you assigned your Oracle Service Bus domain when you created it.
MW_HOME/user_projects is the default domain location.
This section describes how to configure your environment in order to start an Oracle Service Bus domain as a Windows service. Starting the Admin server as a Windows service ensures the server starts after a system restart.
Because this procedure requires a modification to your Windows registry, you should back up your Windows registry before proceeding.
You can also start an Oracle Service Bus Admin server as a Windows service through Node Manager, as described in "Starting an Administration Server Using WLST and Node Manager" in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.
Set your Oracle Service Bus domain to start as a Windows service by running the WL_HOME\server\bin\installSvc.cmd script, as described in "Setting Up a WebLogic Server Instance as a Windows Service" in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.
Add the required environment variables to the Windows registry. Before proceeding, you must know the name of the Windows service you created. The service name is typically "beasvc [DOMAIN_NAME]_[SERVER_NAME]."
Back up your Windows registry.
Run the Windows regedit utility. Choose Start > Run in Windows. Enter regedit in the Run dialog box, and click OK.
Locate the following registry key for your Windows service:
Create a new Multi-String Value called
Edit the new Environment value by adding the following entry:
where C:\oracle11g is the root of your Oracle Fusion Middleware installation.
Windows XP 32-bit only: In a command window, change directories to a location where you want to generate a temporary file, then run the following command:
set > env.txt.
Open the env.txt file, copy its entire contents, and paste the contents into the Environment registry value you created, below the ALSB_HOME entry.
Click OK in the multi-string value dialog box and close the Windows registry editor.
Before starting the service, be sure to start any databases used by the Oracle Service Bus domain.
See "Starting an Administration Server Using WLST and Node Manager" in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.
Start each Oracle Service Bus Managed Server from a unique command window using the following syntax:
DOMAIN_HOME/bin/startManagedWebLogic.sh(.cmd) osb_server http://administration_server_host:administration_server_port -Dweblogic.management.username=user_name -Dweblogic.management.password=password
osb_server is the name of the Managed Server.
http://administration_server_host:administration_server_port is an optional argument when the Admin server runs on a non-default port or resides on a different host than your Managed Servers (in a distributed environment).
The -Dweblogic.management arguments let you optionally provide the user name and password you entered in the Oracle Fusion Middleware Configuration Wizard when you created the domain.
If you do not provide the login credentials as command arguments, Oracle Service Bus prompts you for the user name and password before starting the server.
If you do not know the names of the Managed Servers that need to be started, do one of the following:
View the following file: DOMAIN_HOME/startManagedWebLogic_readme.txt
Access the Oracle WebLogic Server Administration Console at the following URL:
After you log in, navigate to Environment > Servers to see the names of your Managed Servers.
For more information, see "Starting and Stopping Servers" in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.
When a server has successfully started, the following message is printed to the console window:
<Server started in RUNNING mode>