Click Next. Deploying Applications Using Fusion Middleware Control

7-20 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter connectuser_name,password,host_id:port Where: ■ user_name is the user name to access the Administration server for example, weblogic. ■ password is the password to access the Administration server for example, weblogic. ■ host_id is the host ID of the Administration Server for example, myserver.example.com. ■ port is the port number of the Administration Server 7001 by default You should see the following message: Successfully connected to Admin Server AdminServer that belongs to domain wc_domain. 3. Retrieve the MDS configuration by running the following command: archive = getMDSArchiveConfigfromLocation=ear_file_path where ear_file_path is the path and file name of the EAR file you are deploying for example, tmpmyEarFile.ear. For more information, see the getMDSArchiveConfig command in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. 4. After retrieving the MDS configuration information from the EAR file, you must set the proper MDS schema information according to your WebCenter setup for example, your application might be using a database connection based on a specific schema. To set the MDS schema information, run the following command: archive.setAppMetadataRepositoryrepository=respository,partition=partition ,type=DB,jndi=jndi Where: ■ repository is the name of the database schema for example, mds-Feb23demo ■ partition is the individual entity in the repository to allow each application to have its own namespace for example, webcenter. ■ jndi is the path and name used to allow access by the application servers other components for example, jdbcmdsFeb23demo 5. After setting the MDS repository information, save function the MDS configuration information with the following command: archive.save 6. Deploy the WebCenter Portal application using the WLST deploy command. deployapp_name, path, [targets] [stageMode], [planPath], [options] Where: ■ appName is the name of the WebCenter Portal application to be deployed for example, composerWLSTApp. ■ path is the path to the EAR file to be deployed for example, tmpcustomApp.ear.