SQL Statement error when running ETL from DAC

Dear all,
I installed and configured biapps 7.9.6.3, then I run the full load of Subject CRM - Loyalty in DAC. And I got the error of task fail, I check the Session log files in Informatica server.
$ view SEBL_VERT_811.DATAWAREHOUSE.SDE_SBL_Vert_811_Adaptor.SDE_GeographyDimension_Business.log
DIRECTOR> VAR_27028 Use override value [0] for user-defined workflow/worklet variable:[$$passInStatus].
DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
DIRECTOR> VAR_27028 Use override value [SEBL_VERT_811] for session parameter:[$DBConnection_OLTP].
DIRECTOR> VAR_27028 Use override value [SEBL_VERT_811.DATAWAREHOUSE.SDE_SBL_Vert_811_Adaptor.SDE_GeographyDimension_Business.log] for session parameter:[$PMSessionLogFile].
DIRECTOR> VAR_27028 Use override value [1] for mapping parameter:[MPLT_LOAD_W_GEO_DS.$$DATASOURCE_NUM_ID].
DIRECTOR> VAR_27028 Use override value [] for mapping parameter:[$$Hint1].
DIRECTOR> VAR_27028 Use override value [] for mapping parameter:[$$Hint2].
DIRECTOR> TM_6014 Initializing session [SDE_GeographyDimension_Business] at [Mon Jul 25 17:29:47 2011].
DIRECTOR> TM_6683 Repository Name: [Oracle_BI_DW_Base]
DIRECTOR> TM_6684 Server Name: [Oracle_BI_DW_Server]
DIRECTOR> TM_6686 Folder: [SDE_SBL_Vert_811_Adaptor]
DIRECTOR> TM_6685 Workflow: [SDE_GeographyDimension_Business] Run Instance Name: [] Run Id: [260]
DIRECTOR> TM_6101 Mapping name: SDE_GeographyDimension_Business [version 1].
DIRECTOR> TM_6963 Pre 85 Timestamp Compatibility is Enabled
DIRECTOR> TM_6964 Date format for the Session is [MM/DD/YYYY HH24:MI:SS]
DIRECTOR> TM_6827 [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Storage] will be used as storage directory for session [SDE_GeographyDimension_Business].
DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
DIRECTOR> TM_6708 Using configuration property [DisableDB2BulkMode,Yes]
DIRECTOR> TM_6708 Using configuration property [ServerPort,6325]
DIRECTOR> TM_6708 Using configuration property [overrideMpltVarWithMapVar,Yes]
DIRECTOR> TM_6708 Using configuration property [SiebelUnicodeDB,SIEBEL@ANSDEV dwhadmin@ANBDEV]
DIRECTOR> TM_6703 Session [SDE_GeographyDimension_Business] is run by 64-bit Integration Service [node01_hkhgc01dvapp01], version [9.0.1 HotFix2], build [1111].
MANAGER> PETL_24058 Running Partition Group [1].
MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
MANAGER> PETL_24001 Parallel Pipeline Engine running.
MANAGER> PETL_24003 Initializing session run.
MAPPING> CMN_1569 Server Mode: [UNICODE]
MAPPING> CMN_1570 Server Code page: [UTF-8 encoding of Unicode]
MAPPING> TM_6151 The session sort order is [Binary].
MAPPING> TM_6185 Warning. Code page validation is disabled in this session.
MAPPING> TM_6156 Using low precision processing.
MAPPING> TM_6180 Deadlock retry logic will not be implemented.
MAPPING> TM_6187 Session target-based commit interval is [10000].
MAPPING> TM_6307 DTM error log disabled.
MAPPING> TE_7022 TShmWriter: Initialized
MAPPING> DBG_21075 Connecting to database [ANBDEV], user [dwhadmin]
MAPPING> CMN_1716 Lookup [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G] uses database connection [Relational:DataWarehouse] in code page [UTF-8 encoding of Unicode]
MAPPING> CMN_1716 Lookup [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS] uses database connection [Relational:DataWarehouse] in code page [UTF-8 encoding of Unicode]
MAPPING> DBG_21694 AGG_COUNTRY_CITY_ZIPCODE Partition [0]: Index cache size = [1048576], Data cache size = [2097152]
MAPPING> TE_7212 Increasing [Index Cache] size for transformation [AGG_COUNTRY_CITY_ZIPCODE] from [1048576] to [2402304].
MAPPING> TE_7212 Increasing [Data Cache] size for transformation [AGG_COUNTRY_CITY_ZIPCODE] from [2097152] to [2097528].
MAPPING> TE_7029 Aggregate Information: Creating New Index and Data Files
MAPPING> TE_7034 Aggregate Information: Index file is [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Cache/PMAGG14527_3_0_260.idx]
MAPPING> TE_7035 Aggregate Information: Data file is [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Cache/PMAGG14527_3_0_260.dat]
MAPPING> TM_6007 DTM initialized successfully for session [SDE_GeographyDimension_Business]
DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
MANAGER> PETL_24004 Starting pre-session tasks. : (Mon Jul 25 17:29:47 2011)
MANAGER> PETL_24027 Pre-session task completed successfully. : (Mon Jul 25 17:29:47 2011)
DIRECTOR> PETL_24006 Starting data movement.
MAPPING> TM_6660 Total Buffer Pool size is 36000000 bytes and Block size is 128000 bytes.
LKPDP_2> DBG_21097 Lookup Transformation [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS]: Default sql to create lookup cache: SELECT CITY,COUNTRY,ZIPCODE,STATE_PROV FROM W_GEO_DS ORDER BY CITY,COUNTRY,ZIPCODE,STATE_PROV
LKPDP_1> DBG_21312 Lookup Transformation [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G]: Lookup override sql to create cache: SELECT W_LST_OF_VAL_G.VAL AS VAL, W_LST_OF_VAL_G.R_TYPE AS R_TYPE FROM W_LST_OF_VAL_G
WHERE
     W_LST_OF_VAL_G.R_TYPE LIKE 'ETL%' ORDER BY R_TYPE,VAL
LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G] from [1048576] to [1050000].
LKPDP_2> TE_7212 Increasing [Index Cache] size for transformation [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS] from [20000000] to [20006400].
LKPDP_2> TE_7212 Increasing [Data Cache] size for transformation [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS] from [20000000] to [20004864].
READER_1_1_1> DBG_21438 Reader: Source is [ANSDEV], user [SIEBEL]
READER_1_1_1> BLKR_16051 Source database connection [SEBL_VERT_811] code page: [UTF-8 encoding of Unicode]
READER_1_1_1> BLKR_16003 Initialization completed successfully.
WRITER_1_*_1> WRT_8146 Writer: Target is database [ANBDEV], user [dwhadmin], bulk mode [ON]
WRITER_1_*_1> WRT_8106 Warning! Bulk Mode session - recovery is not guaranteed.
WRITER_1_*_1> WRT_8221 Target database connection [DataWarehouse] code page: [UTF-8 encoding of Unicode]
WRITER_1_*_1> WRT_8124 Target Table W_GEO_DS :SQL INSERT statement:
INSERT INTO W_GEO_DS(CITY,CONTINENT,COUNTRY,COUNTY,STATE_PROV,ZIPCODE,DATASOURCE_NUM_ID,X_CUSTOM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?)
WRITER_1_*_1> WRT_8020 No column marked as primary key for table [W_GEO_DS]. UPDATEs Not Supported.
WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_GEO_DS]
WRITER_1_*_1> WRT_8003 Writer initialization complete.
READER_1_1_1> BLKR_16007 Reader run started.
WRITER_1_*_1> WRT_8005 Writer run started.
WRITER_1_*_1> WRT_8158
*****START LOAD SESSION*****
Load Start Time: Mon Jul 25 17:29:47 2011
Target tables:
W_GEO_DS
READER_1_1_1> RR_4029 SQ Instance [SQ_S_ADDR_ORG] User specified SQL Query [SELECT  DISTINCT
S_ADDR_ORG.CITY,
S_ADDR_ORG.COUNTRY,
S_ADDR_ORG.COUNTY,
S_ADDR_ORG.PROVINCE,
S_ADDR_ORG.STATE,
S_ADDR_ORG.ZIPCODE,
      '0' AS X_CUSTOM
FROM
V_ADDR_ORG S_ADDR_ORG
READER_1_1_1> RR_4049 SQL Query issued to database : (Mon Jul 25 17:29:47 2011)
READER_1_1_1> CMN_1761 Timestamp Event: [Mon Jul 25 17:29:47 2011]
READER_1_1_1> RR_4035 SQL Error [
ORA-00942: table or view does not exist
Database driver error...
Function Name : Execute
SQL Stmt : SELECT DISTINCT
S_ADDR_ORG.CITY,
S_ADDR_ORG.COUNTRY,
S_ADDR_ORG.COUNTY,
S_ADDR_ORG.PROVINCE,
S_ADDR_ORG.STATE,
S_ADDR_ORG.ZIPCODE,
'0' AS X_CUSTOM
FROM
V_ADDR_ORG S_ADDR_ORG
Oracle Fatal Error
Database driver error...
Function Name : Execute
SQL Stmt : SELECT DISTINCT
S_ADDR_ORG.CITY,
S_ADDR_ORG.COUNTRY,
S_ADDR_ORG.COUNTY,
S_ADDR_ORG.PROVINCE,
S_ADDR_ORG.STATE,
S_ADDR_ORG.ZIPCODE,
'0' AS X_CUSTOM
FROM
V_ADDR_ORG S_ADDR_ORG
Oracle Fatal Error].
READER_1_1_1> CMN_1761 Timestamp Event: [Mon Jul 25 17:29:47 2011]
READER_1_1_1> BLKR_16004 ERROR: Prepare failed.
WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_GEO_DS] at end of load
WRITER_1_*_1> WRT_8035 Load complete time: Mon Jul 25 17:29:47 2011
LOAD SUMMARY
============
WRT_8036 Target: W_GEO_DS (Instance Name: [W_GEO_DS])
WRT_8044 No data loaded for this target
WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
MANAGER> PETL_24031
***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
Thread [READER_1_1_1] created for [the read stage] of partition point [SQ_S_ADDR_ORG] has completed. The total run time was insufficient for any meaningful statistics.
Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [SQ_S_ADDR_ORG] has completed. The total run time was insufficient for any meaningful statistics.
Thread [TRANSF_1_2_1] created for [the transformation stage] of partition point [AGG_COUNTRY_CITY_ZIPCODE] has completed. The total run time was insufficient for any meaningful statistics.
Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_GEO_DS] has completed. The total run time was insufficient for any meaningful statistics.
MAPPING> CMN_1791 The index cache size that would hold [0] aggregate groups of input rows for [AGG_COUNTRY_CITY_ZIPCODE], in memory, is [0] bytes
MAPPING> CMN_1790 The data cache size that would hold [0] aggregate groups of input rows for [AGG_COUNTRY_CITY_ZIPCODE], in memory, is [0] bytes
MAPPING> CMN_1793 The index cache size that would hold [0] rows in the lookup table for [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G], in memory, is [0] bytes
MAPPING> CMN_1792 The data cache size that would hold [0] rows in the lookup table for [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G], in memory, is [0] bytes
MAPPING> CMN_1793 The index cache size that would hold [0] rows in the lookup table for [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS], in memory, is [0] bytes
MAPPING> CMN_1792 The data cache size that would hold [0] rows in the lookup table for [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS], in memory, is [0] bytes
MANAGER> PETL_24005 Starting post-session tasks. : (Mon Jul 25 17:29:47 2011)
MANAGER> PETL_24029 Post-session task completed successfully. : (Mon Jul 25 17:29:47 2011)
MAPPING> TE_7216 Deleting cache files [PMLKUP14527_524289_0_260L64] for transformation [MPLT_LOAD_W_GEO_DS.LKP_W_LST_OF_VAL_G].
MAPPING> TE_7216 Deleting cache files [PMLKUP14527_524293_0_260L64] for transformation [MPLT_LOAD_W_GEO_DS.LKP_W_GEO_DS].
MAPPING> TM_6018 The session completed with [0] row transformation errors.
MANAGER> TE_7216 Deleting cache files [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Cache/PMAGG14527_3_0_260.idx] for transformation [AGG_COUNTRY_CITY_ZIPCODE].
MANAGER> TE_7216 Deleting cache files [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Cache/PMAGG14527_3_0_260.dat] for transformation [AGG_COUNTRY_CITY_ZIPCODE].
MANAGER> PETL_24002 Parallel Pipeline Engine finished.
DIRECTOR> PETL_24013 Session run completed with failure.
DIRECTOR> TM_6022
SESSION LOAD SUMMARY
================================================
DIRECTOR> TM_6252 Source Load Summary.
DIRECTOR> CMN_1740 Table: [SQ_S_ADDR_ORG] (Instance Name: [SQ_S_ADDR_ORG])
     Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
