Error while firing WatchedFolder trigger

Hi all,
Once every day the server reports the following error and cannot recover (needs restart):
2008-03-10 22:36:50,855 ERROR [org.quartz.core.ErrorLogger] An error occured while firing trigger 'WatchedFolder.WatchedFolder:605'
org.quartz.JobPersistenceException: Couldn't select trigger state: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Connection reset by peer: socket write error
STACKTRACE:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2692)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1552)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatem ent.java:76)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStat ement.java:211)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerState(StdJDBCDelegate.java:2317 )
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2778)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$37.execute(JobStoreSupport.java:2757)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.ja va:3662)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2751)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
I have just reinstalled the server and imported the processes I had created earlier, but no custom setup within the "stomach of JBoss/LiveCycle".
Does anybody knwo what I can do to rectify/localise this error?
Sincerely
Kim

From the LiveCycle ES Error Code Reference
Extended periods of server inactivity when using JBoss
Application Server configured with MySQL (the JBoss
turnkey). The exception is raised by background
processing during internal database management. Its
presence is expected: Idle connection with the
database times out and causes the TCP/IP connection
to close. Exceptions typically occur after 8 hours or
more of inactivity in LiveCycle ES.
[Exceptions seen on JBoss/MySQL and start with:
java.sql.SQLException: No operations allowed after
connection closed. Connection was implicitly closed
due to underlying exception/error: ** BEGIN NESTED
EXCEPTION
**com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to
underlying exception: **java.net.SocketException
MESSAGE: Software]
The document also says
This exception does not
impact the LiveCycle ES
server processing and
can be ignored.
However, I also need to restart the server to get it working again.
Sincerely,
Nick

