Newbie: python hetting started with BAPI_PO_CREATE

Hi,
After studying the documentation and looking for some source code as an example, I am at a total loss and looking for some help. I do not understand how the PO_HEADER (LIKE  BAPIEKKOC STRUCTURE  BAPIEKKOC) parameter should be filled with data and how the table PO_ITEMS (STRUCTURE  BAPIEKPOC) should be handled in the program.
Is there somebody that has some examples or could help me with a basic program setup?
Thanks in advance,
Frans

Installing the sap rfc module on Windows turned out to become a nightmare. On Linux it was no problem but under Windows it gets very hard. We are using SAP R/3 v4.6C and the Python applicatioin MUST run both on both Linux and Windows.
So I went for the pysaprfc module, which is just a wrapper for the librfc library using ctypes. On Windwos installation is really easy since the librfc library comes with the SAP GUI. On Linux, you have to hunt down a suitable librfc library from the download area on ftp.sap.com.
This is a small example to get the data from a purchase order:"
import pysap
import sys
import ctypes
from mx.DateTime import *
try:
    sap_conn=pysap.Rfc_connection(conn_file='sapconn.ini')
    sap_conn.open()
    func=sap_conn.get_interface('BAPI_PO_GETITEMS',
                                func_args=\['PURCHASEORDER'\],
                                func_res=\['PO_HEADERS', 'PO_ITEMS'\])
    print func.desc
    po_header, po_items = func(PURCHASEORDER='4500341734')
    for t in po_header:
        print t
    print '----
    for t in po_items:
        print t
    sap_conn.close()
except pysap.SapRfcError,desc:
    print "Error making py function for BAPI': %s" % desc
except Exception, e:
    print e
Or just read a table with some simple SQL:
data = conn.read_table('EQUI',
options=\["sernr eq '%s'" % sernr\],
fields=\["sernr", 'equnr', 'matnr', 'kunde'\],
max_rows=20)
The examples directory has some very helpfull code.
The pysap module solved my problem and works great within a Plone / Zope portal. It's efficient and turns out to be very reliant.

