C++ application with pro*c generating random errors

Hi there,
As described, I have a C++ application with a pro*c module to access the DB. The problem is that it produces random errors.
Randomly, it fails executing a query, but other times it fails in other modules, or just opening a cursor. I list you two examples of queries that fail:
================================================================
CHECK_CONNECTED
EXEC SQL BEGIN DECLARE SECTION;
long Id_db;
long startValidityMicroseconds_db;
long stopValidityMicroseconds_db;
VARCHAR name_db [LEN_NAME + 1];
VARCHAR creationDate_db [LEN_DATE + 1];
VARCHAR startValidityDate_db [LEN_DATE + 7 + 1];
VARCHAR stopValidityDate_db [LEN_DATE + 7 + 1];
short name_db_ind;
EXEC SQL END DECLARE SECTION;
// Set the key
Id_db = Id
EXEC SQL SELECT NAME,
                         TO_CHAR(CREATION_DATE, :DATE_FORMAT),
                         TO_CHAR(START_VALIDITY_DATE, :DATE_FORMAT),
                         TO_CHAR(STOP_VALIDITY_DATE, :DATE_FORMAT),
                         NVL (START_VALIDITY_MICROSECONDS ,0),
                         NVL (STOP_VALIDITY_MICROSECONDS ,0),
INTO :name_db :name_db_ind,
     :creationDate_db,
     :startValidityDate_db,
     :stopValidityDate_db,
     :startValidityMicroseconds_db,
     :stopValidityMicroseconds_db,
FROM ROP_TB
WHERE ID = :Id_db;
================================================================
================================================================
CHECK_CONNECTED
EXEC SQL BEGIN DECLARE SECTION;
     long objectId_db;
     VARCHAR objectName_db [LEN_OBJECT_NAME + 1];
EXEC SQL END DECLARE SECTION;
strncpy ((char *) objectName_db.arr, object_db.c_str (), LEN_OBJECT_NAME);
objectName_db.len = object_db.length ();
EXEC SQL DECLARE CU_OBJECT_TB CURSOR FOR
SELECT OBJECT_ID INTO :objectId_db
FROM OBJECT_TB
WHERE OBJECT_NAME = :objectName_db;
EXEC SQL OPEN CU_OBJECT_TB;
================================================================
It keeps failing randomly and I don't know really know what my eyes are missing. Sometimes I get a "simple" seg fault because a query returned invalid values and my application crashes, other times I get oracle errors.
I really hope someone could help me here :)
Kind regards!