Similar Messages

  • Error while firing a trigger After Insert

    Dear All
    I have created a Table named Punches in user Punch
    and I have written a trigger after Insert on table Punches
    In that Trigger i am wrting some select Command
    and Insert command
    tables are located in Other User
    while firing the trigger it is showing Error.
    pl help

    Arbar Mehaboob - user553581 wrote:
    Dear All
    I have created a Table named Punches in user Punch
    and I have written a trigger after Insert on table Punches
    In that Trigger i am wrting some select Command
    and Insert command
    tables are located in Other User
    while firing the trigger it is showing Error.
    pl helpplease provide:
    1) your database version
    2) the table DDL's
    3) some sample data
    4) the trigger code
    5) the error message you're getting.
    without these, it is impossible to suggest an answer.

  • Pl/Sql Error while creating a trigger

    Hello everyone m trying to make a trigger whose purpose is not to allow any update insert or delete to be done on the table Work if the day is sunday.I tried this code but it is giving me error
    create or replace trigger No_work_on_Sunday
    After insert or update or delete
    on Work When owner='MAX'
    for each row
    begin
            if (select to_char(sysdate,'D')=1) then
                     raise_application_error(-20001,'no work on sunday');
          end if;
    end;
    on Work when owner='MAX'
    ERROR at line 3:
    ORA-04077: WHEN clause cannot be used with table level triggers Pls help
    Edited by: 781207 on Jul 16, 2010 7:43 AM

    create or replace trigger No_work_on_Sunday
    before insert or update or delete
    for each row
    on Work When owner='MAX'
    begin
            if to_char(sysdate,'D')=1 then
                     raise_application_error(-20001,'no work on sunday');
          end if;
    end;
    /Keep in mind to_char(sysdate,'D')=1 is NLS dependent. In US week starts Sunday in most european some coutries week starts Monday. In middle east it can be Friday or Saturday...
    SY.
    Edited by: Solomon Yakobson on Jul 16, 2010 7:50 AM

  • Error While Firing select Query  on Table

    Hi aill,
    we have Oracle 11g RG2 RAC on Production Machine. When I am firing select query on one partiton table,it will show me below error in Alter Log file :
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x0] [PC:0x84056AA, kkpamDInfo()+38] [flags: 0x0, count: 1]
    Errors in file /opt/app/oracle/diag/rdbms/winsdb/WINSDB2/trace/WINSDB2_ora_29686.trc (incident=288563):
    ORA-07445: exception encountered: core dump [kkpamDInfo()+38] [SIGSEGV] [ADDR:0x0] [PC:0x84056AA] [Address not mapped to object] []
    Incident details in: /opt/app/oracle/diag/rdbms/winsdb/WINSDB2/incident/incdir_288563/WINSDB2_ora_29686_i288563.trc
    While checking the trace file :
    ========== FRAME [2] (ksedst1()+98 -> skdstdst()) ==========
    defined by frame pointers 0x2ba371efaa40 and 0x2ba371efa990
    CALL TYPE: call ERROR SIGNALED: no COMPONENT: KSE
    RDI 0000000000000000 RSI 0000000000000000 RDX 00002BA371EF6118
    RCX 0000000000000001 R8 0000000000000000 R9 0000000000000000
    RAX 0000000000000000 RBX 0000000000000003 RBP 00002BA371EFAA40
    R10 71EFA9A000000000 R11 0000000000000000 R12 0000000000000003
    R13 0000000000000003 R14 0000000000000001 R15 0000000000000001
    RSP 00002BA371EFA9A0 RIP 000000000349E72E
    Dump of memory from 0x2ba371efaa40 to 0x2ba371efaaf0
    2BA371EFAA40 71EFAB10 00002BA3 0349E77F 00000000 [...q.+....I.....]
    2BA371EFAA50 00000000 00000000 00000000 00000000 [................]
    2BA371EFAA60 71B996F0 00002BA3 02050034 00000000 [...q.+..4.......]
    2BA371EFAA70 000000FF 00002BA3 00002004 00000000 [.....+... ......]
    2BA371EFAA80 00000000 00000000 2338D058 00016DAB [........X.8#.m..]
    2BA371EFAA90 00000003 00000000 085232F3 00000000 [.........2R.....]
    2BA371EFAAA0 0000000D 00000000 00000002 00000000 [................]
    2BA371EFAAB0 00000000 00000000 00000000 00000000 [................]
    2BA371EFAAC0 71EFAAD0 00002BA3 085BBFCF 00000000 [...q.+....[.....]
    2BA371EFAAD0 71EFAB10 00002BA3 0349E249 00000000 [...q.+..I.I.....]
    2BA371EFAAE0 00000000 00002BA3 00000013 00000000 [.....+..........]
    Can Anyone guide me for above Errors. How can I resolve the same.

    A quick search of Oracle Support shows that there are a handful of bugs that match ORA-07445 with an argument of kkpamDInfo()+38.
    Whether yours is already identified and patched depends on the exact version of 11.2 and the specific circumstances.
    If you're on 11.2.0.1 then this might be part of what sounds like quite a big bucket of such errors - Bug 9399991 relating to errors and dumps with SQL against partitioned tables.

  • Execution Error while using a trigger

    Hi all,
    I have written the following trigger.<br><br>
    <b>SQL></b> CREATE OR REPLACE TRIGGER update_publisher_trgr <BR>
    AFTER INSERT OR UPDATE <BR>
    ON tinku.book_publishers <BR>
    FOR EACH ROW <BR>
    BEGIN <BR>
              IF INSERTING THEN <BR>
              INSERT INTO scott.publishers <BR>
              VALUES(:new.p_id,:new.name,:new.token_id,:new.is_reg);<BR>
    <B>ELSIF UPDATING THEN -----(9 th row) </B><BR>
    UPDATE scott.publishers <BR>
              SET is_reg=:new.is_reg <BR>
              WHERE publisher_id=:old.p_id; <BR>
              IF(:new.is_reg==0) THEN <BR>
                   DECLARE <BR>
                   CURSOR book_id_cursor IS <BR>
                        SELECT book_index <BR>
                        FROM books <BR>
                   WHERE publisher_id=:old.p_id; <BR>
    BEGIN <BR>
                   FOR i IN book_id_cursor LOOP <BR>
                        INSERT INTO scott.publisher_details <BR>
                   VALUES (updates_id_seq.NEXTVAL,i.book_index,12); <BR>
                        END LOOP; <BR>
                   COMMIT; <BR>
    END; <BR>
         END IF; <BR>
              END IF; <BR>
         END update_publisher_trgr;     <BR>
    SQL> / <br>
    Warning: Trigger created with compilation errors.<br>
    SQL> show errors; <br>
    Errors for TRIGGER UPDATE_PUBLISHER_TRGR:<br><br>
    LINE/COL ERROR <br>
    -------------- -----------------------------------------------------------------<br>
    9/32 PLS-00103: Encountered the symbol "=" when expecting one of the<br>
    following:<br>
    ( - + all mod null <an identifier><br>
    <a double-quoted delimited-identifier> <a bind variable> any<br>
    avg count current max min prior some sql stddev sum variance<br>
    execute forall time timestamp interval date<br>
    <a string literal with character set specification><br>
    <a number> <a single-quoted SQL string><br>
    <br><br>
    How can I avoid this error.<br>
    <br>
    Please help me in this regard,<br>
    <br>
    Thanks in Advance,<br>
    <br>
    Trinath Somanchi,<br>
    Hyderabad.<br>
    <br>

    hi,
    I have created the procedure in scott schema and the trigger in tinku schema.<br>
    the procedure is created with no errors but trigger is created with compilation errors.
    <br>
    the procedure created in scott schema:<br><br>
    CREATE OR REPLACE PROCEDURE populate_pub_dtls(pPublisherId Number)<br>
    IS <br>
    CURSOR book_id_cursor IS <br>
    SELECT book_index <br>
    FROM books <br>
    WHERE publisher_id=pPublisherId; <br>
    <br>
    next_val NUMBER;<br>
    BEGIN <br>
    FOR i IN book_id_cursor LOOP <br>
    SELECT updates_id_seq.NEXTVAL INTO next_val FROM dual;<br>
    INSERT INTO scott.publisher_details <br>
    VALUES (next_val,i.book_index,12); <br>
    END LOOP; <br>
    COMMIT;<br>
    END; <br>
    <br>
    the Trigger created in Tinku schema is:<br>
    <br>
    CREATE OR REPLACE TRIGGER update_publisher_trgr <br>
    AFTER INSERT OR UPDATE <br>
    ON tinku.book_publishers <br>
    FOR EACH ROW <br>
    BEGIN <br>
    IF INSERTING THEN <br>
    INSERT INTO scott.publishers <br>
    VALUES(:new.p_id,:new.name,:new.token_id,:new.is_reg);<br>
    ELSIF UPDATING THEN<br>
    UPDATE scott.publishers <br>
    SET is_reg=:new.is_reg <br>
    WHERE publisher_id=:old.p_id; <br>
    IF(:new.is_reg=0) THEN <br>
    scott.populate_pub_dtls ( :old.p_id );<br>
    END IF; <br>
    END IF; <br>
    END update_publisher_trgr; <br>
    <br>
    but this trigger on execution is giving the following errors:<br>
    <br>
    LINE/COL ERROR <br>
    -------- -----------------------------------------------------------------<br>
    3/8 PLS-00201: identifier 'PUBLISHERS' must be declared <br>
    3/8 PL/SQL: SQL Statement ignored <br>
    6/6 PLS-00201: identifier 'PUBLISHERS' must be declared <br>
    6/6 PL/SQL: SQL Statement ignored <br>
    10/28 PLS-00201: identifier 'SCOTT.POPULATE_PUB_DTLS ' <br>
    must be declared <br><br>
    10/28 PL/SQL: Statement ignored <br>
    <br>
    but scott.publishers is existing.<br>
    <br>
    how can i get rid of this error.<br>
    <br>
    Please help me in this regard,<br>
    <br>
    Thanks in Advance;<br>
    <br>
    Trinath Somanchi,
    <br>
    Hyderabad.
    <br>

  • Error while using sybase trigger with the CMP entity bean,ejb version 2.1

    Hi All,
    I am using ejb version 2.1 and using entity bean (Transaction required) ,i am trying to update data in sybase(ver 12.3) database table
    I am using session bean(Transaction required) to update the multiple entity beans in a while loop.It is working fine .But when i am trying to run it with the trigger which updates multiple tables in different sybase databases on update of each entity.Then it throws NoSuchEntityException and it rollback the whole transaction.
    My trigger has only few simple update statements and the trigger runs fine without my CMP entity bean.is the CMP does not support the update triggers in sybase or is it the problem with the transaction.
    Please help
    Thanks
    Anshu

    If you can have a look at a cmp example in the samples that ship with the server. My guess is that the weblogic-ejb-jar.xml file is missing the <persistence-use> element which for 810 would look like:
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    I seem to recall that the elements might be slightly different in structure for the wls700 version of the DTD, so please check that (I cannot, I'm at home and don't have everything here).
    Give that a try and see if it doesn't solve your compilation failure.
    Also, the compilation should not be throwing a null pointer exception in a case like that, I consider that to be a bug.
    -thorick

  • Error while deploying the trigger

    Hi All,
    In the trigger given below I want to append the data from all the table columns , to convert the numeric data to string i am using to_char function , but when i try to deploy the trigger i am getting the error.
    What could be the problem here?
    Is there any alternate way to achieve the same??
    Trigger
    ==========================================================
    create or replace trigger emp_delete
    after delete
    on emp
    for each row
    begin
         insert into Event(EventId,TableName,Pkey,OldValues,NewValues,DateTime,ActionType) values
         (My_Event_ID_Seq.NEXTVAL ,'emp','EMPNO',
         TO_CHAR(:old.EMPNO) || TO_CHAR(:old.ENAME) ||
         TO_CHAR(:old.JOB) || TO_CHAR(:old.MGR) ||
         TO_CHAR(:old.HIREDATE) || TO_CHAR(:old.SAL) ||
         TO_CHAR(:old.COMM) || TO_CHAR(:old.DEPTNO),
         ' ',SYSDATE,'D');     
    end;
    Error
    ==========================================================
    LINE/COL ERROR
    3/2 PL/SQL: SQL Statement ignored
    5/25 PLS-00307: too many declarations of 'TO_CHAR' match this call
    SQL&gt; help helpindex
    SP2-0172: No HELP available.

    Check you proxy settings. Disable them in your deployment tool / JDeveloper

  • Whats this error while creating a trigger

    HI ,
    I was creating a trigger and getting the following Error . What is this
    1 CREATE OR REPLACE TRIGGER TRG_AUDIT_LOGON AFTER
    2 LOGON ON DATABASE
    3 Declare
    4 v_sid v$session.sid%type ;
    5 v_serial v$session.serial# %type;
    6 v_username v$session.username%type;
    7 v_osuserid v$session.osuser%type;
    8 v_machinename v$session.machine%type;
    9 v_PROGRAM v$session.program%type;
    10 v_TERMINAL v$session.terminal%type;
    11 v_hostname v$instance.host_name%type;
    12 v_instance_name v$instance.instance_name%type;
    13 v_application_id v$database.dbid%type;
    14 v_logon_time date;
    15 v_Audit_tab_check varchar2(30);
    16 v_system_users_tab_check varchar2(30);
    17 v_sql_Audit_upload varchar2(1000) := 'INSERT INTO dbaoper.T_AUDIT (HOST_NAME, APPLICATION_ID, INSTANCE_NAME, SID, SERIAL#, USERNAME, OSUSERID, MACHINENAME, PROGRAM, TERMINAL, LOGON_TIME) VALUES (:v_hostname,:v_application_id,:v_instance_name, :v_sid, :v_serial, :v_username ,:v_osuserid,: v_machinename, :v_program,:v_TERMINAL,:v_logon_time ) ';
    18 type c_audit_cur_typ is ref cursor;
    19 C_Audit c_audit_cur_typ ;
    20 V_system_users_tab := 'T_SYSTEM_USERS';
    21 No_Audit_records Exception;
    22 Begin
    23 Select table_name into v_Audit_tab_check from dba_tables where owner='DBAOPER' and table_name='T_AUDIT';
    24 Select table_name into v_system_users_tab_check from dba_tables where owner='DBAOPER' and table_name='T_SYSTEM_USERS';
    25 Open c_Audit for ' SELECT sid, serial#, username, osuser, machine, program, terminal FROM v$session WHERE audsid = userenv (''''sessionid'''') and program not like ''''oracle@%J0%'''' and username not in (select * from dbaoper.' || V_system_users_tab||' ) and type!=''''BACKGROUND'''' ' ;
    26 Fetch c_Audit into v_sid, v_serial, v_username, v_osuserid, v_machinename,v_program,v_TERMINAL ;
    27 If c_Audit%Notfound then
    28 Raise No_Audit_records ;
    29 Else
    30 Select host_name, instance_name into v_hostname, v_instance_name from v$instance;
    31 select dbid into v_application_id from v$database;
    32 select sysdate into v_logon_time from dual;
    33 execute immediate v_sql_Audit_upload using v_hostname,v_application_id,v_instance_name,v_sid,v_serial,v_username,v_osuserid,v_machinename,v_program,v_TERMINAL,v_logon_time;
    34 end if;
    35 close C_Audit;
    36 exception
    37 when no_data_found then
    38 dbms_system.ksdwrt(2, ' ORA-20001 Audit tables T_AUDIT or T_SYSTEM_USERS not found Audit information is not being captured'
    39 );
    40 When No_Audit_records then
    41 dbms_output.put_line ('No Audit records to insert ');
    42* end;
    SQL> /
    Warning: Trigger created with compilation errors.
    SQL> sho err
    Errors for TRIGGER TRG_AUDIT_LOGON:
    LINE/COL ERROR
    18/20 PLS-00103: Encountered the symbol "=" when expecting one of the
    following:
    constant exception <an identifier>
    <a double-quoted delimited-identifier> table LONG_ double ref
    char time timestamp interval date binary national character
    nchar
    The symbol "<an identifier>" was substituted for "=" to
    continue.
    Thanks
    Pramod

    Hi
    I am sorry...i am getting the following error once trigger is created and one of the user is trying to connect....what might be the reason ?
    Enter user-name: test
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00907: missing right parenthesis
    ORA-06512: at line 23
    Thanks
    Prmaod

  • Error while firing a WD Exit Plug in Portal :(

    Hello All,
    Am new in WD and created the Quiz Demo Application referring to help.sap.com.
    I have added a URL to the Exit plug as:
    wdThis.wdGetQuizInterfaceViewController().wdFirePlugGotoUrl("http://toyouamit.googlepages.com/home")
    The application is working fine when run while deploying (from NWDS). But when run from the WD iView, the exit plug gives the following error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead.
    In attempt to resolve this we have created an URLiView but in vain!!
    Please guide
    Awaiting Reply.
    Thanks & Warm Regards,
    Ritu

    Hi,
    the error tells it:
    "Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead."
    See here: http://help.sap.com/saphelp_nw2004s/helpdata/en/56/b4544251dcc153e10000000a1550b0/frameset.htm
    There is also another thread where this was discussed, you can find some hints to implement portal navigation:
    Closing window of web dynpro application with exit-plug don't run in the EP
    Kind Regards
    Stefanie

  • Form Navigation problem while firing Database trigger

    Hi,
    A Database trigger is made to fire when a field is updated via forms and the trigger will give an error if the user is not authorized to modify the data. Everything is working fine and the trigger gives an error as palnned. After the error is thrown, we are unable to navigate between the forms and in addition we are uanble to perform any sort of actions like querying, deleting and cancelling. On Occasion we get errors like I/O buffer error and the errors keep on changing for every update. Plz help me to resolve the issue.
    RgDs,
    M KVG

    In addition to the Error Message you are getting, it would be helpful to know which version of Oracle Forms you are using and how your application is deployed (Client/Server or Web). If you app is web deployed, then also include the Java Runtime Environment version and your web browser and version.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Getting error while creating trigger!!

    Hi Guys,
    I am getting the following error while creating trigger in Oracle10g Database in TOAD environment.
    Error: PLS-00306: wrong number or types of arguments in call to '='
    Table details:
    One of the column having BLOB Data type in the table.
    In the trigger, I have compared :old and :new values.
    CREATE OR REPLACE TRIGGER INPL.trigger_new
    AFTER INSERT OR UPDATE OR DELETE
    ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    action_flag VARCHAR2(1);
    new_image BLOB;
    BEGIN
    IF UPDATING
    THEN
    action_flag := 'U';
    ELSIF DELETING
    THEN
    action_flag := 'D';
    ELSIF INSERTING
    THEN
    action_flag := 'I';
    END IF;
    IF (:NEW.image = :OLD.image)
    THEN
    new_image := '';
    ELSE
    new_image := :NEW.image;
    END IF;
    INSERT INTO TABLE_NEW(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
    end;
    Any one knows about this issue, please let me know with the proper solution.
    Thanks for your immediate response!
    Regards,
    Lakshman

    CREATE OR REPLACE TRIGGER INPL.trigger_new
    AFTER INSERT OR UPDATE OR DELETE
    ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    action_flag VARCHAR2(1);
    new_image BLOB;
    BEGIN
    IF UPDATING
    THEN
    action_flag := 'U';
    ELSIF DELETING
    THEN
    action_flag := 'D';
    ELSIF INSERTING
    THEN
    action_flag := 'I';
    END IF;
    IF (:NEW.image = :OLD.image)
    THEN
    new_image := '';
    ELSE
    new_image := :NEW.image;
    END IF;
    INSERT INTO TABLE_AUD(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
    end;
    I am getting the error in line at If condition
    Error: PLS-00306: Wrong number or tpyes of arguments in call '='
    Please let me know if any one knows exact solution!
    Thanks in advance!
    Regards,
    Lakshman

  • Error while using Before report trigger. -- Urgent

    Dear All,
    The following error I am getting when I execute my data template where I have used Before Report Trigger. I am also pasting the Data Template that I have developed.
    ============================
    Error
    ============================
    XDO Data Engine Version No: 5.6.3
    Resp: 20560
    Org ID : 204
    Request ID: 4846248
    All Parameters: P_LOB=01:P_DIV_FROM=:P_DIV_TO=:P_FROM_ORG=:P_TO_ORG=:P_INV_FROM=:P_TO_INV=:P_TRX_DATE_FROM="2003/01/01 00:00:00":P_TRX_DATE_TO="2003/01/15 00:00:00"
    Data Template Code: SSBWIPANA_MFGR
    Data Template Application Short Name: WIP
    Debug Flag: N
    {P_DIV_FROM=, P_TRX_DATE_TO=2003/01/15 00:00:00, P_DIV_TO=, P_FROM_ORG=, P_TO_ORG=, P_TRX_DATE_FROM=2003/01/01 00:00:00, P_INV_FROM=, P_LOB=01, P_TO_INV=}
    Calling XDO Data Engine...
    [122407_011745100][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-06550: line 2, column 12:
    PLS-00302: component 'P_LOB' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 3, column 12:
    PLS-00302: component 'P_DIV_FROM' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 12:
    PLS-00302: component 'P_DIV_TO' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 12:
    PLS-00302: component 'P_FROM_ORG' must be declared
    ORA-06550: line 5, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 6, column 12:
    PLS-00302: component 'P_TO_ORG' must be declared
    ORA-06550: line 6, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 7, column 12:
    PLS-00302: component 'P_FROM_INV' must be declared
    ORA-06550: line 7, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 12:
    PLS-00302: component 'P_TO_INV' must be declared
    ORA-06550: line 8, column 1:
    PL/SQL: Statement ignored
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:967)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3327)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3433)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4394)
         at oracle.apps.xdo.dataengine.XMLPGEN.executeTriggers(XMLPGEN.java:699)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    =====================================================
    Data Template
    ====================================================
    <dataTemplate name="SSBWIPANA_MFGR" defaultPackage="PRODUCTION" version="1.0">
    <parameters>
    <parameter name="P_LOB" datatype="charecter"/>
    <parameter name="P_DIV_FROM" datatype="charecter"/>
    <parameter name="P_DIV_TO" datatype="charecter"/>
    <parameter name="P_FROM_ORG" datatype="charecter"/>
    <parameter name="P_TO_ORG" datatype="charecter"/>
    <parameter name="P_FROM_INV" datatype="charecter"/>
    <parameter name="P_TO_INV" datatype="charecter"/>
    <parameter name="P_TRX_DATE_FROM" datatype="charecter"/>
    <parameter name="P_TRX_DATE_TO" datatype="charecter"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q_1">
    <![CDATA[SELECT DISTINCT MSI.CONCATENATED_SEGMENTS, MMT.INVENTORY_ITEM_ID,
                    MSI.DESCRIPTION, MMT.TRANSACTION_UOM, SDT.TRX_DATE,
                    MTP.ORGANIZATION_CODE, MMT.ORGANIZATION_ID
               FROM MTL_MATERIAL_TRANSACTIONS MMT,
                    MTL_PARAMETERS MTP,
                    MTL_SYSTEM_ITEMS_VL MSI,
                    SSBWIP_DATE_TEMP SDT
              WHERE MMT.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
                AND MMT.ORGANIZATION_ID = MSI.ORGANIZATION_ID
                AND MSI.ORGANIZATION_ID = MTP.ORGANIZATION_ID
                AND MMT.ORGANIZATION_ID = MTP.ORGANIZATION_ID
                AND MMT.TRANSACTION_TYPE_ID IN (17, 44)
                AND MMT.ORGANIZATION_ID IN (
                       SELECT MP.ORGANIZATION_ID
                         FROM MTL_PARAMETERS MP, GL_CODE_COMBINATIONS GCC
                        WHERE MP.MATERIAL_ACCOUNT = GCC.CODE_COMBINATION_ID
                          AND GCC.SEGMENT1 = :P_LOB
                          AND (GCC.SEGMENT2 BETWEEN NVL (:P_DIV_FROM,
                                                         GCC.SEGMENT2)
                                                AND NVL (:P_DIV_TO, GCC.SEGMENT2)
                AND MTP.ORGANIZATION_CODE BETWEEN NVL (:P_FROM_ORG,
                                                       MTP.ORGANIZATION_CODE
                                              AND NVL (:P_TO_ORG,
                                                       MTP.ORGANIZATION_CODE
                AND MSI.CONCATENATED_SEGMENTS BETWEEN NVL
                                                        (:P_FROM_INV,
                                                         MSI.CONCATENATED_SEGMENTS
                                                  AND NVL
                                                        (:P_TO_INV,
                                                         MSI.CONCATENATED_SEGMENTS
           ORDER BY MSI.CONCATENATED_SEGMENTS, MTP.ORGANIZATION_CODE]]>
    </sqlStatement>
    <sqlStatement name="Q_2">
    <![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY), 0) COMPLETION
           FROM MTL_MATERIAL_TRANSACTIONS
         WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
           AND ORGANIZATION_ID = :ORGANIZATION_ID
           AND TRANSACTION_TYPE_ID = 44
           AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
    </sqlStatement>
    <sqlStatement name="Q_3">
    <![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY) * -1, 0) INCOMPLETION
          FROM MTL_MATERIAL_TRANSACTIONS
        WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
          AND ORGANIZATION_ID = :ORGANIZATION_ID
          AND TRANSACTION_TYPE_ID = 17
          AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
    </sqlStatement>
    <sqlStatement name="Q_4">
    <![CDATA[SELECT DESCRIPTION
          FROM FND_FLEX_VALUES_VL
        WHERE FLEX_VALUE_SET_ID = 1002470
              AND FLEX_VALUE = :P_LOB]]>
    </sqlStatement>
    <sqlStatement name="Q_5">
    <![CDATA[SELECT DESCRIPTION
         FROM FND_FLEX_VALUES_VL
        WHERE FLEX_VALUE_SET_ID = 1012471
          AND FLEX_VALUE = :P_DIV_FROM
          AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
    </sqlStatement>
    <sqlStatement name="Q_6">
    <![CDATA[SELECT DESCRIPTION
         FROM FND_FLEX_VALUES_VL
        WHERE FLEX_VALUE_SET_ID = 1012471
          AND FLEX_VALUE = :P_DIV_TO
          AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
    </sqlStatement>
    </dataQuery>
    <dataTrigger name="beforeReport" source="PRODUCTION.beforereporttrigger(:P_TRX_DATE_FROM,:P_TRX_DATE_TO)"/>
    <dataStructure>
    <group name="G_CONCATENATED_SEGMENTS" source="Q_1">
    <element name="CONCATENATED_SEGMENTS" datatype="charecter" value="CONCATENATED_SEGMENTS"/>
    <element name="DESCRIPTION" datatype="charecter" value="DESCRIPTION"/>
    <element name="TRANSACTION_UOM" datatype="charecter" value="TRANSACTION_UOM"/>
    <element name="INVENTORY_ITEM_ID" datatype="number" value="INVENTORY_ITEM_ID"/>
    <element name="ORGNIZATION_ID" datatype="number" value="ORGANIZATION_ID"/>
    <group name="G_TRX_DATE" source="Q_1">
    <element name="TRX_DATE" datatype="date" value="TRX_DATE"/>
    <group name="G_1" source="Q_1">
    <element name="ORGANIZATION_CODE" datatype="charecter" value="ORGANIZATION_CODE"/>
    <group name="G_ORGANIZATION_CODEC" source="Q_2">
    <element name="COMPLETION" datatype="number" value="COMPLETION"/>
    </group>
    <group name="G_ORGANIZATION_CODEI" source="Q_3">
    <element name="INCOMPLETION" datatype="number" value="INCOMPLETION"/>
    </group>
    </group>
    </group>
    </group>
    <group name="G_LOB" source="Q_4">
    <element name="CF_LOB" datatype="charecter" value="description"/>
    </group>
    <group name="G_FROM_DIV" source="Q_5">
    <element name="CF_DIVFROM" datatype="charecter" value="description"/>
    </group>
    <group name="G_TO_DIV" source="Q_6">
    <element name="CF_DIVTO" datatype="charecter" value="descrption"/>
    </group>
    <element name="CS_COUNT" function="count()" datatype="number" value="G_CONCATENATED_SEGMENTS.CONCATENATED_SEGMENTS"/>
    </dataStructure>
    </dataTemplate>
    Pls. suggest me.
    null

    Hi,
    without checked the whole document .... you've defined all paramaters as datataype charecter instead of character.
    Regards
    Rainer

  • Error in Forms while creating the trigger- WHEN-CREATE-RECORD

    Hello,
    Right now I am using 11g client side and 10g database.
    I am constantly getting an error while creating triggers in 11g.
    I have created a sequence in SQL developer using the following code:
    create sequence loc_id_sequence
    start with 14;
    After creating the sequence. I am trying to write the PL/SQL code in forms builder for the trigger WHEN-CREATE-RECORD
    declare
    loc_id number;
    begin
    loc_id := loc_id_sequence.nextval;
    end;
    But I have been getting the following error constantly. Can anyone please help me?
    "Error 0 at line 5, column 4
    SQL statement ignored".
    Can anyone please tell me why I am getting that error

    In fact, even I thought there might be some problem with the connectivity with the 10g database and 11g client but the other DB related code works.
    I just have the problem with using sequence for the trigger WHEN-CREATE-RECORD.
    In fact I also tried using WHEN-NEW-RECORD-INSTANCE smart trigger instead of WHEN-CREATE-RECORD for the same sequence. But even that doesn't work.
    Do u have any idea of what that error means?
    "Error 0 at line 5, column 4
    SQL statement ignored"
    Edited by: Pooja 1985 on Feb 26, 2013 5:43 PM
    Edited by: Pooja 1985 on Feb 26, 2013 5:44 PM

  • Error while compiling trigger/procedure for a table in which attribute is r

    I have table
    desc pappu
    name varchar(10);
    start varchar(5);
    end varchar(5);
    One of the attribute is end which is also a reserved keyword in oracle.I want to create some procedure/trigger which use the attribute end but i get errors while compiling that "
    PLS-00103: Encountered the symbol "END" when expecting one of the
    following:
    <an identifier> <a double-quoted delimited-identifier>
    The symbol "<an identifier> was inserted before "END" to
    continue.
    Any workaround for this.

    user620101 wrote:
    name varchar(10);
    start varchar(5);
    end varchar(5);
    SQL> create table pappu (name varchar(10),stat varchar(5),end varchar(5));hi,
    earlier you have given column name start and here you are creating table with colum name stat....anyway try to use column alias for column END
    CREATE TABLE pappu (NAME VARCHAR(10),STAT VARCHAR(5),END VARCHAR(5));
    INSERT INTO PAPPU ( NAME, STAT, END ) VALUES ( 'name1', '1', '14');
    INSERT INTO PAPPU ( NAME, STAT, END ) VALUES ( 'name2', '15', '20');
    CREATE OR REPLACE PROCEDURE testpappu
    AS
    CURSOR test1
    IS
    SELECT NAME,stat AS st,END AS v_end FROM pappu;
    BEGIN
         FOR i IN test1
         LOOP
         DBMS_OUTPUT.PUT_LINE ( 'name - '||i.NAME ||'-'||i.st||'-'||i.v_end );
         END LOOP;
    END;
    SQL> exec testpappu;
    name - name1-1-14
    name - name2-15-20
    PL/SQL procedure successfully completed.
    Thnx
    MB
    Edited by: ManishB on Sep 20, 2010 10:50 AM

  • Error while creating sequence - related to xdb installation?

    I'm getting the following error while creating a sequence -
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Trigger xdb_installation_trigger does not support object creation of
    type SEQUENCE
    ORA-06512: at line 32
    oracle xml db was installed on this instance.
    Is there a way around it? We want oracle xml db installed but we still want to be able to create and drop sequences!

    Hi Expert,
    In T-Code: OB52, We need to open the period 001 for Year - 2012 for the Account Type - S and for GL Account - 799999.
    Configure as shown below for your Posting Period Variant:
    Account Type: S
    From Account: (Only provide any GL Accounts From Range, If you require any specific GL Accounts to be open. Else leave blank)
    To Account:(Only provide any GL Accounts To Range, If you require any specific GL Accounts to be open. Else leave blank)
    From Period: 01
    Year: 2012
    To Period:01
    Year:2012
    From Period:13
    Year:2012
    To Period:16
    Year:2012
    Save
    Regards,
    GK
    SAP

Maybe you are looking for

  • Postfix, mail loop back to myself

    Hello. I have tried to set up postfix and dovecot. However, I cant seem to figure out what is causing this error messages when trying to send emails to other local users. My servers hostname is aurora.tholden.no MX host is aurora.tholden.no I have tw

  • Additional Extended Withholding Tax for Chile.

    Dear Gurus, I've received a request for an additional WIthholding tax used in chile for Foreigner which are not living at chile. The description I've received was as follows. If a Downpayment is applied the Withholding Tax should be set at the Downpa

  • MEREQ001 User Exit Problem for ALV Columns.

    Hello, I am using this user exit to make changes to the Purchase requisition enjoy transaction. There is an ALV used for item details and if you use the customer CI_EBANDB include in EBAN table you can see those fields available in the alv and you ca

  • Syc not working"login not found" after Format

    i had Nigthly installed (last version) all synced i was forced to format my old partition then i re-installed nigthly and tryed to sync and it says login not found, but i can log in here ( https://account.services.mozilla.com/) then i tryed to create

  • Download Lightroom 3.2 for Mac

    I have a license code for a lightroom 3.2 version, which was included with my leica digital camera. Now i changed my computer to a mac an search for am mac download lightroom 3.2. Can anybody help me. Thanks