Api en imp

Hi,
I am relative new to Java. I know the syntax and semantics.
I am interested in J2EE, therefore looking at JSF
I downloaded JSF from Sun. I got 2 jar files: jsf-api andf jsf-imp
My question(s):
- the jsf-api ---> to me it appears as a set of interfaces, real classes and abstract classes. Is this the way an java 'api' is 'delivered' generally?
- jsf-api ---> why are there both real classes AND abstract classes in it? (I would say an api just contains specifications (interfaces and abstract classes) and no implementations (=real classes))
- jsf-imp ---> can someone tell me what an implementation really means? Is it required to implement all the abstract classes which are in the api?
Thanks for your help.
Regards
Stephan

Worry about those things after you have learned JSF basics, its design and architecture.
You will naturally understand them, then.

Similar Messages

  • Why exactly is a JSF IMP and a API, what is the difference?

    Why exactly is a JSF IMP and a API, what is the difference?
    I understand that JavaServer Faces technology is a framework for building user interfaces for web applications with a set of APIs for UI components and a custom tag library for expressing a JavaServer Faces interface within a JSP page.
    But, why is there a jsf-impl.jar and a jsf-api.jar?
    A clarification would be appreciated.
    Thanks,

    CowKing: Thank you.
    In a discussion, when a developer refers to RI, they mean the jsf-api.jar only?
    I don't need the jsf-impl.jar in my compile class path nor in my SJSAS 8.2 domain library directory either?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Datapump exp and imp using API method

    Good Day All,
    I want to know what is the best way of error handling of datapump export and Import using API. I need to implement in my current project as there lot of limitations and the only way to see the process worked is writing the code with error handling method using exceptions. I have seen some examples on the web but if there are practicle examples or good links with examples that will work sure way, I would like to know and explore. I have never used API method so I am not sure of it.
    Thanks a lot for your time.
    Maggie.

    I wrote the procedure with error handling but it does not out put any information of the statuses while kicking off the expdp process. I have put dbms_output.put_line as per oracle docs example but it doesnt display any messages, just kicks off and created dumpfiles. As a happy path its ok but I need to track if something goes wrong. I even stated set serveroutput on sqlplus. It doesnt even display if job started. Please help me where I made a mistake to display the status . Do I need to modify or add anything. Help!!
    CREATE OR REPLACE PROCEDURE SCHEMAS_EXPORT_TEST AS
    --Using Exception Handling During a Simple Schema Export
    --This Proceedure shows a simple schema export using the Data Pump API.
    --It extends to show how to use exception handling to catch the SUCCESS_WITH_INFO case,
    --and how to use the GET_STATUS procedure to retrieve additional information about errors.
    --If you want to get status up to the current point, but a handle has not yet been obtained,
    --you can use NULL for DBMS_DATAPUMP.GET_STATUS.http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_api.htm
    h1 number; -- Data Pump job handle
    l_handle number;
    ind NUMBER; -- Loop index
    spos NUMBER; -- String starting position
    slen NUMBER; -- String length for output
    percent_done NUMBER; -- Percentage of job complete
    job_state VARCHAR2(30); -- To keep track of job state
    sts ku$_Status; -- The status object returned by get_status
    le ku$_LogEntry; -- For WIP and error messages
    js ku$_JobStatus; -- The job status from get_status
    jd ku$_JobDesc; -- The job description from get_status
    BEGIN
    h1 := dbms_datapump.open (operation => 'EXPORT',job_mode => 'SCHEMA');
    dbms_datapump.add_file (handle => h1,filename => 'SCHEMA_BKP_%U.DMP',directory => 'BKP_SCHEMA_EXPIMP',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
    dbms_datapump.add_file (handle => h1,directory => 'BKP_SCHEMA_EXPIMP',filename => 'SCHEMA_BKP_EX.log',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    ---- A metadata filter is used to specify the schema that will be exported.
    dbms_datapump.metadata_filter (handle => h1, name => 'SCHEMA_LIST',value => q'|'XXXXXXXXXX'|');
    dbms_datapump.set_parallel( handle => h1, degree => 4);
    -- Start the job. An exception will be returned if something is not set up
    -- properly.One possible exception that will be handled differently is the
    -- success_with_info exception. success_with_info means the job started
    -- successfully, but more information is available through get_status about
    -- conditions around the start_job that the user might want to be aware of.
    begin
    dbms_datapump.start_job (handle => h1);
    dbms_output.put_line('Data Pump job started successfully');
    exception
    when others then
    if sqlcode = dbms_datapump.success_with_info_num
    then
    dbms_output.put_line('Data Pump job started with info available:');
    dbms_datapump.get_status(h1,
    dbms_datapump.ku$_status_job_error,0,
    job_state,sts);
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    dbms_output.put_line(le(ind).LogText);
    ind := le.NEXT(ind);
    end loop;
    end if;
    end if;
    else
    raise;
    end if;
    end;
    -- The export job should now be running. In the following loop, we will monitor the job until it completes.
    -- In the meantime, progress information is displayed.
    percent_done := 0;
    job_state := 'UNDEFINED';
    while (job_state != 'COMPLETED') and (job_state != 'STOPPED') loop
    dbms_datapump.get_status(h1,
    dbms_datapump.ku$_status_job_error +
    dbms_datapump.ku$_status_job_status +
    dbms_datapump.ku$_status_wip,-1,job_state,sts);
    js := sts.job_status;
    -- If the percentage done changed, display the new value.
    if js.percent_done != percent_done
    then
    dbms_output.put_line('*** Job percent done = ' ||to_char(js.percent_done));
    percent_done := js.percent_done;
    end if;
    -- Display any work-in-progress (WIP) or error messages that were received for
    -- the job.
    if (bitand(sts.mask,dbms_datapump.ku$_status_wip) != 0)
    then
    le := sts.wip;
    else
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    else
    le := null;
    end if;
    end if;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    dbms_output.put_line(le(ind).LogText);
    ind := le.NEXT(ind);
    end loop;
    end if;
    end loop;
    -- Indicate that the job finished and detach from it.
    dbms_output.put_line('Job has completed');
    dbms_output.put_line('Final job state = ' || job_state);
    dbms_datapump.detach (handle => h1);
    -- Any exceptions that propagated to this point will be captured. The
    -- details will be retrieved from get_status and displayed.
    Exception
    when others then
    dbms_output.put_line('Exception in Data Pump job');
    dbms_datapump.get_status(h1,dbms_datapump.ku$_status_job_error,0, job_state,sts);
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    spos := 1;
    slen := length(le(ind).LogText);
    if slen > 255
    then
    slen := 255;
    end if;
    while slen > 0 loop
    dbms_output.put_line(substr(le(ind).LogText,spos,slen));
    spos := spos + 255;
    slen := length(le(ind).LogText) + 1 - spos;
    end loop;
    ind := le.NEXT(ind);
    end loop;
    end if;
    end if;
    END SCHEMAS_EXPORT_TEST;

  • Error executing CIS APIs on content server

    Hi I am trying to execute the client samples that came with the CIS jarfiles. All the files are getting terminated with this error..
    oracle.stellent.ridc.protocol.ProtocolException:java.io.IOException: Input terminated before being able to read line
    the error is in the getResponseAsBinder method call.
    I am using eclipse to execute these class files...
    Plz let me know if I am missing some imp configurations etc.
    Regards
    Jo

    Hey jogeo,
    Are you getting any errors in your content server logs? Or in the Server System Output?
    I've seen a similarly vague error from the CIS api's when either my content server wasn't running, the conneciton to the content server db had timed out, or I didn't have my SocketHostAddressSecurityFilter set correctly in config.cfg.
    If you could post any errors from the two places I mentioned above we could probably narrow down the issue.
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • IMP-00017 / ORA-22851 - Please help me

    Sir,
    Please help me to solve this import error.
    ===================================
    IMP-00017: following statement failed with ORACLE error 22851:
    "CREATE TABLE "LOAN" ("LOAN_ID" NUMBER(11, 0) NOT NULL ENABLE, "USERNAME" VA"
    "RCHAR2(12), "PRODUCT_ID" NUMBER(11, 0), "PROPERTY_ID" NUMBER(11, 0), "PRICE"
    "_ID" NUMBER(11, 0), "LOANNUMBER" VARCHAR2(20), "COMMITMENTNUMBER" VARCHAR2("
    "20), "MASTERCOMMITMENTNUMBER" VARCHAR2(10), "SELLERLOANNUMBER" VARCHAR2(25)"
    ", "ORG_ID" NUMBER(11, 0), "LOANAMOUNT" NUMBER(15, 2), "LTV" NUMBER(9, 3), ""
    "CLTV" NUMBER(9, 3), "HCLTV" NUMBER(9, 3), "TERM" NUMBER(4, 0), "AMORTIZATIO"
    "N_TERM" NUMBER(4, 0), "AMORTIZATION_TYPE" VARCHAR2(25), "DOCTYPE" VARCHAR2("
    "50), "LOANPURPOSE" VARCHAR2(50), "STATUS_ID" NUMBER(11, 0), "DATEMODIFIED" "
    "DATE, "APPDATE" DATE, "ESTCLOSEDATE" DATE, "SPECIALPROGRAM" VARCHAR2(25), ""
    "IND_FICO" NUMBER(5, 0), "FEES_STR" VARCHAR2(256), "MIN" VARCHAR2(18), "FRON"
    "T_END_RATIO" NUMBER(15, 3), "BACK_END_RATIO" NUMBER(15, 3), "AU_DECISION" V"
    "ARCHAR2(255), "DU_CASE_NUMBER" VARCHAR2(18), "LIENPOSITION" NUMBER(3, 0), ""
    "DUEINMONTHS" NUMBER(3, 0), "REQUESTEDRATE" NUMBER(8, 4), "REQUESTEDMARGIN" "
    "NUMBER(8, 4), "PIGGYBACKINDC" VARCHAR2(1), "BU_BD_ADJUSTMENT" NUMBER(8, 4),"
    " "TEASER_RATE" NUMBER(8, 4), "RBR_ADJUSTMENTS" NUMBER(8, 4), "REQUIRED_BASE"
    "_RATE" NUMBER(8, 4), "REQUESTED_BASE_RATE_MARGIN" NUMBER(8, 4), "REGISTRATI"
    "ON_DATE" DATE, "PERCENT_AMT_BU_BD" NUMBER(8, 4), "LOANINDEX" NUMBER(5, 3), "
    ""ARM_MARGIN" NUMBER(6, 3), "PKG_FILE_RCVD_DATE" DATE, "UW_CREDIT_DECISION_D"
    "ATE" DATE, "UW_CREDIT_DECISION" VARCHAR2(15), "UW_RCVD_DATE" DATE, "SENIOR_"
    "LIEN_BALANCE" NUMBER(15, 2), "JUNIOR_LIEN_BALANCE" NUMBER(15, 2), "LOAN_TYP"
    "E" VARCHAR2(100), "PREPAYMENT_PENALTY" VARCHAR2(10), "MORTGAGE_HISTORY" VAR"
    "CHAR2(200), "ESCROWS_FLAG" VARCHAR2(20) NOT NULL ENABLE, "BUYDOWN_TYPE" VAR"
    "CHAR2(20), "MAX_QUALIFYING_RATE" NUMBER(15, 2), "MAX_CASH_OUT" NUMBER(15, 2"
    "), "LENDER_UW_CONTACT_NAME" VARCHAR2(200), "LENDER_UW_CONTACT_PHONE" VARCHA"
    "R2(200), "LENDER_UW_CONTACT_EMAIL" VARCHAR2(200), "CASEFILE_NUMBER" VARCHAR"
    "2(50), "LOAN_FILE" CLOB, "FLAG_1003" VARCHAR2(5), "INSERT_ID" VARCHAR2(20),"
    " "INSERT_DATE" DATE, "UPDATE_ID" VARCHAR2(20), "UPDATE_DATE" DATE) PCTFREE"
    " 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 F"
    "REELIST GROUPS 1) TABLESPACE "TS_SMALL" LOGGING NOCOMPRESS LOB ("LOAN_FILE""
    ") STORE AS (TABLESPACE "TS_LARGE" ENABLE STORAGE IN ROW CHUNK 65536 PCTVER"
    "SION 10 NOCACHE STORAGE(INITIAL 67108864 FREELISTS 1 FREELIST GROUPS 1))"
    IMP-00003: ORACLE error 22851 encountered
    ORA-22851: invalid CHUNK LOB storage option value
    ========================================

    CHUNK
    A chunk is one or more Oracle blocks. You can specify the chunk size for the LOB when creating the table that contains the LOB. This corresponds to the data size used by Oracle Database when accessing or modifying the LOB value. Part of the chunk is used to store system-related information and the rest stores the LOB value. The API you are using has a function that returns the amount of space used in the LOB chunk to store the LOB value. In PL/SQL use DBMS_LOB.GETCHUNKSIZE. In OCI, use OCILobGetChunkSize().
    Note:
    If the tablespace block size is the same as the database block size, then CHUNK is also a multiple of the database block size. The default CHUNK size is equal to the size of one tablespace block, and the maximum value is 32K.
    Table 4-4 Data Size and CHUNK Size
    Data Size CHUNK Size Disk Space Used to Store the LOB Space Utilization (Percent)
    3500 enable storage in row irrelevant 3500 in row 100
    3500 disable storage in row 32 KB 32 KB 10
    3500 disable storage in row 4 KB 4 KB 90
    33 KB 32 KB 64 KB 51
    2 GB +10 32 KB 2 GB + 32 KB 99+ Go Through Below Link for more info.
    >>>http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006587
    M.S.Taj

  • Does buffer cache size matters during imp process ?

    Hi,
    sorry for maybe naive question but I cant imagine why do Oracle need buffer cache (larger = better ) during inserts only (imp process with no index creation) .
    As far as I know insert is done via pga area (direct insert) .
    Please clarify for me .
    DB is 10.2.0.3 if that matters :).
    Regards.
    Greg

    Surprising result: I tried closing the db handles with DB_NOSYNC and performance
    got worse. Using a 32 Meg cache, it took about twice as long to run my test:
    15800 seconds using DB->close(DB_NOSYNC) vs 8200 seconds using DB->close(0).
    Here is some data from db_stat -m when using DB_NOSYNC:
    40MB 1KB 900B Total cache size
    1 Number of caches
    1 Maximum number of caches
    40MB 8KB Pool individual cache size
    0 Maximum memory-mapped file size
    0 Maximum open file descriptors
    0 Maximum sequential buffer writes
    0 Sleep after writing maximum sequential buffers
    0 Requested pages mapped into the process' address space
    26M Requested pages found in the cache (70%)
    10M Requested pages not found in the cache (10811882)
    44864 Pages created in the cache
    10M Pages read into the cache (10798480)
    7380761 Pages written from the cache to the backing file
    3452500 Clean pages forced from the cache
    7380761 Dirty pages forced from the cache
    0 Dirty pages written by trickle-sync thread
    10012 Current total page count
    5001 Current clean page count
    5011 Current dirty page count
    4099 Number of hash buckets used for page location
    47M Total number of times hash chains searched for a page (47428268)
    13 The longest hash chain searched for a page
    118M Total number of hash chain entries checked for page (118169805)
    It looks like not flushing the cache regularly is forcing a lot more
    dirty pages (and fewer clean pages) from the cache. Forcing a
    dirty page out is slower than forcing a clean page out, of course.
    Is this result reasonable?
    I suppose I could try to sync less often than I have been, but more often
    than never to see if that makes any difference.
    When I close or sync one db handle, I assume it flushes only that portion
    of the dbenv's cache, not the entire cache, right? Is there an API I can
    call that would sync the entire dbenv cache (besides closing the dbenv)?
    Are there any other suggestions?
    Thanks,
    Eric

  • Exp/Imp Java Code from 8.1.5 to 8.1.6/7

    We ran a dump (exp) on an 8.1.5. This dump throws an error while imported in the 8.1.6 and the JAVA code is apparently not imported into the 8.1.6. We tried the 8.1.7 as well, similar result. Any incompatibilities between 8.1.5 exp's and 8.1.6 imp's?

    The document Oracle8i Release 2 New Features Summary - November, 1999 states:
    "Release 2 includes the Oracle XML Parser for Java, where the Java XML parser classes (DOM/SAX APIs) are pre-loaded into Oracle JServer."
    Is this not true for early versions of
    8.1.6 ?
    Answer please
    Franz

  • RE: [REQ] Assisted management tools/methods for planshierarchies(imp/ex

    Hi William, and all fort&eacute; subscribers.
    Thanks for your answers.
    To discuss on honest basis, let's say we don't plan to buy any product yet.
    But the 'small' fort&eacute; code management is source of many problems.
    We're interfacing the 'workspaces handling' with text-based source control
    tools, and this (can) allows proper 'control'. Shame we can't build fort&eacute;
    applications from proper text files :)
    Our issues are more about understanding the hierarchy between projects when
    it's not documented. Therefore, quite a reverse-engineering point of view,
    despite we stay in a " forte TOOL code " level.
    For your information, we have Select, used as " reference " model, and as
    interface to Express.
    For the Issues I've expressed, here's my (current) status.
    I learned 'b-tree' repositories have become standard for 3.0 (despite 2.0 had many),
    and therefore we're extremely waiting for 'R.4.0' code management.
    We've got a way to " visualize " plans depandancies from an exported workspace,
    but this doesn't allow 'update' (lacks fort&eacute; workspace cross-verification facility).
    We've got another way to export a 'workspace' in both 'wex' and set of 'pex's,
    and building the import script from the wex file using an intelligent grep/sed script.
    Thanks for all your suggestions,
    J-Paul GABRIELLI
    Integration Engineer
    De: William Poon[SMTP:[email protected]]
    Date d'envoi: vendredi 10 juillet 1998 16:58
    A: 'Jean-Paul GABRIELLI'
    Cc: John Apps; Forte -- Development
    Objet: RE: [REQ] Assisted management tools/methods for plans hierarchies(imp/exports, supplier plans management & external APIs control)
    Hi Jean-Paul,
    One of our consultants has forwarded your message to me. I am
    extremely interested in learning more about your requirement. I am the
    lead engineer in the Compaq-Digital enterprise organization building
    component based development tools. Following are some of my thoughts as
    well as questions.
    William Poon, Compaq-Digital
    -----Original Message-----
    From: John Apps
    Sent: Friday, July 03, 1998 6:40 AM
    To: Forte -- Development
    Subject: FW: [REQ] Assisted management
    tools/methods for plans hierarchies (imp/exports, supplier plans
    management & external APIs control)
    From the Forte-Users newslist: I think this person is
    looking for CBD tools?! Perhaps William has an answer out of his
    research?
    Cheers,
    From: Jean-Paul
    GABRIELLI[SMTP:[email protected]]
    Reply To: Jean-Paul GABRIELLI
    Sent: Friday, July 03, 1998 11:28
    To: '00 Forte Mailinglist'
    Subject: [REQ] Assisted management tools/methods
    for plans hierarchies (imp/exports, supplier plans management & external
    APIs control)
    Hi,
    I'm looking for cross-projects investigation tools, to
    provide graphical understanding and management of
    fort&eacute; source code. Viewing/updating plans dependencies,
    as well as managing external APIs calls are my
    requirements.
    I am not clear about this question. But I will give my best shot. Are
    you looking for some form of "source profiling" or "reverse engineering"
    tool where by it reads the Forte TOOL code and turn that into UML which
    then can be displayed in graphical form. My understanding is that
    SELECT's Enterprise has this capability for C/C++ code. They also work
    closely with Forte so they might have something that will work with TOOL
    code.
    In order to manage international developments between
    sites, applications have been split into 'components'.
    Therefore, and to keep it simple, each component comes
    out of a separate dedicated repository.
    At integration and build time, those sets of source code
    are merged together, supplier plans updated and
    fort&eacute; applications built.
    Controlling UUIDs at export time keeps simple the reload
    of new delivered versions.
    But my issue is in the physical process to actually
    (get) deliver(ed) those sets of source code.
    Fort&eacute; fscript allows to export classes, plans, or
    workspaces.
    Only 'plan exports' (pex) can provide a way to only
    deliver plans which have to be delivered.
    (i.e. without test projects, stubs or third party
    products plans which could be part of the workspace).
    Therefore, whereas an export script can easily be
    automated (list plans, and then for each plan find it
    and then export it with a meaningful name), the import
    process can't, because of plans dependancies.
    In order to assist that process, I would like to know if
    any of you did find ways to :
    1) Display in a tree view the plans hierarchy for a given
    workspace, or for a given repository baseline
    I don't think you can do it in Forte 3.0. But my I understanding is
    that they will have this capability in Forte 4.0. But Forte people will
    have more information.
    2) Export from a given workspace plans as separate
    files, as well as related import script (with proper sequence)
    3) Get from a set of pex files a plans hierarchy and a
    proper import script.
    Current workaround has been first to 'batch load' all
    the pex files until having them all loaded
    (first go loads top providers, then more and more as
    dependancies are resolved).
    Another one has been spending time grep'ing from pex
    files the 'includes' lines and designing on paper
    the tree. But that's long and evolving.
    Thanks for ideas and suggestions,
    J-Paul GABRIELLI
    Integration Engineer
    France
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Maybe Hamish Speirs can explain it - it was his post in another thread that gave me the idea and commands to try (see http://forums.novell.com/forums/nove...r-10038-a.html).
    We had a confluence of changes at the beginning of the semester (Sept) that no doubt helped contribute to the problem and yet also mask the real cause to a certain extent.
    1. The Thawte cert expired and was replaced with a new cert - Thawte does not support doing renewals on NetWare. This happened around the start of Sept.
    2. School semester begins. Thousands of students return.
    3. We use Pcounter for pay-for-print and it uses httpstk to provide a webpage for students to authorize print jobs.
    4. Printing activity in general goes way up.
    5. All printers are Secure.
    6. Apache, iPrint and httpstk all use the same Thawte certificate
    7. The print server was also hosting the netstorage service which also uses the Thawte cert (via apache).
    8. The print server was recently (August) virtualized (via p2v using the excellent Portlock Storage Manager)
    Eventually I built a new NetWare vm to host print services and got a new cert so at least the netstorage and print services were no longer running together. I suspected at that point that the likely source of the abends was NetStorage since Nile and SSL were almost always involved in the abends.
    After the separation the issues continued - so it wasn't netstorage's fault. Desparate searching of the 'net lead to H.'s post. The rest is history!
    It has now been 9 days up uptime without a single nile/ssl related abend ( I had one abend in pcounter but services survived).
    Ron
    "Seasoned Greasings and Happy New Rear!"

  • Granting exp/imp privilege to externally authenticated user

    DB version:11.2.0.2
    OS : AIX 6.1
    We have a DB User(schema) called OPS$appuser who is externally authenticated.
    This user should be granted privilege to perform import of scott schema's dumpfile to another schema called appschema2.
    This is what appuser will be doing at the unix command line
    $ su - appuser
    $ exp / owner=scott file=scott.dmp
    $ imp / file=scott.dmp fromuser=scott touser=appschema2in short these are the DB schemas involved
    OPS$appuser -- The user performing the exp and imp
    scott       -- The schema which is being exported
    appschema2  -- The schema which OPS$appuser imports the contents in scott.dmp to.Due to security reasons, we can't grant IMP_FULL_DATABASE privilege to OPS$appuser. So, what privilege can I give to OPS$appuser to perform the above exp and imp tasks?
    Hope the exp and imp sytax i've mentioned above are correct

    None,as imp_full_database is required for this.
    Also you would better use expdp and impdp using the network_link parameter.
    Doing so, you could write a pl/sql procedure using the dbms_data_pump API to replace the command line cr*p and there will be no commandline access required anymore.
    Sybrand Bakker
    Senior Oracle DBA

  • Please help me about WSDL4J API

    hello
    I have been trying to generate a WSDL file by use WSDL4J API like this
    <definitions
    name="FindWineService"
    targetNamespace="http://Findwine.org/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://Findwine.org/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://Findwine.org/" location="http://localhost:8080/FindWine/FindWineService?WSDL"/>
    <plnk:partnerLinkType name="FindWine_PL">
    <plnk:role name="FindWine_Role">
    <plnk:portType name="tns:FindWine"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    but i have some problem. i want to know how to generate this part by use WSDL4J API
    <plnk:partnerLinkType name="FindWine_PL">
    <plnk:role name="FindWine_Role">
    <plnk:portType name="tns:FindWine"/>
    </plnk:role>
    </plnk:partnerLinkType>
    this is my implementation in java code.
    public class Test {
         public static void main (String args[]){     
              try{
                   String tns = "http://Findwine.org/";
                   String bpws = "http://schemas.xmlsoap.org/ws/2003/03/business-process/";
                   String plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/";
                   String xsd="http://www.w3.org/2001/XMLSchema";
                   String xmlns="http://schemas.xmlsoap.org/wsdl/";
                   WSDLFactory factory1 = WSDLFactory.newInstance();
                   Definition def = factory1.newDefinition();
                   WSDLWriter writer1 = factory1.newWSDLWriter();
                   def.setQName(new QName(tns, "FindWineService"));
                   def.setTargetNamespace(tns);
                   def.addNamespace("tns", tns);
                   def.addNamespace("xsd", xsd);
                   def.addNamespace("bpws", bpws);
                   def.addNamespace("plnk", plnk);
                   Import imp = def.createImport();
                   imp.setLocationURI("http://localhost:8080/FindWine/FindWineService?WSDL");
                   imp.setNamespaceURI(tns);
                   def.addImport(imp);
                   writer1.writeWSDL(def, System.out);
    }catch(Exception Ex){
              Ex.printStackTrace();
    current output:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="FindWineService" targetNamespace="http://Findwine.org/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:tns="http://Findwine.org/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="http://Findwine.org/" location="http://localhost:8080/FindWine/FindWineService?WSDL"/>
    // i can't generate this part
    </definitions>
    thank you,
    termmy

    Hi
    I'm using jdk 1.3 - Jbuilder5
    my class path is pointing to tools.jar in the jdk/lib
    and i can access the -import java.awt.print.*;
    but i cannot access
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    do i have to add some jar files to my class path???
    Thanks

  • Unable to capture user comments and responder in RESPOND API

    We are building a custom application that uses Oracle Workflow underneath. The application users and responsibilities have been integrated into Workflow. Notifications are acknowledged and responded to directly from the application using the PL/SQL Notification APIs.
    When using the wf_notification.respond API with the appropriate user and comment information filled in, we are still unable to capture the responder information as well as the reponders comments. In other words, the RESPONDER and USER_COMMENT fields in the WF_NOTIFICATION is blank. However, the response does seem to go through otherwise. Do we need to set some kind of user context outside of just setting the response attributes and calling the respond API? Following is the code....
    owf_mgr.wf_notification.setattrtext(p_nid,
                   'RESULT'          ,
                   'APPROVED');
    -- This procedure then caused the WF to advance to next step
    -- Respond to notification, depends on RESULT setattrtext above
    owf_mgr.wf_notification.respond(     p_nid, -- notification id     
         p_respond_comment,     -- response_comment
    p_responder     );     --responder role
    Any help is greatly appreciated.
    Thanks,
    Raj

    If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
    Thanks, Vijay

  • SR Log Error - |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException

    Hi,
    We are getting below errors in /nwa/logs. We have our PI (7.11) and Service Registry configured on the same server. And have out CE (7.2) system connected to this service registry. Does any one has similar experience? Please let me know if you have any solution for the same.
    SR Log Error
    |  11-Nov-11  14:10:45.568
    |  Method   : getClassificationSystems()
    |  Class    : com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean
    |  ThreadID : 146
    |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException: No classification system found for ID 'QName: Namespace= http://uddi.sap.com/classification; Name=  ConfigurationFlags'
    |
    |       com.sap.esi.uddi.sr.impl.common.Utility.cs2srException(Utility.java:122)
    |       com.sap.esi.uddi.sr.impl.ejb.ServicesRegistryBean.getClassificationSystems(ServicesRegistryBean.java:242)
    |       sun.reflect.GeneratedMethodAccessor1325.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    |       $Proxy1087.getClassificationSystems(Unknown Source)
    |       com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean.getClassificationSystems(ServicesRegistrySiImplBean.java:456)
    |       sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:512)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:486)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:256)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:176)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:112)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:70)
    |       SoapServlet.doPost(SoapServlet.java:51)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    |       com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:245)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    |       com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    |       com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    |       com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    |

    Hi,
    Refer Error:Service Registyr Configuration PI 7.11
    and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8071b1b8-3c5c-2e10-e7af-8cadbc49d711?QuickLink=index&overridelayout=true
    Thanks,
    Chandra

  • Is There any API in receivables payment will made against closed invoices ?

    Hi ALL,
    i have requirement as below.
    i am doing AR Invoice Data Migration for Instance 11.5.5 (as a Source Instance) to the new instance R12 (as a target instance).
    Both open and closed invoices will have to be migrated from 11.5.5 to R12 to provide the drill down facility for audit purpose.
    To meet the above requirement all the open and closed invoice will be picked up from 11.5.5 ; and imported into R12..
    Subsequently, full payment will be made in R12 against all closed invoices in 11.5.5 to close those invoices by using any APIs?
    can some one explain is there any API in receivables payment will made against closed invoices.
    Thanks,
    VSR.

    Hi,
    Can you be clear on your question: You want any API to make payment against closed invoices?
    To me, You are making things complex. We can achieve the Migration of Closed invoices using following two procedures:
    Procedure: 1
    Ask Functional Guy to create a Transaction Type 'Closed Invoices' with Open to Receivables Flag not checked. +(You can uncheck Post to GL flag also, if required depending on your migration strategy)+. Status at Transaction Type if taken as 'Closed' it will be appropriate.
    Invoices migrated using this Transaction Type shall not be shown as Outstanding but will be useful for Audit.
    Procedure: 2
    Consider the amount due Original of Closed Invoices and migrate them with the amount as Amount due remaining.
    While migrating populate Receipt Method,Payment Method and Instruments useful for Automatic Receipts.
    Once Create Automatic Receipts Program is run, it will close all these invoices. Note: We require dummy bank here which points to a Clearing account.
    Automatic Receipts program is also an API.
    In the above 2 ways, we are acheiving the Goal by using Functional knowledge rather than Technical. And I think following Functional way is better and less time consuming.
    Please discuss with your Functional consultant if required. You can succeed.
    Regards,
    Sridhar

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

  • Error While trying to Convert a Date Value to string in POI API (Excel)

    Hi
    How can I convet a date value in excel to string value ? I am using POI API for excel sheet reading in JSP .

    Hello Esther,
    the problem seems to be that the temp folder of the target Integration Builder system can't be found:
    'The system cannot find the path specified
    at [..] FileAccess.getTempDirectory([..])'.
    You'll experience the same problem if you try a file based import or export within the Integration Builder directly.
    I would recommend to continue the search there. You could check if the environment variables (for Windows: TEMP and TMP) of the OS of the system with the target Integration Builder to an existing path. Check also if the WebAs can access this path.
    Good luck
    Frank

