If you’re tired of using Enterprise Manager to deploy/undeploy WebCenter application try WLST script it makes your life much easier.

WebCenter application based on Oracle ADF which need special WLST which I believe it comes with ADF installation.

WLS_HOME/oracle_common/common/bin/wlst.sh

#Configure application ear MDS Metadata

arc.getMDSArchiveConfig(fromLocation=’/home/wc/WebCenter.ear’)
arc.setAppMetadataRepository(repository=’mds-DS’,partition=’webecenter’, type=’DB’, jndi=’jdbc/mds/DS’)

arc.save()

#Deploy application ear

connect(‘weblogic’,’password’,’t3://127.0.0.1:7001′)
undeploy(‘WebCenter’, timeout=60000)
progress = deploy(“WebCenter”,”/home/wc/WebCenter.ear”, targets=’WC_Cluster’, timeout=120000)