Well, random because it is not always the same nor the error code.
- Sometimes I get segmentation fault on "sqlcxt";
- "ORA-01024: invalid datatype in OCI call" on queries that usually work
- "ORA-03114: not connected to ORACLE" on queries that usually work
I have run valgrind and the only "place" where there could be an issue is reported to be caused by oracle libs:
==27055== 8,214 bytes in 1 blocks are possibly lost in loss record 193 of 206
==27055== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==27055== by 0x43E2975: nsbal (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x42F04E6: nsiorini (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x4300FD2: nsopenalloc_nsntx (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x42FFD73: nsopenmplx (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x42F91FD: nsopen (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x42BDAFE: nscall1 (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x42BB0D7: nscall (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x435F653: niotns (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x43F9E40: nigcall (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x436AD4B: osncon (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
==27055== by 0x41EAA31: kpuadef (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)

Similar Messages

  • Help with Pro*C/C++ precompiler error

    Hello.
    I have a little experience working with Pro*C/C++ and now I am trying to learn more by my own.
    I think this is an easy question. I am trying to precompile the Thread_example1.pc code from Pro*C/C++ Precompiler Programmer's Guide, Release 9.2 (I am trying it in a windows machine because I have pthreads for windows installed, so that I have commented the DCE_THREADS references).
    The thing is I am not able to precompile the code (I have tried several precompiler options).
    Now I am getting the error (I am sorry it is in Spanish):
    Error semßntico en la lÝnea 126, columna 32, archivo d:\Ejercicios_ProC\MultithreadExample\Thread_example1.pc:
    EXEC SQL CONTEXT ALLOCATE :ctx;
    ...............................1
    PCC-S-02322, se ha encontrado un identificador no definido
    The thing is that it is defined (outside a EXEC SQL DECLARE section but the precompiler CODE is set to default that does not need to be inside).
    If I declare it inside a EXEC SQL DECLARE section I get:
    Error semßntico en la lÝnea 105, columna 18, archivo d:\Ejercicios_ProC\MultithreadExample\Thread_example1.pc:
    sql_context ctx[THREADS];
    .................1
    PCC-S-02322, se ha encontrado un identificador no definido
    I have also tried writing EXEC SQL CONTEXT USE :ctx[THREADS]; just before the declare section but I get the same error than before.
    Can someone help me?

    Hmm, try the updated one (mltthrd1.pc). I've tried it (and a converted-to-pthread version on Linux). Both work fine. What version of Pro*C are you using?
    NAME
      MltThrd1
    FUNCTION
    NOTES
      32-bit Pro*C/C++ Multithreaded sample program from Pro*C/C++ User's Guide.
    Requirements
      The program requires a table ACCOUNTS to be in the schema
      SCOTT/TIGER. The description of ACCOUNTS is.
    SQL> desc accounts
    Name                  Null?   Type
    ACCOUNT                       NUMBER(10)
    BALANCE                       NUMBER(12,2)
    For proper execution, the table should be filled with the
    accounts 10001 to 10008.
         shsu: run MltThrd1.sql first.
    OWNER
    DATE
    MODIFIED
      rahmed     10/10/96 - ported for WIN32 port.
    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sqlca.h>
    #define CONNINFO "SCOTT/TIGER"
    #define THREADS 3
    EXEC SQL BEGIN DECLARE SECTION;
         struct parameters
              sql_context * ctx;
              int thread_id;
         typedef struct parameters parameters;
         struct record_log
              char action;
              unsigned int from_account;
              unsigned int to_account;
              double amount;
         typedef struct record_log record_log;
    EXEC SQL END DECLARE SECTION;
    /* Function prototypes   */
    void err_report(struct sqlca);
    void do_transaction(parameters *);
    void get_transaction(record_log**);
    void logon(sql_context,char *);
    void logoff(sql_context);
    record_log records[]= { { 'M', 10001, 10002, 12.50 },
                   { 'M', 10001, 10003, 25.00 },
                   { 'M', 10001, 10003, 123.00 },
                   { 'M', 10001, 10003, 125.00 },
                   { 'M', 10002, 10006, 12.23 },
                   { 'M', 10007, 10008, 225.23 },
                   { 'M', 10002, 10008, 0.70 },
                   { 'M', 10001, 10003, 11.30 },
                   { 'M', 10003, 10002, 47.50 },
                   { 'M', 10002, 10006, 125.00 },
                   { 'M', 10007, 10008, 225.00 },
                   { 'M', 10002, 10008, 0.70 },
                   { 'M', 10001, 10003, 11.00 },
                   { 'M', 10003, 10002, 47.50 },
                   { 'M', 10002, 10006, 125.00 },
                   { 'M', 10007, 10008, 225.00 },
                   { 'M', 10002, 10008, 0.70 },
                   { 'M', 10001, 10003, 11.00 },
                   { 'M', 10003, 10002, 47.50 },
                   { 'M', 10008, 10001, 1034.54}};
    static unsigned int trx_nr=0;
    HANDLE hMutex;
    void main()
         EXEC SQL BEGIN DECLARE SECTION;
              sql_context ctx[THREADS];
         EXEC SQL END DECLARE SECTION;  
         HANDLE thread[THREADS];
         parameters params[THREADS];
         int j;
         DWORD ThreadId ;
         /* Initialize a process in which to spawn threads. */
         EXEC SQL ENABLE THREADS;
         EXEC SQL WHENEVER SQLERROR DO err_report(sqlca);
         /* Create THREADS sessions by connecting THREADS times, each
         connection in a separate runtime context. */
         for(i=0; i<THREADS; i++){
              printf("Start Session %d....\n",i);
              EXEC SQL CONTEXT ALLOCATE :ctx[j];
              logon(ctx[j],CONNINFO);
         /* Create mutex for transaction retrieval.
            Created an unnamed/unowned mutex. */
         hMutex=CreateMutex(NULL,FALSE,NULL);
         if (!hMutex){
              printf("Can't initialize mutex\n");
              exit(1);
         /* Spawn threads. */
         for(i=0; i<THREADS; i++){
              params[j].ctx=ctx[j];
              params[j].thread_id=i;
              printf("Thread %d... ",i);
              thread[j]=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)do_transaction,
                                     &params[j],0,&ThreadId);
              if (!thread[j])
                   printf("Cant create thread %d\n",i);
              else
                   printf("Created\n");
         /* Logoff sessions. */
         for(i=0;i<THREADS;i++){
              printf("Waiting for Thread %d to stop....",i); /* waiting for thread to end */
              if(WaitForSingleObject(
                             thread[j],                       /* handle of thread  */
                             INFINITE) != WAIT_OBJECT_0)      /* time-out interval */
                   printf("Error waiting for thread % to terminate\n", i);
              else
                   printf("Thread %d stopped\n",i);
              printf("Stop Session %d....\n",i);
              logoff(ctx[j]);
              EXEC SQL CONTEXT FREE :ctx[j];
    } /* end main() */
    * Function: do_transaction()
    * Description: This function executes one transaction out of
    *                          the records array. The records array is managed
    *                          by get_transaction().
    void do_transaction(parameters *params)
    struct sqlca sqlca;
    EXEC SQL BEGIN DECLARE SECTION;
         record_log *trx;
    EXEC SQL END DECLARE SECTION;
    sql_context ctx;
    ctx = params->ctx;
         /* Done all transactions ? */
         while (trx_nr < (sizeof(records)/sizeof(record_log))){
              get_transaction(&trx);
              EXEC SQL WHENEVER SQLERROR DO err_report(sqlca);
              /* Use the specified SQL context to perform the executable SQL
              statements that follow. */
              EXEC SQL CONTEXT USE :ctx;
              printf("Thread %d executing transaction # %d\n",params->thread_id,trx_nr);
              switch(trx->action){
                   case 'M':       EXEC SQL UPDATE ACCOUNTS
                                  SET BALANCE=BALANCE+:trx->amount
                                  WHERE ACCOUNT=:trx->to_account;
                                  EXEC SQL UPDATE ACCOUNTS
                                  SET BALANCE=BALANCE-:trx->amount
                                  WHERE ACCOUNT=:trx->from_account;
                                  break;
                   default:
                                  break;
              EXEC SQL COMMIT;
    * Function: err_report()
    * Description: This routine prints the most recent error.
    void err_report(struct sqlca sqlca)
         if (sqlca.sqlcode < 0)
              printf("\n%.*s\n\n",sqlca.sqlerrm.sqlerrml,sqlca.sqlerrm.sqlerrmc);
         exit(1);
    * Function: logon()
    * Description: This routine logs on to Oracle.
    void logon(sql_context ctx,char *conninfo){
         EXEC SQL BEGIN DECLARE SECTION;
              char connstr[20];
         EXEC SQL END DECLARE SECTION;
         EXEC SQL CONTEXT USE :ctx;
         strcpy(&connstr[0],(char*)conninfo);
         EXEC SQL CONNECT :connstr;
    * Function: logoff()
    * Description: This routine logs off from Oracle.
    void logoff(sql_context ctx)
         EXEC SQL CONTEXT USE :ctx;
         EXEC SQL COMMIT WORK RELEASE;
    * Function: get_transaction()
    * Description: This functions manages the records array.
    void get_transaction(record_log** temp)
    DWORD dwWaitResult;
         /* Request ownership of mutex. */
         dwWaitResult=WaitForSingleObject(
                             hMutex,      /* handle of mutex   */
                             INFINITE);       /* time-out interval */
         switch (dwWaitResult) {
        /* The thread got mutex ownership. */
        case WAIT_OBJECT_0:
                        *temp = &records[trx_nr];
                        trx_nr++;
                        /* Release ownership of the mutex object. */
         if (! ReleaseMutex(hMutex))
                             printf("Not able to release mutex\n");
         break;
        /* Cannot get mutex ownership due to time-out. */
        case WAIT_TIMEOUT:
                             printf("Cannot get mutex ownership due to time-out\n");
        /* Got ownership of the abandoned mutex object. */
        case WAIT_ABANDONED:
                             printf("Got ownership of the abandoned mutex object\n");
    }

  • Need help with codings on generating random words

    hi guys.. i need help with generating random words from a list of array. please help me with the codings.. let me know the other variables that are needed if required as well.. thanks a million..
    private String wordList[] = { "abstraction", "command", "arithmetic", "backslash" };

    Hi,
    You can use the Random class to generate Random number between 0 to the array length and use the generated random number as index in to the Strign array.
    To generate Random number use the following code
    Random r = new Random();
    num = ((r.nextInt() >>> 1) % wordList.length);
    num will have the randomly generated number.

  • Writing Oracle Application with Pro*C

    Hi,
    Does anyone know how to write an application in Oracle
    (probably using Pro*C) such that, the results produced by a sql
    query can be produced with minimum response time ?
    I have tried using cursors, but I realised that the results
    are not produced as it goes along, meaning, it has to wait for
    the "OPEN curosr" command to finish, before we get our first few
    tuples.
    Also, there seems to have some problem for using hints in
    Pro*C, I have tried using statement such as "SELECT /*+ USE_NL
    (R) */ ... " But it is as equivalent to not having that hint. I
    tried the samething in sqlplus, it works fine, but not with my
    Pro*C application.
    Is there anyone out there doing similar stuff ? I would
    appreciate if you can share some experience with me. Thank you
    very much.
    Regards,
    Chia Chou
    null

    I have written many Pro*C programs and have been an Oracle DBA
    for over 5 years. Response time is an interesting topic. Your
    questions does not seem to focus on response time. Response time
    is usually improved by database design and effective SQL. Almost
    everything else is insignificant. Try doing explain plan's to
    view your SQL's path and optimize this for every SQL that is in
    your application. I have written Pro*c applications that operate
    in parallel putting hundreds of thousands of records in
    reasonable amounts of time. You can also improve time by using
    array processing. As far as SELECT statements, if there are
    multiple rows returned, cursors are the only way to go. Anyway,
    if you have other concerns or questions, drop me an e-mail.
    -Jim
    [email protected]
    Chia Chou (guest) wrote:
    : Hi,
    : Does anyone know how to write an application in Oracle
    : (probably using Pro*C) such that, the results produced by a
    sql
    : query can be produced with minimum response time ?
    : I have tried using cursors, but I realised that the results
    : are not produced as it goes along, meaning, it has to wait for
    : the "OPEN curosr" command to finish, before we get our first
    few
    : tuples.
    : Also, there seems to have some problem for using hints in
    : Pro*C, I have tried using statement such as "SELECT /*+ USE_NL
    : (R) */ ... " But it is as equivalent to not having that hint.
    I
    : tried the samething in sqlplus, it works fine, but not with my
    : Pro*C application.
    : Is there anyone out there doing similar stuff ? I would
    : appreciate if you can share some experience with me. Thank you
    : very much.
    : Regards,
    : Chia Chou
    null

  • AIR 2.0 application with 2.5 Runtime Installation Error

    Hi there,
    I'm getting an error while trying to install an AIR application. Basically, I just see the AIR installer dialog with an empty progress bar and an "Installing ..." message. Here's what the log file looks like:
    Nov 4 23:07:57 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Commandline is: -psn_0_172074
    Nov 4 23:07:57 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
    Nov 4 23:08:02 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Runtime Installer end with exit code 6
    Nov 4 23:08:02 MM com.apple.launchd.peruser.501[97] ([0x0-0x2a02a].com.adobe.air.Installer[201]): Exited with exit code: 6
    Nov 4 23:15:15 MM Eye-Fi Center[226]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
    Nov 4 23:15:15 MM /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[226]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
    Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
    Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Commandline is: -eula -nai
    Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
    Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Starting eula display
    Nov 4 23:15:17 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Finished eula display
    Nov 4 23:15:28 MM configd[13]:
    Nov 4 23:15:29: --- last message repeated 2 times ---
    Nov 4 23:15:29 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Finished eula display
    Nov 4 23:15:29 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Runtime Installer end with exit code 0
    Nov 4 23:15:29 MM /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[226]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
    Nov 4 23:15:29 MM configd[13]:
    Nov 4 23:15:59: --- last message repeated 14 times ---
    Nov 4 23:16:31 MM /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[156]: No valid tickets, timing out
    Some background on the application I'm trying to install:
    1. The application descriptor file points at the 2.0 version of the runtime. The application I'm trying to install has been packaged as a dmg.
    2. I already have the 2.5 version of the AIR runtime installed on this machine, so I'm not sure why there are references to the EULA in the log file.
    3. I'm not actively double clicking on the dmg file. The .dmg is actually being installed by a third party application via the command line.
    Any ideas on what could be happening here or can you offer any remedial action on how to get this application installed correctly?
    Thanks
    Sean

    Thanks for the responses guys,
    The third party application is passing a -silent and -location flag to when launching the application.
    Another log file from a different computer but experiencing the same issue (kinda looks like a permissions issue with the chown failure):
    Nov  4 16:48:43 null-f81edfe7f68c authexec[24758]: executing /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
    Nov  4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
    Nov  4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Commandline is: -ei
    Nov  4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: No installed runtime detected
    Nov  4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Starting silent runtime install. Installing runtime version 2.5.0.16600
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown failed (-1)
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown succeeded
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown succeeded
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Runtime Installer end with exit code 0
    Nov  4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Elevated install completed
    Nov  4 16:49:00 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Elevated install failed: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]
    Nov  4 16:49:00 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]
    Nov  4 16:49:03 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Runtime Installer end with exit code 7
    Nov  4 16:49:03 null-f81edfe7f68c com.apple.launchd.peruser.501[240] ([0x0-0x41f41f].com.adobe.air.Installer[24753]): Exited with exit code: 7
    Nov  4 16:50:20 null-f81edfe7f68c mdworker[24721]: Found source of class (null), but no such class was found.
    Nov  4 16:50:20 null-f81edfe7f68c mdworker[24721]: Could not initialize source from /Users/dnk/Library/Application Support/AddressBook/Sources/7FB5AEF5-79B0-4A86-8845-2631B2BB0FEB
    Nov  4 16:50:20 null-f81edfe7f68c mdworker[24721]: Found source of class (null), but no such class was found.
    Nov  4 16:50:20 null-f81edfe7f68c mdworker[24721]: Could not initialize source from /Users/dnk/Library/Application Support/AddressBook/Sources/7FB5AEF5-79B0-4A86-8845-2631B2BB0FEB
    Nov  4 16:53:24 null-f81edfe7f68c Eye-Fi Center[24781]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
    Nov  4 16:53:24 null-f81edfe7f68c /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[24781]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
    Nov  4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
    Nov  4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Commandline is: -eula -nai
    Nov  4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
    Nov  4 16:53:25 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Starting eula display
    Nov  4 16:53:27 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Finished eula display
    Nov  4 16:53:30: --- last message repeated 1 time ---
    Nov  4 16:53:30 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Runtime Installer end with exit code 0
    Nov  4 16:53:30 null-f81edfe7f68c /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[24781]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)

  • Stand-Alone application with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • How do you generate random data info using json and spry?

    I have a mobile applicaton that uses spry datasets that dynamically populate a jquery mobile listview by using a json file. Everything is operating as it should.
    However, I would like to understand how to pull random objects from the json file to have them displayed on a different page.
    My json file is standard and not complicated. It has several levels. Each is represented as below:
                                  { "Level1":
                                                                {"imageurl":"images/_myimage.png",
                                                                "someData":"S,A,P,R",
                                                                "levelLongDesc":"further description",
                                                                "name": "John Doe",
                                                                "page": "referencepage",
                                                                "description":"The description of the image"
    {"imageurl":"images/_myimage.png",
      "someData":"S,A,P,R",
      "levelLongDesc":"further description",
      "name": "John Doe",
      "page": "referencepage",
      "description":"The description of the image"
    Json file Level1 has about 70 objects
    What I would like to do is randomly load one of the Level1 object arrays into the page when the user selects a Level 1 radio button that is on the screen. I know how to create the page, radio buttons and basics, but just don't know how to pull in the random data.
    I've found one code sample on this site that speaks to spry and xml, but I haven't been able to apply it in any way that works for me with the json file:
    http://forums.adobe.com/message/662551
    I've also googled. There isn't much on spry datasets with json and generating random info. There was a little bit on sorting, but that didn't help either.
    Does anyone have a good example/tutorial of how to use the random function with spry/json?
    TIA
    -Rachel

    I've done similar things before.  A few thoughts for you:
    1. I'm assuming you're doing a buffered period or frequency measurement on the incoming encoder pulses, right?  First key point is that you'll have data that is spaced equally in position, but not equally in time.  If you are looking for a time-based FFT such that increasing speed will shift your spectrum, you're going to need to go through an interpolation process to resample your data as though equally-spaced in in time. 
    2. Your 149 pulse per rev encoder may be a significant source of error unless its 149 pulses are placed with extreme accuracy.  Any error in pulse placement violates your underlying assumption of data that is equally-spaced in position.  It'll be very helpful to send your data through a software lowpass filter to attenuate those artifacts. 
    3. I am not sure what you mean by "decompose the buffered data (array) into a single datastream."  You'll get an array of periods / frequencies from the call to DAQmx Read.  If you want to use it in a LabVIEW waveform datatype, you'll first need to do the resampling to create equally-spaced-in-time data.  The LabVIEW waveform datatype (and all the analysis functions like FFT that use it) depend on receiving data with a fixed constant time interval between samples.
    -Kevin P.

  • InterMedia Image with Pro*C?

    Can I write InterMedia Image application with Pro*C? Where may I get more information?
    Thanks,
    Louis

    I am sure you can. But we don't ahve any pro*c examples. We dor have an OCI example in "c". That might be helpful. It is in <ORACLE_HOME>/ord/img/demo/imgdemo.c
    The above should be a good starting point, you might want to ask in the proc*c forum how LOBs are handled.
    Larry

  • "An error occurred while attempting to load this plug-in."  I donloaded the Nik Collection, but when I try "export with preset" the only preset as an option is HDR Efex Pro 2.  The other plug ins appear in my applications folder, but I get the error messa

    I downloaded the Nik Collection, but when I try "export with preset" the only preset as an option is HDR Efex Pro 2.  The other plug ins appear in my applications folder, but I get the error message at the start of this post...I can us, say, Silver Efex stand alone, but I want to use as a plug in...can anyone help please..?

    Hi,
    Follow these instructions: Accessing the plug-ins from host applications - Nik Collection Help

  • Error on Undeploy:  Application with name "crazy" does not exist.

    I am working with Jdeveloper Studio Edition Version 11.1.1.6.0 Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.
    I have applications that run fine, however when I click on the undeploy, I get the error below. Please keep in mind that this is a simple sample application -- no security. Just one form with reading an HR schema table. Just a sample to try and figure out why I am getting this error. Any ideas?
    1. I have deleted the system folder (repeatedly)
    2. I deleted out my entire C:\Users\stuart\AppData\Local\Temp directory (someone mentioned this in another post)
    3. Reinstalled Jdeveloper.
    Thank you,
    Stuart
    PS, the application is called crazy because that is what this error is making me!
    I have included the start of weblogic too, just in case that sheds some light on this issue.
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    C:\Jdev1116\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Jdev1116\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Jdev1116\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Jdev1116\WLSERV~1.3 -Dwls.home=C:\Jdev1116\WLSERV~1.3\server -Dweblogic.home=C:\Jdev1116\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Jdev1116\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=C:\Jdev1116\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Jdev1116\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Jdev1116\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\stuart\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Jdev1116\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Jdev1116\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Aug 26, 2012 10:09:26 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Aug 26, 2012 10:09:26 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Aug 26, 2012 10:09:27 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <Aug 26, 2012 10:09:27 PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Aug 26, 2012 10:09:29 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 26, 2012 10:09:29 PM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 26, 2012 10:09:29 PM EDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 26, 2012 10:09:39 PM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 26, 2012 10:09:45 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 26, 2012 10:09:45 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.55:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 26, 2012 10:10:38 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 76287 ms.
    IntegratedWebLogicServer started.
    [Running application crazy on Server Instance IntegratedWebLogicServer...]
    [10:10:41 PM] ---- Deployment started. ----
    [10:10:41 PM] Target platform is (Weblogic 10.3).
    [10:10:42 PM] Retrieving existing application information
    [10:10:42 PM] Running dependency analysis...
    [10:10:43 PM] Deploying 2 profiles...
    [10:10:44 PM] Wrote Web Application Module to C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\crazy\ViewControllerWebApp.war
    [10:10:47 PM] Wrote Enterprise Application Module to C:\Users\stuart\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\crazy
    [10:10:47 PM] Deploying Application...
    <Aug 26, 2012 10:10:48 PM EDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application crazy is not versioned.>
    [10:11:15 PM] Application Deployed Successfully.
    [10:11:15 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:11:15 PM] http://stuart-PC:7101/crazy-ViewController-context-root
    [10:11:15 PM] Elapsed time for deployment: 34 seconds
    [10:11:15 PM] ---- Deployment finished. ----
    Run startup time: 34164 ms.
    [Application crazy deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://stuart-PC:7101/crazy-ViewController-context-root/faces/main.jspx
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,130 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,131 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,132 during the configured idle timeout of 5 secs>
    <Aug 26, 2012 10:11:25 PM EDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 192.168.1.55:52,129 during the configured idle timeout of 5 secs>
    [Application termination requested.  Undeploying application crazy.]
    [10:11:54 PM] ---- Deployment started. ----
    [10:11:54 PM] Target platform is (Weblogic 10.3).
    [10:11:54 PM] Undeploying Application...
    <AppPolicyHandler> <removePolicies> Removal of application policy failed. Reason: {0}.
    oracle.security.jps.service.policystore.PolicyObjectNotFoundException: Application with name "crazy" does not exist.
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.unsync_getApplicationPolicy(XmlPolicyStore.java:704)
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicy(XmlPolicyStore.java:673)
         at oracle.security.jps.internal.config.deploy.DeployUtil.removeAppPolicy(DeployUtil.java:253)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler$2.run(AppPolicyHandler.java:123)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler.removePolicies(AppPolicyHandler.java:118)
         at oracle.security.jps.internal.config.deploy.AppPolicyHandler.handle(AppPolicyHandler.java:69)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.callHandler(JpsApplicationLifecycleListener.java:125)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.handle(JpsApplicationLifecycleListener.java:106)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.postStop(JpsApplicationLifecycleListener.java:145)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PostStopAction.run(BaseLifecycleFlow.java:351)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.postStop(BaseLifecycleFlow.java:95)
         at weblogic.application.internal.flow.HeadLifecycleFlow.unprepare(HeadLifecycleFlow.java:290)
         at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:619)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:248)
         at weblogic.application.internal.EarDeployment.unprepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:205)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:117)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentUnprepare(AbstractOperation.java:689)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.removeDeployment(RemoveOperation.java:313)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.doCommit(RemoveOperation.java:114)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [10:11:56 PM] Application Undeployed Successfully.
    [10:11:56 PM] Elapsed time for deployment: 2 seconds
    [10:11:56 PM] ---- Deployment finished. ----
    [Application crazy stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: Stuart Fleming on Aug 26, 2012 7:12 PM

    Frank,
    Thank you for your answer. I had not checked (will do so tonight).
    I had considered it adequate to wipe out the entire system directory (thereby wiping out the integrated weblogic server), but perhaps it was not adequate? I did not specify that this is on the integrated server, but that is the case....
    Stuart

  • Oracle 11g and PRO*C :  pre-compile errors only with 11g !

    Hi !
    I didn't find a forum specific to pro*c, so here i am.
    I've downloaded Oracle 11g and recompiled our applications using pro*c
    We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
    With Oracle 11g, it doesn't work !
    every EXEC SQL followed by a command works.
    every EXEC SQL followed by a query generates the same error.
    Example :
    char *oracle_date_courante()
         static char buf[SIZE_ORADATE+1];
         EXEC SQL SELECT sysdate into :buf from DUAL;
         if(ORA_SQLERROR())
              oracle_error("sélection date courante");
              buf[0]=0;
         return buf;
    PRO*C output :
    Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
    EXEC SQL
    .1
    PLS-S-00000, SQL Statement ignored
    erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
    EXEC SQL
    .1
    PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
    So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
    If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
    So, it's a vicious circle !
    Any ideas ?
    Thanks...
    Vincent

    Adding the option common_parser=yes removes the errors !
    But brings errors linked to the PL/SQL parser such like
    CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
    1>, [], [], [], []
    1>ORA-06553: PLS-801: erreur interne [55916]
    Really vicious..and still not precompiling !
    By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
    So bye bye option common_parser and i'm back to my orignals errors.
    Message was edited by:
    Vicenzo

  • Final Cut Pro generated an error / unexpectedly Quit w/compressor & Qmaster

    Hello all I have Final Cut Studio 3. I am using the latest Final Cut and the latest compressor.
    I have a Core i7 so i am trying to use all 8 virtual threads or at least four. However when I use the "This Computer" option in compressor it is not an issue. It will compress fine. However, when i use the virtual cluster i set up with QMaster i get the dreaded "Final Cut Pro generated an error or unexpectedly" and it fails. I am unsure what to do. Here are the circumstances:
    When I to compressor from FCP and use "this computer" it is no problem.
    When I send to compressor from FCP and try to use your personalized cluster (taking advantage of those expensive cores!) it won't work. it fails and give me the aforementioned error.
    PS I know that I can make the file quick time self contained movie fm final cut and send it to compressor, but this program should work on it own without doing that.
    I have enclosed a video which can be seen at:
    http://www.youtube.com/watch?v=PYfvPvKI1Uk
    http://www.youtube.com/watch?v=ZyKsw8ii5Ig

    irtual Clustering works by launching multiple copies of the Compressor encoder, each of which needs access to the source media that you are compressing. This is fine if you are compressing from a source movie clip, as they can just open the file multiple times.
    But when you export from Final Cut Pro, FCP can only communicate with one copy of the encoder - it cannot launch multiple copies of itself. Consequently, you cannot export to a virtual cluster from the Send to Compressor command.
    A common misconception is that exporting to a QuickTime movie is slower. This is wrong - it is actually faster for two reasons - 1) it is faster to read the file directly than to request each frame from FCP and 2) you have access to virtual clustering. If your timeline is completely or partially rendered, deselect Make Self-Contained and the QuickTime export will be quicker.
    Another issue is that you are using up all of your virtual cores, leaving nothing left over for the operating system. There are varying schools of thought on how many to choose, ranging from the total number of cores minus one to half the number of cores (the latter being Apple's official suggestion). Also remember that each instance requires at least 1 GB of RAM, and remember to leave some extra for the OS and running applications.

  • "Final Cut Pro generated an error or unexpectedly" Error when using Qmaster

    Hello all I have Final Cut Studio 3. I am using the latest Final Cut and the latest compressor.
    I have a Core i7 so i am trying to use all 8 virtual threads or at least four. However when I use the "This Computer" option in compressor it is not an issue. It will compress fine. However, when i use the virtual cluster i set up with QMaster i get the dreaded "Final Cut Pro generated an error or unexpectedly" and it fails. I am unsure what to do. Here are the circumstances:
    When I to compressor from FCP and use "this computer" it is no problem.
    When I send to compressor from FCP and try to use your personalized cluster (taking advantage of those expensive cores!) it won't work. it fails and give me the aforementioned error.
    I have enclosed a video which can be seen at:
    http://www.youtube.com/watch?v=ZyKsw8ii5Ig
    PS I know that I can make the file quick time self contained, but this program should work on it own.

    Virtual Clustering works by launching multiple copies of the Compressor encoder, each of which needs access to the source media that you are compressing. This is fine if you are compressing from a source movie clip, as they can just open the file multiple times.
    But when you export from Final Cut Pro, FCP can only communicate with one copy of the encoder - it cannot launch multiple copies of itself. *Consequently, you cannot export to a virtual cluster from the Send to Compressor command.*
    A common misconception is that exporting to a QuickTime movie is slower. This is wrong - it is actually faster for two reasons - 1) it is faster to read the file directly than to request each frame from FCP and 2) you have access to virtual clustering. If your timeline is completely or partially rendered, deselect Make Self-Contained and the QuickTime export will be quicker.
    Another issue is that you are using up all of your virtual cores, leaving nothing left over for the operating system. There are varying schools of thought on how many to choose, ranging from the total number of cores minus one to half the number of cores (the latter being Apple's official suggestion). Also remember that each instance requires at least 1 GB of RAM, and remember to leave some extra for the OS and running applications.

  • How to run Pro*C application with Instant Client in Oracle 10g

    i am try to run but Pro*C application give error orasql10.dll
    i have downlod Instant Client in Oracle 10g from site. i have unzip and maked environmental virable in PC.
    but application not run. given error orasql10.dll .......
    my problem is thrat i want to run Pro*C application with Instant Client in Oracle 10g .....
    oracle say that run but how........

    According to this thread, it does not work on Windows:
    Does Instant Client 10.1.0.4 for Windows 32 support ProC ?

  • Error publishing "Application with runtime embedded" file

    I am trying to publish an "Application with runtime embedded" file out of Flash Pro CC. I am getting an error that I think indicates that certain necessary files that get packaged with the SWF to create the App are not able to be copied. The error message occurs at the end of the process after the SWF file has been published and after it has tried to gather the AIR files.
    iMac 27" 3.4 GHz Intel Core i7, 8 processor cores,  32gb ram,  OS X 10.8.4
    Flash Pro CC Ver. 13.0.0.759 (up to date)
    Error Message
    Unknown error.
    unexpected failure: Copy failed
    java.io.IOException: Copy failed
    at
    com.adobe.air.nai.MacPackager.copyWithPermissions
    (MacPackager.java:54)
    at
    com.adobe.air.nai.AppBundlePackager.assembleInternalFiles(AppBundlePackager.java:52)
    at
    com.adobe.air.nai.Native Packager.createPackage(NativePackager.java:132}
    at
    com.adobe.air.ADT.parseArgsAndGo(ADT.java:572)
    at com.adobe.air.ADT.run(ADT.java:419)
    at com.adobe.air.ADT.main(ADT.java:469)
    I can publish the exact same file as an AIR package and have it work.
    I have repaired my permissions in the off chance that Flash could not access the files due to bad permissions. 
    I don't what my next steps should be. My chat with support netted nothing but the suggestion I post to this forum. Anyone have any ideas?
    Thanks in advance

    Hi,
    Please let us know, which Player Target you are trying to publish to : AIR for Desktop/AIR for Android.
    Are you trying to use AIR3.6 or any other SDK using Manage AIR SDK?
    If possible, provide the scenario file so that we can repro the issue.
    Regards,
    Meenakshi

Maybe you are looking for

  • Firefox will not save Site Certificate Exceptions even when checked to do so.

    I have a publicly free Wifi Access point near by that I use daily. When logging on to this site I get a Warning about the Sites Certificate and do I want to proceed, I choose YES and then are asked if I want to make this exception permanent and I put

  • How to use MDS deploying with EAR file

    Hi everybody. I would to use MDS in my web application in order to use customization across the sessions. I've performed every step to do this on JDeveloper (11.1.1.3.1). I've tested my application deploying directly from JDeveloper using Application

  • Frame not displaying

    My program switches between frames. One frame loses its display and there is no error. Can I do anything about this?

  • Google and Youtube not accessible intermittently from FiOS internet

    Ever since the beginning of 2015, I have the problem accessing Google and Youtube. This happens intermittently and it now happens almost everyday. While I can't access Google and Youtube, every other website works fine. And I know it is not Google an

  • Java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended

    Jdeveloper 11.1.1.6 WLS 10.3.5 The screen in our application polls at a fixed interval, The screen renders properly and the poll too works good. but intermittently we get the error below. and there will be no data in the screen. and if reload the scr