Import package with .* in jsp

If i want to use HashMap in jsp page i need to have HashMap of util package in import statment in
page directive.
What is difference in Using
a) <%@ page import="java.util.HashMap"%>
b) <%@ page import="java.util.*"%>
Is there any performance issue using importing package with .*

Ofcourse there will be a performance issue. In the
second case (<%@ page import="java.util.*"%>
) , you are loading all the classes in java.util
package into your JSP, where as in the first case you
are getting only HashMap. So the second option will
affect the performance. Always import only the
required classes.
rgdsThen you have no idea how import works. The only difference at all would come at compile time. After the page is compiled, there would be no performance issue whatsoever.
The main reason for doing one or the other way (same for any Java class) is clarity for those reading the code. Meaning if you use the full import, when they see "HashMap" in the code, they can look at the import statements and be sure that it's in java.util package. But generally, most people are going to be familiar with the classes in the common packages, like java.util. So I wouldn't generally list the specific classes if you are using more then one from the same package. There are other considerations where packages have classes of the same name (java.sql.Date & java.util.Date) but generally, I would always just put the full class name in the code.

Similar Messages

  • Import package with %rowtype definition inside

    Hi all,
    I have OWB 10.2.0.3.33 and it is unable to import completely a package from my database.
    The package has type definition with %rowtype. It refuses also to import some functions
    that use the %rowtype.
    What did i miss ?
    Stephan
    Here is a sample of my package :
    CREATE OR REPLACE PACKAGE FOO AS
    subtype my_table_rec IS my_table%rowtype;
    FUNCTION get_record(id_in IN number) RETURN my_table_rec;
    END FOO;

    I have found a bug ID in this forum that correct the problem.
    Unfortunately, the bug ID was a bogus of another bug.
    And i don't have access to this other bug :(
    The bug is accessible on meta-link, if you have more chance than me.
    Keep me in touch ;)
    Steff

  • 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 .

  • 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

  • NetWeaver install on Windows - Import Monitor failing to import packages

    Following are the errors in import_monitor.log during installation.  The errors are due to sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline.  7 out of 28 packages imported fine.  What is the fix?
    TRACE: 2009-11-24 12:07:32 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPUSER' import package is started.
    TRACE: 2009-11-24 12:07:32 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPUSER' import package into database:
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe -i SAPUSER.cmd -dbcodepage 4103 -l SAPUSER.log -nolog -c 50000
    TRACE: 2009-11-24 12:07:32 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is started.
    TRACE: 2009-11-24 12:07:32 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAP0000' import package into database:
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe -i SAP0000.cmd -dbcodepage 4103 -l SAP0000.log -nolog -c 50000
    ERROR: 2009-11-24 12:07:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPUSER' import package is interrupted with R3load error.
    Process 'C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe -i SAPUSER.cmd -dbcodepage 4103 -l SAPUSER.log -nolog -c 50000' exited with return code 2.
    For mode details see 'SAPUSER.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: 2009-11-24 12:07:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is interrupted with R3load error.
    Process 'C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe -i SAP0000.cmd -dbcodepage 4103 -l SAP0000.log -nolog -c 50000' exited with return code 2.
    For mode details see 'SAP0000.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: 2009-11-24 12:08:02
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-11-24 12:08:02
    20 error(s) during processing of packages.
    INFO: 2009-11-24 12:08:02
    Import Monitor is stopped.
    Jay
    Part of details of sapuser.log.
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Feb  3 2009 23:16:17
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe -i SAPUSER.cmd -dbcodepage 4103 -l SAPUSER.log -nolog -c 50000
    DbSl Trace: Connect to database failed, rc = -10709 (Connection failed (RTE:[5] database not running))
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Connect to database failed, rc = -10709 (Connection failed (RTE:[5] database not running))
    (DB) ERROR: DbSlErrorMsg rc = 99
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\DE2\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20091124120733
    Jay
    Edited by: jay sethi on Nov 24, 2009 6:58 PM

    What is the content of 'SAPUSER.log'?

  • OWB Can't Import Existing Package with Collection Data Type as Arguments

    I created a package and compiled it successfully as the follows:
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE PACKAGE_TEST AS
    TYPE Num_LIST IS TABLE of NUMBER INDEX BY BINARY_INTEGER;
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER;
    END PACKAGE_TEST;
    CREATE OR REPLACE PACKAGE BODY PACKAGE_TEST AS
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER IS
    ln_sum NUMBER;
    BEGIN
    ln_sum := arg1 + arg2;
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION1;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER IS      
         ln_sum NUMBER;
    BEGIN
    ln_sum :=0;
         FOR i IN 1.. args.COUNT LOOP
         ln_sum := ln_sum + args( i );     
         END LOOP;     
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION2;     
    END PACKAGE_TEST;
    ++++++++++++++++++++++++++++++++++++++++
    Then I tried to import the package into OWB (9.2). The problem came: all the package body and
    the specification of TEST_FUNCTION1 were imported, but the package specification of
    TEST_FUNCTION2 couldn't be imported. The IMPORT FILTER gave an error message:
    "TEST_FUNCTION2: Argument Data type is not supported".
    How to resolve this problem? It is very import for our project, since we have to import some
    packages with user_defined collection data types as arguments.
    Thank you.
    Lushu

    Hi Lushu,
    Unfortunately this is indeed not supported and I would not know how to work around this one. The only way I guess that this would work is to not import it, and then use Expressions to call the function with inputs.
    Jean-Pierre

  • 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

  • How to import my own package in my jsp?

    I am doing aproject now. I have finished the java source file and complied them successfully. I want to package all of them and import this package in my jsp files. I copy all the .java and .class files to tomcat/webapps/projsp/WEB-INF/classes/ directory. I also write one line in my jsp file as following:
    <%@ page language= "java" import="java.sql.*,java.util.*,java.io.*,induction.*" %>
    My package named induction. I guess the problem is abput the class path. I don't know how can system find the package of mine. Hopefully, someone can help me!
    Below is The error information when I run my jsp:
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated.
    /usr/local/tomcat/work/DEFAULT/projsp/jsp/geography_1.java:9: Package induction not found in import.
    import induction.*;
    ^
    1 error, 1 warning
    at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
    at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
    at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
    at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
    at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
    at java.lang.Thread.run(Thread.java:536)

    Hi!
    Yes! You should create induction subdirectory in classes or
    archive induction subdirectory in a jar file and store it in lib
    subdirectory.
    Bye

  • How do I import packages beginning with org or com?

    Any time I try to import packages beginning with org or com, I am told that the class was not found in import. Specifically, I am trying to use SVG Graphics, and here are the import lines that are not working:
    import org.w3c.dom.*;
    import org.apache.xerces.dom.*;
    import com.sun.awt.svg.*;
    import org.apache.batik.svggen.SVGGraphics2D;
    import org.apache.batik.dom.GenericDOMImplementation;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMImplementation;
    What do I need to change, or what do I need to download in order to make this work?
    Thanx.
    -Tinclon

    First you need to have the jar files containing these packages. When you have these packages, you have to set your classpath for these jar files.
    -Dieter

  • Import package status with successful when all the data have been rejected

    Dear all,
       We use the import package to import some data files. We check that the status is successful , but all the data are rejected. Is it possible to set the status to error when there are reject records in the data file?
    Best Regards,
    Jeff

    Try to set the MAXREJECTCOUNT parameter in the transformation file to -1. This will create an error or warning if you have rejected records.
    Hope this helps.
    -Joost

  • Problem: package javax.servlet.jsp does not exist

    I am a novice JSP programmer. My projects that use any javax.servlet classes are not seeing those at all. I am working with a group of folks using Java SE 1.5. (Note: I'm using Windows so the directory separator is "\")
    What Used to work:
    1. Nearly all my projects were working using Java version 1.6. These projects were developed as examples from Wrox and Apress books about JSP and Struts.
    What has changed:
    1. I un-installed the version 1.6 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
    2. I installed version 1.5 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
    3. I updated my JAVA_HOME, CATALINA_HOME, CLASSPATH, and PATH environmental variables. I made sure that the path to servlet-api.jar (in the tomcat common\lib) is included in the classpath.
    What is wrong:
    1. References to javax.servlet.* are not satisfied--they are flagged in the source code in NetBeans and I get compiler errors with any project containing those references. For example:
    ... package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    What I've found:
    1. My CATALINA_HOME=C:\Java\Tomcat 5.5
    2. My JAVA_HOME=C:\Java\jdk1.5.0_11
    3. My CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;%JAVA_HOME%\lib\jsp-api.jar;%CATALINA_HOME%\common\lib\servlet-api.jar;C:\Java\logging-log4j-1.2.14\dist\lib\log4j-1.2.14.jar
    4. My PATH=c:\wint\BIN;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%CATALINA_HOME%\bin;C:\MySQL\MySQL Server 5.0\bin;D:\MiKTeX 2.5\miktex\bin;C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Bin;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Win32\Bin
    What I need:
    1. I need to have some reference to the servlet classes satisfied in my configuration. Any help is appreciated.
    thanks
    jondr

    Oh. I got some over-the-shoulder debug help.
    My error was in the classpath specification:
    The path: %JAVA_HOME%\lib\jsp-api.jar
    Should be: %CATALINA_HOME%\lib\jsp-api.jar
    That contains the javax.servlet.jsp.*
    Thimk.
    Message was edited by: jon
    jondr

  • Importing class in a jsp using Tomcat

    Hello All,
    Using Tomcat:
    I have class here:
    examples/WEB-INF/classes/ package/myclass.class
    I have a .jsp here:
    examples/JSPFolder/myjspfile.jsp
    I want to import the class into the jsp.
    I have tried the following combinations of importy lines based on previous posts on these boards and each have failed with same error:
    Unable to load class for JSP
    <%@ page import="myclass" %>
    <%@ page import="myclass.*" %>
    <%@ page import="package.myclass" %>
    <%@ page import="package.myclass.*" %>
    <%@ page import="WEB-INF/classes/package/myclass%>
    I have seen a number of posts for this same problem, and have tried those solutions as well, but none work. I am sure that this is simply a problem of finding the right directory, as I can successfully run the .jsp file iwhen I remove the import line.
    Can someone please help?

    There is a folder for shared packages
    tomcat_root\lib; or
    tomcat_root\common
    also most versions have a lib or common folder for each webapp for packages that are not to be shared.
    tomcat_root\webapps\appname\web-inf\lib
    Agreed that it is strange to allow servlets to import from the classes foler but not JSPs. It should make no difference but it is convension to place single classes in the same folder as the app's directory and packages (especially jar's) in the lib directory.

  • Importing classes for a jsp

    Hi,
    I'm trying to get a jsp working. This is part of the code of test.jsp:
    <%@page import="First, Second" %>
    <HTML>
    <HEAD>
    <TITLE>JSP Example 3</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFCC">
    <CENTER>
    <H2>Date and Time</H2>
    First.hello() is: <% First.hello(); %>
    Second.hi() is:  <% Second.hi(); %>
    </CENTER>
    </BODY>
    </HTML>This is the output of the compilation in Tomcat:
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    The import First cannot be resolved
    An error occurred at line: 7 in the generated java file
    The import Second cannot be resolved
    An error occurred at line: 9 in the jsp file: /date3.jsp
    First cannot be resolved
    6: <BODY BGCOLOR="#FFFFCC">
    7: <CENTER>
    8: <H2>Date and Time</H2>
    9: First.hello() is: <% First.hello(); %>
    10: Second.hi() is:  <% Second.hi(); %>
    11: </CENTER>
    12: </BODY>First.class and Second.class are the two files who share the directory with test.jsp
    I'm flabergasted with this error. As I am using very basic code for this example you would think it works (or is this error one of the NullPointerException kind?).
    Abel
    Edited by: Abel on Dec 12, 2007 6:21 AM
    Changed to a more basic type of example

    I found the answer myself ~:-).
    Add the files you want to import to a jar file
    * To be more precise, in the directory I have the jsp, I created first a directory WEB-INF, and in that directory created a directory lib, and finally created a directory test. I moved the two Java files to the test directory. I changed the Java files (added a package statement). So the configuration is now:
    <%@page import="test.*" %>
    <HTML>
    <HEAD>
    <TITLE>JSP Example 3</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFCC">
    <CENTER>
    <H2>Date and Time</H2>
    <%
       First first = new First();
       out.println ("First says: " + first.hello());
    %>
    </CENTER>
    </BODY>
    </HTML>And the two java files:
    package test;
    public class First {
         public String hello() {
              return ("Hello from First");
    package test;
    public class Second {
         public String hi() {
              return ("Hi from Second");
    }And finally I added the two classes I got after compilation to a jar file in the WEB-INF\lib directory:
    jar -cvf test.jar test\First.class test\Second.classI just explain what I did wrong, as I saw many comparable posts without an answer. And this basic problem can keep you away from the real work.
    Abel.

  • Problems with custom JSP Tag, can someone offer some advice?

    Greetings,
    I have a problem here that I am stumped on. I am trying to create a custom JSP tag, I created a simple "Hello World" JSP, however, I am coming up a bit short. I am running Apache Tomcat 6.0 on a Win XP environment.
    The code I have is as follows:
    TLDTest.tld:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.2</jspversion>
         <shortname>firstTag</shortname>
         <info>My First Tag</info>
    <!-- Here goes nothing!!! -->
    <tag>
         <name>hola</name>
         <tagclass>Hola</tagclass>
         <bodycontent>empty</bodycontent>
         <info>a simple hello tag</info>
    <!-- attributes -->
    <!-- Personalize the name -->
    <attribute>
         <name>name</name>
         <required>false</required>
         <rtexpvalue>false</rtexpvalue>
    </attribute>
    </tag>
    </taglib>
    The Hola.jsp is:
    <%@ taglib uri="/Hola" prefix="test" %>
    <html>
         <head>Just a little test on tags</head>
         <body>
              <hr />
              <test:Hola name="Woot Master" />
              <hr />
         </body>
    </html>
    And the source code for the .class file (named Hola) is:
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class Hola extends TagSupport
         private String name = null;
         public void setName(String value)
              name = value;
         public String getName()
              return(name);
    /* doStartTag is called and defined below here for the java tag */
         public int doStartTag()
              try
                   JspWriter out = pageContext.getOut();
                   out.println("<table border=1>");
                        if (name != null)
                             out.println("<tr><td> Hola " + name + "!" + "</td></tr>");
                        else
                             out.println("<tr><td> Hola! Porque tu es una piquito perra? </td></tr>");
              catch (Exception ex)
                   throw new Error("Dio's Mio!, Esta No Va!, tu problema es en la StartTag!!!");
              return SKIP_BODY;
    /* doEndTag is defined here. */
         public int doEndTag()
              try
                   final JspWriter out = pageContext.getOut();
                   out.println("</table>");
              catch (final Exception ex)
                   throw new Error("Oops, it's broken, check your coding in the End tag!!!");
    What I keep getting is the following error:
    org.apache.jasper.JasperException: /Hola/Hola.jsp(6,2) No tag "Hola" defined in tag library imported with prefix "test"
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
    I've been back and forth on this, but I am lost. Obviously I am missing something, but what is it? It wouldn't be in the web.xml file would it? I am running a vanilla tomcat install. Any help that anyone can provide would be greatly appreciated.
    Sincerely,
    - Josh

    Ok
    1 - In the JSP, your tag should be "hola" not "Hola". Yes case matters.
      <test:hola name="Woot Master" />2 - Importing the taglibrary correctly.
    Either reference its tld <%@ taglib uri="/WEB-INF/Hola.tld" prefix="test" %>
    (and have the tld file sitting in /WEB-INF/Hola.tld )
    or
    Define a uri for it in the tld...
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.2</jspversion>
    <shortname>firstTag</shortname>
    <uri>http://mytag/hola</uri>
    ...and then use that uri to import it in your JSP
    <%@ taglib uri="http://mytag/hola" prefix="test" %>
    3 - Put your tag class in a package. Classes not in packages have a way of not being found.
    package mypackage
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class Hola extends TagSupport {
    ...That will move it in your folder structure to be /mypackage/Hola.java
    You would also need to update the tagclass element in the tld to reflect the change:
    <tagclass>mypackage.Hola</tagclass>4 - Mistake in your tld: You are missing an "r" in "rtexprvalue". <rtexpvalue> should be <rtexp*r*value>
    5 - In your Tag class, you should return something from the "doEndTag()" method.
    return super.doEndTag(); or maybe return EVAL_PAGE;
    Revised code:
    WEB-INF/hola.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.2</jspversion>
         <shortname>firstTag</shortname>
         <uri>http://mytag/hola</uri>
         <info>My First Tag</info>
         <!-- Here goes nothing!!! -->
         <tag>
              <name>hola</name>
              <tagclass>mypackage.Hola</tagclass>
              <bodycontent>empty</bodycontent>
              <info>a simple hello tag</info>
              <!-- attributes -->
              <!-- Personalize the name -->
              <attribute>
                   <name>name</name>
                   <required>false</required>
                   <rtexprvalue>false</rtexprvalue>
              </attribute>
         </tag>
    </taglib>hola.jsp:
    <%@ taglib uri="http://mytag/hola" prefix="test"%>
    <html>
      <head>Just a little test on tags</head>
      <body>
        <hr />
        <test:hola name="Woot Master" />
        <hr />
      </body>
    </html>Hola.java. Compiles into WEB-INF/classes/mypackage/Hola.class
    package mypackage;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class Hola extends TagSupport {
         private String name = null;
         public void setName(String value) {
              name = value;
         public String getName() {
              return (name);
         /* doStartTag is called and defined below here for the java tag */
         public int doStartTag() {
              try {
                   JspWriter out = pageContext.getOut();
                   out.println("<table border=1>");
                   if (name != null)
                        out.println("<tr><td> Hola " + name + "!" + "</td></tr>");
                   else
                        out.println("<tr><td> Hola! Porque tu es una piquito perra? </td></tr>");
              } catch (Exception ex) {
                   throw new Error("Dio's Mio!, Esta No Va!, tu problema es en la StartTag!!!");
              return SKIP_BODY;
         /* doEndTag is defined here. */
         public int doEndTag() {
              try {
                   final JspWriter out = pageContext.getOut();
                   out.println("</table>");
                   return super.doEndTag();
              } catch (final Exception ex) {
                   throw new Error("Oops, it's broken, check your coding in the End tag!!!");
    }Cheers,
    evnafets

Maybe you are looking for

  • Won't boot up after update 10.4.7

    Help! I downloaded the update from 10.4.6 (didn't see if it was 10.4.7 but assume it was). Now I start up with a grey screen headed Panic(cpu 0 caller OX0019CAEF) unresolved kernel trap cpu 0 Type 6=invalid opcode) registers and on for many more line

  • Java Beans in 11g !

    Hi everyone, We are using 11gr2 Forms/Reports 64-bit on Windows Server 2008 64-bit. Now we want to use JAVA BEANS in our application. Suggest me link and steps for installing/using JAVA BEANS compatible for 11gr2 Forms/Reports. Kindly tell me benefit

  • What do I config in as 10.1.2 for webutil 106 in formsweb.cfg?

    there is a configure in formsweb.cfg,named own_config. [own_config] pageTitle=China Three Gorges Project Management System Developer align=left border=0 width=100% height=100% userid=@test separateFrame=True lookandfeel=Oracle logo=tgpms_logo.gif wor

  • DBA Studio 8.1.7 hangs at start on Windows 2000

    When I run DBA Studio 8.1.7 on my Windows 2000 machine, it nearly always hangs at the "Enterpise Manager" splash. Usually, I can leave it hung there and start another instance successfully. But not always. This did not happen under 8.1.6. I'm running

  • What role needs to be assigned to the user to access existing custom OData services?

    Hi all, What role needs to be assigned to the user to access existing custom OData services? With SAP ALL its working. But cannot assign that to all users. Whats the specific role for this? I tried with /IWFND/RT_GW_USER. But it says the role does no