Importing many packages

i had a question that does importing so many packages does effect to program at runtime time
and what role does JVM plays

importing many packages may impose a compile-time hit, but will not affect runtime performance. (Unless your Java compiler is doing some very strange things)
The JVM plays the role of sandbox for java applications. For more information, read some of the information from Sun's Java Virtual Machine Specification.
http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html

Similar Messages

  • How does APEX import a packaged APEX application

    I was wondering, if someone might help me to better understand how APEX imports a packaged application.
    The typical packaged application file looks like a simple SQL*Plus Script that needs to be processed by SQL*Plus from PL/SQL on the server.
    I would be most interested to understand how APEX handling this process because it might really help me (and probably many others) to improving our own installation process.
    Thank you in advance for any information!

    The documentation contains an entire chapter on Deploying an Application. This appears to be a good place to start.
    The tutorial How to Review a Packaged Application would also be worthwhile.
    (Please update your forum profile with a better handle than "user8607986".)

  • How to deal with delta queue when importing Support Package/Kernel Patch

    Hi,
    From my experience, when importing a Support Package for an installation, the system will issue an error message and get stuck if this Support Package is about to alter the structures used in delta loads.
    But I would like to double with you if there is possible that the support packet which is going to alter structure, but no error message. If so, the delta data will be lost.
    Do we need to clear down the delta queue every time we import support package?
    Anyway, is there anyone have any suggestions or steps regarding this question?
    Many Thanks
    Jonathan

    Hi,
    Delta queues during support package upgrade
    Its always better to drain the delta queues before an upgrade.
    As a standard practice we drain the delta queues by running the IP/ chain multiple times.
    As a prerequiste we cancel/reschedule the V3 jobs to a future date during this activity.
    The V3 extraction delta queues must be emptied prior to the upgrade to avoid any possible data loss.
    V3 collector jobs should be suspended for the duration of the upgrade.
    They can be rescheduled after re-activation of the source systems upon completion of the upgrade.
    See SAP Notes 506694 and 658992 for more details.
    Page 17
    Load and Empty all Data mart Delta Queues in SAP BW. (e.g. for all export DataSources)
    The SAP BW Service SAPI, which is used for internal and ‘BW to BW’ data mart extraction, is
    upgraded during the SAP BW upgrade. Therefore, the delta queues must be emptied prior to the
    upgrade to avoid any possibility of data loss.
    upgrade preparation and postupgrade checklist
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/472443f2-0c01-0010-20ab-fbd380d45881
    /message/3221895#3221895
    OSS notes 328181 and 762951 as a prerequisites.
    Failure to follow the instructions in those notes may probably result in data loss.
    https://websmp207.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002662832005E
    /thread/804820
    Effect on BW of R/3 Upgrade   
    How To Tackle Upgrades to SAP ERP 6.0
    /people/community.user/blog/2008/03/20/how-to-tackle-upgrades-to-sap-erp-60
    Start with the Why — Not the How — When You Upgrade to SAP ERP 6.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008dddd1-8775-2a10-ce97-f90b2ded0280
    Rapid SAP NetWeaver 7.0 BI Technical Upgrade
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0c9c8be-346f-2a10-2081-cd99177c1fb9
     https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2b3a272-0b01-0010-b484-8fc7c068975e
    Hope this helps.
    Thanks,
    JituK

  • SAP Ides ECC 6.0 Install: Import ABAP - Package SAPDODS Error - ORA-00903

    Experts,
    Good Morning!
    I'm trying to install SAP IDES ECC 6.0 version on a Windows 2008 R2 Server with Oracle 11g DB (11.2).
    System Info: 16GM RAM & 600GB Hdd. Prereqs passed.
    I'm getting the following error during the Import ABAP phase (16 of 29) in the sapinst log:
    "An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. "
    Here's the dump of import_monitor.java.log
    java version "1.4.2_32"
    Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.012)
    SAP Java Server VM (build 4.1.012 1.6-b03, Oct 21 2011 14:18:45 - 41_REL - optU - windows amd64 - 6 - bas2:161688 (mixed mode))
    Import Monitor jobs: running 1, waiting 1, completed 141, failed 0, total 143.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 141, failed 1, total 143.
    Here's the dump of import_monitor.log:
    INFO: 2014-07-05 13:42:53
    Data codepage 4103 is determined using TOC file 'C:\Target\Export1\DATA\D010TAB.TOC' for package 'D010TAB'.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is started.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPDODS' import package into database:
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    ERROR: 2014-07-05 13:42:54 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is interrupted with R3load error.
    Process 'C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPDODS.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: 2014-07-05 13:43:21
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2014-07-05 13:43:21
    1 error(s) during processing of packages.
    INFO: 2014-07-05 13:43:21
    Import Monitor is stopped.
    Here's the log of SAPDODS...
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140705134253
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
    Compiled Aug 16 2011 02:26:36
    patchinfo (patches.h): (0.098) DB6: correction for R3load PL 91 on HP-UX and SOLARIS (note 1609719)
    process id 1488
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/SQLFiles.LST
    (SQL) INFO: C:\Target\Export1\DB/SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file DODS.SQL
    (SQL) INFO: DODS.SQL not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: found C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: Trying to open C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: C:\Target\Export1\DB/ORA/DODS.SQL opened
    (DB) ERROR: DDL statement failed
    (DROP TABLE "/BI0/APERS_BOD00")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 903 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-00903 occurred at SQL stmt (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (  CREATE TABLE [/BI0/APERS_BOD00]         (  [TCTUSERNM] nvarchar(000012)          NOT NULL  ,           [TCTOBJVERS] nvarchar(000001)          NOT NULL  ,           [TCTSYSID] nvarchar(000010)          NOT NULL  ,           [TCTQUACT] nvarchar(000001)          NOT NULL  ,           [TCTOBJNM] nvarchar(000040)          NOT NULL  ,           [TCTTLOGO] nvarchar(000004)          NOT NULL  ,           [RECORDMODE] nvarchar(000001)          NOT NULL  ,           [TCTTIMSTMP] nvarchar(000014)          NOT NULL   )          WITH ( DATA_COMPRESSION = PAGE )   )
    DbSlExecute: rc = 99
      (SQL error 903)
      error message returned by DbSl:
    ORA-00903: invalid table name
    (DB) INFO: disconnected from DB
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140705134254
    FYI - A retry does not help. Also tried to search for the error on scn, google but haven't been able to find the right solution.
    Can you help?
    Regards,
    Cobain.

    Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
    Also, can you clarify the file update process:
    For R3load:
    a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
    b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
    Do i replace (a) with (b)?
    For R3trans:
    How do I update this file?
    - Cobain.

  • Import support package SAPKB70015 at PI System is stuck on IMPORT_PROPER

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request : SAPKB70015
    System : CXI
    tp path : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
    db call info
    function: db_report_interface
    fcode: UPDATE_REPORT
    tabname: TEXT
    len (char): 40
    key: /OSP/CL_CJS_CONTEXT===========CP
    retcode: 4
    Main import
    End date and time : 20081120021353
    Ended with return code: ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000 1 entry for TADIR updated (R3TRCLAS/OSP/CL_CJS_CONTEXT ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP A replaced.
    4 ETW000 dev trc ,00000 Thu Nov 20 02:13:53 2008 39924798 39.924798
    4 ETW000 http://dbsloci. ,00000 *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000 85 39.924883
    4 ETW000 dev trc ,00000 sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000 66 39.924949
    4 ETW000 dev trc ,00000 prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000 53 39.925002
    4 ETW000 dev trc ,00000 IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000 58 39.925060
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000 48 39.925108
    4 ETW000 dev trc ,00000 OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000 55 39.925163
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000 47 39.925210
    4 ETW000 dev trc ,00000 UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000 51 39.925261
    4 ETW000 dev trc ,00000 RETURNING "DATA" INTO :A4; 29 39.925290
    4 ETW000 dbrepolo ,00735 ***LOG BZY=>unexpected return code 2 calling dbrepolo#? @ 735
    4 ETW000 75 39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function: db_report_interface
    2EETW000 fcode: UPDATE_REPORT
    2EETW000 tabname: TEXT
    2EETW000 len (char): 40
    2EETW000 key: /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode: 4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time : "20081120021353"
    1 ETP111 exit code : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database = Oracle 10.2.0.2
    OS versions = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Iu2019ve updated database statistics and then try to reimport the package again. But It canu2019t import package.
    Are you still getting the same error after you retry the statistics update?

  • While Import support package getting error in R/3

    Hi All,
    I am getting one error following error while importing support package in R/3.
    Open data extraction requests
    The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
    Can Anybody aware of this error. How do I delete the open data extraction process specified here.
    Thx & Regds,
    SGK

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

  • Error getting while importing support package in R/3

    Hi All,
    I am getting one error following error while importing support package in R/3.
    Open data extraction requests
    The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
    Can Anybody aware of this error.
    Thx & Regds,
    SGK

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

  • Import support package SAPKB70015. Is stuck in IMPORT_PROPER phase

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request   : SAPKB70015
    System              : CXI
    tp path             : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
          db call info
    function:   db_report_interface
    fcode:      UPDATE_REPORT
    tabname:    TEXT
    len (char): 40
    key:        /OSP/CL_CJS_CONTEXT===========CP
    retcode:    4
    Main import
    End date and time : 20081120021353
    Ended with return code:  ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000   1 entry for TADIR updated  (R3TRCLAS/OSP/CL_CJS_CONTEXT                     ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP         A replaced.
    4 ETW000  [dev trc     ,00000]  Thu Nov 20 02:13:53 2008                         39924798  39.924798
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000                                                                              85  39.924883
    4 ETW000  [dev trc     ,00000]  sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000                                                                              66  39.924949
    4 ETW000  [dev trc     ,00000]  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000                                                                              53  39.925002
    4 ETW000  [dev trc     ,00000]  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000                                                                              58  39.925060
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000                                                                              48  39.925108
    4 ETW000  [dev trc     ,00000]  OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000                                                                              55  39.925163
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000                                                                              47  39.925210
    4 ETW000  [dev trc     ,00000]  UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000                                                                              51  39.925261
    4 ETW000  [dev trc     ,00000]  RETURNING "DATA" INTO :A4;                            29  39.925290
    4 ETW000  [dbrepolo    ,00735]  ***LOG BZY=>unexpected return code 2          calling            [dbrepolo#? @ 735]
    4 ETW000                                                                              75  39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function:   db_report_interface
    2EETW000 fcode:      UPDATE_REPORT
    2EETW000 tabname:    TEXT
    2EETW000 len (char): 40
    2EETW000 key:        /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode:    4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time   : "20081120021353"
    1 ETP111 exit code           : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database          = Oracle 10.2.0.2
    OS versions      = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Hello Karthik
    I know the list is long. Unfortunately I have never had such a long list of inactive objects in the system during an update or upgrade. But I believe you can make use of the mass activation program RADMASG0 to have them activated. The other option I can think of is to use the function module RS_INACTIVE_OBJECTS_LIST to list all the inactive objects and see whether they can be mass activated from there. I believe it is possible to activate all from there after selecting a block. (Never tried so I cannot guarantee).
    Regards
    RB

  • 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

  • Importing Inter-package classes

    hello
    I have never had this problem before but I just 'downgraded' to JDK 1.1.8 because the code will be used on my PDA. I am trying to import Inter-package classes but the compiler it cannot find the classes I've imported. This code was working perfectly in j2sdk1.4.2_02
    I think the code is right all files saved in folder graphs and beginning looks like this:
    package graphs;
    import graphs.AxisParameter;

    Yes they are in the same folder with 'package graphs;' in the 1st line,
    i've tried with and without package.class to no avail
    the exact errors i'm getting are
    without the package in front
    error: File .\CustomLabel.class does not contain type CustomLabel as expected, but type graphs.CustomLabel. Please remove the file or make sure it appears in the correct subdirectory of the class path
    with the graphs.CustomLabel i get the following errors
    error: Invalid class File formate: .\graphs\CustomLabel.class, wrong version: 46, expected 45
    2nd error: Class graphs.CustomLabel not found in import.

  • How to import a package in jsp

    i've searching here and i've not found answer to this, so i write it here.
    i've created a class to send mail, it imports the javax.mail.* and javax.activation.*, in a package named jspbeans.
    now, when i try to use this package in my jsp page (using tomcat), gives me the error:
    Package jspbeans not found in import
    import jspbeans.*;
    the code for my jsp page is:
    <%@ page language="java" %>
    <html>
    <head>
    <title>Sending mail from JSP</title>
    </head>
    <body>
    <%@ page import="jspbeans.*"%>
    <jsp:usebean id="sendmail" class="jspbeans.SendMail" scope="page"/>
    <jsp:setProperty name="sendmail" property="host" value="mail.wavelinksystems.com"/>
    <jsp:setProperty name="sendmail" property="to" value="[email protected]"/>
    <jsp:setProperty name="sendmail" property="from" value="[email protected]"/>
    <jsp:setProperty name="sendmail" property="msg" value="testing 1 2 3..."/>
    <jsp:setProperty name="sendmail" property="subject" value="test"/>
    <%//sendmail.send();%>
    <p>
    Mail has been sent to <jsp:getProperty name="sendmail" property="to"/>
    </body>
    </html>and the path of this jsp page is:
    C:\WINDOWS\Desktop\tomcat\jakarta-tomcat-3.3.1\webapps\ROOT\pruebas\jspMailTest.jsp
    the path for the package is:
    C:\WINDOWS\Desktop\tomcat\jakarta-tomcat-3.3.1\webapps\ROOT\pruebas\jspbeans
    what am i doing wrong?
    what am i missing?
    how do i have to import the package?
    thanks

    it generates a
    java.lang.NoClassDefFoundError: javax/mail/MessagingException
    i changed the package to that directory and the import generates no errors, if i do nothing but the import, and soem printing, the page is generated, but when i try to assign the variables, generates that error, why is it?

  • Problem with importing jsp packages

    Hi guys. I'm having a problem compiling a class that imports jsp packages.
    I'm getting errors along the lines of:
    C:\>javac HelloTag.java
    HelloTag.java:4: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    HelloTag.java:5: package javax.servlet.jsp.tagext does not exist
    import javax.servlet.jsp.tagext.*;
    - I've copied jsp-api.jar and servlet-api.jar to a folder that's in my path: C:\Program Files\Java\jre1.5.0_03\lib\ext
    Any suggestion?
    Thanks.

    U have to add the path into the classpath
    set CLASSPATH=%CLASSPATH%;jsp-api.jar ....
    the compile in the same cmd window
    Do not use the CLASSPATH environment variable. Use the -classpath option while compiling and specify the path to your jar file.
    javac -classpath <path to jar file> filename.javacheers,
    ram.

  • RSM2052 error after import Support Package SAPKW70022 in MSSQL Data Load

    Hi;
    I imported Support Package SAPKW70022 but after import data load from  MSSQL gives error RSM2052.
    How can I solve my problem.
    Best Regards.

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

  • Import and package does not exist

    I have a program and I wish to import a package that I've made. I have tried to do this with:
    import clientcode.*;but I keep getting the error message java:8: package clientcode does not exist
    I am completely new to Java and have no idea how to get around this. Please help

    Do you use ide or compile classes from command line?
    Most likely it's a classpath problem.

  • How to import Support Package 13(SAPKW70013) for SAP NetWeaver 2004s BI

    Hi,
    How to import Support Package 13 for SAP NetWeaver 2004s BI (BI Patch 13 or SAPKW70013)
    Note no for that is : 1019055.
    Thanks in Adavance,
    Dushyant.

    Hi,
    RTC for BI 7.0 SAP_BW SP 13 is scheduled in CW 21, that is coming week, after that you should be able to download it from service market place.
    @others: Dont get confused about SPS release with SP release. BI has intermediate release which is SP release, SPS is SP-Stack release (which is NetWeaver release).
    SP 12 correspond to SPS 12 which is sceduled CW 21.
    Hope this helps.
    Best Regards,
    Rajani

Maybe you are looking for

  • Help needed in converting a psd file to php layout

    I have a website Inspire2rise dot com . I recently came across a beautiful PSD file that I wanted to apply to my site's design. My site is based on WordPress. Is there any tool which can help me in converting the psd file to WordPress compatible them

  • CX_HRPA_INVALID_CUSTOMIZATION - No tax company info in table T5U0P

    Hello Gurus, We are upgrading from 4.6C to ECC 6. SAP has included new functionality in program SAPUP50R that throws an exception when trying to hire a new U.S. employee. It is a result of the table T5U0P not having a tax company. In 4.6 C this table

  • Automatic measures only in 1 color ink (script modification)

    Hi  all, I would need to modify this script so that put the measure already in es.. PANTONE Pantone 485 (solid coated), I need to change this string, but do not know how... thanks very much // measurement line color var color = new RGBColor;         

  • Help!  Need to cancel site subscription recurring payment!

    I need to cancel the recurring payment for our site: Site Subscription for: Awbury Arboretum (181344) 14-Jun-2013 681174 US$421.00 US$421.00 ref # 5311787501.  I thought I would be able to do this from the admin console, but I am not that tech-saavy.

  • Data Sheet for the TNT4882

    Where can I find a "real" data sheet for the TNT4882 that shows voltage levels, currents, setup times, etc.