How to configure a Weblogic 11g VM if moved or copied

When you move or copy a WebLogic 11g environment setup as a VM from one host PC to another, you will encounter various IP connection problems (may also be needed if you have problems debugging forms). To help make a quick fix to this problem, try this:

1. Make sure you have the following files set with your machine’s new IP:

[bash]edit C:\Oracle\Middleware\user_projects\domains\<domain_name>\servers\WLS_FORMS\
data\nodemanager\startup.properties
AdminURL=http\://<ip-address_of_pc>\:7001

C:\Oracle\Middleware\asinst_1\config\OPMN\opmn\instance.properties
adminHost=<ip-address_of_pc>

C:\Oracle\Middleware\user_projects\domains\<domain_name>\config\config.xml
//replace ip.address for every occurrence found (~ 7)[/bash]

2. Restart the machine/server

3. Start the Node Manager
Tip: tail the log file to see whether the ip-address is the correct one being used
C:\Oracle\Middleware\user_projects\domains\<domain_name>\servers\AdminServer\logs\AdminServer.log

4. Start the em “http://localhost:7001/em” to further configure the server to start forms and reports services.

5. Start the Administration Console (Weblogic Domain > select your domain > from Weblogic Domain menu select “Weblogic Administration Console” or enter the url: http://192.168.139.128:7001/console)

6. from the Change Center click on “Lock & Edit”

7. from the Domain Structure pane > Environment > Servers > click on Control tab

8. select WLS_FORMS and WLS_REPORTS > click Start to start the services

9. make sure after you start Forms Builder that “Application Server URL” in Runtime tab of Preferences is set to what your new ip-address is (i.e. http://192.168.139.128:9001/forms/frmservlet)