DIRECTOR> TM_6253 Target Load Summary.
DIRECTOR> CMN_1740 Table: [W_GEO_DS] (Instance Name: [W_GEO_DS])
     Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
DIRECTOR> TM_6023
===================================================
DIRECTOR> TM_6020 Session [SDE_GeographyDimension_Business] completed at [Mon Jul 25 17:29:48 2011].
After review the log, I found the select statement was fail, the SQL below was wrong:
SELECT DISTINCT
S_ADDR_ORG.CITY,
S_ADDR_ORG.COUNTRY,
S_ADDR_ORG.COUNTY,
S_ADDR_ORG.PROVINCE,
S_ADDR_ORG.STATE,
S_ADDR_ORG.ZIPCODE,
'0' AS X_CUSTOM
FROM
V_ADDR_ORG S_ADDR_ORG
There is no table V_ADDR_ORG but S_ADDR_ORG in the Siebel transaction database. So I don't know why it generate this sql when transfering data to OBAW. This is the out of box bi application.
Experts! How could I fix this problem?? Please help, thank you very much!!
Best regards,
Ryan

Ryan,
Yes you missed to create views for source tables. so in dac design>> tables tab, select any table and right clieck on it then click on change capture scripts>> generate view scripts. it will ask you whether it can generate script for all the tables. so it will generate view script for you. now run the entire esript in source database. then your problem will be solved.
if this answered your question . make my answer correct.
Thanks
Jay.

