Now Deploy these custom pages and access from application
1> Move the related class files from mycalsses directory to the $JAVA_TOP in the application tier
(Ex: C:\Jdeveloper\jdevhome\jdev\myclasses\xxhw to $JAVA_TOP)
>> Please check if there is any existing files for any other custom page or just copy
and paste full directory if there in only your code is there in the custom
xxhw directory
>> You can use any FTP tool (Ex: Filezilla)
2> Import your newly created page definition to the MDS repository
Run this script from your command prompt
Main Page
C:\Jdeveloper\jdevbin\oaext\bin\import C:\Jdeveloper\jdevhome\jdev\myprojects\xxhw\oracle\apps\per\nic\webui\xxhwHrNicPG.xml -rootdir C:\Jdeveloper\jdevhome\jdev\myprojects -username apps -password <password> -dbconnection "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = akdevdb.ak.ac.uk)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED) (SID = AKDEV)))"
Update Page
C:\Jdeveloper\jdevbin\oaext\bin\import C:\Jdeveloper\jdevhome\jdev\myprojects\xxhw\oracle\apps\per\nic\webui\xxhwHrNicUpdPG.xml -rootdir C:\Jdeveloper\jdevhome\jdev\myprojects -username apps -password <password> -dbconnection "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = akdevdb.ak.ac.uk)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED) (SID = AKDEV)))"
3> You can see the deployed page structure by running below script
DECLARE
--
BEGIN
jdr_utils.printDocument('/xxhw/oracle/apps/per/nic/webui/xxhwhrnicPG',1000);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END;
4> Now Registration of Page
>> System Administrator > Application > Function > Description
5> Properties Tab > SSWA jsp function
> Web HTML Tab
HTML Call : OA.jsp?page=/xxhw/oracle/apps/per/nic/webui/xxhwHrNicPG
– Without Extension
6> Now attach this function with a menu and then run from the respective responsibility
> Last step to Bounce the apache server from the application tier $INST_TOP/admin/scripts
./adapcctl.sh stopall
./adapcctl.sh startall
Done :)
1> Move the related class files from mycalsses directory to the $JAVA_TOP in the application tier
(Ex: C:\Jdeveloper\jdevhome\jdev\myclasses\xxhw to $JAVA_TOP)
>> Please check if there is any existing files for any other custom page or just copy
and paste full directory if there in only your code is there in the custom
xxhw directory
>> You can use any FTP tool (Ex: Filezilla)
2> Import your newly created page definition to the MDS repository
Run this script from your command prompt
Main Page
C:\Jdeveloper\jdevbin\oaext\bin\import C:\Jdeveloper\jdevhome\jdev\myprojects\xxhw\oracle\apps\per\nic\webui\xxhwHrNicPG.xml -rootdir C:\Jdeveloper\jdevhome\jdev\myprojects -username apps -password <password> -dbconnection "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = akdevdb.ak.ac.uk)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED) (SID = AKDEV)))"
Update Page
C:\Jdeveloper\jdevbin\oaext\bin\import C:\Jdeveloper\jdevhome\jdev\myprojects\xxhw\oracle\apps\per\nic\webui\xxhwHrNicUpdPG.xml -rootdir C:\Jdeveloper\jdevhome\jdev\myprojects -username apps -password <password> -dbconnection "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = akdevdb.ak.ac.uk)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED) (SID = AKDEV)))"
3> You can see the deployed page structure by running below script
DECLARE
--
BEGIN
jdr_utils.printDocument('/xxhw/oracle/apps/per/nic/webui/xxhwhrnicPG',1000);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END;
4> Now Registration of Page
>> System Administrator > Application > Function > Description
5> Properties Tab > SSWA jsp function
> Web HTML Tab
HTML Call : OA.jsp?page=/xxhw/oracle/apps/per/nic/webui/xxhwHrNicPG
– Without Extension
6> Now attach this function with a menu and then run from the respective responsibility
> Last step to Bounce the apache server from the application tier $INST_TOP/admin/scripts
./adapcctl.sh stopall
./adapcctl.sh startall
Done :)
No comments:
Post a Comment