Problem when runing sample program "SimpleTopicSubscriber"

I am new to JMS, When i tried to run the jms tutorial example, Iam facing following error. I says"Check to see if parser conforms to JAXP 1.2 spec." but jaxp 1.2 api jar is in classpath.
It may be simple. Can any one help me.
jms_client.properites file content:
#comments jms properties file
com.sun.jms.internal.java.naming.provider.url=iiop://localhost:1050
com.sun.jms.client.transport_preference=IIOP
#Possible values are SEVERE,WARNING,INFO, FINE, FINER, FINEST.
com.sun.jms.default.loglevel=WARNING
com.sun.jms.internal.java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
D:\Sample\jms_sample>setenv
D:\Sample\jms_sample>set classpath=
D:\Sample\jms_sample>set path=
D:\Sample\jms_sample>set JAVA_HOME=D:\j2sdk1.4.0_01
D:\Sample\jms_sample>set J2EE_HOME=D:\j2sdkee1.4
D:\Sample\jms_sample>set classpath=.;D:\j2sdkee1.4\lib\j2ee.jar;D:\j2sdkee1.4\li
b\locale;D:\j2sdk1.4.0_01\lib;D:\java_xml_pack-summer-02_01\jaxp-1.2_01\jaxp-api
.jar
D:\Sample\jms_sample>set path=D:\j2sdkee1.4\bin;D:\j2sdk1.4.0_01\bin;
D:\Sample\jms_sample>java -Djms.properties=%J2EE_HOME%\config\jms_client.propert
ies SimpleTopicSubscriber MyTopic
Topic name is MyTopic
WARNING : modify your java command line to include the -Djava.endorsed.dirs opti
on
Error: JAXP SAXParser property not recognized: http://java.sun.com/xml/jaxp/prop
erties/schemaLanguage
Check to see if parser conforms to JAXP 1.2 spec.
XML Error line : 17 Element type "connector" is not declared.
Dec 20, 2002 4:19:53 PM com.sun.enterprise.deployment.node.SaxParserHandler erro
r
SEVERE: XML Error line : 17 Element type "connector" is not declared.
XML Error line : 18 Attribute "xmlns" is not declared for element "connector".
Dec 20, 2002 4:19:53 PM com.sun.enterprise.deployment.node.SaxParserHandler erro
r
SEVERE: XML Error line : 18 Attribute "xmlns" is not declared for element "conne
ctor".

Hi,
You have a mismatch between the J2EE SDK (1.4) and the tutorial version (1.3.1).
Instead of using the J2EE 1.3.1 tutorial, you need to download the J2EE Tutorial Addendum, which you can reach at http://java.sun.com/j2ee/1.4/docs/tutorial/index.html.
The JMS chapters and examples in that tutorial have been revised so that when you run them, you use the correct options and classpath setting. Running J2EE examples has become more complicated at J2EE 1.4, so we provide an ant build file and run script to make the examples less error-prone. As the warning suggested, you need to set the java.endorsed.dirs property when you run a program now, but you don't set the jms.properties any more. The actual command line for the J2EE 1.3.1 example should look like this, if you don't use the script (all on one line!):
java -Djava.endorsed.dirs=%J2EE_HOME%\lib\endorsed -classpath .;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\system\jmsra.jar SimpleTopicSubscriber MyTopic
I hope this is helpful --
Kim Haase
Technical Writer
Sun Microsystems, Inc.

