Import Commands in OAF
Import Command for page.
From unix server:
Run the
below command from the path.
$JAVA_TOP/xx/oracle/apps/po/emp/webui
java oracle.jrad.tools.xml.importer.XMLImporter
$JAVA_TOP/xx/oracle/apps/po/emp/webui/EmployeePG.xml -rootdir $JAVA_TOP -username apps -password apps
-dbconnection
"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=focusthreadr12.com)(PORT=1521))(CONNECT_DATA=(SID= VISR12)))"
From command prompt:
C:\dev\oaf\r1211\jdevbin\oaext\bin
import C:\dev\oaf\r1211\jdevhome\jdev\myprojects\xx\oracle\apps\po\emp\webui\EmployeePG.xml
-rootdir C:\dev\oaf\r1211\jdevhome\jdev\myprojects -username apps -password
apps -dbconnection
"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=focusthreadr12.com)(PORT=1521))(CONNECT_DATA=(SID=visr12)))"
Import Command for VO Extension.
Run the below command from the below path from command prompt.
C:\oaf\p9879989_R12_GENERIC\jdevbin\oaext\bin
jpximport C:\oaf\p9879989_R12_GENERIC\jdevhome\jdev\myprojects\VOExtension.jpx -username apps -password apps –dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST= focusthreadr12.com)(PORT=1521))(CONNECT_DATA=(SID= visr12)))"
I am getting error when using jpximport
ReplyDeleteinput parameter jpximport.bat C:\p24611686_R12_GENERIC_2\jdevbin\jdev\myclasses\OAProject1.jpx should be an xml file or directory.
This is the command i used
jpximport.bat C:\p24611686_R12_GENERIC_2\jdevbin\jdev\myclasses\OAProject1.jpx -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =erptraining.dbe.com)(port = 1591)))(connect_data = (sid= UAT)))"
HI i am getting the following error while using jpximport script
ReplyDeleteError: Parameter "(DESCRIPTION" is invalid.
the script which i used
jpximport D:\p8431482_R12_GENERIC\jdevbin\jdev\bin\myprojects\xxregistervoextprj.jpx -username apps -password apps –dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=apps.ora.com)(PORT=1521))(CONNECT_DATA=(SID=VIS)))"