Similar Messages

  • Please help this newbie make a start with LabView 7

    Sorry for these very very basics but I failed to resolve these myself though I did my best.
    I try to make a GPIB i/o on a block diagram.How to ?
    I cannot find such in the functions menu.
    I find only a vi for typing direct commands ( which does work ).
    I tried many many variances, but end of all i get stuck, e.g. at : file>new>instrument i/o(gpib)>read and display>right click>controls>search>i/o....i get stuck.
    I am afraid I do miss a lot.....
    I have a NI GPIB PCI 488.2 card and some HPIB instuments.
    The PCI card and the NI 488.2 drivers work.
    I can read the instruments' dev.#.
    How should I implement instruments' r/w commands in an i/o block diagram ( if possible at all ).
    I cannot use VISA ( I
    assume C++ or VB is needed for that, which is beyond my capabilities ).
    Any help will be gratefully welcomed.
    Peter van Daalen.

    LabVIEW can do VISA and NI-488.2 directly; you don't need C++ or VB.
    First of all, you should see if there are instrument drivers available for your instruments. There are thousands of free drivers available on http://ni.com/idnet/. Search there first, because if you can find a driver for any of your instruments, it will save you a lot of time.
    If you can't find a driver, you will have to send and receive messages from the instrument directly, and this is where NI-VISA and NI-488.2 come in. The simplest way to get started with this direct communcation is to use the "Instrument I/O Assistant". This is in your "Functions->Input" palette, and you can read about it in the online help.
    The Instrument I/O Assistant will bring up a dialog to select th
    e device, send it a command and parse the results. Once you click "OK", it creates an Express VI on your diagram for you to incorporate into the rest of your application.
    I hope this helps you get started.
    Brian

  • Newbie - Help needed starting with Threads

    Hi Friends,
    I have a class which extends thread and all it does is displays its name and then goes to sleep. So, I have this in my run method:
    public void run() {
            System.out.println("Name: "+name);
            try{
                 Thread.sleep(1000);
            }catch(Exception e){
              e.printStackTrace();
        }Now I have a tester class which created objects of these class and they should keep running until the user explicitly stops the program. So, I have this in my tester class:
    Thread one = new MyClass("one");
    Thread one = new MyClass("two");
    one.start();
    two.start();They run fine for one time but how can i make them run continously?? Any help will be appreciated.
    Thanks

    Micks80 wrote:
    I tried to add that while loop but it throws IllegalStateException because I guess you cannot call the start method more then once...
    So any other ways to accomplish this???As suggested in reply #1 put the while loop inside the run method of the Runnable.
    Also it is better for MyClass to implement Runnable rather than extending Thread. It is always better to implement Runnable than extend Thread.

  • How to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and a novice in interfacing skill ..so plzzzzz explain me in a litle detail

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Sir
    We were able to solve that problem...but now could you advice as to which DC power supply we should use (preferably avalable in India) so that it can be controlled by Labview (through a gpib/rs232/any other port) to give a square wave of desired frequency/other parameters.
    Regards
    Shivam

  • Problem creating Purchase Order with Bapi_po_create  Return Message is ""

    Hello everybody
    When I get to create PO with bapi_po_create . I get this message in the return parameter :"Enter the PURCH_ORG".
    I think that I have implemented it very well but I don´t get the results that I was expected : No PO was created.
    Please see the following codes and let me know if something is wrong. Thanks .
    =====================================
    *& Report  Z_PED_TRAS                                                  *
    REPORT  z_ped_tras  .
    Definición de la tabla asociada la tabla interna bdcdata
    *DATA :in_data LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    Definición de la estructura que contendrá los pedidos
    DATA : s_cabeceras_pedidos LIKE bapiekkoc,
           s_pos_pedidos LIKE bapiekpoc.
    DATA : t_cabeceras_pedidos LIKE  bapiekkoc OCCURS 0 WITH HEADER LINE,
           t_pos_pedidos LIKE  bapiekpoc OCCURS 0 WITH HEADER LINE,
           t_final_cabeceras_pedidos LIKE  bapiekkoc OCCURS 0 WITH HEADER
    LINE,
           t_final_pos_pedidos LIKE  bapiekpoc OCCURS 0 WITH HEADER LINE.
    Data : item_schedule like BAPIEKET occurs 0 with header line.
    *DATA : BEGIN OF pedidos,
          ematn TYPE mepo1211-ematn, "Número de material
          menge TYPE mepo1211-menge, "Cantidad de pedido
          name1 TYPE mepo1211-name1," Centro destino
          lgobe TYPE mepo1211-lgobe, "Almacén
         END OF pedidos.
    *DATA: s_pedidos  LIKE pedidos,
         wa_pedidos LIKE pedidos,
         t_pedidos LIKE pedidos OCCURS 0 .
    Variables  auxiliaires
    Variables para la ejecución del explorador de archivos
    DATA: l_temp_dir TYPE string.
    DATA: l_filter TYPE string.
    DATA: l_files TYPE filetable.
    DATA: l_rc TYPE i.
    DATA: l_file TYPE filename.
    DATA: l_filename TYPE string.
    DATA: excel TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA: s_excel TYPE alsmex_tabline.
    DATA: qid LIKE apqi-qid.
    Declaración de parametros de selección
    PARAMETERS :
       p_center LIKE bapiekkoc-suppl_plnt OBLIGATORY,"" Proveedor/Centro
       p_ekorg LIKE bapiekkoc-purch_org OBLIGATORY , " Organización compras
       p_ekgrp LIKE bapiekkoc-pur_group OBLIGATORY, " Grupo de compras
       p_bukrs LIKE bapiekkoc-co_code OBLIGATORY,"Sociedad"
       p_date LIKE sy-datum DEFAULT sy-datum OBLIGATORY,  "fecha
       test AS CHECKBOX DEFAULT 'X'.
      p_center LIKE mepo_topline-superfield, " Proveedor/Centro
      p_ekorg LIKE mepo1222-ekorg, " Organización de compras
      p_ekgrp LIKE mepo1222-ekgrp, " Grupo de compras
      p_bukrs LIKE mepo1222-bukrs,"Sociedad"
      p_date LIKE sy-datum," Fecha
      test AS CHECKBOX DEFAULT 'X'.
    PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:PEDIDOS.XLS'. " Ruta
    Carga del explorador de ficheros **
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      l_temp_dir = 'C:A'.
      l_filter = '.'.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          default_extension       = '*.xls'
          file_filter             = l_filter
          initial_directory       = l_temp_dir
        CHANGING
          file_table              = l_files
          rc                      = l_rc
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      IF NOT l_files[] IS INITIAL.
        READ TABLE l_files INTO l_file INDEX 1.
        p_file = l_file.
        TRANSLATE p_file TO UPPER CASE.
      ENDIF.
    START-OF-SELECTION.
      IF p_file NE space.
        PERFORM upload_data.
        PERFORM fill_data.
        PERFORM llamar_bapi.
      ENDIF.
    END-OF-SELECTION.
    *&      Form  Upload_data
          text
    -->  p1        text
    <--  p2        text
    FORM upload_data .
      IF excel IS INITIAL .
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                = p_file
            i_begin_col             = 1
            i_begin_row             = 2
            i_end_col               = 4
            i_end_row               = 50000
          TABLES
            intern                  = excel
          EXCEPTIONS
            inconsistent_parameters = 1
            upload_ole              = 2
            OTHERS                  = 3.
        IF sy-subrc <> 0.
          WRITE :/'Hay un problema al cargar los datos delfichero excell'.
        ENDIF.
        SORT excel DESCENDING BY row col.
      ENDIF.
    ENDFORM.                    " Upload_data
    *&      Form  fill_excell
          text
    -->  p1        text
    <--  p2        text
    FORM fill_data .
      DATA :  cant TYPE i ,
              value_row TYPE i VALUE 1,
              data_aux TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    Leer las filas del fichero excell.
      IF test NE 'X'.
        s_cabeceras_pedidos-suppl_plnt = p_center.
        s_cabeceras_pedidos-purch_org = p_ekorg.
        s_cabeceras_pedidos-pur_group = p_ekgrp .
        s_cabeceras_pedidos-co_code = p_bukrs .
        s_cabeceras_pedidos-doc_date = p_date.
        APPEND  s_cabeceras_pedidos TO t_cabeceras_pedidos.
        cant = excel-row.
        DO cant TIMES.
          LOOP AT excel WHERE row EQ value_row.
            APPEND excel TO data_aux.
          ENDLOOP.
          SORT data_aux BY col.
          LOOP AT data_aux.
            CASE data_aux-col.
              WHEN '1'.
                s_pos_pedidos-pur_mat = data_aux-value.
              WHEN '2'.
                s_pos_pedidos-DISP_QUAN = data_aux-value.
              WHEN '3'.
                s_pos_pedidos-plant = data_aux-value.
              WHEN '4'.
                s_pos_pedidos-store_loc = data_aux-value.
            ENDCASE.
          ENDLOOP.
          APPEND s_pos_pedidos TO t_pos_pedidos.
        ENDDO.
      ENDIF.
    ENDFORM.                    " fill_data
    *&      Form  llamar_Bapi
          text
    -->  p1        text
    <--  p2        text
    FORM llamar_bapi .
    data : T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE,
           PORDER LIKE BAPIEKKOC-PO_NUMBER.
    t_final_cabeceras_pedidos[] = t_cabeceras_pedidos[].
    t_final_pos_pedidos[] = t_pos_pedidos[].
      CALL FUNCTION 'BAPI_PO_CREATE'
        EXPORTING
          po_header                        = t_final_cabeceras_pedidos
    IMPORTING
       PURCHASEORDER                     = PORDER
        TABLES
          po_items                       = t_final_pos_pedidos
          po_item_schedules                = item_schedule
          RETURN                           = T_RETURN
      IF sy-subrc EQ 0 .
        WRITE :/ 'P O created well'.
      ELSE .
        WRITE :/ 'P .O was not created  well'.
        endif.
      ENDFORM.                    " llamar_Bapi

    Hi,
    When we use BAPI_PO_CREATE1 to create service PO, following tables are populated at item level:
    a) POITEM
    b) POITEMX
    c) POACCOUNT
    d) POACCOUNTX
    e) POSERVICES
    f) POSRVACCESSVALUES
    For service items: POITEM-PCKG_NO = u20180000000001u2019. (assign package no as a dummy number)
    Set PCKG_NO flag in POITEMX table as u2018Xu2019.
    Package No is the link that connect POITEM table to POACCOUNT table through tables POSERVICES and POSRVACCESSVALUES.
    Set POACCOUNT-SERIAL_NO to u201801u2019.
    Set same PCKG_NO to u20180000000001u2019 in POSERVICES table. Maintain two entries in POSERVICES table like this:
    WA_POSERVICES-PCKG_NO = u20180000000001u2019.
    WA_POSERVICES-LINE_NO = u20180000000001u2019.
    WA_POSERVICES-OUTL_IND = u2018Xu2019.
    WA_POSERVICES-SUBPCKG_NO = u20180000000003u2019. (Dummy No.)
    WA_POSERVICES-QUANTITY = u2018100.000u2019.
    WA_POSERVICES-BASE_UOM = u2018EAu2019.
    WA_POSERVICES-PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE TESTu2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    WA_POSERVICES- PCKG_NO = u20180000000003u2019.
    WA_POSERVICES- LINE_NO = u20180000000002u2019.
    WA_POSERVICES-QUANTITY = u201810.000u2019.
    WA_POSERVICES- BASE_UOM = u2018EAu2019.
    WA_POSERVICES--PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE 1u2019.
    WA_POSERVICES-MATL_GROUP = u20180012u2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    Set PCKG_NO as SUB_PCKG_NO in table POSRVACCESSVALUES this:
    WA_POSRVACCESSVALUES-PCKG_NO = u20180000000003u2019.
    WA_POSRVACCESSVALUES-LINE_NO = u20180000000002u2019.
    WA_POSRVACCESSVALUES-SERNO_LINE = u201801u2019.
    WA_POSRVACCESSVALUES-SERIAL_NO = u201801u2019.
    WA_POSRVACCESSVALUES-QUANTITY = u201910.000u2019.
    APPEND WA_POSRVACCESSVALUES TO IT_ POSRVACCESSVALUES.
    This logic will work definitely and PO Service Items will be created.
    Thanks & Regards.
    Dhina..

  • How to start with Card programming !

    Hello,
    I want to learn card programming. For this i want to know few things.
    1) Where can i find an IDE to write program ?
    2) Do we get any simulator in it ?
    3) How to compile and run the card program.
    Right now i can not buy a reader or card. Just want to develop in simulator. How to start ?
    Please, help me. I do not know anything about it.
    Thanks,
    Abhijit Chandekar

    I want to learn card programming.http://developers.sun.com/techtopics/mobility/javacard/articles/
    Read "An Introduction to Java Card Technology" Part 1 to 3 for starting with java cards.
    1) Where can i find an IDE to write program ?The JCOP tools plugin for Eclipse is the cheapest IDE i know.
    http://www.zurich.ibm.com/jcop/products/tools.html
    2) Do we get any simulator in it ?Use CREF from the Java card development Kit or the JCOP emulator from the JCOP tools.
    3) How to compile and run the card program.See the Java Card Development Kit User&#8217;s Guide that comes with the Java Card JDK.
    @the other forum member:
    May be we should start creating a forum-FAQ which will be posted once a week. That would make it easier to help all the "newbies"...
    Someone interested?
    Jan

  • How to start with PAPI

    Hi
    Can someone suggest a better way to start with PAPI usage.
    may be a beginners guide in a precise way.. or a sample project that i can carryout locally on my machine without enterprise server.
    a guide that describes the scenarios which require PAPI...
    Any help is appreciated..
    Regds,
    Viswanath

    Here's a step by step document on how you could use the Java PAPI using JDeveloper 11: http://www.4shared.com/file/126507332/e814a3a8/CallingPapi.html. The Oracle BPM project I used for this step-by-step document is also in this zip file. If you're curious, this also describes how to download, install and start JDeveloper 11.
    In this example, you could create a new participant (e.g. "remotePapi") for PAPI session. On Enterprise you are actually creating the session to connect to the Directory Service and not a specific process or Engine.
    This is not formal Oracle documentation, but I know that getting PAPI to work is sometimes a challenge and thought this might help. I tried to write it with the "Java Newbie" in mind so do not panic if you aren't an expert in Java (I'm sure not ).
    This is a simple example that uses most of the logic found in the PAPI documentation on http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Head_PAPI.html in the "Writing Your First Java PAPI Program" section of this document.
    The document provides a step-by-step description on how how to use PAPI to:
    <li> interface to processes running on an Oracle BPM Enterprise Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> interface to processes running on an Oracle BPM Studio Engine
    <li> list processes currently running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> list the work item instances running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> create a new work item instance in a process and pass in input argument variables to the new instance as it is created.
    I have a similar example of how to do this using PAPI-WS using SOAP-UI. Instead of using SOAP-UI, it could have been any outside environment that could invoke web services.
    Hope you find this useful,
    Dan

  • Problems getting started with templates

    I am just getting started with the dreamweaver 30 day trial.
    I am trying to create my first file. When I try to open a new
    template file I get the message below-
    "Dreamweaver stores templates in the root folder of a site,
    but there are no sites defined. Please add a site"
    What does this mean? How do I find the templates? I am a
    total dreamweaver newbie trying to learn the program.
    Thanks

    ntmunger wrote:
    > I am just getting started with the dreamweaver 30 day
    trial. I am
    > trying to create my first file. When I try to open a new
    template
    > file I get the message below-
    >
    > "Dreamweaver stores templates in the root folder of a
    site, but there
    > are no sites defined. Please add a site"
    >
    > What does this mean? How do I find the templates? I am a
    total
    > dreamweaver newbie trying to learn the program.
    >
    > Thanks
    It's not a problem with templates.
    You have to create a site for your website - F1 will show you
    how to do
    that. Once you have a site created, you will be able to
    create new template
    files, and they can write themselves to the correct part of
    the site.
    HTH,
    Pete.
    Peter Connolly
    http://www.acutecomputing.co.uk
    Derby
    UK
    Skype ID: acutecomputing

  • Getting started with Java and XML

    Hi,
    Although I am pretty familiar with Java, I am a total newbie with using it to parse XML. I have been reading quite a few tutorials so am getting a good understanding of it and am thinking of using the DOM model for my purposes.
    What I haven't been able to find, however, is how I can actually get started with this. I have tried compiling a few examples and have been getting errors such as:
    xmltest.java package javax.xml.parsers does not exist
    xmltest.java package org.w3c.dom does not existetc etc...
    It looks like these packages don't come with J2SE. Can anyone confirm this? Do I need to download and install the Java Web Services Developer Pack to solve this problem?
    Finally, I know I will need an XML parser but have read that JDK 1.4 has it's own parser (Crimson). Is this adequate for parsing XML files or will I also need a parser such as Xerces?
    Thanks so much for any help!

    Hi DrClap,
    Thanks for the reply. I have JDK 1.4.1_02 installed on my server but the following error keeps coming up when I try to run my example:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/NodeAre there any further packages I need to download in order to run Java with XML? I have read some people install JAXP and XERCES... are these necessary for parsing an XML document or should J2SE 1.4.1 be sufficient?
    Thanks for your help!
    Jill

  • Getting started with ATG and Eclipse

    Hi,
    I am newbie in ATG web commerce. I am doing some R&D how to integrate ATG with eclipse JBoss and oracle. I searched on Google, there is one very interesting topic about getting started with atg, jboss, oracle :
    http://atgdeveloper.wordpress.com/2009/04/19/getting-started-with-atg-jboss-and-oracle
    It is very helpful to me but there is one problem what are the requirements of eclipse to integrate it with ATG. Is there any ATG plugin, which I can download all the plugin for eclipse and please can anyone help me if there is any ATG configuration documentation available, please share link or document(if there is complete step-by-step documentation available).
    I will greatly thankful to you. Very very thanks in advance.
    Thanks,
    Manveer
    Edited by: msingh on Nov 9, 2011 3:37 AM
    Edited by: msingh on Nov 9, 2011 3:38 AM

    Hi GarethR,
    I have a looked on ATGInstallationGuide.pdf, which url it shows is not working http://www.atg.com/eclipse. I think the url for ATG plugin has been changed now but I didn't found that url on google. Can you please help me to get correct url.
    When I try to use this url using eclipse update manager. It shows me no features available for this site.
    Thanks,
    Manveer

  • [solved] Bash shell... does not start with user name, but used to...!

    when I start a console, logged in as user, it always used to start with
    user@hostname ~$
    Suddenly, and I cannot recall having done anything that could lead to the issue, konsole will always start as
    bash3.2$                                                     
    even after many reboots, this is still the case.
    whoami shows my user name. I can su to root, and from there to my username, but never directly from bash.
    Occasionally, starting a program like KDE partition manager fails with the error message the program su could not be found. but it is as I said occasional.
    I am quite a newbie to Linux, so I am clueless. Can someone help me..? I tried googling, but I seem to be the only one in the WWW that goofed up to such an extent..! and searches are quite unrevealing.
    I am installing Linux From scratch using arch linux as base system, but I am just following The Book to the letter and don't think that caused the problem.
    Last edited by jaydoc (2009-01-26 09:12:56)

    @weasel8...
    That is THE trouble. And I take back my words, it was during the linux from scratch install that I botched that file...! I was supposed to make a new bashrc file in the LFS directory, but I went wrong on the commands and I think I ended up removing the Arch Linux file...!
    If it is to be found, it should be in the etc directory, right..? I looked there and could not find it. Did I look in the right place...?
    What can I do...?
    Last edited by jaydoc (2009-01-26 07:33:14)

  • Starting with J2ME

    I'm trying to start with J2ME, and am completely puzzled by the whole thing. And Sun doesn't help much either. I'm trying to make a game, where lines fly by in the screen. The user must avoid these lines, by moving the ship around with the stylus. Is there enough in J2ME to accomplish this?
    Another worry: Is J2ME obsolete? It appears to me that it hasn't been updated for a long time.

    Hello,
    Is there enough in J2ME to accomplish this?Yes.
    Is J2ME obsolete?No. Sometimes new technologies are not much visible to newbies. J2ME may be one of them. If you continue having difficulties, i reccomend you to buy a book to start quickly to J2ME.
    Here are some tips for your J2ME game:
    Getting Started with Java ME
    http://www.java-tips.org/content/view/95/73/
    How to write your First MIDP game
    http://www.java-tips.org/content/view/833/73/
    How to use a tiled layer in J2ME
    http://www.java-tips.org/content/view/423/73/
    How to implement a sprite class in J2ME
    http://www.java-tips.org/content/view/424/73/
    Detecting collision with sprites in J2ME
    http://www.java-tips.org/content/view/425/73/
    Good luck.

  • If I copy the "lcds" folder, Tomcat starts with socket errors

    In the documentation it is said that when you create a new server-side application, you can start by copying the 'webapps/lcds' folder. I did that but then, Tomcat starts with some socket errors:
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to pre-validate desired socket settings for BindSocketAddress: 0.0.0.0:2038
    java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to start.
    flex.messaging.LocalizedException: SocketServer 'my-rtmp-SocketServer' cannot bind to accept client connections on port '2038' because another process has already bound the port. Please ensure that multiple endpoints across all applications  are not configured to use this same port.
    Am I doing something wrong?
    Thanks,
    Borek

    What is happening is that you are getting a port conflict for the socket-based NIO and RTMP endpoints used in the channel definitions in the services-config.xml file of your new web app. The issue is that you have endpoints bound to the same port  in the LCDS web and in your new web app.
    You can deal with this one of two ways:
    Option 1: In that services-config.xml file, search on "RTMP" and "NIO" to find the channel definitions and change the port numbers to something slightly different than the ones used in the LCDS web app.
    Options 2: Move the LCDS web app out of the picture so it doesn't get loaded, and just use a template for future web apps. If you aren't using it for any of your development, there is really no reason you have to load it.
    I'll add a note about this to the documentation that talks about using the LCDS web app as a template.

  • How do I stop iTunes from starting with Windows?

    Hi there.
    After installing iTunes 7, it launches with Windows despite there being no registry entries or Startup folder entries. I also can't find any preference settings in iTunes to change this. I don't want iTunes starting with Windows as it's a CPU hot and system drag as it is without it slowing down my startup.
    What's even more odd I find is that, if for whatever reason iTunes does NOT start with Windows, I don't have an Internet connection. It's strange but the connection between the two is absolute. If I reboot and iTunes starts with Windows, I have my Internet back.
    Any suggestions? I can't find anything through searches. I've also checked for viruses, spyware, backdoors, etc.
    Thanks.
    Custom   Windows XP  

    It turns out it was the Yahoo iTunes plugin.

  • Tried to reinstall OSX Mountain Lion 10.8.4 and every time i start with the installation i get a requested time out message, had to shut down my MacBook Pro retina. Now when i start up it automatically start internet recovery

    tried to reinstall OSX Mountain Lion 10.8.4 and every time i start with the installation i get a requested time out message, had to shut down my MacBook Pro retina. Now when i start up it automatically start internet recovery for two ouers. After the internet recovery the same problem with reinstalling OSX message

    Gave up on the GUI.  This script derived from http://blog.netnerds.net/2012/07/os-x-how-to-setup-nat-on-lion-and-mountain-lion / seems to work for me:
    gwdev=en0 # This is my WiFi connection (has Internet connection)
    targetdev=en1 # This is the USB to Ethernet adapter (to give Internet connection)
    /sbin/ifconfig $targetdev down
    /sbin/ifconfig bridge0 create
    /sbin/ifconfig bridge0 up
    /sbin/ifconfig bridge0 addm $gwdev
    /sbin/ifconfig bridge0 $HOST_ADDR
    /sbin/route add default -interface bridge0 -ifscope bridge0 -cloning
    /usr/sbin/sysctl -w net.inet.ip.forwarding=1
    /sbin/ipfw add 100 divert natd ip from any to any via $gwdev
    /usr/sbin/natd -interface $gwdev -use_sockets -same_ports -unregistered_only -dynamic -clamp_mss -enable_natportmap -natportmap_interface $targetdev