Similar Messages

  • Problem when I execute program SCM in background

    Hi experts,
        I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence  IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
    Follow below the code:
    Estrutura para tabela ENTRADA
    DATA: BEGIN OF st_entrada,
            matnr(40)            TYPE c,
            werks(20)            TYPE c,
            ponto_abas(10)       TYPE c,
            estoque_max(10)      TYPE c,
            cobertura(10)        TYPE c,
            estoque_seg(10)      TYPE c, " Erlon Lourenço 20/01/2011
          END OF st_entrada.
    Estrutura para tabela de LOG
    *TYPES: BEGIN OF st_saida,
           pernr(8)             TYPE c ,
           date(10)             TYPE c,
           er_contribuition(15) TYPE c,
           tax(15)              TYPE c,
           msg_erro(80)         TYPE c,
         END OF st_saida.
    Tabela para obter descricao da mensagem
    *DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
                                                  INITIAL SIZE 0.
    Tabela que recebera o arquivo texto
    DATA: BEGIN OF ti_entrada OCCURS 0.
            INCLUDE STRUCTURE st_entrada.
    DATA: END OF ti_entrada.
    DATA: BEGIN OF it_matid OCCURS 0,
      matnr TYPE /sapapo/matkey-matnr,
      matid TYPE /sapapo/matkey-matid,
    END OF it_matid.
    DATA: BEGIN OF it_locid OCCURS 0,
      locno TYPE /sapapo/loc-locno,
      locid TYPE /sapapo/loc-locid,
    END OF it_locid.
    DATA: BEGIN OF it_matlotsz OCCURS 0,
      target_dur TYPE /sapapo/matlotsz-target_dur,
      END OF it_matlotsz.
    DATA:        wa_matloc       LIKE /sapapo/matloc   OCCURS  0 WITH HEADER LINE,
                 wa_matlsim      LIKE /sapapo/matlsim  OCCURS  0 WITH HEADER LINE,
                 wa_matlotsz     LIKE /sapapo/matlotsz OCCURS  0 WITH HEADER LINE.
    Variáveis Globais
    DATA: v_tabix   TYPE sy-tabix,
          v_vrsioid TYPE /sapapo/apo01-vrsioid,
          v_tam     TYPE i.
        Select-Options & Parameters
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  p_versao    TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
                 p_abas  AS CHECKBOX  ,
                 p_est   AS CHECKBOX  ,
                 p_cober AS CHECKBOX  ,
                 p_estsg AS CHECKBOX.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
    SELECTION-SCREEN END OF BLOCK b1.
        Start-of-Selection
    START-OF-SELECTION.
      PERFORM consiste.
      PERFORM f_upload.
      PERFORM f_processa_batch.
      PERFORM f_saida_dados.
      MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
    END-OF-SELECTION.
    *&      Form  F_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM f_upload .
      DATA: lc_file TYPE string.
      TYPES: BEGIN OF st_ent,
                cam(80),
             END OF st_ent.
      DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
                                                  INITIAL SIZE 0.
      RANGES: r_file       FOR zget0001-field_content.
      r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
      READ TABLE r_file INDEX 1.
      lc_file = r_file-low.
      CLEAR: ti_entrada,
             ti_entrada[],
             ti_ent,
             ti_ent[].
    abrir arquivo para leitura
      OPEN DATASET lc_file FOR INPUT  IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE i000 WITH text-e01.
        STOP.
      ENDIF.
    Leitura de arquivos
      DO.
        READ DATASET lc_file INTO ti_ent.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND ti_ent.
      ENDDO.
    Fechamento do arquivo
      CLOSE DATASET lc_file.
      LOOP AT ti_ent.
        SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
        APPEND ti_entrada.
      ENDLOOP.
    ENDFORM.                    " F_UPLOAD
    *&      Form  F_PROCESSA_BATCH
          text
    -->  p1        text
    <--  p2        text
    FORM f_processa_batch .
      LOOP AT ti_entrada.
        v_tabix = sy-tabix.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-matnr
          IMPORTING
            output = ti_entrada-matnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-ponto_abas
          IMPORTING
            output = ti_entrada-ponto_abas.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_max
          IMPORTING
            output = ti_entrada-estoque_max.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-cobertura
          IMPORTING
            output = ti_entrada-cobertura.
    IA - ERLON LOURENCO - 20/01/2012
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_seg
          IMPORTING
            output = ti_entrada-estoque_seg.
    FA - ERLON LOURENCO - 20/01/2012
        MODIFY ti_entrada INDEX v_tabix.
      ENDLOOP.
      CLEAR: it_matid,
             it_matid[],
             it_locid,
             it_locid[],
             wa_matlsim,
             wa_matlsim[],
             wa_matloc,
             wa_matloc[].
      SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
      FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
      SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
      FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
      IF p_versao = '000'.
        LOOP AT ti_entrada.
          READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
          IF sy-subrc = 0 .
            READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
            IF sy-subrc = 0.
              SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid  AND
                                                                       locid = it_locid-locid.
              IF sy-subrc = 0.
                IF p_abas = 'X'.
                  wa_matloc-reord    = ti_entrada-ponto_abas.
                ENDIF.
                IF p_est = 'X'.
                  wa_matloc-maxstock = ti_entrada-estoque_max.
                ENDIF.
                " IA - Erlon Lourenço - 23/01/2012
                if p_estsg = 'X'.
                  wa_matloc-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                endif.
                "FA - Erlon Lourenço - 23/01/2012
                IF p_abas  = 'X'   OR
                   p_est   = 'X'   OR
                   p_estsg = 'X'.      " Erlon Lourenço - 23/01/2012
                  APPEND wa_matloc TO wa_matloc.
                ENDIF.
                SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
                IF sy-subrc = 0.
                  IF p_cober = 'X'.
                    wa_matlotsz-target_dur = ti_entrada-cobertura.
                    APPEND wa_matlotsz TO wa_matlotsz.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.   " LOOP AT ti_entrada.
      ELSE.
    Verifica versáo para saber se preenche a tabela wa_matlsim
        SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
        IF sy-subrc = 0.
          SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
          IF wa_matlsim[] IS NOT INITIAL.
            LOOP AT ti_entrada.
              READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
              IF sy-subrc = 0 .
                READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
                IF sy-subrc = 0.
                  READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
                                                 locid = wa_matloc-locid.
                  IF sy-subrc = 0.
                    wa_matlsim-reord    = ti_entrada-ponto_abas.
                    wa_matlsim-maxstock = ti_entrada-estoque_max.
                    wa_matlsim-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                    MODIFY wa_matlsim INDEX v_tabix.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDLOOP.  " LOOP AT ti_entrada.
          ENDIF.     " IF wa_matlsim[] IS NOT INITIAL.
        ENDIF.     " IF sy-subrc = 0. 1º
      ENDIF.     "IF p_versao = '000'
    Funcáo que atualiza campos nas bases de dados.
      CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
        EXPORTING
          iv_vb         = 'U'
        TABLES
          it_matloc     = wa_matloc
          it_matlsim    = wa_matlsim
          it_matlotsz   = wa_matlotsz
        EXCEPTIONS
          not_qualified = 1
          insert_failed = 2
          update_failed = 3
          OTHERS        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " F_PROCESSA_BATCH
      FORM  BDC_DYNPRO
    *&      Form  F_SAIDA_DADOS
          text
    -->  p1        text
    <--  p2        text
    FORM f_saida_dados .
    IF ti_saida[] IS NOT INITIAL.
       DATA: lc_file TYPE string.
       lc_file = p_erros.
       CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
      BIN_FILESIZE                    =
           filename                        = lc_file
      FILETYPE                        = 'ASC'
         TABLES
           data_tab                        = ti_saida
      FIELDNAMES                      =
        EXCEPTIONS
          file_write_error                = 1
          no_batch                        = 2
          gui_refuse_filetransfer         = 3
          invalid_type                    = 4
          no_authority                    = 5
          unknown_error                   = 6
          header_not_allowed              = 7
          separator_not_allowed           = 8
          filesize_not_allowed            = 9
          header_too_long                 = 10
          dp_error_create                 = 11
          dp_error_send                   = 12
          dp_error_write                  = 13
          unknown_dp_error                = 14
          access_denied                   = 15
          dp_out_of_memory                = 16
          disk_full                       = 17
          dp_timeout                      = 18
          file_not_found                  = 19
          dataprovider_exception          = 20
          control_flush_error             = 21
          OTHERS                          = 22
       IF sy-subrc <> 0.
         MESSAGE i005 WITH 'Error to unload file !'.
         STOP.
       ENDIF.
    ENDIF.
    ENDFORM.                    " F_SAIDA_DADOS
    *&      Form  CONSISTE
          text
    -->  p1        text
    <--  p2        text
    FORM consiste .
      IF p_abas  IS INITIAL  AND
         p_est   IS INITIAL  AND
         p_cober IS INITIAL AND
         p_estsg IS INITIAL.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
        MESSAGE i000 WITH text-e03.
        STOP.
      ENDIF.
      IF sy-batch IS INITIAL.
        MESSAGE i000 WITH text-e02.
        STOP.
      ENDIF.
    Best regards,
    Erlon Lourenço
    Edited by: Erlon Louren on Jan 27, 2012 11:09 AM

    Hi Raja,
                Check weather there are  any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
    Regards
    Karthik

  • Runtime error when running sample program VS8, occi10

    Please, help!
    When running a sample program (VS2005 v8, oraocci10.lib, oraocci10.dll, both downloaded from the recommended Oracle site http://www.oracle.com/technology/tech/oci/occi/occidownloads.html for Oracle release 10.2.0.3.0 )
    I receive the following runtime error:
    R6034 An application has made an attempt to load the C runtime library incorrectly.
    When I build the program with VS 7 or VS 7.1 libraries, I receive env->CreateConnection error

    Hi,
    Can you just give more explanation on what you are trying to do, like conditions.
    Are doing first time init.
    Reg
    Pra

  • SAP NW RFC SDK throws RFC_INVALID_PARAMETER when running sample programs?

    Hi there,
    I have just downloaded the latest version of the SAP NW RFC SDK (NWRFC_7-20004565.SAR) for Linux 64 bit from the Service Marketplace and am trying to run the demo programs.
    NOTE: I removed the "sapnwrfc.ini" from the current directory so that it would not be used at all..
    Also note that I can use the OLD RFC SDK and connect happily to the same SAP system I am trying to connect to below using the SAP NW RFC SDK....so I definetly have the cirrect settings.....
    So I compiled a CLIENT test program like:
    gcc -m64 -Wall -g ./sflightClient.c -I/home/lynton/Desktop/nwrfcsdk/include -L/home/lynton/Desktop/nwrfcsdk/lib -lsapnwrfc -lsapucum -o ./sflightClient
    And then passed in VALID paramters to an SAP system I have access to and I keep getting RFC_INVALID_PARAMETER even though I have not touched the code below in the sflightClient.c program
         loginParams[0].name = cU("ashost");     loginParams[0].value = argc > 1 ? argv[1] : cU("hostname");
         loginParams[1].name = cU("sysnr");     loginParams[1].value = argc > 2 ? argv[2] : cU("50");
         loginParams[2].name = cU("user");     loginParams[2].value = argc > 3 ? argv[3] : cU("user");
         loginParams[3].name = cU("passwd");     loginParams[3].value = argc > 4 ? argv[4] : cU("******");     
         loginParams[4].name = cU("client");     loginParams[4].value = argc > 5 ? argv[5] : cU("800");
         loginParams[5].name = cU("lang");     loginParams[5].value = cU("EN");
    I have also tried the stfcDeepTableServer.c program....and there I put in VALID settings....(and made the parameters UPPERCASE just like the settings in the "sapnwrfc.ini" file....
    serverCon[0].name = cU("PROGRAM_ID");     serverCon[0].value = cU("TEST_SERVER");
            serverCon[1].name = cU("GWHOST");     serverCon[1].value = cU("test.server");
         serverCon[2].name = cU("GWSERV");     serverCon[2].value = cU("sapgw00");
         repoCon[0].name = cU("CLIENT");     repoCon[0].value = cU("000");
         repoCon[1].name = cU("USER");          repoCon[1].value = cU("BCUSER");
         repoCon[2].name = cU("PASSWD");     repoCon[2].value = cU("minisap");
         repoCon[3].name = cU("LANG");          repoCon[3].value = cU("EN");
         repoCon[4].name = cU("ASHOST");     repoCon[4].value = cU("test.server");
         repoCon[5].name = cU("SYSNR");     repoCon[5].value = cU("00");
            repoCon[6].name = cU("TRACE");     repoCon[6].value = cU("3");
    I have the UUIDD daemon running perfectly on my box, but yet I keep getting this RFC_INVALID_PARAMETER regardless if I just test the SERVER REGISTRATION or a simple client connection.
    I am connecting to a NON unicode system but that would not make a difference.....
    Any idea what would cause this? Any help would be greatly appreciated ....
    Thanks
    Lynton

    I have similar problem. My simply program use 7.10_x64_nwrfcsdk for Linux x64 and 7.10_IA32_nwrfcsdk for 32bit Linux. I has been prepared subroutine to convert ASCII to UTF16LE and control 2-byte Unicode length.
    Program is working perfectly on x64 environment but didn't work on 32bit. I prepared log for it. In log converted to UTF16LE data are present as hex
    x64
    =================================================
    Open library libsapnwrfc.so done, handle 0x1ccac00
    ahost=10.146.0.53
    61 0 73 0 68 0 6F 0 73 0 74 0
    31 0 30 0 2E 0 31 0 34 0 36 0 2E 0 30 0 2E 0 35 0 33 0
    sysnr=01
    73 0 79 0 73 0 6E 0 72 0
    30 0 31 0
    client=500
    63 0 6C 0 69 0 65 0 6E 0 74 0 
    35 0 30 0 30 0
    user=dybikowskiz
    75 0 73 0 65 0 72 0
    64 0 79 0 62 0 69 0 6B 0 6F 0 77 0 73 0 6B 0 69 0 7A 0
    lang=EN
    6C 0 61 0 6E 0 67 0
    45 0 4E 0
    Start login to SAP
    Login to SAP done, handle 0x1d863b0
    ================================================
    x32
    ================================================
    Open library libsapnwrfc.so done, handle 0x900fb78
    ahost=10.146.0.53
    61 0 73 0 68 0 6F 0 73 0 74 0
    31 0 30 0 2E 0 31 0 34 0 36 0 2E 0 30 0 2E 0 35 0 33 0 
    sysnr=01
    73 0 79 0 73 0 6E 0 72 0
    30 0 31 0
    client=500
    63 0 6C 0 69 0 65 0 6E 0 74 0 
    35 0 30 0 30 0
    user=dybikowskiz
    75 0 73 0 65 0 72 0
    64 0 79 0 62 0 69 0 6B 0 6F 0 77 0 73 0 6B 0 69 0 7A 0
    lang=EN
    6C 0 61 0 6E 0 67 0
    45 0 4E 0
    Start login to SAP
    ----Error handling begin-----
    errorInfo.code: 20
    RFC_INVALID_PARAMETER
    errorInfo.group: 5
    EXTERNAL_RUNTIME_FAILURE
    errorInfo.key: R
    errorInfo.message:
    -----Error handling end -----
    No connect to SAP
    Because ASCII conversion to UTF16LE (http://en.wikipedia.org/wiki/UTF-16) is very simple, I prepared function
    char* ascii2utf16le( char *text_ascii)
        int rec=-1;
        int i=0;
        int j=0;
        int n=0; 
      size_t inbufsize = strlen(text_ascii);
      size_t outbufsize=(2*inbufsize);
       i=2*inbufsize;
      char *converted = calloc(outbufsize, sizeof(char));
        for(j=0;j<i;j++)
            if(0==(j%2))
                converted[j]=text_ascii[n];
                n++;
            } else {
              converted[j]=0;
            printf("%X ",converted[j]);
      printf("\n");
        char *converted_str = converted;
        return converted_str;
    and next I use it to loginParams[0].name = ascii2utf16le("ashost"), etc.
    Fixed-length Unicode representation expected by SAP R/3 is under control, but on Linux 32bit not work.
    I haven't where is possible problem?

  • Problem when calling external program

    Hi,
    I have a strange problem and no more idea how to solve it.
    What I do:
    In Java I call an external Fortran-exe with Runtime.getRuntime().exec(...) This Fortran program creates 4 files.
    What I get:
    One of the 4 files is incomplete, the first few lines are missing.
    What makes me wonder:
    When I take the exec-statement to the commandline and let it run there, everything is fine and the files contain all the info I need. All the 4 files are correct then.
    What I also tried:
    I tried to copy the (incomplete) file within Fortran. That means when I call the Fortran program I get 2 identical files then but with different filenames. Doing so on the commandline everything is fine again. But again, the same commandline String called in the exec in my Java program it is getting worse: The formerly incomplete file is empty now with 0 bytes.
    Even if I wait for the process to finish does not help.
    I do not understand it any more and would really like to know what happens there, why, and what can I do to avoid it or to get my complete output files. What does Runtime.getRuntime().exec(myString) do different than when I take the myString on the commandline?
    Any hints welcome.
    TIA

    Hi,
    unfortunately this does not help. I have already about 15 Fortran programs running this way which work accurately. So a possible problem with output stream does not look reasonable to me in this case.

  • Bluetooth Problems when running other programes in the background

    I have been experiening problems with the bluthooth conenctivity on my 2012 Macbook Air.
    It is the 2.0GHZ i7 8GB RAm with 256Gb flash storage model released June 2012.
    I use it in clamsehll mode hoked up to an external HD monitor using the Mini display port to HDMI adaptor and then link it to an external LG soundbar using bluetooht for audio.
    No other device has any issue linking ot the LG soundbar but when i am using my Macbook air and downloading something, even a tiny file that might only be goign at a speed of a few kb/s ( I have very slow internet speed ) it casues the bluetooth to cut out every 5-10 seconds and then some times it will work for an hour uninterupted.
    The only other bluthooth device I have connected is my Magic Trackpad and I have tried it without this with the same results occuring.
    Has anyone else experienced this and if so has nayone found a soltuion so that i can run a basic video file and hear the sound clearly and uninteruopted while using my Macbook to to run some other vey basic tasks in the background?
    Any help is greatly appreciated.

    I believe the process to do this is to:
    1)  Go to transaction SM36 to create a batch job. 
    2)  Enter a job name
    3)  Select "Step", specify the ABAP program name (for ME2M, this is RM06EM00), then type in the variant you wish to use
    4)  Save, then go to Start Condition and specify when you want this batch job to run, along with the frequency
    Edit - nevermind, I misunderstood the issue.  I am unsure of how to have the layout automatically populated.
    Edited by: Andy Slania on Jan 26, 2011 10:28 PM

  • Strange problem when a c++ program is triggered by Runtime.exec()

    I am working in linux system. I have 2 programs:
    1. one is a c++ program e.g. AAA. In this program, i use "system("gcc ...")" to call gcc to do some internal processing
    2. the other is a java program BBB. In this program, i use Runtime.exec("AAA") to run program AAA.
    case 1
    if I run c++ program AAA directly, everything goes well, gcc call via "system" is successful.
    case 2
    if I run java program BBB to trigger AAA indirectly, the AAA can be executed, but the system call (gcc call inside AAA) is failed.
    so, what is wrong? any hints? what is the solution to make case #2 work? I just want to use BBB to trigger AAA, and the system call should also be successful.
    thanks in advance for your help!

    "...but the system call (gcc call inside AAA) is failed."
    Isn't terribly descriptive, but I'm guessing that it complains it can't find gcc?
    If that's the case then it's because the call to Runtime.exec() runs the code in a shell with no idea where anything is, whereas when you run the C++ code straight it is running in the shell you kicked it off in. Something along those lines anyway.
    Someone else'll be able to tell you how to get it to work. I'm sure I've seen this sort of problem here several times.

  • Strange problem when copying standard program SAPF100 (transaction F.05)

    Hi there ABAP'ers,
    I've got a very strange problem I can't figure out :/
    I'm doing a copy of a standard program - SAPF100, which stands for F.05 transaction.
    I copy it to ZSAPF100 and after launching it, filling a selection-screen with data and F8 I'm receiving a dump
    GETWA_NOT_ASSIGNED
    Field symbol has not yet been assigned.
    The termination occurred in the ABAP program "SAPF100" in "DO_SKC1C".      
    The main program was "ZSAPF100 ".                                                                               
    The termination occurred in line 253 of the source code of the (Include)   
    program "SAPF100_SBEW"                                                    
    of the source code of program "SAPF100_SBEW" (when calling the editor 2530).
    and when debugging the place in Zcode where error occurs - really a fs is not assigned, whilst in standard code is assigned.
    Why such situation appeared? I just copied the standard program and launched a copy :/ How to deal with that problem?
    I will be very very very thankful for a help.
    Regards. P.

    I'm doing the copy:
    Components:
    Source       
    Text elements
    Documentation
    Variants     
    User interface
    Screens      
    INCLUDEs     
    Includes:
    FROM            ->              TO
    <ICON>                         Z<ICON>     
    <LINE>                          Z<LINE>                 
    FIUUMS40                        ZFIUUMS40               
    RKASMAWF                        ZRKASMAWF               
    SAPF100_I1                      ZSAPF100_I1             
    SAPF100_POSTINGS                ZSAPF100_POSTINGS       
    SAPF100_SBEW                    ZSAPF100_SBEW           
    SAPF100_SLDATA                  ZSAPF100_SLDATA         
    SCHEDMAN_EVENTS                 ZSCHEDMAN_EVENTS        
    And still DUMP

  • Problem with AS3LIB Sample program

    I have successfully compiled and generated swf file for StringEcho example under Windows but I cannot seem to get the AS3Lib sample to compile properly. 
    I tried to execute the makefile but it failed where .SUFFIXES and .c.o were not recognized as commands.   I also tried to compile test.c and got errors and the swc file was not generated.
    Has anyone successfully compiled and generated the Flash/Air program for testing.   If so,  I would appreciate help with how to proceed.
    Thanks.
    Pat

    Makefiles are executed with the 'make' commandline utility.  In a terminal, switch to the same path as the makefile, and just type 'make'.

  • Error when runing DME program

    Hi
    When I am running DME program after payroll run getting error "Payment method A is not defined for foreign business partners".
    I checked BT table it showing correct data. RT is also showing correct data. Checked IT9, Payment method A is assigned to the employee.
    What can be the issue? It is very urgent. I will appreciate your input.
    Regards,
    GRM

    Hi,
    In my case error was coming because user had assigned wrong country to the employee in his present address(IT0006). After changing the country it worked fine.
    I don't know what error you are getting. But the best option is run audit program (RPUAUD00) and check what are the Infotypes maintained/changed for the employee in the current month for which you are running DME. You will easily find out the solution.
    Regards,
    GRM

  • Problem when compiling C program from RFC SDK with Unicode on AIX 5.3

    hi friends.
    I try RFC with UNICODE.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90313271-2311-2a10-c495-c20199d1d821
    This simple code compiled.
    #include <saprfc.h>
    #include <sapuc.h>
    #include <sapucx.h>
    int mainU(int argc, SAP_UC* argv[] )
        const SAP_UC* s1 = cU("Hello");
        SAP_UC s2[100];
        strcpyU( s2, s1);
        printfU(cU("%s
    "),s2);
        return 0;
    The compiling command is
    cc -DSAPwithUNICODE -I ../rfcsdkU/include -L ../rfcsdkU/lib sample.c -o sample -lrfcu -lC
    to compile.
    Then the error information comed:
    "sample.c", line 7.24: 1506-045 (S) Undeclared identifier U16LIT_cU.
    "sample.c", line 7.27: 1506-275 (S) Unexpected text string literal encountered.
    "sample.c", line 10.16: 1506-276 (S) Syntax error: possible missing ')'?
    I hope someone can tell me how I can get it through.
    Edited by: sakamoto shouichi on Apr 16, 2008 11:02 AM
    Edited by: sakamoto shouichi on Apr 16, 2008 11:03 AM

    hi friends. I'm having same problem.
    i speak english just a little.sorry.
    see this command line.
    AIX5.3
    cc -I ../rfcsdk/include -L ../saprfc/rfcsdk/lib sapinfo.c -o sapinfo -lrfc -lC
    add -lC .
    i fnish this problem. thnx!
    Edited by: sakamoto shouichi on Apr 7, 2008 5:32 AM

  • Problem when migrate from WLI2.1 to WLI7

    I met this problem when migrating my program from WLI2.1 to WLI7.
    It report the following exception in WLI7:
    <2002-10-21 &#19979;&#21320;05&#26102;05&#20998;15&#31186;> <Error> <HTTP> <101019>
    <[ServletContext(id=5904188,name=dkh
    ,context-path=/dkh)] Servlet failed with IOException
    java.rmi.AccessException: Security Violation: User: 'admin' has insufficient permission
    to
    access EJB: type=<ejb>, application=WebLogic Integration, module=WLI-BPM Server,
    ejb=WLPI
    Principal, method=getRolesForUser, methodInterface=Remote, signature={java.lang.String,jav
    a.lang.String,boolean}.
    But it's fine in WLI2.1? Who can tell me why and how to solve it?
    Thanks

    ####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->040114> <JMSServer "JMSServer", Finished scan of file >store "persistence" in directory "c:\bin\bea\jmsstore".                     >Found 2 025 records totalling 21 205 248 bytes.>
              >####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->?040056> <JMSServer "JMSServer". Deleting 2025 messages(s) with no matching destination.>
              My JMS experience on WLS 8.1 ain't great, purley from these error messages it looks like the destination of these messages is the problem. Can you double check the destination exists and is configured correctly.
              Hoos
              www.orbism.com

  • I am using Lightroom 5 and am hapy about it, but recently I hav encountered a problem when trying to edit an image in another program, i.e. Elements. I used the clone tool, saved the result and went back to Lightroom to open the image there. I did find a

    I am using Lightroom 5 and am hapy about it, but recently I hav encountered a problem when trying to edit an image in another program, i.e. Elements. I used the clone tool, saved the result and went back to Lightroom to open the image there. I did find a second copy, but this is identic with the one I already had in Lightroom, and I can see noe result of the clone process.

    At the moment I would say it is uncertain whether Acrobat is completely ignoring the change, or whether the changes you are making aren't affecting the ink density. I have a suggestion for a test you could make to see which is the case.
    When editing in Photoshop just add a box or mark on the image, for your tests.
    - If this box does not appear in Acrobat, you know Acrobat is not seeing the edit
    - If this box does appear in Acrobat, you know the problem is that your tool for changing ink densities is not taking effect.

  • I am having a problem when I try to select a photo or itunes song in Imovie or other programs. I get a window with grey lettering that says: "Open Itunes to populate this list" or "Open iphoto to see photos from your iPhoto library in this list.  I have t

    I am having a problem when I try to select a photo or itunes song in Imovie or other programs. I get a window with grey lettering that says: "Open Itunes to populate this list" or "Open iphoto to see photos from your iPhoto library in this list.  I have tried relaunching programs and nothing appears. Seemed to start happening a while back after one of my system upgrades.

    After a a lengthy conversation with Apple Tech. ($20), my problem seems to be solves. The Iphoto problem solved by trashing the plist file. The Itunes was more involved. We had to create a new Itunes folder and import the files into the new folder; and then import the playlists.

  • How to solve the problem when opening program illustrator cs6 ERROR: 16 It is WINDOWS 8.1 / 64 BIT help please

    how to solve the problem when opening program illustrator cs6
    ERROR: 16
    It is WINDOWS 8.1 / 64 BIT
    help please

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

Maybe you are looking for