1 Reply Latest reply: Jun 4, 2011 3:14 AM by Gyan Darpan RSS

    Not able to import OAF page into MDS

    730040
      hi,

      i am trying to import the page to MDS using the following command.
      in dev instance it is working fine and i am able to import the page successfully.

      java oracle.jrad.tools.xml.importer.XMLImporter \
      $HOME/stoplight/xxx/oracle/apps/pos/stoplight/webui/SupplierLovRN.xml \
      -username apps -password $PASSWORD \
      -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =$db_host) \
      (port =$db_port))) (connect_data = (sid = $TWO_TASK)))" \
      -rootdir $HOME/stoplight

      but when i try to import in another test instance it is giving me following error, please help.
      i am passing all correct values.

      /usr/bin/java: line 36: [: `)' expected, found -
      Warning: Could not find the customization level value for document
      Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI)
      Error: Error connecting to database "jdbc:oracle:thin:apps/xxxxxx@(description = (address_list = (address = (commu
      Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI)

      Import failed.

      thanks,

      Edited by: user12111278 on Jun 3, 2011 11:28 AM

      Edited by: user12111278 on Jun 3, 2011 10:42 PM
        • 1. Re: Not able to import OAF page into MDS
          Gyan Darpan
          Hi,

          Use below utililty
          java oracle.jrad.tools.xml.importer.XMLImporter SupplierLovRN.xml -username apps -password $PASSWORD -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$db_host)(PORT=$db_port)) 
          (CONNECT_DATA=(SID=$TWO_TASK)))" -rootdir ./ -rootPackage $HOME/stoplight/xxx/oracle/apps/pos/stoplight/webui
          Regards,
          Gyan