Flat File Conversion Error: Unable to initialize communication channel

Dear experts.
I have a file to flat file scenario. I just wanted to test this first because it's the first time. I followed this blog: /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
I get this message: Channel has not been correctly initialized and cannot process messages. I looked around on the forum and in other blogs, and it seems something is wrong with my Content Conversion Parameters. Could you please advise?
The message is a small customer test message:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TEST xmlns:ns0="urn://xi/csr/customer">
  <Customer_File>
    <Customer>
      <Name>xxx</Name>
      <Last>xxxxxxxx</Last>
    </Customer>
  </Customer_File>
</ns0:MT_TEST>
The parameters I am using are:
Recordset structure: Customer_File,Customer
Customer.addHeaderLine: 0
Customer.fieldSeparator: #
Customer_File.fieldSeparator: 'nl'
Customer.endSeparator: 'nl'
The mapping I am using is one-to-one.
This is not working for me...
Furthermore, I would like to set the Name and Last tag to set field lengths. Is this possible for these tags??
Thanks in advance.
*Will reward points for helpful answers

hi
PLz try with the following steps:
chk the occurence of customer.
if the customer occurence is (0-------unbounded) then
ur recordset structure is  Customerfile,Customer*
may helful.
THanks
MANas

Similar Messages

  • TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem

    Hi All,
    I have installed HCM 9 with 8.49.08 PeopleTools on CentOS 5.3 Linux. Everything went fine (I have completed the creation of database) until I am about to start the application server that I have just created. I am getting this error, "TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem".
    @Nicolas
    I have followed the instructions in your blog (it's very helpful). However I am now stack with this error.
    Screenshot of the error after trying to boot the appserv:
    PeopleSoft Domain Boot Menu
    Domain Name: DMHCM
    1) Boot (Serial Boot)
    2) Parallel Boot
    q) Quit
    Command to execute (1-2, q) [q]: 1
    psappsrv.cfg has changed archiving old one...
    Copying DMHCM/Archive/psappsrv.cfg to DMHCM/Archive/psappsrv_092509_0140_32.cfg
    Attempting to boot bulletin board...
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem
    ==============ERROR!================
    Boot attempt encountered errors!. Check the TUXEDO log for details.
    ==============ERROR!================
    Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :
    Here the content of the ULOG:
    CentOSLinux:psoft /applications/speople/pt849/appserv >tail ULOG.092509
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
    This seems to be the main culprit... GP_CAT:1345: ERROR: pif: can't load 'registry.so' and I have searched this forum and found several suggestions like make sure that LD_LIBRARY_PATH is correctly set .. incorrect permssions, delete the .adm ... etc. I have done all of this suggestions. I even re-installed the Tuxedo 9.1 with the assumption that some files like resistry,.so might have been corrupted but this all did not resolved the issue. I believe I have done my I could before going here asking for help.
    Here is the content of my .bash_profile:
    # .bash_profile
    PS1='CentOSLinux:$USER $PWD >'
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    export BEA=/applications/speople/bea
    export TUXDIR=/applications/speople/bea/tuxedo91
    export BEA_HOME=/applications/speople/bea/weblogic92
    export ORACLE_HOME=/applications/oracle/10.2.0
    export PATH=$PATH:$ORACLE_HOME/bin
    LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    LIBPATH=$TUXDIR/lib:$LIBPATH:/usr/lib; export LIBPATH
    export PS_HOME=/applications/speople/pt849
    . $PS_HOME/psconfig.sh
    I would really appreciate any help on this issue. Many thanks.

    Please, check if you have the following RPM installed :
    [root@centos ~]# more /etc/redhat-release
    CentOS release 5.3 (Final)
    [root@centos ~]# rpm -q compat-libstdc++-33-3.2.3-61.i386
    compat-libstdc++-33-3.2.3-61
    [root@centos ~]#I tested it on CentOS5.3, everything is working fine. Please, see below all the installation steps :
    1. Install CentOS 5.3 with all the default settings
    2. Install Tuxedo
    2.1 => Modify the file ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin
    mv ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin /tmp/tuxedo91_32_SLES_9_x86.bin
    cat /tmp/tuxedo91_32_SLES_9_x86.bin|sed 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' > ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin2.2 => Download and install JDK5
    ./jdk-1_5_0_21-linux-i586-rpm.bin
    For inquiries please contact:  Sun Microsystems,  Inc., 4150
    Network  Circle,  Santa  Clara,   California  95054,  U.S.A.
    (LFI#143333/Form ID#011801)
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
      inflating: jdk-1_5_0_21-linux-i586.rpm
    Preparing...                ########################################### [100%]
       1:jdk                    ########################################### [100%]
    Done.
    [root@centos JDK5]# # /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_21/bin/java 2
    [root@centos JDK5]# /usr/sbin/alternatives --config java
    There are 4 programs which provide 'java'.
      Selection    Command
    *  1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
       2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
    + 3           /usr/java/jdk1.5.0_16/bin/java
       4           /usr/java/jdk1.5.0_21/bin/java
    Enter to keep the current selection[+], or type selection number: 4
    [root@centos JDK5]# java -version
    java version "1.5.0_21"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
    Java HotSpot(TM) Client VM (build 1.5.0_21-b01, mixed mode, sharing)
    [root@centos JDK5]#2.3 => Modify the file install.sh
    The line
    sh $INSTALL_BINARY -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;becomes
    sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_21/jre/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;2.4 => run the Tuxedo Installer
    sh ./install.sh3. Install Peopletools
    4. Install the RPM (from the CentOS 5.3 DVD) - this is required for psadmin
    rpm -Uvh compat-libstdc++-33-3.2.3-61.i386.rpm5. Install additional RPMs for Oracle
    rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm
    rpm -Uvh kernel-headers-2.6.18-128.el5.i386.rpm
    rpm -Uvh glibc-headers-2.5-34.i386.rpm
    rpm -Uvh glibc-devel-2.5-34.i386.rpm
    rpm -Uvh compat-gcc-34-3.4.6-4.i386.rpm
    rpm -Uvh libgomp-4.3.2-7.el5.i386.rpm
    rpm -Uvh gcc-4.1.2-44.el5.i386.rpm
    rpm -Uvh gcc-c++-4.1.2-44.el5.i386.rpm
    rpm -Uvh compat-glibc-headers-2.3.4-2.26.i386.rpm
    rpm -Uvh compat-glibc-2.3.4-2.26.i386.rpm
    rpm -Uvh glibc-utils-2.5-34.i386.rpm
    rpm -Uvh compat-db-4.2.52-5.1.i386.rpm
    rpm -Uvh compat-gcc-34-c++-3.4.6-4.i386.rpm
    rpm -Uvh compat-libstdc++-296-2.96-138.i386.rpm
    rpm -Uvh gcc43-4.3.2-7.el5.i386.rpm
    rpm -Uvh gcc43-c++-4.3.2-7.el5.i386.rpm6. Install Oracle (database or client depending of the config)
    6.1 => add the entry in tnsnames.ora
    6.2 => create the symbolic link
    [oracle@centos oracle]$ cd $ORACLE_HOME/lib
    [oracle@centos lib]$ ln -s libclntsh.so libclntsh.so.9.06.3 => make the ORACLE_HOME readable and executable for everbody
    7. psoft user
    7.1 => The .bash_profile
    [psoft@centos ~]$ more .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi
    # User specific environment and startup programs
    export ORACLE_HOME=/oracle/10.2
    PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
    export PATH
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PS_HOME=/psoft/psoft849
    . $PS_HOME/psconfig.sh
    [psoft@centos ~]$7.2 => Modify the file $PS_HOME/psconfig.sh
    PS_HOSTTYPE=redhat-4-ia32;export PS_HOSTTYPE8. psadmin, create the new domain, and start
    PeopleSoft Domain Boot Menu
         Domain Name: DMOHRMS9
      1) Boot (Serial Boot)
      2) Parallel Boot
      q) Quit
    Command to execute (1-2, q) [q]: 1
    psappsrv.cfg has changed archiving old one...
    Copying DMOHRMS9/Archive/psappsrv.cfg to DMOHRMS9/Archive/psappsrv_092609_1218_35.cfg
    Attempting to boot bulletin board...
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    No bulletin board exists. Entering boot mode.
    INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
    INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
    INFO: Licensed to: Oracle-Peoplesoft-ISV
    Booting admin processes ...
    exec BBL -A :
            process id=26552 ... Started.
    1 process started.
    Attempting to boot ...
    INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
    INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
    INFO: Licensed to: Oracle-Peoplesoft-ISV
    Booting server processes ...
    exec PSWATCHSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSWATCHSRV :
            process id=26555 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26556 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26560 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26564 ... Started.
    exec PSSAMSRV -A -- -C psappsrv.cfg -D DMOHRMS9 -S PSSAMSRV :
            process id=26568 ... Started.
    exec PSMONITORSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSMONITORSRV :
            process id=26571 ... Started.
    exec JSL -A -- -d unused -n //centos.phoenix-nga:9000 -m 1 -M 3 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
            process id=26574 ... Started.
    exec JREPSVR -A -- -W -P /psoft/psoft849/appserv/DMOHRMS9/jrepository :
            process id=26576 ... Started.
    8 processes started.HTH,
    Nicolas.

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • Oracle ODBC  - Internal Error - unable to initialize NLS during driver load

    I'm having some trouble with my ODBC connections which I hope someone can please help me with!
    About 6 weeks ago all was working as normal.
    As far as I know there have been no updates to the ORacle DB, the Windows XP operating system or the ODBC Drivers.
    Today when I opened access and visual case 2 to connect to Oracle I was at first greeted with a:
    unable to connect SQLState=IM004 SQL_HANDLE_ENV
    error. ODBC also kept crashing.
    I restarted the computer and was confronted with a different error:
    odbc SQLSTate 08004 ORA 12154 TNS could not resolve the connect identifier specified
    I was able to fix this error by setting the environment variable TNS_ADMIN in windows xp environment variables. I'm extremely confused about how this happened though as it was working and I don't think anything has changed.
    I was then able to connect to the database via Microsoft Access but when I opened Visual Case 2 and tried to make an update, I was confronted with the following error:
    Oracle ODBC Driver - internal error - unable to initialize NLS during driver load
    I looked in the registry at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home1
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home2
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1
    and NLS_LANG was set to "AMERICAN_AMERICA.WE8MSWIN1252" in all 3 places.
    (Though KEY_OraClient10g_home2 only had 4 entries as opposed to KEY_OraClient10g_home1's 13 entries)...
    Since I made those changes I can no longer connect through Access.
    I just receive a ODBC - connection to 'xxx' failed
    Advice greatly appreciated!!!!
    Edited by: user11150264 on Aug 25, 2009 10:21 PM

    Actually it sort of does...
    I switched the ODBC connection to use instant client and now it's all working again.
    The biggest mystery is what changed to make it suddenly stop working the old way...

  • Receiver CC File - Complex Flat File Conversion

    Dear forum users,
    I want your opinion about the feasibility of the content conversion described below using Receiver CC.
    The structure of my file is the following
    - A File header segment (FH)
    - 1...N Business Object that is described by many segments
    - A file footer segment (FF)
    Exemple of business Object : Purchase Order :
    1 Header Segment (POH)
    N Item Segments (POI)
    Exemple of file :
    FH
    POH (PO 1)
    POI (PO 1)
    POI (PO 1)
    POH (PO 2)
    POI (PO 2)
    POI (PO 2)
    FF
    Is content conversion standard tool can deal with such a structure ?
    Note that in the file created, the order of each segment has a big importance :
    PO Items of PO 1 must be after PO Header of PO 1 but before PO Header of PO 2 !
    I thnik the structure requested by converter described in documentation do not fit with my case :
    <root>...
      <nameA>
            <value1>value</value1>
            <value2>value</value2>
            <value3>value</value3>
      </nameA>
      <nameB>
            <value4>value</value4>
      </nameB>
    </root>
    I should have :
    <root>
    <FH>
      <PO>
        <POH>...</POH>
        <POI>...</POI>
        <POI>...</POI>
      </PO>
      <PO>
        <POH>...</POH>
        <POI>...</POI>
        <POI>...</POI>
      </PO>
    </FH>
    </root>
    Thanks very much for your help and opinions
    Jean-Charles.
    Edited by: Jean-Charles CARRET on Jan 3, 2011 6:12 PM

    Thank you Stephan for your answer.
    Firstly, could you confirm whether the "row" elements under the root tag are on the same level than other elements (POH, POI, FF and FH) or not ?
    I just check the both following parts of the help documentation called :
    - [Inserting MessageTransformBean in the Module Processor|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    - Using the dispatcher : Example
    For me, it is not clear.
    1. Do I need to create an external class (XSLT Library for example) to manipulate my XML data before passing it to the standard Flat File Conversion tool ? (Here the manipulation would be to remove the row XML elements)
    2. Where is located the famous "Data" directory in which I must put my xsl file ?
    Thanks for clarifications.
    Jean-Charles

  • Extraction, Flat File, Generic Data Source, Delta Initialization

    Extraction, Flat File, Generic Data Source, Delta Initialization
    I have couple of questions regarding data extraction.
    1.     If you have Data Source a Flat File e.g. Excel file I know that you have to create Data Source at BW side. How do you upload updates, by selecting Delta Update when executing next Data Load? Do you ever u201Cconvertu201D this Excel file into Application Tables to become SAP Source 
    2.     Can you please give me example of situation where you had to create Generic Data Source? What is difference between Time Stamp, Calend. Day and Numeric Pointer. Which one is most common to select?
    3.     I read somewhere that Generic Data Source does not have Setup Table. I thought that you have to have Setup Table in order to load transaction Data otherwise you will lock the Application Tables. Where am I going wrong im my thinking please?
    4.     What are steps in terms of IP before, under and after Delta Initialization. I belive that you can do two ways:
    Full Update - Initialize Delta Process (without Data Transfer) u2013 Delta Update  or
    Initialize Delta Process (with Data Transfer) u2013 Delta Update
    Am I right? What is most common method and why?
    5.     If you want to add a filed in Data Source after 6 month using it, you want to do it without re-init Delta Queue. You add field in RSA6, then provide info for ABAP to populate new filed (info u2013 name of Data Source, Extract Structure, field added, name of Application Table which contains the field). How does it work now as there is no SetUp table it has been deleted after Initialisation? How does Delta Queue know that it is going to receive data which has been  expanded by one field or it may does not need to know at all?
    THANKSSSSSSSSSs

    Hi,
    1. If you have Data Source a Flat File e.g. Excel file I know that you have to create Data Source at BW side. How do you upload updates, by selecting Delta Update when executing next Data Load? Do you ever u201Cconvertu201D this Excel file into Application Tables to become SAP Source
    Once you create Datasource for A flat file extraction then it is file source system specific hence you cont change to Application table source Data source
    In info package you can change the source as application server instead of desktop no need to change the DS
    2. Can you please give me example of situation where you had to create Generic Data Source? What is difference between Time Stamp, Calend. Day and Numeric Pointer. Which one is most common to select?
    When we don't find any standard extractor then we can go for Generic(if i want information sales along with finance information in a data source then generally we dont get standard one hence we can go for generic DS)
    Check the below link for More about generic DS .
    http://wiki.sdn.sap.com/wiki/display/BI/Generic+Extraction
    for Delta capturing you can use
    Timestamp(if the table has time stamp filed  so it can stamp the last changed record in that table hence it is easy to get delta based on the time stamp)
    Calday- (If the table doesn't have the Timestamp filed then search for Calday where you can stamp the delta based on the date when documents are changed )
    Numericpointer : If the table doesn't above both then we go for this option where you can the numeric value change stamp )
    3. I read somewhere that Generic Data Source does not have Setup Table. I thought that you have to have Setup Table in order to load transaction Data otherwise you will lock the Application Tables. Where am I going wrong im my thinking please?
    Generic datasource nothing but we extracting data directly from the database table without any interface between the application/systems
    4. What are steps in terms of IP before, under and after Delta Initialization. I belive that you can do two ways:
    Full Update - Initialize Delta Process (without Data Transfer) u2013 Delta Update or
    Initialize Delta Process (with Data Transfer) u2013 Delta Update
    Am I right? What is most common method and why?
    Correct
    5. If you want to add a filed in Data Source after 6 month using it, you want to do it without re-init Delta Queue. You add field in RSA6, then provide info for ABAP to populate new filed (info u2013 name of Data Source, Extract Structure, field added, name of Application Table which contains the field). How does it work now as there is no SetUp table it has been deleted after Initialisation? How does Delta Queue know that it is going to receive data which has been expanded by one field or it may does not need to know at all?
    Once you add the new field to structure(DS) you will get the data as on date onwards not historical data hence what is the concept of setup table  ( delta records come from the Delta Que not from the setup table )
    If you want histaric data to new field then you need to setp table deletion ...etc...
    Hope it is clear..
    Regards,
    Satya

  • Help needed on DATABASE ERROR: : unable to initialize mutex

    Hello,
    I am trying to run Berkeley DB on a MIPS platform using DbEnv. While the code runs fine on Linux RedHat, it throws the following error message when run on the MIPS:
    DATABASE ERROR: : unable to initialize mutex: Function not implemented
    DATABASE ERROR: : PANIC: Function not implemented
    DATABASE ERROR: : unable to join the environment
    I run a little test program which uses mutexes and conditionson the MIPS platform and seems to work fine.
    What could be the problem?
    Thank you and regards,
    Sebastian

    Hello,
    First of all thank you very much for all the support on this matter.
    Second, I was unable to access the faq because it is asking for authentication which I don't have.
    Here are more details on what I am trying to do, hopefully will help resolve the issue:
    - I am trying to run Berkeley DB on a MIPS R3000 hardware platform running Linux 2.4 kernel.
    - When configuring Berkeley DB I tried using --with-mutex=MIPS/gcc-assembly which resulted in an Illegal instruction error being thrown when trying to open the environment
    - When configuring Berkeley DB I also tried using --enable-posixmutexes which throws the error message mentioned in my initial post
    - I also wrote a little program that tries to use process shared mutexes and seems to work fine on the embeded system. here is what i successfully run on the box:
    pthread_attr_t attr;
    pthread_mutexattr_t mutex_attr;
    pthread_condattr_t cond_attr;
    pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_SHARED);     // set the mutex attribute to process shared
    pthread_condattr_setpshared(&cond_attr, PTHREAD_PROCESS_SHARED);          // set the condition attribute to process shared
    /* Initialize mutex and condition variable objects */
    pthread_mutex_init(&count_mutex, (const pthread_mutexattr_t *)&mutex_attr);
    pthread_cond_init (&count_threshold_cv, (const pthread_condattr_t *)&cond_attr);
    For portability, explicitly create threads in a joinable state
    pthread_attr_init(&attr);
    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
    pthread_create(&threads[0], &attr, inc_count, (void *)&thread_ids[0]);
    pthread_create(&threads[1], &attr, inc_count, (void *)&thread_ids[1]);
    pthread_create(&threads[2], &attr, watch_count, (void *)&thread_ids[2]);
    Thank you very much for your help!
    Regards,
    Sebastian

  • [Solved}Error: Unable to initialize gtk, is DISPLAY set properly?

    i am using aa software that require root access , but when i run it with root access is shows
    Error: Unable to initialize gtk, is DISPLAY set properly?
    I am using kde desktop , but when loginas root in kde and run that application it works fine.
    i have googled a lot on this but did not find any solution.
    Last edited by sanjuchopra (2012-01-19 10:59:39)

    You should NEVER login graphically as root. What software do you want to use? Is it REALLY necessary to give it root access=
    If you want to run it as root, you should do the following in a terminal:
    $ xhost +      enable X access from terminals
    $ su    login as root
    # /path/to/programname
    Or better yet if you use sudo.
    Better yet if you start the program with
    gksu <programname>
    This way you'll be asked for password and won't need a terminal.
    By the way, if the program requires gtk to be in your sistem, maybe you should check that they're installed, giving
    pacman -S gtk2
    Last edited by olorian (2012-01-16 18:34:39)

  • Error unable to initialize audio player

    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.

    Sukkari wrote:
    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.
    Since you're using a 3rd party app, you should ask the app developer or look at their support site.

  • Error in HTTP_AAE receiver communication channel, PI 7.4 dual stack

    Dear Experts,
    I am facing the below certificate error in HTTP_AAE receiver communication channel while using the third party (bank) private key. Third party bank server is HTTPS enabled, moreover they have generated the public and private keys on their server, and they shared the corresponding private keys in .p12 format to us. Our scenario in SAP PI is synchronous ABAP Proxy to HTTP_AAE, when I see the message in SXMB_MONI after testing, we get he below certificate error, though we have provided the correct path from keystorage view and keystorage entry in HTTP_AAE receiver communication channel
    “com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST, sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
    We have imported the private key provided by bank in Netweaver admin key storage, by following the below steps.
    NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12 Key Pair->select the .p12 file->import.
    Please see the attached doc for related screenshots.
    Please experts help me experts as this is on high priority from client, also suggest me if I am doing anything wrong here.
    Thanks,
    Farhan

    Hi Farhaan,
    do you have only one certificate or multiple certificate? HTTPS can have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates).
    The issue is with the certificate and it can be because All the certificate is not present or path is not correct.
    Please refer the below wiki in which solution is given for this peroblem.
    Troubleshooting 7.1 - End-User Experience Monitoring - SCN Wiki
    The similar issue is resolved by applying SP level patch, please refer the below discussion
    SAP PI 7. 3 HTTP_AAE Receiver with SSL
    Please check the below blog -
    Configure the HTTP_AAE receiver communication channel with SSL
    please also check the below discussion
    Where to Import Clients SSL certificate for HTTP_AAE
    regards,
    Harish

  • Unable to create communication channel - RFC

    Hi ,
    I am trying to create communication channel automatically , when adding business systems from SLD to integration repository. I get the following error only for RFC
    all other communication channel gets generated correctly.. Is there any thing i am missing.
    HTTP communication channel GeneratedReceiverChannel_HTTP created
    IDoc communication channel GeneratedReceiverChannel_IDoc created
    XI communication channel GeneratedReceiverChannel_XI created
    Unable to create communication channel: Unable to generate the communication channel (NWR_107, GeneratedReceiverChannel_RFC): com.sap.aii.utilxi.misc.api.ClientServerException
    Thanks,
    Ganesh Ram

    Please run transaction SLDCHECK. The connection to SLD might not be working properly.
    Plus, in the business system you created, check if client number and all other parameters associated with SAP systems are valid.
    Dmitriy

  • Error at sender JDBC communication channel

    Dear All,
    While executing JDBC(MS-Access)-PI-RFC interface, we are getting error in sender JDBC communication channel. The error is as following:
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    sappidev\Datatran\Database.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'.
    I have checked various posts on forums and as per those no drivers installation is required to access MS-Access database and I am not able to find any post which could solve my problem.
    Kindly guide me on what might be the problem and how this can be resolved.
    Regards,
    NJ

    Hi Nishu,
      That error ALWAYS means your DSN name is incorrect or can't be accessed for some reason (permission). The ODBC part says that the bridge is working.
      But that DSN is 100% wrong or cannot be seen by the user account that the server is running as. Make sure you have a system DSN and not a user one.
    You can refer these....
    http://bytes.com/topic/java/answers/625400-java-sql-sqlexception-microsoft-odbc-driver-manager-data-source-name-not-found
    http://www.daniweb.com/forums/thread13092.html#
    Hope this will help you....
    Regds,
    Pinangshuk.

  • Not able to Start Hyper-V(2012 R2) VM when placing the VM config file on Samba Share,Its giving error:Unable to initialize the saveset

    ---We are trying to setup Hyper-V on Samba shares samba version 3.6 exported from Ubuntu  M/c. Basically runnig the Public(share) from the Ubuntu and able to access it from Windows 2012 (create/modify everything). I used Hyper-V and placed the disks
    ".vhd" on this , VM succesfull created and started. However when I placed the VM config files on this (samba) shares VM created successfully but its not starting, Its giving error like Unable to initialize the saveset -- Any idea how to place the
    Hyper-V VM config files samba share?

    Hi Rakesh KK,
    Please confirm your share meet the Serve 2012r2 Hyper-V requirement, you can refer the following KB to get more detail require conditions.
    Deploy Hyper-V over SMB
    http://technet.microsoft.com/en-us/library/jj134187.aspx
    Hope this helps.
    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.

  • Regd. Error in Adapter module for IDOCxml to flat file conversion

    Hi Champs!
    I am using PI 7.1 and i am trying out the blog for direct conversion of IDOC xml to flat file and vice versa.
    /people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats
    has anyone tried this in Pi7.1
    i am getting the following error:
    Message processing failed.
    Cause: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException:
    Path to object does not exist at SAP_XI_IDOC, the whole lookup
    name is localejbs/SAP_XI_IDOC/IDOCFlatToXmlConvertor.
    I have done all the setting required .. as per the blog.Is it srictly for PI7.11?
    Regards,
    Abhi

    Hi Abhi,
    This feature is a part of PI 7.11  new features , as it is mentioned in the begining of the Blog itself.
    So i feel , yes its strictly PI7.11 feature which may not be available in PI7.1 version which you are using currently.
    There may be workarounds...lets c  fellow SDNer's replys:)...
    Regards,
    Srinivas

  • Flat file destination error

    hi
    i am adding new field to my existing package which is char(10).
    getting this error:
    [Flat File Destination [139]] Error: Data conversion failed. The data conversion for column "MEMBER_ID" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
    i right click flat file destination->i only see external and input column over there,
    there is no output column.
    in flat file connection mamanger ->outputcolumn->its char(10)
    what needs to be change here?

    Hi coool_sweet,
    According to your description, you are trying to add a new source column to a flat file in an existing package.
    Based on the error message, the issue should be caused by text was truncated when load new column to column "Column1" in Flat File Destination. Because the length of new column data should be more than 10 (with some junk values) in the Source,
    while you are trying to convert the column to 10 as the character length.
    To fix this issue, we can increase the length of column "Column1" in Flat File Connection Manager. Alternatively, if you still want to convert the new column to a column with length 10, we can right-click the Source component to select “Show Advanced
    Editor”, then go to tab 'input and output properties' to expand the output column corresponds to the column "Column1", change TrancationRowDiposition property to RD_IgnoreFailure.
    Besides, the issue can also be caused by using some special characters in the new column. We can check the Unicode checkbox on the right hand side of Locale property in Flat File Connection Manager to fix this issue. For more details, please see the following
    thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d3605656-4a13-47b6-b96e-45379e2b2a9f/export-to-flat-file-with-unicode-chinese-characters?forum=sqlintegrationservices
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for