I want persist the my ADF application. So i added UserCC customization-class in adfc-config.xml. Also enabled user customization.
Now while deploying application on Linux server i getting below error:
An error occurred during activation of changes, please see the log for details.
Message icon - Error :oracle.mds.exception.MDSExceptionList:MDS-01329: unable to load element "persistence-config" MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid. MDS-01368: Variable "oracle.home" used in configuration document is not defined either as system property or as envrionment variable.
When i done the echo $oracle_home i get below response /fmw/java/jrockit-jdk1.6.0-26
1] Can i hard code this value in adf-config.xml ? If so then it will not have /integration directory. So will again not work?
2] How to resolve this issue assuming i don't know what is ORACLE.HOME on my server ?
No i do not get same erro when i test on Default Sevrer because it is a windows machne and i have set the oracle.home to C:\oracle\middlware\jdeveloper. This directory have the \integration folder so everything works fine.
I would not advice to hard code the value of the $ORACLE_HOME variable directly into the application and instead make sure the variable points to the middleware location instead to JRockit. The value of Oracle Home is displayed at the moment that start your server instance in the console.
Would the real issue is that your application that uses customization doesn't deploy on a standalone server?