Posts

Showing posts from February 7, 2016

MDS in Oracle SOA Suite: Real-World Interview Prep (Scenario-Based Guide)

Oracle MDS (Metadata Services)  questions into  realistic admin/developer scenarios —with answers tailored to reflect actual usage and problem-solving. 🔍 Scenario 1: “Why is the shared XSD not updating across composites?” Interviewer Framing : You deployed an updated XSD file into MDS, but the composites that depend on it still use the old version. What’s going wrong? What They're Testing : Your understanding of versioning, MDS cache, and deployment lifecycle. Answer Strategy : MDS artifacts are cached both on the server and at design time. After updating MDS, the dependent composites  must be redeployed  or refreshed in JDeveloper. In some cases, the SOA server may need to be restarted or its cache cleared. 🧠  Extra Tip : Use  ant  scripts or WLST to automate MDS uploads and maintain consistency across environments. 🧰 Scenario 2: “Where exactly does MDS live?” Interviewer Reframe : Can you explain the two types of MDS repositories and when to use ...

Weblogic Server User Password Using WLST-2

Oracle Weblogic Server: How to Change Oracle Weblogic Server User Password Using WLST 1. Setting environment variable     a. go to directory $WLS_HOME/wlserver_10.3/server/bin     b. source file setWLSEnv.sh  as command: . setWLSEnv.sh . 2. Create a domain which name is test1032, 3. Weblogic admin user name is weblogic, password is weblogic1. 4. Create test user, which name is test and password is weblogic1. Instruction $java weblogic.WLST changepw.py <Domain Name> <Admin URI> <Admin user> <Admin password> <user name> <user password> <Domain Name> : the domain name which need to change user password. e.g. test1032 <Admin URI>   : weblogic server adminstration URL, e.g. t3://localhost:7001 <Admin user>  : weblogic admin user, e.g. weblogic <Admin password> : admin user password, e.g. weblogic1 <user name>      : the user who need to change password. e.g. tes...

How to Migrate a WebLogic Domain from a 32 to a 64 bit JVM/Architecture

To create migration template: 1.Execute $<WLS_HOME>/wlserver_10.3/common/bin/config_builder.sh 2.Create Domain Template. 3.Select Domain to migrate. 4.Enter the name of template and other info. Click next. 5.Using Add Button, Select libraries you want to add under lib folder. copy jdbc data sources you would like to have under config/jdbc folder. If you want to have log4j configuration, copy log4j.xml under domain_root folder. 6.Select data base for the domain and click next. 7.Enter Admin Server Name and port numbers. Click next. 8.Enter username and password. Click next. Select No if you don want to add users/groups/roles 9.Click next until reach button create. This will create a jar file that is needed for the next action plan. To install and migrate domain to 64 bit architecture.  1.Install a 64 bit JVM of your choice on environment. 2.Go to $JVM_HOME/bin and execute $ java -d64 -jar wls1034_generic.jar 3.When prompt, select JVM in browse menu, and wait ...

SSL(Security Socket Layer) and Keystore

1. Generating the certificate: The following steps are: Step1: Open a command prompt and set the environment by running the setDomainEnv script. ( C:\bea9\user_projects\domains\ram_domain\bin\setDomainEnv.cmd) Step2: Generate the private – public key pair. For demonstration we would use keytool java utility to do so.         However we can use other utilities like openssl etc. keytool  -genkey  -alias mykey   -keyalg RSA   -keysize 2048   -keystore  identity.jks Step3: Generate a Certificate Signing Request (CSR) and send it to Certifying Authority. keytool  -selfcert   -alias mykey  -keystore   identity.jks Step 4: Create a identity  keystore, this can be done my exporting keytool   -export  -alias  mykey  -file  cert.cer  -keystore   identity.jks Step5: Create a trust keystore, this can be done my importing. keytool   -import   -alias   mykey ...

How to Change Oracle Weblogic Server User Password Using WLST

1. Setting environment variable     a. go to directory $WLS_HOME/wlserver_10.3/server/bin     b. source file setWLSEnv.sh  as command: . setWLSEnv.sh . 2. Create a domain which name is test1032, 3. Weblogic admin user name is weblogic, password is weblogic1. 4. Create test user, which name is test and password is weblogic1. Instruction  $java weblogic.WLST changepw.py <Domain Name> <Admin URI> <Admin user> <Admin password> <user name> <user password> <Domain Name> : the domain name which need to change user password. e.g. test1032 <Admin URI>   : weblogic server adminstration URL, e.g. t3://localhost:7001 <Admin user>  : weblogic admin user, e.g. weblogic <Admin password>  : admin user password, e.g. weblogic1 <user name>       : the user who need to change password. e.g. test <user password>   : new user password. ....