Maybe you are looking for

  • Creating EJB 3.0 project using Eclipse - Urgent

    Hi, Im new to EJB 3.0 and i need a urgent help please. I have created a EJB Project that uses JPA to Fetch data from Oracle 10g DB. But the problem is how to i get this project connect to DB? where do i need to do the Datasource maping and what would

  • IMac Won't Allow Me To Install Applications Or Even Open Folders

    I have an iMac Intel Core Duo 2.33 GHz, with 2GB of Ram running 10.5.4. When I booted my Mac last week I noticed a brown area on my screen. After the machine booted I could only open the applications that were in my dock or do a search for them throu

  • Error when installing Premier 9 to Mac

    I am attempting to install my Adobe Premier Elements 9 from my disc (not purchased from Adobe, but from Amazon).  The computer recognizes the disc and when it begins installation it spits the disc out and shows this error message. Exit Code: 7 ------

  • Is it possible to install dsee7 into a solaris 10 sparse zone?

    hello all, i'm trying to install DSEE7 on a Sun T2000 (solaris 10 sparc) into a zone. The following command never returns: ldap1-root% /local/dsee7/bin/dsccsetup status DSCC Agent is not registered in Cacao DSCC Registry has not been created yet ldap

  • ABAP Code + API

    Hello Friends, I have to write a method in ABAP equivelent to java method, here is the jave source code. private String constructID(String id)     StringBuffer str = new StringBuffer("0000000000");     str.append(id);     return str.substring(id.leng