Maybe you are looking for

  • Problems with import map

    Hi there, I am trying to apply the following configuration: ip vrf AA_BB rd 1:100010 import map RZ-TAG-OUT export map RZ-TAG-IN router bgp 11 address-family ipv4 vrf AA_BB neighbor 192.168.3.2 remote-as 64810 neighbor 192.168.3.2 activate neighbor 19

  • Anyone know about centarl address management.

    hi expert,    nyone know about centarl address management. how to use it in xdo1

  • Issue with Real-Time data acquisition

    Hello, I'm using RDA to extract a non-standard transparent table (Z*) from  ECC to BI. When I launch my deamon, my infopackage and my DTP become yellow only 2/3 seconds and green just after, and no data are coming from ECC. If I check the deamon log

  • Question to chart in Xcelsius

    I want to have one chart to show Transport cost and Transport Duration of Cusomer A1 and A2. Does anybody know which chart that I can use to compare two KPI for customer A1 and A2 in Xcelsius? How to use it, give an example dashboard.Thanks for any i

  • ORA-12560 error during 11G Install

    Hi, I am trying to install 11G on my WIN XP Pro laptop.During the installation process, whilst the database configuration assistant is on the "Completing Database Creation" stage, ORA-12560 TNS:Protocol Adpater error is thrown. I've followed all step