Importing packages/files

Hi Folks...
I was working with a sample code and when I do a 'cntrl + ENTER' I get a 'Type was not found or was not a compile-time constant: LoginEvent' error
I also get the same error for the other events of 'RoomEvent' and 'XIFFErrorEvent'. My source files 'Test.FLA' and 'Test.AS' are located here: 'xiff_3_0_0\src' whereas the various packages refered to in the source file are located here: '\xiff_3_0_0\src\org\igniterealtime\xiff'. My import statements are as follows:
import flash.display.MovieClip;
import org.jivesoftware.xiff.conference.Room;
import org.jivesoftware.xiff.core.JID;
import org.jivesoftware.xiff.core.XMPPSocketConnection;
import org.jivesoftware.xiff.events.LoginEvent;
import org.jivesoftware.xiff.events.RoomEvent;
import org.jivesoftware.xiff.events.XIFFErrorEvent;
Will be great if someone can point to me where I am going wrong. Thanks.

Hi Guys...
I think I have solved it. Some issues with the path. I have replaced jivesoftware with igniterealtime, as that is how the folder structure is in my hard drive. There is no such folder as 'jivesoftware'.

Similar Messages

  • Load of big files in BPC with import package

    HI,
    I need to import many files (.txt) with 1,5 million of data lines in BPC with import package.
    But BPC is limited to 500 000 lines for each import.
    Have you got a solution ?
    Thanks,
    Morgann

    Morgann,
    You have two options.
    1. use import into FACT table -> Cons : System will be offline.  Pros : faster performance. No limit
    2. if you should use import package,  split file and put it into one folder and create a custom package that will handle those data file one by one.      Cons : Need to make a custom package   Pros : No system offline.
    I hope it will help you.
    Thanks.
    James Lim

  • Any way to import content from AW7 packaged file to modify and repackage?

    Hi, I am new to AW.  Trying to take an existing aircraft systems training program and merge it with another training program that was written with AW5, which modules are not compatible with AW7.  According to the help file, when packaged, the flowlines and icons used to design the program are removed and no longer accessible.  Is there any way to import the content and redesign and tailor to my specific needs?  Thanks.

    Douglas,
    Are you talking about packaged Authorware 5 files? Because it sounds like you are quoting info about packaged files...
    The Authorware 7 authoring tool should be able to open and convert Authorware 5 source files. If all you have a repacked files there's not really anything you can do.
    Steve

  • Unable to import package. This file is not a Business Components XML file

    Hi,
    I am using Jdeveloper 9.0.3(Build 1325) and trying to extend a VO. Project > Import Business Components and select the VO, AM or EO xml because Sourcing Negotiation creation does not have a server.xml and I am getting the following message "Unable to import package. This file is not a Business Components XML file.". Should I make something else to enable extension?? Does a patch required to make extensions. Any help would be appreciated.

    What I know is that server.xml is not a must. This is the easiest way to import appropriate xml files. My question is, when I am trying to Project>Import Business Components > xxxVO.xml I am getting the above error although the xxxVO.xml is a Business Component. I wanna know that should some patch be applied to Jdeveloper (Build 1325)?? (by the way at first I tried with Build 1312 and the same error raised)

  • Stsadm import error[FatalError: Failed to read package file.]

    [1/27/2012 6:52:38 PM] Start Time: 1/27/2012 6:52:38 PM.
    [1/27/2012 6:52:38 PM] Progress: Initializing Import.
    [1/27/2012 7:00:03 PM] Error: Failure writing to target file
    [1/27/2012 7:00:04 PM] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
    [1/27/2012 7:00:04 PM] FatalError: Failed to read package file.
    *** Inner exception:
    Failure writing to target file
    [1/27/2012 7:00:04 PM] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
    [1/27/2012 7:00:29 PM] Progress: Import did not complete.
    [1/27/2012 7:00:29 PM] Finish Time: 1/27/2012 7:00:29 PM.
    [1/27/2012 7:00:29 PM] Duration: 00:07:51
    [1/27/2012 7:00:29 PM] Finished with 0 warnings.
    [1/27/2012 7:00:29 PM] Finished with 2 errors.
    Hi ,
    I have exported a site http://teamsite in share point 2007 set up and try to import in 2010 site
    http://mysite using stsadm.The command details is given below.
    stsadm -o export -url http://teamsite -filename c:\backup\team.cab -includeusersecurity  . it has created  277 cab file . then i have copy these file to 2010 sytem and given the import
    command.
    stsadm-import -url http://mysite -filename d:\backup\team.cab
    and found the above code error. Please send the reply to my email  [email protected]

    Hi,
    Glad to receive your reply.
    Based on my research,
     out of space on a drive will result in this error. Please check if there is enough space on the drive.
    Furthermore, change the user TEMP and TMP to another drive with space, then test again.
    Thanks,
    Rock Wang
    Rock Wang TechNet Community Support

  • Find jar file using imported packages

    Hi,
    Shall i know how to find jar name..I'm having imported files..
    For an eg,
    i'm having the below one..
    import org.bouncycastle.tools.openpgp.util.PGPParams;
    import org.bouncycastle.tools.openpgp.util.ProcessingEngine;How to find jar by using the above imported packages?

    sabre150 wrote:
    You can't.
    Do you mean you want to download the BouncyCastle openpgp jars? If so then visit www.bouncycastle.org .
    Edited by: sabre150 on Sep 7, 2009 11:46 AM
    I give up on the OP. He has been doing this pgp now for more than 10 weeks and he seems unable to do more than ask daft questions or repeatedly ask for code.Maybe he's Italian. I mean, Deepa is in Deepa Shita. ;-)

  • PI 711 Installation: Loading of 'SAPNTAB' import package: error but no log

    Hello,
    I'm perfromong an installation of a SAP PI 7.11 ystem on windoows Server 2003 and Oracle 10.2 .
    I've perfromed the installation of the DEV system without particular issue.
    But now when tryning to install the QAS system , I can't finish the installation : Im' stuck in the import ABAP step ...
    It is impossible to import the 'SAPNTAB' package. I couln't find the reason.
    I've tried updating the R3load binary, rebooting the server, restarting the instalaltion from scratch but it didn't help.
    Here I provide you the logs, maybe you can help me
    SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110223195542
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 14 2010 22:52:23
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: SVERS deleted/truncated #20110223195543
    sapinst_dev.log
    Syslib info about system call. OS message 109 (The pipe has been ended.
    ) after execution of system call 'ReadFile' with parameter ((read end of child process output pipe)), line (403) in file (synxcpipe.cpp).
    WARNING    2011-02-23 19:56:12.607
               CJSlibModule::writeWarning_impl()
    Execution of the command ""C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\sapjvm\sapjvm_5\bin\java.exe" -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.5.0_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 5.1.024)
    SAP Java 64-Bit Server VM (build 5.1.024, Sep  4 2008 23:21:58 - 51_REL - optU - windows amd64 - bas2:106386 (mixed mode))
    Import Monitor jobs: running 1, waiting 28, completed 0, failed 0, total 29.
    Loading of 'SAPNTAB' import package: ERROR
    Import Monitor jobs: running 0, waiting 28, completed 0, failed 1, total 29.
    TRACE      2011-02-23 19:56:12.607
    Function setMessageIdOfExceptionMessage: nw.programError
    ERROR      2011-02-23 19:56:12.607
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    import_monitor.log
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is started.
    INFO: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is successfully completed.
    Primary key creation: after load.
    Index creation: after load.
    INFO: 2011-02-23 19:55:42
    Data codepage 1100 is determined using TOC file 'E:\SAPCD\51036706\DATA_UNITS\EXP1\DATA\REPOSRC.TOC' for package 'REPOSRC'.
    INFO: 2011-02-23 19:55:42
    Version table 'SVERS' is found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
    INFO: 2011-02-23 19:55:42
    Data conversion tables 'DDNTF,DDNTF_CONV_UC,DDNTT,DDNTT_CONV_UC' are found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPNTAB' import package is started.
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPNTAB' import package into database:
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    ERROR: 2011-02-23 19:55:45 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPNTAB' import package is interrupted with R3load error.
    Process 'E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast' exited with return code -1,073,741,819.
    For mode details see 'SAPNTAB.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2011-02-23 19:56:12
    Cannot continue import because not all import packages with data conversion tables are loaded successfully.
    WARNING: 2011-02-23 19:56:12
    1 error(s) during processing of packages.
    INFO: 2011-02-23 19:56:12
    Import Monitor is stopped.
    Edited by: Raoul Shiro on Feb 23, 2011 8:11 PM
    Edited by: Raoul Shiro on Feb 23, 2011 8:12 PM

    Hello,
    Thank you for your answer.
    I already opened a sap cutomer call, they answered that it it not a database issue,
    I restarted the installationfriom scracth , but i still got the same error :
    Here is the full content of the file SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 22 2008 00:13:12
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -ctf I E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL SAPNTAB.TSK ORA -l SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: job completed
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 22 2008 00:13:12
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: SVERS created #20110225170643
    Regards.
    Raoul

  • Loading of 'SEOCOMPODF' import package is interrupted with R3load error.

    Dear SAP Colleagues,
    Please advice with the following, we try to install SAP ERP  6.0 support release 3 on windows 2008 server with oracle database 10g 10.2.0.4.0,
    The error is occurred in Import ABAP phase as follow,
    ERROR 2010-10-14 12:10:00.729
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    Hint : I already applied this scenario of installation in two other server with same hardware and sap software and itu2019s already up and running,
    From my side I applied the following but nothing is changed, 
    u2022     Applied sap Note 709389
    u2022     Replaced the sap source more times,
    u2022     Maintained the paging file,
    u2022     Restart the sap server
    u2022     Restart the installation from scratch
    Also I can see that the oracle service and listener is started automatically
    I checked the log files mentioned above as follow,
    Contents in log file u201Cimport_monitor.javau201D
    java version "1.4.2_17"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)
    Import Monitor jobs: running 1, waiting 4, completed 23, failed 0, total 28.
    Import Monitor jobs: running 2, waiting 3, completed 23, failed 0, total 28.
    Import Monitor jobs: running 3, waiting 2, completed 23, failed 0, total 28.
    Loading of 'SEOCOMPODF' import package: ERROR
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
    Loading of 'FUPARAREF' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
    Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
    Import Monitor jobs: running 1, waiting 1, completed 23, failed 3, total 28.
    Loading of 'TODIR' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 23, failed 4, total 28.
    Contents in log file u201Cimport_monitoru201D
    ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
    Loading of 'SEOCOMPODF' import package is interrupted with R3load error.
    Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i SEOCOMPODF.cmd -dbcodepage 4103 -l SEOCOMPODF.log -stop_on_error' exited with return code 2.
    For mode details see 'SEOCOMPODF.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
    Loading of 'FUPARAREF' import package is interrupted with R3load error.
    Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i FUPARAREF.cmd -dbcodepage 4103 -l FUPARAREF.log -stop_on_error' exited with return code 2.
    For mode details see 'FUPARAREF.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
    Loading of 'TODIR' import package is started.
    TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'TODIR' import package into database:
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
    ERROR: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
    Loading of 'TODIR' import package is interrupted with R3load error.
    Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error' exited with return code 2.
    For mode details see 'TODIR.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2010-10-14 12:10:00
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2010-10-14 12:10:00
    4 error(s) during processing of packages.
    INFO: 2010-10-14 12:10:00
    Import Monitor is stopped.
    Regards,
    Ahmed Saber

    Hi Gagan Deep Kaushal,
    The todir.log file it was so big so I backup it run the installation again to regenerate the log file, please find below the log file you requested,
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20101014135456
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Jan 24 2008 01:41:44
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20101014135457
    Regards,
    Ahmed Saber

  • SAPAPPL0,SAPSSEXC,SAPAPPL2 import package is interrupted with R3load

    Hi SAP Experts,
    I am installing ECC 6.0 SR1 EHP4 with DB29.1 on AIX6.1 but durning Import ABAP , I am getting error
    SAPAPPL2' import package is interrupted with R3load error.
    SAPAPPL0' import package is interrupted with R3load error.
    SAPSSEXC' import package is interrupted with R3load error.
    I am attaching all the logs import_monitor,import_monitor.java, SAPAPPL2,SAPAPPL0,SAPSSEXC
    Kindly help me to come out from this error.
    Import_monitor----
    TRACE: 2010-08-19 22:16:46 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPAPPL0' import package into database:
    /usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD
    ERROR: 2010-08-19 22:16:47 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL2' import package is interrupted with R3load error.
    Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL2.cmd -dbcodepage 4102 -l SAPAPPL2.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
    For mode details see 'SAPAPPL2.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2010-08-19 22:16:47 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSSEXC' import package is interrupted with R3load error.
    Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPSSEXC.cmd -dbcodepage 4102 -l SAPSSEXC.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
    For mode details see 'SAPSSEXC.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2010-08-19 22:18:00 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is interrupted with R3load error.
    Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
    For mode details see 'SAPAPPL0.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2010-08-19 22:18:14
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2010-08-19 22:18:14
    3 error(s) during processing of packages.
    INFO: 2010-08-19 22:18:14
    Import Monitor is stopped.
    SAPAPPL2
    /usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
    /usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    /usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 21:54:08
    /usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL2.cmd -dbcodepage 4102 -l SAPAPPL2.log -stop_on_error -loadprocedure fast LOAD
    (DB) INFO: connected to DB
    (TSK) ERROR: file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/DB6/CENTRAL/SAPAPPL2.TSK.bck already seems to exist
                 a previous run may not have been finished cleanly
                 file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/DB6/CENTRAL/SAPAPPL2.TSK possibly corrupted
    /usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221647
    SAPAPPL0
    /usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
    /usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    /usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 21:54:08
    /usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD
    (DB) INFO: connected to DB
    (DB) INFO: /1CN/CPTSAP00005 dropped #20100819221758
    (DB) INFO: /1CN/CPTSAP00005 created #20100819221759
    (DB) INFO: /1CN/CPTSAP00005~0 created #20100819221759
    (DB) INFO: /1CN/CPTSAP00005SC created #20100819221759
    (IMP) INFO: import of /1CN/CPTSAP00005 completed (0 rows) #20100819221759
    (DB) ERROR: DDL statement failed
    ( CREATE TABLE "/1CN/CPTSAP00006" ( "CLIENT" SAPDB6FIXCHAR(3) DEFAULT '000' NOT NULL , "VARNUMH" CHAR(16) FOR BIT DATA NOT NULL , "PRT_PARTNER" CHAR(16) FOR BIT DATA NOT NULL , "KSCHL" SAPDB6CHAR(4) DEFAULT ' ' NOT NULL , "OBJECT_ID" CHAR(16) FOR BIT DATA , "TIMESTAMP_TO" SAPDB6CHAR(14) DEFAULT ' ' NOT NULL , "RELEASE_STATUS" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "TIMESTAMP_FROM" SAPDB6CHAR(14) DEFAULT ' ' NOT NULL , "KSCHL_SUPP" SAPDB6CHAR(4) DEFAULT ' ' NOT NULL , "COND_GROUP_ID" CHAR(16) FOR BIT DATA , "MAINT_STATUS" SAPDB6CHAR(2) DEFAULT ' ' NOT NULL , "CREATED_BY" SAPDB6CHAR(12) DEFAULT ' ' NOT NULL , "CREATED_ON" SAPDB6CHAR(8) DEFAULT '00000000' NOT NULL , "KOPOS" SAPDB6FIXCHAR(3) DEFAULT '000' NOT NULL , "SUPP_EXIST" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "SCALE_DIM" SAPDB6FIXCHAR(2) DEFAULT '00' NOT NULL , "KBETR" DECIMAL(15,2) DEFAULT 0 NOT NULL , "KPEIN" DECIMAL(5,0) DEFAULT 0 NOT NULL , "KMEIN" SAPDB6CHAR(3) DEFAULT ' ' NOT NULL , "KONWA" SAPDB6CHAR(5) DEFAULT ' ' NOT NULL , "KRECH" SAPDB6CHAR(3) DEFAULT ' ' NOT NULL  ) IN LD1#STABD INDEX IN LD1#STABI LONG IN LD1#STABD )
    dsql_exec_immediate returned DS_DBOBJECTEXISTS
    (DB) INFO: disconnected from DB
    /usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221800
    SAPSSEXC
    /usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
    /usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    /usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 21:54:08
    /usr/sap/LD1/SYS/exe/run/R3load -i SAPSSEXC.cmd -dbcodepage 4102 -l SAPSSEXC.log -stop_on_error -loadprocedure fast LOAD
    (DB) INFO: connected to DB
    (DB) INFO: BRATEXT dropped #20100819221647
    (DB) INFO: BRATEXT created #20100819221647
    (DB) INFO: BRATEXT~0 created #20100819221647
    (IMP) INFO: import of BRATEXT completed (0 rows) #20100819221647
    (DB) ERROR: DDL statement failed
    ( CREATE TABLE "D010INC" ( "MASTER" SAPDB6CHAR(40) DEFAULT ' ' NOT NULL , "INCLUDE" SAPDB6CHAR(40) DEFAULT ' ' NOT NULL  ) IN LD1#ES701D INDEX IN LD1#ES701I LONG IN LD1#ES701D )
    dsql_exec_immediate returned DS_DBOBJECTEXISTS
    (DB) INFO: disconnected from DB
    /usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221647
    IMPORT_MONITOR.JAVA
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20100615 (JIT enabled)
    J9VM - 20100610_59470_BHdSMr
    JIT  - 20090210_1447ifx2_r8
    GC   - 200902_24)
    Import Monitor jobs: running 1, waiting 3, completed 24, failed 0, total 28.
    Import Monitor jobs: running 2, waiting 2, completed 24, failed 0, total 28.
    Import Monitor jobs: running 3, waiting 1, completed 24, failed 0, total 28.
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.
    Loading of 'SAPSSEXC' import package: ERROR
    Import Monitor jobs: running 1, waiting 1, completed 24, failed 2, total 28.
    Loading of 'SAPAPPL0' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 24, failed 3, total 28.
    PLEASE HELP ANYONE TO RESOLVE THIS ERROR

    SAPINST.LOG
    INFO 2021-03-23 14:09:35
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.14.xml'.
    INFO 2021-03-23 14:09:36
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.15.xml'.
    INFO 2021-03-23 14:09:40
    Execute step
    Component  W2K_ServicePack_Check|ind|ind|ind|ind
    Preprocess  of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
    INFO 2021-03-23 14:10:04
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.8.xml'.
    INFO 2021-03-23 14:10:04
    Execute step runMigrationMonitor of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0.
    WARNING 2021-03-23 14:10:11
    Error 5 (Access is denied.) in execution of a 'RegOpenKeyEx' function, line (645), with parameter (S-1-5-21-1712382466-689420201-920741312-1010).
    WARNING 2021-03-23 14:10:11
    Error 5 (Access is denied.) in execution of a 'RegOpenKeyEx' function, line (645), with parameter (ProtectedRoots).
    INFO 2021-03-23 14:10:11
    Switched to user: rasadm.
    INFO 2021-03-23 14:10:11
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\import_monitor.java.log.
    INFO 2021-03-23 14:10:11
    Switched to user: rasadm.
    INFO 2021-03-23 14:10:11
    Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS.
    INFO 2021-03-23 14:10:11
    Output of C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst is written to the logfile import_monitor.java.log.
    WARNING 2021-03-23 14:10:43
    Execution of the command "C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 103. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    Import Monitor jobs: running 1, waiting 3, completed 15, failed 0, total 19.
    Import Monitor jobs: running 2, waiting 2, completed 15, failed 0, total 19.
    Import Monitor jobs: running 3, waiting 1, completed 15, failed 0, total 19.
    Loading of 'SAPAPPL0' import package: ERROR
    Loading of 'SAPSSEXC' import package: ERROR
    Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
    Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 15, failed 3, total 19.
    ERROR 2021-03-23 14:10:43
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2021-03-23 14:10:43
    FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    INFO 2021-03-23 14:10:45
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor".
    INFO 2021-03-23 14:10:46
    Switched to user: rasadm.
    INFO 2021-03-23 14:10:46
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\import_monitor.java.log.
    INFO 2021-03-23 14:10:46
    Switched to user: rasadm.
    INFO 2021-03-23 14:10:46
    Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS.
    INFO 2021-03-23 14:10:46
    Output of C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst is written to the logfile import_monitor.java.log.
    WARNING 2021-03-23 14:11:16
    Execution of the command "C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 103. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    Import Monitor jobs: running 1, waiting 3, completed 15, failed 0, total 19.
    Import Monitor jobs: running 2, waiting 2, completed 15, failed 0, total 19.
    Import Monitor jobs: running 3, waiting 1, completed 15, failed 0, total 19.
    Loading of 'SAPAPPL0' import package: ERROR
    Import Monitor jobs: running 2, waiting 1, completed 15, failed 1, total 19.
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
    Loading of 'SAPSSEXC' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 15, failed 3, total 19.
    ERROR 2021-03-23 14:11:16
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2021-03-23 14:11:16
    FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .

  • Uploading Importing text file & crosstab display

    <p> I want to upload a text tab delimited file into our db, currently we
    are uploading it to a temp table in the db, do some validation checks and write
    to a table when done. I have two questions:</P>
    <p> 1) Is there a more efficient way of upload/importing flat files into
    the db via forms, like loading data into a non db data block and working on the
    data via loops rather than sql in a temp table.</P>
    <P> 2) I want to present the data to the user(for verification) via a form
    screen as they have read it in, the only way I can think of doing this, is
    populating a temp table and then using a data block based on a stored procedure
    that contains a dynamic pivot query package since I don't know the
    number of columns that the file will contain. Data blocks can do either
    vertical or horizontal alignment but not grid.</P>
    <P> File will take the format of: </P>
               col1           col2            col3
    row1    data_r1c1   data_r1c2   data_r1c3
    row2    data_r2c1   data_r2c2   data_r2c3
    row3    data_r3c1   data_r3c2   data_r3c3
    row4    data_r4c1   data_r4c2   data_r4c3
    <BR>
         <P>Thank you in advance </P>

    Thank you for your reply
    1) It's a utility for users and so it has to be through forms
    Presently I think it is better to read it in to a temp table then I can use sql for validation which would be faster than looping through blocks. But with this approach I'm just a little worried about Lost Updates e.g. what if someone is changing scores in the regular update screen while another person is trying to import them via the import utility.
    2) I have to use a stored procedure because I don't know how many columns a user will want to load in, sometimes it could be 2,3 or 5 etc. So basically I am looking at a way of presenting the data from it's stored format in it's read in format i.e. file format
    File format =
             col1           col2            col3           coln
    row1  data_r1c1   data_r1c2   data_r1c3   data_r1cn
    row2  data_r2c1   data_r2c2   data_r2c3   data_r2cn
    row3  data_r3c1   data_r3c2   data_r3c3   data_r3cn
    rown  data_rnc1   data_rnc2   data_rnc3   data_rncn
    It is stored in the temp table as
    row1    col1   data_r1c1
    row2    col1   data_r2c1
    row1    col2   data_r1c2
    row2    col2   data_r2c2
    Example
             Test1    Test2    Test3    Test4
    John   54        45         70         65
    Jane   38        55         72         70
    Stored in the temp and subsequently written to Student Score table as
    Student    Test      Score
    John        Test1    54
    John      Test2      45
    John      Test3      70
    John      Test4      65
    Jane      Test1      38
    Jane      Test2      55
    Jane      Test3      72
    Jane      Test4      70

  • Import JAR files (integrating JasperReports)

    Dear all,
    I'm using JDeveloper 11.1.1.3.0 on Windows 7 32bit.
    I search this forum and I google a lot, but I couldn't find any workable solution.
    I downloaded the newest version of JasperReport and iReport from the official website. I've done some tutorials from this site and everything seems to work fine.
    Now I want to integrate JDev with JasperReports. I create new Fusion Web Application ADF, I get the properties of Model project, Libraries and Classpath tab, add Library and click New... I set the Library name as JasperReports, location as Project, check Deploy ad Default. I add to Class path every JAR files in E:\JasperReports\jasperreports-3.7.6\lib and to Source path the whole directory E:\JasperReports\jasperreports-3.7.6\src. I get sure that the Export is checked and I save all the changes.
    I create a new Java Class JasperTest and I use this sample code:
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.export.*;
    import java.util.*;
    public class JasperTest {
        public static void main(String[] args) {
            String fileName = "test.jasper";
            String outFileName = "test.pdf";
            HashMap hm = new HashMap();
            try {
                // Fill the report using an empty data source
                JasperPrint print = JasperFillManager.fillReport(fileName, hm, new JREmptyDataSource());
                // Create a PDF exporter
                JRExporter exporter = new JRPdfExporter();
                // Configure the exporter (set output file name and print object)
                exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outFileName);
                exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
                // Export the PDF file
                exporter.exportReport();
            } catch (JRException e) {
                e.printStackTrace();
                System.exit(1);
            } catch (Exception e) {
                e.printStackTrace();
                System.exit(1);
    }I cant compile this, it gives me Error(1,1): package net.sf.jasperreports.engine does not exist etc..
    I cant import any class from JasperReports. Did I something wrong with importing the JAR files to my project ? Maybe I should set some system environment variable ? What else I can do ?
    Any help will be appraciated.
    Regards,
    Wojtek.

    Hi,
    I am also facing the same problem, I have few Jasper Reports which are closely integrated with my APEX applications, but for this i am using another application ( Jasper reports) which deployed in tomcat. This application hardly have 20 lines of java code, so i thought of embedding same in PL/SQL itself, But i am facing problem while importing JAR files i.e.
    1. Where to put these JAR files so that i can import them in my PL/SQL.
    2. I also tried using JAVALOAD function, but that also not worked for me.
    Please give me some solution how to go about it??

  • How can I import a file into my Windows Phone 8.1RT App?

    Hi All,
    I'm running into a bit of an issue associating my app with a custom file type.  Users create a file using my app and upload it to their OneDrive for sharing.  So I then want to give the users the ability to download the file from a share link and
    have that file open automatically in my app.  I've got the appropriate declarations set and file type associations, but I'm getting a file access exception when I try to open the file.  Whats the best way to import a file into my app?  Here's
    the code I've got so far:
    protected override async void OnFileActivated(FileActivatedEventArgs args)
    var path = args.Files[0].Path;
    var name = args.Files[0].Name;
    StorageFile newFile = await StorageFile.GetFileFromPathAsync(path);
    await newFile.CopyAsync(ApplicationData.Current.LocalFolder, name.Substring(0, name.Length - 4));
    The path comes back as
    C:\Data\Users\DefApps\APPDATA\Local\Packages\microsoft.microsoftskydrive_8weke\LocalState\OpenWithTempFolder\e68c261-db3b-472d-a8b7-93427450\File Name.extension
    and the exception is
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Clearly I'm trying to access the file in an inappropriate way, so what's the best way to get the file into my app's local storage?

    You have the StorageFile in arg.Files[0] already. Just use that rather than getting its path and then trying to create a new StorageFile from it.
    var path = args.Files[0].Path; // <= Path is unnecessary and unhelpful
    var name = args.Files[0].Name;
    await args.Files[0].CopyAsync(ApplicationData.Current.LocalFolder, name.Substring(0, name.Length - 4));
    See my blog entry Skip the path: stick to the StorageFile for more details.

  • Error while importing tpz file into XI Design

    Hi All,
    When i am trying to import latest exported tpz file from Dev system into Q system i am getting below error.
    Also the tpz file i am importing , with same file name already i have imported earlier into Q system through other Dev system. Now i am importing the exported file through prod fix environment dev system. Please help me , how to import the file without this error. Also, how to avaoid duplicate file name for importing tpz files or overwrite exiting imported tpz file which is having same file name.
    Batch rolled back. Caused by java.sql.BatchUpdateException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00136623) violated  at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10698) at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeBatch(BasicPreparedStatement.java:263) at com.sap.sql.jdbc.oracle.Oracle10gPreparedStatement.executeBatch(Oracle10gPreparedStatement.java:100) at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeBatch(DirectPreparedStatement.java:1129) at com.sap.sql.jdbc.common.CommonPreparedStatement.executeBatch(CommonPreparedStatement.java:991) at com.sap.engine.services.dbpool.wrappers.StatementWrapper.executeBatch(StatementWrapper.java:270) at com.tssap.dtr.pvc.basics.transaction.StatementReleasingConnection.executeBatch(StatementReleasingConnection.java:297) at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.fireSQLBatches(DefaultIntegrator.java:1072) at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.executeDBUpdates(DefaultIntegrator.java:384) at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.integrate(DefaultIntegrator.java:337) at com.tssap.dtr.pvc.versionmg.VersionSet.integrate(VersionSet.java:183) at com.sap.aii.ib.server.pvcadapt.ImmutableVersionSet.integrate(ImmutableVersionSet.java:197) at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl._integrateUnconditionally(VersionSetIntegratorImpl.java:300) at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl.integrateClosedVersionSet(VersionSetIntegratorImpl.java:119) at com.sap.aii.ib.server.versioning.integration.VersionSetIntegrator.integrateClosedVersionSet(VersionSetIntegrator.java:52) at com.sap.aii.ib.server.propagation.PropagatorImpl.integrateObjectVersions(PropagatorImpl.java:261) at com.sap.aii.ib.server.propagation.Propagator.integrateObjectVersions(Propagator.java:174) at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcIntegrate(PvcTransport.java:191) at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.integrateVersionset(InternalTransportServiceImpl.java:480) at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.autoIntegrate(InternalRepTransportServiceImpl.java:546) at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:716) at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:362) at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:151) at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:75) at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730) at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:100) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Thanks in advance.
    Rajesh
    Edited by: rajesh amrabad on Sep 11, 2008 10:35 PM

    In addition to abobe answers,
    Keep this .tpz file at below mentioned location
    \usr\sap\<SID>\SYS\global\xi\repository_server\import\XI7_0_SAP_BASIS_7.00_09_00.tpz
    then login to the IR and peoceed as Tools -
    > import design objects. Her you will get this .tpz file, just import it.
    follow the steps given in this link and check if you are doing the correct thing.
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ef/a21e3e0987760be10000000a114084/content.htm
    The steps that you require are listed below,
    1) You must have the role SAP_XI_ADMINISTRATOR or SAP_XI_CONTENT_ORGANIZER to be able to export and import XI content.
    2)You import the XI content by first copying the provided export files into an import directory on the host of the Integration Builder and then importing the files into the Integration Repository.
    3)Copy the export files into the import directory for the Integration Repository (<systemDir>\xi\repository_server\import).If the files are packed, you must unpack them before importing.The actual export files have the extension .tpz. You must not unpack these files.
    4)The import directory is created the first time you call the Integration Builder.
    5)Start the Integration Builder and call the Integration Repository.
    To do this, perform the following steps:
    a. Log on to the SAP system on which your Integration Builder has been installed.
    b. Open the Integration Builder start page by calling it either from your user menu or with Transaction SXMB_IFR.
    c. Choose Integration Repository.
    Choose Tools u00AE Import design objects to import the XI content.
    6)Only the files from the import directory are offered to be imported. The sequence in which
    you import the export files is not important.
    7)After a successful import, the Integration Builder moves the imported TPZ files into the directory <systemDir>/xi/repository_server/importedFiles. The support package stack of imported software component versions is displayed on the Details tab page for the relevant software component version in the Integration Builder. If an error occurs, this information is important for support.
    Hope i have been of some help.

  • Error while running import package

    Hi,
    Transformation file was validated successfully. But after running import package i am having following error on MS-BPC-7.0.
    Invalid character in the given encoding. Line 1, position 1.
    When i try validate and process trans file i am having the following error message. But same data file and same trans file was working till couple of days ago. After that whatever changes i have made to file, i did revert them to have it working like beofre.
    Warning: Some records were rejected.
    Rejected records reference either calculated members or invalid members.
    Actually rejected record is only, one, but even other data was not loaded.
    Thanks in advance for sharing your ideas or similar experiences.
    Thanks,
    KK

    Hi,
    There is definitely some problem with one of the records there. Do you have header? What is the delimiter? Do you have the same delimiter in the transformation file? You need to take a look at all the possibilities.
    Hope this helps.

  • Error  while import XML file from Production to Dev., But has GREEN status

    Hi,
    I tried to export/import bex queries through XML transportation. Transportation is being done from Production system to Development. In transport connection I selected required query and then I exported to Development. export of file is done successfully.
    Now in development system I imported that XML file. It is imported. Giving GREEN symbol and also with GREEN check. But in Log view I found ERRORS. in errors it is mentioned "SAP object 46N3K1OCT22PSBN46O95MQLTJ () cannot be imported". along with long message text "Install the specified objects from Business Content. Only import the metadata afterwards.".
    What should I do now as of next step... import of file is stuck..
    How can I search object 46N3K1OCT22PSBN46O95MQLTJ (), if I have to install from BC.
    I am also unable to find the query in Development Bex analyser.
    Thanks for help....
    [email protected]

    Hi Babloo,
    According to the error message, the package may have failed are as follows:
    The user account that is used to run the package under SQL Server Agent in PRODUCTION server differs from the original package author.
    The user account does not have the required permissions to make connections or to access resources outside the SSIS package.
    The package may not run in the following scenarios:
    The current user cannot decrypt secrets from the package. This scenario can occur if the current account or the execution account differs from the original package author, and the package's ProtectionLevel property setting does not let the current user
    decrypt secrets in the package. In this scenario, we can change the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword, then modify the SQL Server Agent job step command line to include this password.
    File access fails because the current user does not have the required permissions to write to the file share that the connection manager accesses. In this scenario, we can create a SQL Server Agent proxy account. This proxy account must use a credential
    that lets SQL Server Agent run the job as the account that created the package or as an account that has the required permissions.
    References:
    SSIS package does not run when called from a SQL Server Agent job step
    Run an SSIS Package Under a Different Account
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for