Sometimes the ADF applications migration is not a simple button press, so when you are thinking of migrating our ADF application take in consideration that it is possible to lose some time to make all your code working in a new ADF version. However, I hope that reading this document could help you and speed up any problem situation you face in this process.
Ideally, When we thought of migration, we will just install the required version and open old version ADF application new version JDeveloper.
So, it will show the migration wizard, Whereas it's given while we are doing Migration from 12.2.1.0.0 to 12.2.1.3.0.
Here are the simple steps I followed to migrate the ADF application from 12.2.1.0.0 to 12.2.1.3.0.
I made below changes on jws and jpr files to migrate. [ Close the application from Jdeveloper]
1. jws changes: comment the below line in Application jws.
<!--<value n="oracle.mds.internal.dt.ide.migrator.MDSConfigMigratorHelper" v="11.1.1.0.5313"/>-->
2. jpr changes: comment the below line in project jpr.
<!--<value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>-->
Note:- need to do the same for all jpr's if you have multiple projects in the application.
Open the Application in JDeveloper(after changes)- now it will ask for migration wizard.
How? Can I verify the migration? Probably (Thinking………..? running the application and see if its working as expected) J
I can also check by verifying the below changes in jpr and jws.
Jpr:- Check the below values
Before migration:
<value n="oracle.ide.model.Project" v="12.2.1.0.0"/>
After Migration:
<value n="oracle.ide.model.Project" v="12.2.1.0.0;12.2.1.3.0"/>
And commented one will change back while migration.
<value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>
Jws:- Check the below values
Before migration:
<value n="oracle.ide.model.Project" v="11.1.1.1.0;12.2.1.0.0"/>
After Migration:
<value n="oracle.ide.model.Project" v="11.1.1.1.0;12.2.1.0.0;12.2.1.3.0"/>
And commented one will change back while migration.
<value n="oracle.mds.internal.dt.ide.migrator.MDSConfigMigratorHelper" v="11.1.1.0.5313"/>
Now you
can compile all ADF projects and deploy them to the WebLogic server. Don’t
forget to see for each ADF project if the deploy ends successfully.
Happy
learning…. J
No comments:
Post a Comment