FRM-40508 cannot insert

I have a table block. If I record a row in that record, it records.
But if I fill more then a lines of the block it saye FRM-40508 impossible to insert. How do I solve this

Gul says:
I have a table block. If I record a row in that record, it records.
But if I fill more then a lines of the block it saye FRM-40508 impossible to insert. How do I solve this

Use the Menu Option or a key error display.

The menu option or the display button will call a dialog window that will contain the SQL INSERT statement that forms seeking to run when the FRM-40508 error has occurred and the ORACLE error that has occurred.

If the INSERT statement is too long to determine where the error has occurred, turn off the Table of Base property of elements not required in the block to shorten the INSERT statement.

Show us the error...

Hope this helps

Tags: Oracle Development

Similar Questions

  • FRM 40508: cannot insert records

    Hello

    I get this error FRM 40508 in inserting data in any table through form 11 g.
    for example:

    my test table with two columns: id and name

    I wrote a simple insert statement
    Insert test values (: id,: name);
    commit;

    When I run the application and insert values, it displays the error above.

    When I use the errors in the display, it shows that there is violation: ora - 00001 (duplicates)
    However, there is no such value in the database.

    The same scenario is repeated with each painting I have. Help, please!

    Hello

    I was thinking the same thing as Andreas

    Why do you insert yourself when shape does it automatically. You use manual Insertion when you can't do by using the automatic feature of forms.

    Concerning
    SANAE

  • FRM-40508: could not insert the record

    Hi guys,.

    I'm FRM-40508 when I press the ok button on my form.

    My ok button code is:

    BEGIN
    Do_Key ('Commit_Form');

    IF Form_Success THEN
    Hide_Window ('RELOAD_WINDOW');
    Go_Block ('CREATE_PLANS');
    ON THE OTHER
    RAISE Form_Trigger_Failure;
    END IF;
    END;

    Before going to the ok button, a when-validate-trigger fires in my block "CACHE_RELOAD".
    I launch my form in the debugger and found that there is no error in when-validate-trigger...

    It does not in a when-validate-trigger is:

    UPDATE system_parameters
    SET sysp_refdata_expires =: cache_reload.dsp_refdata_expires;

    But after it passes when-validate-item trigger, is faling in the trigger when-button-pressed the OK button.

    Strange thing, this is where he tries to update the system_parameters table, but when I check the display error in help, it shows the error:

    INSERT INTO SYSTEM_PARAMETERS (DSP_REFDATA_EXPIRES) VALUES (: 1).

    ORA-00904: invalid identifier of "DSP_REFDATA_EXPIRES".

    Now I'm confused why he tries to INSERT into the table of system_parameters rather than update as it appears in my query above.

    Why, he's trying to insert into the column dsp_refdata_expires when I am trying to update the sysp_refdata_Expires column in the system_parameters table.

    Table of System_parameters is not any column of dsp_refdata_expires.

    I ask all you form gurus for it please help me with this.

    The insert statement is generated by forms. I imagine that your block is based on a database table, and you insert new values. When you do the commit_form, this new record is sent with an insert statement in the database.
    I guess that this DSP_REFDATA_EXPIRES is not a table column.

  • FRM-40508

    Oracle Forms6i

    Hai All

    I have an error when the iam, inserting data into a table through my forms.
    I have two blocks in my form namely Leader, Member

    It's my statement in my save button


    If: Global.Mode = "QUERY" then

    Update hierarchy_tree set = unitid: unit_id, empl_leader =: empl_code, empl_member =: emplcode.
    fromdt =: from_date, todt =: to_Date;

    elsif: Global.Mode = "Add" then

    insert into hierarchy_tree (unitid, empl_leader, empl_member, fromdt, todt) values
    (: unit_id,: empl_code,: emplcode,: from_date,: to_date);

    end if;

    commit;

    I got data from two blocks.

    When I press save button

    I have an error
    FRM-40508 oracle err could not insert the record.

    Thanks in advance

    Srikkanth.M

    Published by: Srikkanth.M on May 10, 2010 12:37

    Srikkanth,

    Instead of

    insert into H_Table (unitid,empl_leader,empl_member,fromdt,todt) values (:unit_id,:empl_code,:emplcode,:from_date,:to_date);
    

    use

    FORMS_DDL('INSERT INTO H_TABLE(UNITID, EMPL_LEADER, EMPL_MEMBER, FROMDT, TODT) VALUES(''' || :UNIT_ID || ''', ''' || :EMPL_CODE || ''', ''' || :EMPLCODE || ''', TO_DATE(''' || TO_CHAR(:FROM_DATE, 'DD-MON-YYYY') || '''), TO_DATE(''' || TO_CHAR(:TO_DATE, 'DD-MON-YYYY') || '''))');
    

    So that we can change the insert / update statements according to our need. This means assign the insert in a variable and then run which insert statement using FORMS_DDL built-in.

    Hope you understand.

    Kind regards

    Manu.

  • error frm:40508

    Hi all

    I have a table in the table
    I have columns

    client_name
    customer_id
    customer_add
    customer_contact_no


    Hi HERE client_name is unique_key

    I want when I type client_name duplicates then (which is already stored in the database)
    message ("customer already exists '");

    but I get this error frm:40508

    Please guide
    Thanks and greetings
    Vikas

    Before INSERT trigger check if the customer already exists or not there then give a message like:

    declare
    
       cursor c_exists is
         select 1
         from customer
         where customer_name = :customer.customer_name;
    
    begin
    
       open c_exists;
       fetch c_exists into v_exists;
       close c_exists;
    
       if v_exists = 1 then
    
          message('customer already exist');
    
          raise form_trigger_failure;
    
       end if;
    
    end;
    

    You can also do the same thing is WHEN-VALIDATE-ITEM trigger for client_name.

    I hope this helps.

    Published by: Arif Khadas, April 15, 2010 16:10

  • Cannot insert field or paste into the existing local Variable (Boolean container)

    Cannot insert field or paste into the existing local Variable (Boolean container)...  TestStand 4.1.

    It is very strange, especially since I've done it before.

    'Paste' and "insert field" selections are grayed out and disabled in the context menu.  I tried everything I could imagine and tried various combinations of positions.  I'm sure it's something simple, bu redicoulously, I can't find the redicule to solve this annoying problem issue.

    The local variable is a container of Boolean.  It has 90 elements and I need to add one more.  I can not change / rename or do something with this Local.  Must be karma (for those who know me in the LabVIEW forum).  Usually, you do a right click, insert field and that's where...  Not this one...

    Anyone seen this before?  Closing and re-opening TestStand doesn't change anything.  There is a collection in LabVIEW that feeds the local section in TestStand.

    It is a container of data custm type.  To change flags are ok (edit is allowed).  Can't think of any other valuable information...

    He finds...

    It should be edited in the Data Types...  It was not automatic after reloading the prototype of LabVIEW.

    I knew it was something stupid that I didn't...  I became close... but had not sought far enough.

    I was looking at the range of Types, but not in the file of the sequence...

  • Cannot insert information into the Clipboard in paint

    Cannot insert information in the Clipboard in paint!

    Using Vista Ulitmate, 4 GB RAM

    The tool will capture has the same problem?  Who save the Desktop view and allow paint open the saved image, or you paste the picture in Paint?

    Do you get the error even if you start in "Safe Mode with networking" try print screen from there?

    Vista Advanced Boot Options (or 7)
    http://Techblissonline.com/Vista-advanced-boot-options/

    If it does not seek it.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

    Have you tested with another user even if you need to create one to do this?

    http://www.google.com/webhp?hl=en#hl=en&expIds=25657,25941,26758&sugexp=ldymls&xhr=t&q=%22The+information+on+the+Clipboard+can't+be+inserted+into+Paint.%22&cp=64&pf=p&sclient=psy&site=webhp&source=hp&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=207a1c3c62b92b94

  • Error then that try to do the full deployment - cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')

    Kindly let me know if someone have a solution for this.

    NEWSPAPERS are:

    Debug sat May 16 12:29:59 IST 2015 1431759599345/atg/epub/DeploymentServer DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
    Debug sat May 16 12:29:59 IST 2015 1431759599352/atg/epub/DeploymentServer DistributedDeploymentAdapter:ApplyCommittedSynchronization.afterCompletion
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production SQL statement failed: [++ SQLInsert ++]
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production INSERT INTO dps_seg_list (segment_list_id, display_name, description)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production VALUES(?,?,?)
    Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015 - settings.
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [1] = {pd} CommerceReporting (java.lang.String)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [2] = {pd: displayName} trade reports (java.lang.String)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [3] = {pd: description} Segments of interest to trade reports. (java.lang.String)
    Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 2015 [- SQLInsert-] 1431759599935
    Error Sat May 16 12:29:59 java.sql.SQLIntegrityConstraintViolationException/atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)

    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.Table.insert(Table.java:1410)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager = case repositoryMarker:mark200015 element = CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA - 0
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Sam May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager error message = failure of deployment time = Sat 16 May 12:30 IST 2015 atg.deployment.DeploymentFailure@2e11da44 CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryExcept
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by: CONTAINER: atg.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7393)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by (#2):java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.Table.insert(Table.java:1410)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager an unexpected error has occurred. DeploymentWorkerThread ends prematurely. atg.deployment.DistributedDeploymentException: exceeded the number of allowed errors (0)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:680)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager
    debugging sat May 16 12:30 IST 2015 1431759600658/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed called for deployment with ID: 300001
    SAT may 16 12:30 IST 2015 1431759600660/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
    Debug sat May 16 12:30 IST 2015 1431759600662/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed
    SAT may 16 12:30 IST 2015 1431759600668/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: found 1 failure messages
    SAT may 16 12:30 IST 2015 1431759600684/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: adding failure message failed to deploy with error severity
    SAT may 16 12:30 IST 2015 1431759600691/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter: deployment failed
    Error Sat May 16 12:30 IST 2015 1431759600720 /atg/epub/DeploymentServer---atg.deployment.common.DeploymentException: '300001' target 'Production' deployment has encountered an error of level of deployment of system during data transfer.
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:333)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:1391)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.transferData(DistributedDeploymentAdapter.java:278)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.server.Deployment.run(Deployment.java:1960)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to java.lang.Thread.run(Thread.java:745)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer
    Info, Saturday, May 16, 12:30:50 IST 2015 1431759650742/atg/deployment/DeploymentManager purge data from deployment to deployment 300001
    Info, Saturday, May 16, 12:33:39 IST 2015 1431759819267/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:33:58 IST 2015 1431759838585/atg/dynamo/security/AdminUserAuthority attempt to connect to weblogic account does not exist
    Info, Saturday, May 16, 12:34:01 IST 2015 1431759841600/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:34:01 IST 2015 1431759841687/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
    Info, Saturday, May 16, 12:34:04 IST 2015 1431759844689/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:34:10 IST 2015 1431759850915/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
    Info, Saturday, May 16, 12:34:13 IST 2015 1431759853916/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Info, Saturday, May 16, 12:34:22 / atg/dynamo/servlet/adminpipeline/Authenticator IST 2015 1431759862089 allowing access for the Administrators group authenticator.
    Info, Saturday, May 16, 12:34:22 IST 2015 1431759862157/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java treatment
    Info, Saturday, May 16, 12:34:22 IST 2015 1431759862447/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java compilation
    Info, Saturday, May 16, 12:34:24 IST 2015 1431759864951/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java treatment
    Info, Saturday, May 16, 12:34:25 IST 2015 1431759865146/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java compilation
    Info, Saturday, May 16, 12:34:26 IST 2015 1431759866023/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/userprofiling/admin/en/dps-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_sh treatment
    Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866049 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_shome.java compilation
    Info, Saturday, May 16, 12:34:26 IST 2015 1431759866455/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/commerce/admin/en/dcs-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java treatment
    Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866470 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java compilation
    Info, Saturday, May 16, 12:34:28 / atg/dynamo/security/ComponentSecurityDomain IST 2015 1431759868918 ComponentSecurityDomain registered with the registry of the/atg/registry/SecurityDomains
    Info, Saturday, May 16, 12:34:44 IST 2015 1431759884078/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/cmpn-search.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java treatment
    Info, Saturday, May 16, 12:34:44 IST 2015 1431759884213/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java compilation

    Hello

    It seems that your production table contains the column asset_version.

    Asset_version is just for database edition, to store versioned data.

    Try to remove this column.

    It will be useful.

    Good bye.

  • FRM-10221: cannot read the file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource FRM-41810-FRM-41067

    Hello Experts,

    I am in the upgrade process 12.1.3 EBS and when you attempt to launch forms to "generate all Business Views", I met three errors of form:

    FRM-10221: cannot read the file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource

    FRM-41810: error creating menus

    FRM-41067: cannot very well the menu: invalid ID

    Back in my shell, I also noticed that some of my environment variable does not work correctly or is missing:

    . /U02/applfinp/apps/apps_st/appl/APPSOFPROD_ofinprod01.env

    or

    . /U02/applfinp/apps/apps_st/appl/OFPROD_ofinprod01.env

    Gives:

    -bash: /usrxit/devenv.env: no such file or directory

    I used adadmin utility and choose the option to recreate grants and synonyms; execution of adautocfg.sh but the problem persists.

    Thank you

    Mathias

    This error was caused by the erroneous entries or the deletion of a line (/ZX_TOP) to $SID_ofinprod01.xml.

    Thanks Hussein

    Mathias

  • Autconfig error: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    Nice day

    I'm under EBS 11.5.10 with DB 10.2.0.4. I applied patch 7429271 following the steps described in the Doc id 233044.1.

    After restarting the application, I had one "node id does not exist for the current application" when forms started.

    After serving nodes (exec fnd_conc_clone.setup_clean) DNF, I ran successfully on the dbtier autoconfig but got the error below in the layer of apps.

    I also noticed that the content of my BCD file has been deleted and replaced by the model data (all values are by default). I tried to restore but it just had class written once again with default data.

    Hope my explanation was clear enough.

    Any suggestions?

    -adconfig.log error-

    Unique constraint error (00001) is OK if the key already exists

    java.sql.SQLException: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    ORA-06512: at the 'APPS '. FND_CONCURRENT', line 1504

    ORA-06512: at the 'APPS '. FND_APP_SERVER_PKG', line 163

    ORA-06512: at line 1

    -Database error change the server

    You have the latest applied AutoConfig patch (Patch 9535311 - T2K AUTOCONFIG AND TEMPLATES CUMULATIVE HOTFIX U)? If this isn't the case, please apply the patch and then try.

    Additionally, make sure that you have entered in the file/etc/hosts.

    Thank you

    Hussein

  • oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: the controller of the ADF cannot insert a record of savepoint for ID

    I implemented a save point in a workflow by creating a save point in the method action following is the managed bean code to create check point:

    ControllerContext cc = ControllerContext.getInstance ();

    If (cc! = null) {}
    Bishop SavePointManager = cc.getSavePointManager ();
    If (mgr! = null) {}
    The ID of the string = mgr.createSavePoint ();

    savePointId = id;
    }

    It has worked well in local (integrated Weblogic Server). She also worked fine initially when I deployed the changes to the weblogic DEV Server. But after a few days, in DEV I am getting the following error whenever trying to create a server backup point:

    Caused by: oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: the controller of the ADF cannot insert a record of savepoint for the ID 4 d 233555-ea0c-4bae-9f17-cc6c

    7124870f'. oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:56)

    at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:245)

    at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)

    at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:926)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:479)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)

    at java.security.AccessController.doPrivileged(AccessController.java:284)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.sql.SQLException: connection has already been closed.

    at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:58)

    at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:94)

    at weblogic.jdbc.wrapper.Connection.prepareCall(Connection.java:543)

    at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:221)

    at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)

    at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    At the bottom of the stack, this statement ""caused by: java.sql.SQLException: connection has already been closed. ' that intrigues me, but why this error occurs after a few days or after a particular number of connections or access to the application. "

    This same problem also happening in all environments including PROD. Help, please. JDeveloper version is 11.1.2.1.0.

    We got the support of Oracle solution.

    Passivation fails with the error "Connection has already been closed" in PoolConnection.checkConnection () (Doc ID 1330271.1). Problem is due to the grouping feature of connection for the Server WebLogic "timeout idle." When this is configured, WLS right out the strength of the connections in the pool. It is a problem for BC ADF based on maintaining the JDBC connection, associated with sound

    Instance of Module of the application.

    "Idle Session Timeout" value 0 (default), so that the JDBC connection remains active while

    the instance of the corresponding Application Module is active:

    Thank you...

  • RESTful service cannot insert data using PL/SQL.

    Hi all
    Spin: stand-alone 2.01 AL on OEL 4.8 in box a. VM
    Database Oracle 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in the VM B box.

    Measure of oracle.example.hr performed without problem Restful services.

    Cannot insert data using AL 2.0.1 but works on 1.1.4 AL.
    who uses the following table (under scheme: scott):
     
    create table json_demo ( title varchar2(20), description varchar2(1000) ); 
    grant all on json_demo to apex_public_user; 
    and procedure (scott diagram) below:
    CREATE OR REPLACE
    PROCEDURE post(
        p_url     IN VARCHAR2,
        p_message IN VARCHAR2,
        p_response OUT VARCHAR2)
    IS
      l_end_loop BOOLEAN := false;
      l_http_req utl_http.req;
      l_http_resp utl_http.resp;
      l_buffer CLOB;
      l_data       VARCHAR2(20000);  
      C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
    BEGIN
      -- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
      -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
      -- rather than just returning the text of the error page.
      utl_http.set_response_error_check(false);
      -- Begin the post request
      l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1);
      -- Set the HTTP request headers
      utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT);
      utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8');
      utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message));
      -- Write the data to the body of the HTTP request
      utl_http.write_text(l_http_req, p_message);
      -- Process the request and get the response.
      l_http_resp := utl_http.get_response (l_http_req);
      dbms_output.put_line ('status code: ' || l_http_resp.status_code);
      dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase);
      LOOP
        EXIT
      WHEN l_end_loop;
        BEGIN
          utl_http.read_line(l_http_resp, l_buffer, true);
          IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN
            l_data    := l_data||l_buffer;
          END IF;
        EXCEPTION
        WHEN utl_http.end_of_body THEN
          l_end_loop := true;
        END;
      END LOOP;
      dbms_output.put_line(l_data);
      p_response:= l_data;
      -- Look for client-side error and report it.
      IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN
        dbms_output.put_line('Check the URL.');
        utl_http.end_response(l_http_resp);
        -- Look for server-side error and report it.
      elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN
        dbms_output.put_line('Check if the Web site is up.');
        utl_http.end_response(l_http_resp);
        RETURN;
      END IF;
      utl_http.end_response (l_http_resp);
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line (sqlerrm);
      raise;
    END;
    and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:
     
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585/apex/demo';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;
    leading to:
     
    anonymous block completed 
    status code: 200
    reason phrase: OK 
    with data inserted. 
    Installation using 2.0.1
       Workspace : wsdemo
     RESTful Service Module:  demo/
              URI Template:      test
                    Method:  POST
               Source Type:  PL/SQL
    and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:
     
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585//apex/wsdemo/demo/test';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;
    leading to:
     
    status code: 500 
    reason phrase: Internal Server Error 
    
    Listener's log: 
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    demo/test matches: demo/test score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test
    demo/test is a public resource
    Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator
    Performing JDBC request as: SCOTT
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: Error occurred during execution of: [CALL, begin
     insert into scott.json_demo values(/*in:title*/?,/*in:description*/?);
    end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription]
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    
    java.sql.SQLException: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
            at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
            at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
            at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242)
            at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
            at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
            at $Proxy46.execute(Unknown Source)
            at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44)
            at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176)
            at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309)
            at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88)
            at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
            at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
            at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65)
            at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
            at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
            at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
            at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
            at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
            at java.lang.Thread.run(Thread.java:662)
    Error during evaluation of resource template: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    Please notify.
    Concerning
    Zack

    Zack.L wrote:
    Hi Andy,.

    Sorry, I forgot to post the Source that is used by the AL1.1.4 and the AL2.0.1.

    Source

    begin
    insert into scott.json_demo values(:title,:description);
    end;
    

    It is a failure during insertion?
    Yes, he failed in the insert using AL2.0.1.

    If the above statement produces the following error message:

    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
     
    

    That gives me to think that a character is not printable (notice how there is anything between the quotation marks - "") worked his way in your PL/SQL Manager. Note how the error is reported to correspond to a column 74 on line 2, line 2 of the block above has 58 characters, so a pure assumption somehow, there is extra space on line 2, which confuses the PL/SQL compiler, I suggest retype PL/SQL Manager manually and see if that solves the problem.

  • FRM-10221: cannot read the file "MN_MENU.mmb".

    I got this error when executing my forms, that is migrated from 6i to 11 g.

    What I've done so far:

    1 > .mmx .fmx files are in the same folder, and this path is added to FORMS_PATH, no space in the path.

    2 > menu name "MN_MENU" is added to the Menu Module of the form property

    3 > run as user 'oracle', have the permission to read the files.

    4 > menus and forms all compiled without errors

    So, why else might be?

    FRM-10221: cannot read the file "MN_MENU.mmb".

    It is usually an error in design compared to a runtime error. In addition to the FMX and MMX files are in the FORMS_PATH, you must, of course, the binary from the source (.) FMB and. MMB files) are also at your FORMS_PATH.

    I got this error when executing my forms...

    Could you please clarify what you mean by that? Are you this error during the execution of the application (on the application server) or when you open and run your form from forms manufacturer?

    In addition, can clarify what FORMS_PATH you have updated? There are two FORMS_PATHs that should be updated on a developer workstation. The first is in the Windows registry. The second is in the default.env file that is used by the form designer when you run your form from the form designer. On the application server, simply change the FORMS_PATH in the default.env.

    Craig...

  • FRM - 18108 cannot load the following object

    When I open forms in a 10G suit, getting below error
    FRM - 18108 cannot load the following object
    source module: template.fmb
    source object: STANDARD

    Please help me

    Looks like you're working with the Enterprise Business Suite (EBS). The error you are getting is because the forms cannot find a referenced object. This is because the directory where your TEMPLATE.fmb (and the objects made reference to the template.fmb form) is not in your FORMS_PATH. If you use Windows, modify the registry and Add the directory where you have your objects of reference to the FORMS_PATH entry. Make sure you add it at the end of the existing value; not to replace the existing value.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • FRM-40010: cannot read the form

    Hi all.
    I have a question, I have just compiled my forms on my pc, then I needed to move it to the production server of my client, but I get this error, it is my case:

    my PC:
    Windows xp sp3 x 32
    WebLogic server 10.3.4 x 32
    formulas 11.1.1.4 x 32
    result = MyForm.fmx


    client server:
    Windows 2008 standard x 64 server
    WebLogic server 10.3.4 x 64
    JDK x 64
    formulas 11.1.1.4 x 64
    result = FRM-40010: cannot read the form

    According to the MOS, (ID 299938.1)

    You can also move a FMX created on 32-bit Unix to 64-bit Unix.

    He said about based on unix S.O., did not say that windows o.s. on

    so my question is: is this my problem? even if they do not mention windows?

    Thank you.

    Yes, a form compiled with 32-bit platform must be recompiled against the same platform.eg. production Server 32-bit.

    Therefore, if the production is 64-bit, all forms must be compiled against Production Server 64-bit otherwise you'll receive this error.

    Hope this helps,

    Kind regards

    Amatu Allah.

Maybe you are looking for