Similar Messages

  • Informatica 9.0.1 Repository Service Shutdown Error when Running ETL in DAC

    Hi All,
    When I executed the ETL in DAC client for full data load, I got this error from log "PLP_LoyMemberTierMovementQtrAggr.log".
    "Failed to connect to the repository on Host : hkhgc01dvapp01, Port : 6315. System Error (errno = 111): Connection refused.)"
    Does it relate to the "Minimun Port Number" and "Maximun Port Number", I set both of them to 6315 in the node01's "Advanced Properties".
    Here list the full log:
    INFO : LM_36435 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Starting execution of workflow [PLP_LoyMemberTierMovementQtrAggr] in folder [PLP] last saved by user [Administrator].
    INFO : LM_44206 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Workflow PLP_LoyMemberTierMovementQtrAggr started with run id [481], run instance name [], run type [Concurrent Run Disabled].
    INFO : LM_44195 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Workflow [PLP_LoyMemberTierMovementQtrAggr] service level [SLPriority:5,SLDispatchWaitTime:1800].
    INFO : VAR_27085 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Parameter file [u01/app/oracle/biapps/dev/Informatica/9.0.1/server/infa_shared/Temp/PLP_LoyMemberTierMovementQtrAggr_5U627E] is opened for [workflow [PLP_LoyMemberTierMovementQtrAggr]].
    INFO : LM_44253 : (19218|1327462720) Workflow started. Clients will be notified
    INFO : LM_36330 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Start task instance [Start]: Execution started.
    INFO : LM_36318 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Start task instance [Start]: Execution succeeded.
    INFO : LM_36505 : (19218|1327462720) Link [Start --> PLP_LoyMemberTierMovementQtrAggr]: empty expression string, evaluated to TRUE.
    INFO : LM_36388 [Tue Aug 02 17:03:02 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] is waiting to be started.
    INFO : LM_36682 [Tue Aug 02 17:03:02 2011] : (19218|1344248128) Session task instance [PLP_LoyMemberTierMovementQtrAggr]: started a process with pid [19492] on node [node01_hkhgc01dvapp01].
    INFO : LM_36330 [Tue Aug 02 17:03:02 2011] : (19218|1344248128) Session task instance [PLP_LoyMemberTierMovementQtrAggr]: Execution started.
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6793 Fetching initialization properties from the Integration Service. : (Tue Aug 02 17:03:03 2011)]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [DISP_20305 The [Preparer] DTM with process id [19492] is running on node [node01_hkhgc01dvapp01].
    : (Tue Aug 02 17:03:03 2011)]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [PETL_24036 Beginning the prepare phase for the session.]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6721 Started [Connect to Repository].]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6722 Finished [Connect to Repository]. It took [1.89204] seconds.]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6794 Connected to repository [Oracle_BI_DW_Base] in domain [Domain_hkhgc01dvapp01] as user [Administrator] in security domain [Native].]
    INFO : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6721 Started [Fetch Session from Repository].]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_51490] Communication with client application on host [10.32.64.75] and port [6315] has failed because of network errors. [System Error (errno = 11): Resource temporarily unavailable].)]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12014 An error occurred while accessing the repository]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error (Connection to the Repository Service [Oracle_BI_DW_Base] is broken.)]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55101] Connection to the Repository Service [Oracle_BI_DW_Base] is broken.)]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55114] Reconnecting to the Repository Service [Oracle_BI_DW_Base]. The resilience time is 180 seconds.)]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:03:05 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_51147] Failed to connect to the repository on Host : hkhgc01dvapp01, Port : 6315. System Error (errno = 111): Connection refused.)]
    ERROR : LM_36488 [Tue Aug 02 17:04:09 2011] : (19218|1327462720) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:04:09 2011]]
    WARNING : LM_36371 : (19218|1335855424) Workflow [PLP_LoyMemberTierMovementQtrAggr] is aborting.
    ERROR : REP_12400 : (19218|1335855424) Repository Error ([REP_12164] Domain-related error: [[DOM_10164] [DOM_10164] Service [Oracle_BI_DW_Base] is disabled in domain [Domain_hkhgc01dvapp01]. [FAULT_PCSFINTERNALEXCEPTION]].)
    ERROR : REP_12400 : (19218|1335855424) Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : REP_12014 : (19218|1335855424) An error occurred while accessing the repository
    ERROR : REP_12400 : (19218|1335855424) Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : REP_12400 : (19218|1335855424) Repository Error ([REP_55102] Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : LM_36060 : (19218|1335855424) Detected a failure on the repository connection(s).
    ERROR : LM_36028 : (19218|1335855424) Failed to get a repository connection.
    ERROR : LM_36110 : (19218|1335855424) Folder [id = 8] not found.
    ERROR : REP_12400 : (19218|1335855424) Repository Error ([REP_12164] Domain-related error: [[DOM_10164] [DOM_10164] Service [Oracle_BI_DW_Base] is disabled in domain [Domain_hkhgc01dvapp01]. [FAULT_PCSFINTERNALEXCEPTION]].)
    ERROR : REP_12400 : (19218|1335855424) Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : REP_12014 : (19218|1335855424) An error occurred while accessing the repository
    ERROR : REP_12400 : (19218|1335855424) Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : REP_12400 : (19218|1335855424) Repository Error ([REP_55102] Failed to connect to repository service [Oracle_BI_DW_Base].)
    ERROR : LM_36060 : (19218|1335855424) Detected a failure on the repository connection(s).
    ERROR : LM_36028 : (19218|1335855424) Failed to get a repository connection.
    ERROR : LM_36110 : (19218|1335855424) Folder [id = 8] not found.
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55115] Still trying to connect to the Repository Service [Oracle_BI_DW_Base]. The remaining resilience time is 116 seconds.)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:04:15 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_12164] Domain-related error: [[DOM_10051] [DOM_10051] Service [Oracle_BI_DW_Base] is not available in domain [Domain_hkhgc01dvapp01]. [FAULT_PCSFTIMEOUTEXCEPTION]].)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:05:16 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55115] Still trying to connect to the Repository Service [Oracle_BI_DW_Base]. The remaining resilience time is 49 seconds.)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:05:23 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_12164] Domain-related error: [[DOM_10051] [DOM_10051] Service [Oracle_BI_DW_Base] is not available in domain [Domain_hkhgc01dvapp01]. [FAULT_PCSFTIMEOUTEXCEPTION]].)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55112] Unable to connect to the Repository Service [Oracle_BI_DW_Base] since the resilience time is up.)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12014 An error occurred while accessing the repository]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error (Failed to connect to repository service [Oracle_BI_DW_Base].)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [REP_12400 Repository Error ([REP_55102] Failed to connect to repository service [Oracle_BI_DW_Base].)]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [CMN_1761 Timestamp Event: [Tue Aug 02 17:06:06 2011]]
    ERROR : LM_36488 [Tue Aug 02 17:09:24 2011] : (19218|1335855424) Session task instance [PLP_LoyMemberTierMovementQtrAggr] : [TM_6224 Failed to fetch session information from the repository in folder [PLP] for session [PLP_LoyMemberTierMovementQtrAggr.PLP_LoyMemberTierMovementQtrAggr]...Unable to Fetch Mapping associated with the session
    ERROR : LM_44131 : (19218|1335855424) Failed to process the handle prepare done request for task [Session task instance [PLP_LoyMemberTierMovementQtrAggr]] since the task is in a terminating state.
    WARNING : LM_36322 [Tue Aug 02 17:09:34 2011] : (19218|1361033536) Session task instance [PLP_LoyMemberTierMovementQtrAggr]: Execution aborted.
    WARNING : LM_36322 [Tue Aug 02 17:09:35 2011] : (19218|1361033536) Workflow [PLP_LoyMemberTierMovementQtrAggr]: Execution aborted.
    Could any one help, thank you very mcuh!
    Best regards,
    Ryan

    what you are describing does not sound like a mapping issue. It sounds more like a network issue or issue with your client/server services. Did you try to stop/restart all services. First see if you can stop/restart everything (DAC, INFA) re-open a new client connection. Then see if you can open the mapping and validate it. Once this is complete, try to run just the workflow standalone. If that is successful, restart the execution plan. Overall, it sounds like a server or connectivity issue, not a mapping logic issue. if this was helpful, mark the response as correct.

  • Error when run page from jdev10.1.3.3

    Hi,
    Im getting the following error when running pages from jdev 10.1.3.3. I have loaded all the frequired files from the server(.class and .xml).please help..
    Thanks.
    ## Detail 0 ##
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrAddCntctCO.processRequest(ByrAddCntctCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)

    The OA Framework forum is available at the following URL:
    OA Framework
    Regards,
    Didier.

  • Loading script "script path-name" failed (0xC0000006) error when running scripts from DFS

    We have this issue where any number of random scripts that execute at startup will produce the following error when run from DFS:
    The status code for this error equates to STATUS_IN_PAGE_ERROR - The instruction at 0x%p referenced memory at 0x%p. The required data was not placed into memory because of an I/O error status of 0x%x.
    This does not always happen each time and the script can be random. If we move the script(s) to a non DFS, we do not see this. I believe the issue is being caused by a minute disconnect to the DFS for whatever script is attempting to execute at that
    moment. This happens across a few (consistent) offices on different computers.
    Any ideas?

    Hi,
    According to your description, my understanding is that you run scripts in a shared folder which is added to a DFS Namespace, then the error prompt. However, you can run the scripts when you directly access the shared folder.
    What scripts did you run? Is there any error message in the Event Log? If so, please provide us the detailed error message for our further research.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ODI 11g error when running scenario from startscen

    Hi,
    I'm getting the following error when trying to run the scenario using a standalone agent:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 6, in ?
    ImportError: no module named re
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2375)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1616)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1581)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
    Everything runs fine from the Designer. I can execute the scenarion using the agent from Designer no problem.
    Any idea on this error? Sounds like a path error, but I've checked everything.
    Thanks in advance.
    Nick

    I believe i have the answer.
    When are you are triggering via ODI Designer its going and reading from this folder path Oracle_ODI1\oracledi.sdk\lib
    Now there is another Folder called Lib which has the re.py causing which enables Designer to run the re module perfectly.
    When the same scenarios is being called via startscen it reads the Oracle_ODI1\oracledi\agent\lib and here there is Jython.jar is there but Lib which contains the re.py is missing.
    Temporary Solution - Copy the Lib from Oracle_ODI1\oracledi.sdk\lib to Oracle_ODI1\oracledi\agent\lib and call your startscen again .It should work.
    The reason i am calling this a temporary solution is that we would need to modify the odiparams accordingly to read from the right path namely(Lib) and i dont have much time to look at it now. i will look into it later.
    You can try if this works and if you want you can check with metalink if there is proper solution or reach Oracle Support for more appropriate solution or any other experts who have experinced the same can update the solution.

  • Internal server error when running report from form

    i am getting the following error when I run a report from a form using 9i:
    java.lang.NumberFormatException: mgb_5
    this is my code:
    DECLARE
    repid REPORT_OBJECT;
    vc_rep VARCHAR2(20);
    vc_URL VARCHAR2(100);
    vc_rep_job VARCHAR2(10);
    BEGIN
    repid := find_report_object('rep2');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'C:\uni\mdt\cw1\rep2.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER,'rep_mgb');
    vc_rep := RUN_REPORT_OBJECT(repid);
    vc_rep_job := substr(vc_rep,instr(vc_rep,'_')+1);
    vc_URL := '/reports/rwservlet/getjobid' ||vc_rep_job||'?server='||get_report_object_property (repid,report_server);
    web.show_document(vc_url, '_blank');
    END;

    Michael,
    print out "vc_rep_job" to a message or alert to see if this contains a valid number. If this shows as a valid number try to manually type the access URL into a browser URL field. If this shows then you have a hidden character within your URL.
    The PLSQL code looks okay.
    Frank

  • Error when running script from OTM

    Hi team,
    Customer is trying to run script from OTM but is getting a "JWG file does not exist" error. I found the following metalink note and the customer has verified that the repositories are defined with exactly the same names & paths in OTM & Openscript.
    Scripts Failing To Play Back From OATS Test Manager (OTM) (Doc ID 1587941.1)
    I've also checked the following post in the forums but this doesn't apply to the customer because both the OTM & agent are on Windows:
    https://forums.oracle.com/message/10707963
    Appreciate any pointers
    Thanks,
    Krishna

    Hi Krishna
    Is the agent running as a windows service or started from an interactive batch?
    What kind of script is that? Web, Forms, Siebel, other?
    Are they different repositories or the same? If different, how do you copy scripts from one to the other one?
    Cheers
    JB

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • ORA-00900: invalid SQL statement error while running jobs in APEX 4.2

    Hi,
    the following procedure compiled successfully in Apex 4.2:
    create or replace procedure "DEVLOE" AS
    L_TEMPLATE VARCHAR2(32000);
    L_base_TEMPLATE VARCHAR2(32000);
    begin
    l_base_template := '<html>
    <head>
    <title>HTML Editor Sample Page</title>
    </head>
    <body>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">Hi #Contact#,</span></span></span></p>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">This is a notification message to inform you that <strong>Development </strong>effort </span><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">and milestones are yet to be updated for ECR: </span><span class="plsql-operator" style="line-height: 14.65625px; white-space: nowrap;"></span><span class="plsql-word" style="line-height: 14.65625px; white-space: nowrap;">#ECR_NAME#. This ECR has priority #p#. </span></span></span></p>
    <table align="center" border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
    <tbody>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="color: rgb(255, 0, 0);"><span style="font-family: verdana, geneva, sans-serif;"><u><strong>Department</strong></u></span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(255, 0, 0);"><u><strong><span style="background-color: rgb(255, 255, 255);">Contact Name</span></strong></u></span></span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Product Management Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#pdm#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">PMO Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#PMO#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Dev Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#Dev#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">QA Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#QA#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Infodev Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#Info#</span></span></td>
    </tr>
    </tbody>
    </table>
    <p>
     </p>
    <span fckbookmark="1" style="display: none;"> </span><span fckbookmark="1" style="display: none;"> </span>
    <table align="center" border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
    <tbody>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Team</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Start Date</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">End Date</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Effort(in person days)</span></span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Development</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d1#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e1#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L1#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Quality Assurance</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d2#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e2#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L2#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Information Development</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d3#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e3#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L3#</span></span></td>
    </tr>
    </tbody>
    </table>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">The ECR application is located</span> at </span>: https://apex.oraclecorp.com/pls/apex/f?p=1472:1<span fckbookmark="1" style="display: none;"> </span></p>
    <span fckbookmark="1" style="display: none;"> </span>
    <p>
    <span style="font-family: verdana, geneva, sans-serif; font-size: 14px;">Regards,</span></p>
    <p>
     </p>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">ECR Team</span></span></p>
    </body>
    </html>
    FOR c1 IN (select ECR_NAME,PMO_CONTACT, QE_LOE,INFODEV_LOE, DEV_START_DATE, DEV_END_DATE, QE_CONTACT,QE_START_DATE,INFODEV_START_DATE,INFODEV_END_DATE, QE_END_DATE, INFODEV_CONTACT, PDM_CONTACT, DEV_LOE,ECR_PRIORITY, DEV_CONTACT from ECR_NAME WHERE DEV_LOE IS NULL AND ECR_STATUS = 'Effort Estimation is in Progress' AND ECR_PRIORITY <=5)
    LOOP
    l_template := l_base_template;
    l_template:= replace(l_template, '#Contact#', c1.DEV_CONTACT);
    l_template:= replace(l_template, '#ECR_NAME#', c1.ECR_NAME);
    l_template:= replace(l_template, '#p#', c1.ECR_PRIORITY);
    l_template:= replace(l_template, '#PMO#', c1.PMO_CONTACT);
    l_template:= replace(l_template, '#pdm#', c1.PDM_CONTACT);
    l_template:= replace(l_template, '#Dev#', c1.DEV_CONTACT);
    l_template:= replace(l_template, '#QA#', c1.QE_CONTACT);
    l_template:= replace(l_template, '#Info#', c1.INFODEV_CONTACT);
    l_template:= replace(l_template, '#d1#', c1.DEV_START_DATE);
    l_template:= replace(l_template, '#L1#', c1.DEV_LOE);
    l_template:= replace(l_template, '#e1#', c1.DEV_END_DATE);
    l_template:= replace(l_template, '#d2#', c1.QE_START_DATE);
    l_template:= replace(l_template, '#L2#', c1.QE_LOE);
    l_template:= replace(l_template, '#e2#', c1.QE_END_DATE);
    l_template:= replace(l_template, '#d3#', c1.INFODEV_START_DATE);
    l_template:= replace(l_template, '#L3#', c1.INFODEV_LOE);
    l_template:= replace(l_template, '#e3#', c1.INFODEV_END_DATE);
    htmldb_mail.Send(p_to => '[email protected]',
    p_cc => '[email protected]',
    p_from => '[email protected]',
    p_body => l_template,
    p_body_html => l_template,
    p_subj => 'cxxxx:' ||c1.ECR_NAME );
    END LOOP;
    end;
    the when I ran:
    begin
    devloe();
    end;
    I received the mail as well.
    However, when I try to schedule this in the job:
    declare
    JobNo user_jobs.job%TYPE;
    begin
    dbms_job.submit(JobNo, 'BEGIN
    DEVLOE();
    END;', sysdate, 'sysdate + 1/24/60'); commit; end;
    The job status shows failures every minute.
    dbms_job.run(job_no);
    It gave : ORA-00900: invalid SQL statement

    First of all I don't see a procedure header.
    Secondly I see you commit inside your procedure. This is a bug.
    Thirdly I see you also commit inside a loop. This is also a bug, and needs to be removed asap.
    The error indicates a statement doesn't parse. As you don't post the error stack, nor a table definition no one can reproduce the problem.
    You need to isolate the statements, one by one, and run them through sql*plus to see what happens.
    Sybrand Bakker
    Senior Oracle DBA

  • Inconsistent State Error when running DataMiner OBE sample workflows

    Hello
    In a test environment, running Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production and using SQL Developer Client 3.0.0.4
    and Data Miner 11.2.0.1.10.109. ,
    java version "1.6.0_27"
    Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
    Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing)
    I setup my test user and imported the OBE workflows. When I try to Run any of the components, I get an error : Inconsistent State - Finished job detected but unable to reload the editor.
    java.lang.Exception: Inconsistent state - finished job detected, but unable to reload the editor.
         at oracle.dmt.dataminer.workflow.WorkflowEditor.jobFinished(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem.fireJobFinished(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem.access$100(Unknown Source)
         at oracle.dmt.dataminer.runner.RunItem$7.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    If I close the workflow, I cannot reopen. I get a error: Failed to open Workflow.

    Thanks.
    I downloaded a later version and this has resolved the issue.
    Oracle SQL Developer 3.2.20.09
    Data Miner     oracle.dmt.dataminer     11.2.1.1.09.87     Loaded
    Removed the old repository and installed the new updated and the issue was resolved.

  • Errors when running db_stat from command line

    Hi,
    I'm trying to use db_stat at the command line to generate statistics.
    However, I keep getting errors. I cannot use the db->stat call
    because this is to be done at a customer site using their existing binary.
    Note that the call to db_stat -m fails, while the call to db_stat -d <dbname>
    prints an error/warning then appears to succeed.
    Most likely, there is some usage subtlety that I have missed.
    Any suggestions about what I have done wrong?
    I am using BDB 4.6.21 on Windows. Databases are created inside a
    db environment.
    Here is a transcript:
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir __*
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab\data
    08/07/2008 07:11 PM 24,576 __db.001
    08/07/2008 07:11 PM 65,536 __db.002
    08/07/2008 07:11 PM 270,336 __db.003
    08/07/2008 07:11 PM 499,712 __db.004
    4 File(s) 860,160 bytes
    0 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -m
    db_stat.exe: __db.001: unable to find environment
    db_stat.exe: DB_ENV->open: No such file or directory
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir ..
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab
    08/18/2008 12:44 PM <DIR> .
    08/18/2008 12:44 PM <DIR> ..
    08/07/2008 10:09 PM 2,646,016 c_thumbprint.db
    09/05/2008 03:08 PM <DIR> data
    07/16/2008 06:43 PM <DIR> dbs
    08/07/2008 10:09 PM 42,131,456 e_thumbprint.db
    08/07/2008 10:09 PM 10,485,760 f_thumbprint.db
    08/07/2008 10:09 PM 5,226,496 g_thumbprint.db
    08/07/2008 10:09 PM 41,869,312 h_thumbprint.db
    08/07/2008 10:09 PM 41,926,656 i_thumbprint.db
    08/09/2008 02:47 AM <DIR> old_data
    08/07/2008 10:09 PM 10,633,216 p_thumbprint.db
    08/14/2008 05:26 PM 1,749 redirect.xml
    09/08/2008 04:12 PM <DIR> sn_data
    08/07/2008 10:09 PM 78,725,120 t_thumbprint.db
    08/07/2008 10:10 PM 42,074,112 v_thumbprint.db
    08/07/2008 10:50 PM 335,790,080 x_thumbprint.db
    11 File(s) 611,509,973 bytes
    6 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -d ..\x_thumbprint.db
    db_stat.exe: __db.001: unable to find environment
    Mon Sep 08 16:17:01 2008 Local time
    61561 Hash magic number
    9 Hash version number
    Little-endian Byte order
    Flags
    8192 Underlying database page size
    0 Specified fill factor
    4882732 Number of keys in the database
    4882732 Number of data items in the database
    24548 Number of hash buckets
    35M Number of bytes free on bucket pages (82% ff)
    0 Number of overflow pages
    0 Number of bytes free in overflow pages (0% ff)
    8220 Number of bucket overflow pages
    32M Number of bytes free in bucket overflow pages (51% ff)
    0 Number of duplicate pages
    0 Number of bytes free in duplicate pages (0% ff)
    1 Number of pages on the free list

    If I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
    Your code:
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.flush();I think you need to enter one extra line before the flush():
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.newLine();  // hit ENTER
                            outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call.

  • Database connection error when running report from web application

    Hi all,
    When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
    Rep-501 : Unable to connect to the specified database.
    I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
    GPGWL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = GPGWL)
    )

    Please ask this question in Jdeveloper forum.

  • Error when running report from form

    When i press on the button in form to run the report i get:
    Microsoft Visual C++ Runtime library
    Runtime Error!
    Programm C:\Oracle\DB9iDS\bin\ifweb90.exe
    abnormal program termination
    What could be the problem?

    I just installed the new patch. But now OC4J won't start -i get "-jar: illegal argument":
    C:\Program Files\Common Files\System\Mapi\1060\NT>C:\oracle\livo9iDS\jdk\bin\jav
    a -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingle
    tonClass=com.inprise.vbroker.orb.ORB -Doracle.security.jazn.config=C:\oracle\liv
    o9iDS\j2ee\Oracle9iDS\config\jazn.xml -Doracle.home=C:\oracle\livo9iDS -DORACLE_
    HOME=C:\oracle\livo9iDS -jar C:\oracle\livo9iDS\j2ee\home\oc4j.jar -userThreads
    -config C:\oracle\livo9iDS\j2ee\Oracle9iDS\config\server.xml
    -jar: illegal argument
    usage: java [-options] class
    where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -classpath <directories separated by semicolons>
    list directories in which to look for classes
    -prof[:<file>] output profiling data to .\java.prof or .\<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
    -nojit disable JIT compiler

  • Getting error when running cmexport from ciscoworks campus manager

    When executing cmexport by the command cmexport ut -u cwsiver -p VER143r -host -f /tmp/file.xml
    the following error mssg is displayed
    Be sure that the ANI Server is processing requests and then use the cmexport command
    the DE run good via GUI.
    PLATFORM : SUNSOLARIS 2.8
    JAVA 1.3.1
    Pls give me a solution.
    pls email me at [email protected]
    thanks
    George Titus

    I found out today the problem was merely a permissions issue. Unfortunately, I don't have root access to the Unix box. The structure of the message "Be sure that the ANI Server is processing requests and then use the cmexport command" didn't appear to be a permissions related problem. I got with the Unix admin, ran the cmexport command and found out it was...

  • ORA-12560: TNS: protocol adapter error when running forms from IE

    hi
    when i running forms i get the error
    ORA-12560: TNS: protocol adapter
    please any help

    Check if your tnsnames.ora file has the entry for database you are trying to connect.
    Are you able to connect using sqlplus??
    Navnit

