Upload dir structure to $JAVA_TOP
Make file dir executable
On the target do the following (Replace XXGC with your company identifier)
-
cd $JAVA_TOP
-
cd XXGC
-
chmod -Rv 755 *
Load the jpx defiintions into the Instance
Copy a file from local machine JDEV_USER_HOME**PROJECT_NAME**.jpx to $XXGC_TOP/java
Load this into the database by doing the following in putty:
-
java oracle.jrad.tools.xml.importer.JPXImporter $XXGC_TOP/java/audit.jpx -username APPS -password xxx -dbconnection "(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=gchrsup.gcint.gc.gov.uk)(PORT=1528)) (CONNECT_DATA= (SID=SUPPORT)))"
Test previous Step
There is a utility to inspect the MDS Repository content in the database. You can run it to list the contents of the repository. Run the following in SQL*Plus.
-
declare
-
begin
-
JDR_UTILS.listContents('/',true);
-
end;
This will list everything. You can test the previous step worked by just listing the xxgc content.
-
declare
-
begin
-
JDR_UTILS.listContents('/xxgc/',true);
-
end;
Another way to test:
-
declare
-
begin
-
jdr_utils.printDocument('/xxgc/oracle/apps/xxgc/audit/webui/ChkSumViewPG');
-
end;
Finally if you have uploaded stuff in the wrong place:
-
declare
-
begin
-
JDR_UTILS.deleteDocument('/xxgc/oracle/apps/xxgc/webui/ChkMainViewPG');
-
JDR_UTILS.deleteDocument('/xxgc/oracle/apps/xxgc/webui/ChkSumViewPG');
-
JDR_UTILS.deletePackage('/xxgc/oracle/apps/xxgc/webui/');
-
commit;
-
end;
Use XMLImporter to import xml files
Upload all the xml files in your webui directory to $XXGC_TOP/mds/audit/webui (You need to create the audit/webui dir if it dosn't exist)
In putty run the following command for each file:
-
java oracle.jrad.tools.xml.importer.XMLImporter $XXGC_TOP/mds/audit/webui/FILE NAME.xml -username APPS -password xx -rootdir $XXGC_TOP/mds/ -rootPackage /xxgc/oracle/apps/xxgc -dbconnection "(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=gchrsup.gcint.gc.gov.uk)(PORT=1528)) (CONNECT_DATA= (SID=SUPPORT)))"
Bounce the webserver
Create form function
Multi-Environment deploy script
I have attached a bash deployment script which will deploy a set of pages to mutiple enviroments. (Rename it from .txt to .sh)