Maybe you are looking for

  • Crystal Report 2011- SAP Data Sources: CL - no items found

    Background: SAP ECC 6.0 was purchased three years ago with DSD package. Only FI and SD modules are in use. Accounts download data filesfrom SAP to produce spreadsheet reports. Few user trust these numbers. We are setup as "SAP in the Cloud" model- Li

  • Issue in Dynamic table creation in userform

    Hi all, My userform displays a simpletable using an arraylist returned from the WF as data source. I have all the columns of this dynamic table displayed as labels. Question: Now I have added another new column to this table which I want to be editab

  • Data Extraction from R/3

    Hi All, Iam trying to extract data from my R/3 source system. When i trigger for a Delta update from BW system, the status of the JOb is status "Yello" meaning - Request still running. On further Analysis, its observed that the respective Job in R/3

  • Patch SAPKH60013 is taking too much time.

    Dear Export, We are applying patch SAPKH60013 in our development server. it is stuck on "tp user check OK". Earlier we Applied SAPKH60012 within one hour, but SAPKH60013 is running more than hours. After that we 1.Stop the SPAM 2.Run the stattistics

  • VO attribute not saving half time

    Hi We have created a custom message text field and attached it to a seeded VO on a seeded iexpense page. The VO attribute value is saving into the database sometimes but sometimes there is no value saved Any ideas whi is it doing it please Thanks