How to configure eclipse to debug while running tomcat

Hi
I using Eclipse 3.1, jdk 1.5 and tomcat 5.5 in my project
how shall i configure eclipse, so that i can debug while tomcat is running in eclipse.
it is not remote debugging, i want to debug it my PC.
when i click Run->Dedug, i get a options window
I will create new java application
Now, What shall i specify for:
Main class: (is it org.apache.catalina.startup.Bootstrap, but it is not working)
Program arguments:
VM Arguments:
Regards
Syed

Have you installed the Tomcat plugin for Eclipse? http://www.sysdeo.com/eclipse/tomcatplugin
If so, you need to create a new Tomcat project using the wizard:
File->New->Project... then choose Java->Tomcat Project
In the wizard, choose a project name, then uncheck the 'use default' checkbox in project contents and browse to your webapp's directory (within Tomcat/webapps). Then finish the wizard.
Start Tomcat from within Eclipse - you can then add breakpoints etc to debug
Regards,
Martin

Similar Messages

  • Eroor in eclipse when i have run TOMCAT in debuge mode web service debuging

    hello all,
    i have a serious problem with debug my web service. I set local variable in eclipse (-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000). And now if i run TOMCAT in normal mode all worked fine and i run remote java application fine, but if i run TOMCAT in debug mode, eclipse in console return error:
    "Error occurred during initialization of VM
    agent library failed to init: jdwp
    ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."
    If anyone have this problem please tell me how to resolved it.
    Thank for help.

    Eclipse is kind of a competing product so this is not the best place to ask the question. With that most will be nice enough to lend a hand. I suggest ensuring that all other instances of tomcat are stopped then try again. In the Debug perspective ensure there are no servers running with the same name as the one you are attempting to use. If all else fails ensure there are no tomcat process running if they are kill them. Finally, if you cant get it to work reboot. If still no good the Eclipse might be a better place to go.

  • How to configure java.security file to run j2ee programs

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

  • Cannot prevent ExtendScript debugging while running scripts from After Effects

    Hi,
    I am facing this issue while running scripts from within After Effects. Whenever I am trying to run a script in After Effects, the script opens up in ESTK in the debug mode. The execution waits at the starting point of the script as if there is breakpoint even though there is none. I am not sure whether what I am missing, whether some debug flag needs to be reset etc. I am using After Effects CC on Windows 7 OS. Any help would be highly appreciated.
    Thanks.

    I tried running the script after removing all $.writeln() statements, but unfortunately that does not resolve the problem. For testing the issue, I am trying with the simple script given below :
    var window = new Window ("palette", "My Window", undefined);
    var panel = window.add("panel", undefined, "Panel");
    var text = panel.add("statictext", undefined, "Testing AE");
    window.show();
    But executing even this one from AE opens up ESTK. I am absolutely stuck with this odd behaviour .

  • How to find the missing fonts while running the script?

    hi,
    I need to create a script to find the missing font. not only for that. Actually i created a script to read the file properties. but i have a problem while running the script.
    I have put "User Interation Level" to never interact. Even i need to check wheather each file have "missing fonts". mean time i never stop the script.
    Is It Possible???
    Regards,
    SubhaOviya

    Here's a shot of the Find Font Dialog:
    Papyrus (highlighted in the list) is missing, and there's a yellow warning triangle to show that. Fonts that ar not missing have an icon to show the type of font. You'll also see it shown as missing in the "Info" box at the bottom of the dialog.
    If you use the Replace With dropdown you will only see fonts listed that are installed on the system. In order to actually use the missing font, rather than substitute a different font in its place, you must obtain and install the missing font on the system.
    Are you seeing something different when you open Find Font?

  • How to configure oracle 6i report server run time component with application server

    we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).

    You can run multiple instances of Reports Server in 6i.
    In tnsnames.ora, for each server, have a different name and each listening to different port.
    For example,
    server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
    server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
    Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
    http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf

  • How to add the line items while running the VA01

    HI All,
    I want to add the line items while I am running the VA01 t-code(In run time).Could anybody give the FM to create the line items....Its urgent

    Hi ,
    User Exits In Sales Document Processing
    This IMG step describes additional installation-specific processing in sales document processing. In particular, the required INCLUDES and user exits are described.
    Involved program components
    System modifications for sales document processing affect different areas. Depending on the modification, you make the changes in the program components provided:
    MV45ATZZ
    For entering metadata for sales document processing. User-specific metadata must start with "ZZ".
    MV45AOZZ
    For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Output) prior to output of the screen. The modules must start with "ZZ".
    MV45AIZZ
    For entering additional installation-specific modules for sales document processing. These are called up by the screen and run under PAI (Process After Input) after data input (for example, data validation). The modules must start with "ZZ".
    MV45AFZZ and MV45EFZ1
    For entering installation-specific FORM routines and for using user exits, which may be required and can be used if necessary. These program components are called up by the modules in MV45AOZZ or MV45AIZZ.
    User exits in the program MV45AFZZ
    The user exits which you can use for modifications in sales document processing are listed below.
    USEREXIT_DELETE_DOCUMENT
    This user exit can be used for deleting data which was stored in a separate table during sales document creation, for example, if the sales document is deleted.
    For example, if an additional table is filled with the name of the person in charge (ERNAM) during order entry, this data can also be deleted after the sales order has been deleted.
    The user exit is called up at the end of the FORM routine BELEG_LOESCHEN shortly before the routine BELEG_SICHERN.
    USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen fields.
    To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP. If a field has no field name, it cannot be allocated to a group.
    The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains 'LOO' for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.
    This FORM routine is called up by the module FELDAUSWAHL.
    See the Screen Painter manual for further information on structuring the interface.
    USEREXIT_MOVE_FIELD_TO_VBAK
    Use this user exit to assign values to new fields at sales document header level. It is described in the section "Transfer of the customer master fields into the sales document".
    The user exit is called up at the end of the FORM routine VBAK_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBAP
    Use this user exit to assign values to new fields at sales document item level. It is described in the section "Copy customer master fields into the sales document".
    The user exit is called up at the end of the FORM routine VBAP_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBEP
    Use this user exit to assign values to new fields at the level of the sales document schedule lines.
    The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBKD
    Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer master fields into sales document".
    The user exit is called up at the end of the FORM routine VBKD_FUELLEN.
    USEREXIT_NUMBER_RANGE
    Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.
    The user exit is called up in the FORM routine BELEG_SICHERN.
    USEREXIT_PRICING_PREPARE_TKOMK
    Use this user exit if you want to include and assign a value to an additional header field in the communication structure KOMK taken as a basis for pricing.
    USEREXIT_PRICING_PREPARE_TKOMP
    Use this user exit if you want to include or assign a value to an additional item field in the communication structure KOMP taken as a basis for pricing.
    USEREXIT_READ_DOCUMENT
    You use this user exit if further additional tables are to be read when importing TA01 or TA02.
    The user exit is called up at the end of the FORM routine BELEG_LESEN.
    USEREXIT_SAVE_DOCUMENT
    Use this user exit to fill user-specific statistics update tables.
    The user exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.
    Note
    If a standard field is changed, the field r185d-dataloss is set to X. The system queries this indicator at the beginning of the safety routine. This is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.
    USEREXIT_SAVE_DOCUMENT_PREPARE
    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
    User exits in the program MV45AFZA
    USEREXIT_MOVE_FIELD_TO_KOMKD
    Use this user exit to include or assign values to additional header fields in the communication structure KOMKD taken as a basis for the material determination. This is described in detail in the section "New fields for material determination".
    USEREXIT_MOVE_FIELD_TO_KOMPD
    Use this user exit to include or assign values to additional item fields in the communication structure KOMPD taken as a basis for the material determination. This is described in detail in the section "New fields for material determination".
    USEREXIT_MOVE_FIELD_TO_KOMKG
    Use this user exit to include or assign values to additional fields in the communication structure KOMKG taken as a basis for material determination and material listing. This is described in detail in the section "New fields for listing/exclusion".
    USEREXIT_MOVE_FIELD_TO_KOMPG
    Use this user exit to include or assign values to additional fields in the communication structure KOMPG taken as a basis for material determination and material listung. This is described in detail in the section "New fields for listing/exclusion".
    USEREXIT_REFRESH_DOCUMENT
    With this user exit, you can reset certain customer-specific fields as soon as processing of a sales document is finished and before the following document is edited.
    For example, if the credit limit of the sold-to party is read during document processing, in each case it must be reset again before processing the next document so that the credit limit is not used for the sold-to party of the following document.
    The user exit is executed when a document is saved if you leave the processing of a document with F3 or F15.
    The user exit is called up at the end of the FORM routine BELEG_INITIALISIEREN.
    User-Exits in program MV45AFZB
    USEREXIT_CHECK_XVBAP_FOR_DELET
    In this user exit, you can enter additional data for deletion of an item. If the criteria are met, the item is not deleted (unlike in the standard system).
    USEREXIT_CHECK_XVBEP_FOR_DELET
    In this user exit, you can enter additional data for deletion of a schedule line. If the criteria are met, the schedule line is not deleted (unlike in the standard system).
    USEREXIT_CHECK_VBAK
    This user exit can be used to carry out additional checks (e.g. for completion) in the document header. The system could, for example, check whether certain shipping conditions are allowed for a particular customer group.
    USEREXIT_CHECK_VBAP
    This user exit can be used to carry out additional checks (e.g. for completion) at item level.
    USEREXIT_CHECK_VBKD
    The user exit can be used to carry out additional checks (e.g. for completion) on the business data in the order.
    USEREXIT_CHECK_VBEP
    This user exit can be use to carry out additional checks (e.g. for completion) on the schedule line. During BOM explosion, for example, you may want certain fields to be copied from the main item to the sub-items (as for billing block in the standard system).
    USEREXIT_CHECK_VBSN
    You can use this user exit to carry out additional checks (e.g. for completion) on the serial number.
    USEREXIT_CHECK_XVBSN_FOR_DELET In this user exit, you can enter additional criteria for deletion of the serial number. If the criteria are met, the serial number is not deleted (unlike in the standard system).
    USEREXIT_FILL_VBAP_FROM_HVBAP
    You can use this user exit to fill additional fields in the sub-item with data from the main item.
    USEREXIT_MOVE_FIELD_TO_TVCOM_H
    You can use this user exit to influence text determination for header texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    USEREXIT_MOVE_FIELD_TO_TVCOM_I
    You can use this user exit to influence text determination for item texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    User-Exits for product allocation:
    The following user exits all apply to structure COBL, in which the data for account determination is copied to item level.
    USEREXIT_MOVE_FIELD_TO_COBL
    Option to include new fields in structure COBL.
    USEREXIT_COBL_RECEIVE_VBAK
    Option to assign values from the document header to the new fields.
    USEREXIT_COBL_RECEIVE_VBAP
    Option to supply values from the item to the new fields.
    USEREXIT_COBL_SEND_ITEM
    A changed field can be copied from the structure into the item. You could use the user exit to display a certain field in the account assignment block (see also MV45AFZB).
    USEREXIT_COBL_SEND_HEADER
    A changed field can be copied from the structure to the header (see source text MV45AFZB)
    USEREXIT_SOURCE_DETERMINATION
    You can use this user exit to determine which plant will be used for the delivery. In the standard system, the delivering plant is copied from the customer master or the customer-material info record. If you want to use a different rule, then you must enter it in this user exit.
    USEREXIT_MOVE_FIELD_TO_ME_REQ
    With this user exit you can include additional fields for the following fields:
    EBAN (purchase requisition)
    EBKN (purchase requisition-account assignment)
    USEREXIT_GET_FIELD_FROM_SDCOM
    Option to include new fields for the variant configuration. Fields that are included in structure SDCOM can be processed and then returned to the order.
    USEREXIT_MOVE_WORKAREA_TO_SDWA
    You can use this user exit to format additional work areas for the variant configuration. You will find notes on the user exit in MV45AFZB.
    User-Exits for first data transfer:
    The following user exits can only be used for the first data transfer.
    Note
    Only use the user exits if the names/fields do NOT have the same name.
    USEREXIT_MOVE_FIELD_TO_VBAKKOM
    Option to include additional fields in structure VBAKKOM (communiction fields for maintaining the sales document header)
    USEREXIT_MOVE_FIELD_TO_VBAPKOM
    Option to include additional fields in structure VBAPKOM (communication fields for maintaining a sales item)
    USEREXIT_MOVE_FIELD_TO_VBEPKOM
    Option to include additional fields in structure VBEPKOM (communication fields for maintaining a sales document schedule line)
    USEREXIT_MOVE_FIELD_TO_VBSN
    You can use this user exit to include fields in structure VBSN (scheduling agreement-related change status).
    USEREXIT_MOVE_FIELD_TO_KOMKH
    You can use this user exit to include new fields for batch determination (document header).
    USEREXIT_MOVE_FIELD_TO_KOMPH
    You can use this user exit to include new fields for batch determination (document item).
    USEREXIT_CUST_MATERIAL_READ
    You can use this user exit to set another customer number in the customer material info record (e.g. with a customer hierarchy)
    USEREXIT_NEW_PRICING_VBAP
    Option for entry of preconditions for carrying out pricing again (e.g. changes made to a certain item field could be used as the precondition for pricing to be carried out again). Further information in MV45AFZB.
    USEREXIT_NEW_PRICING_VBKD
    Option for entry of preconditions for carrying out pricing again (e.g. changes to the customer group or price group could be set as the preconditions for the system to carry out pricing again). Further information in MV45AFZB.
    User-Exits in Program MV45AFZD
    USEREXIT_CONFIG_DATE_EXPLOSION
    The BOM is exploded in the order with the entry date. You can use this user exit to determine which data should be used to explode the BOM (explosion with required delivery date, for example).
    User exits in the program FV45EFZ1
    USEREXIT_CHANGE_SALES_ORDER
    In the standard SAP R/3 System, the quantity and confirmed date of the sales document schedule line is changed automatically if a purchase requisition is allocated, and it or the sales document is changed (for example, quantity, date).
    If you want to change this configuration in the standard system, you can define certain requirements in order to protect your sales orders from being changed automatically. Use this user exit for this purpose. Decide at this point whether the schedule lines are to be changed.
    User-Exits in Program RV45PFZA
    USEREXIT_SET_STATUS_VBUK
    In this user exit you can you can store a specification for the reserve fields in VBUK (header status). Reserve field UVK01 could, for example, be used for an additional order status (as for rejections status, etc.).
    The following workareas are available for this user exit:
    VBUK (header status)
    FXVBUP (item status)
    FXVBUV (Incompletion)
    USEREXIT_SET_STATUS_VBUP
    In this user exit you can you can store a specification for the reserve fields for VBUP (item status).
    The following workareas are available for this user exit:
    FXVBAP (Item data)
    FXVBAPF (Dynamic part of order item flow)
    FXVBUV (Incompletion)
    USEREXIT_STATUS_VBUK_INVOICE
    You can use this user exit to influence billing status at header level.
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.
    User Exits in Program MV45AFZ4
    USEREXIT_MOVE_FIELD_TO_KOMK
    You can use this user exit to add or edit additional header fields in the communication structure - KOMK- for free goods determination. For more information, see the New Fields for Free Goods Determination IMG activity.
    USEREXIT_MOVE_FIELD_TO_KOMP
    You can use this user exit to add or edit additional item fields in the communication structure KOMP for free goods determination. For more information see the New Fields for Free Goods Determination IMG activity.
    User Exits in the SAPFV45PF0E and SAPFV45PF0C Programs
    EXIT_SAPFV45P_001
    You can use this user exit to decide whether intercompany billing data is used in the profitability segment for cross-company code sales, or whether the data comes from external billing (external customer, sales data from the selling company code.
    regards
    P.

  • How to configure eclipse so that it can connect to remote weblogic

    Hi^^,
    I have developed a project in eclipse WTP europa.
    Now I want to debug it using weblogic server. I am not allowed to install and run the server from my local machine. The server is installed at a remote location location whose IP address is avaliable.
    Can I run this server as a plugin from eclipse WTP that I have installed or I will have to physically deply the war file on the remote server and then see if its running properly or it has got any errors.
    My question once again is can I somehow connect to this weblogic server on the remote machine from eclipse WTP.

    Hi^^,
    I have not received any replies. Does this mean that I cant connect Eclipse WTP to a weblogic sever hosted at a remote location.??????

  • How do I access my HD while running an OS on external drive?

    So my MBP crashed the other day and when it boots it goes to Disk Utility X. When I tried to repair my HD, it says it cannot be repaired I should backup as much as possible and then format the HD. I did some forum and Apple discussion search and found a few similar scenarios where backing up with Image or Time Machine isn't a choice. (And of course I am one of the "not so wise" population who did not backup in the past.) One of the solution I found was to install an OS on an external drive and then retrieve files from the new OS. I've installed a new OS but aside from Disk Utility I cannot see my original HD. So here's my question:
    How do I access my original HD when I'm running an OS installed on my External Drive? I've partitioned the ED to 2 portions. 1 is MAC journaled(?) GUID in order to install OS, the other is MS-FAT so I have easy access to files.
    PS. One solution I read was to switch the hard drive from the ED with the HD on the MacBook and then retrieve it that way but I don't have access to 2 MacBooks. Plus I'm having the hardest time just trying to open my ED's enclosure...
    I appreciate your time and help! TRULY!!!!
    Thank you so so much!!!!

    So I tried to access it with Terminal and learned how to use command to find HDDs to gain access. Here's what I'm encountering:
    I was able find the HD with "diskutil list" command but it seems to me that my HD was not mounted because when I did "ls /volumes" and "df -h" it did not show up. When I tried to mount the HD with "diskutil mount /dev/disk0s2" The response I got was "Volume on disk0s2 failed to mount".
    Does that mean my HD is fried??
    Thanks again!!!

  • How To  Configure  Eclipse Theme Editor in NW 7.0 ?

    I have downloaded the new Eclipse Theme Editor .Can anyone provide me any link to any material which provides a <b>Step-By-Step guide to configure this into NW 7.0</b> ?

    Hi Arijit
    Eclipse theme editor is an Stand Alone aplication, fot that reason you should not configure in NW 7.0,
    this link could help you  to use then Eclipse theme editor
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5ef40-465e-2c10-9ca9-f548bfc3f236?QuickLink=index&overridelayout=true
    I hope this can help you

  • How to get more detailed info while running a BAPI in test mode

    Hi friends
    I am trying to test 'BAPI_QUOTATION_CREATEDATA2' by opening the BAPI with 'se37' and then clicking on the button Test/Execute (F8) and entering all the data required.
    However, I get a message as follows.
    '555 The sales document is not yet complete: Edit data'
    While creating the QUOTE manually using 'va21' I get more detailed messages like what kind of data is missing 'whether valid to date is missing ..etc.etc.'.
    However, while testing thro' bapi, all it says is that sales document is not complete.
    Is there a way to see more detailed info as to what information is missing, so that I can put them before running.
    Your feedback or suggesions will be highly appreciated.
    Thansk
    Ram

    Thanks Rob
    Actually it says
    W  V1   555  The sales document is not yet complete: Edit data.
    As I said, I am running the BAPI manually by opening the BAPI using SE37 and then clicking on the F8 button. This inreturn will give me an opportunity to click on different object trees to enter the sample data. So I have entered everything that I thought was needed. But still it keeps complaining that the info is not complete but no further details.
    Hope there is some log file or something that I can see to get more details.
    Thanks
    Ram

  • How to configure eclipse for Oracle SOA 11gR1 development

    Hi,
    I have installed oracle 11gR1 ( 11.1.1.3.0) and have found that Eclipse (Galileo) as development tool. When I opened Eclipse to create new SOA Project for BPEL development, I could not able to find a SOA Project category. I assume that we need to install plug-in for developing the SOA Project.
    I browse through the site and could not able to locate anything quite useful. Could you please guide me on how to proceed..
    Is Eclipse the strategic development environment for Oracle SOA 11gR1, R2 development.. ?

    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/toc.htm

  • How can I access windowsxp files while running firefox 3.6?

    I have WindowsXP installed and use Firefox 3.6 to interface with my computer. Occasionally I need to access run Windows XP. My question is how can I go from Firefox to Windows XP and then go back to Firefox?
    Thanks very much.
    Sid

    Firefox is not an interface for the computer, it is just a web browser.
    You can close Firefox by selecting File > Exit, and restart Firefox by clicking on its icon. With Firefox open, you can use the Windows task bar to switch to other applications. You can also minimize Firefox by clicking on the minimize button in the top right of the Firefox window.
    For help on using Windows XP, Microsoft have some support documents available at http://windows.microsoft.com/en-US/windows/help/windows-xp

  • How to get prompted message box while running BRs

    I am using Planning 11.1.1 with Hyperion Business Rule (not Calc Manager).
    I need to create a business rule for the the planning application, so that the user runs the BR, and if it does not meet the condition checking, the user should get a message box prompted (with customizable text message).
    Any suggestion is appreciated.
    Thanks

    John,
    Thanks for the reply. In fact, I have two questions regarding running the BR in Planning:
    1. Can we change the layout of the run time prompts while launching the BR (currently, my BR has quite a few RTPs, and we would like to group some of those together)?
    2. In the BR, I already define the RTPs. My case is that the BR will check the status of the account, if it is ok, then it will run the script; if it is not ok, it shall skip the calc script, but I would like to user get a message stating that nothing has been ran, because of the status is not ok. Do you think this also can be done using RTP?
    Appreciate your reply.

  • How to configure Mountain Lion Server to run Web2py with wsgi?

    I am trying to config Mountain Lion Server to run Web2py with mod_wsgi. I get an error saying: "Premature end o scritp Header" wsgihandler.py (which is the wsgi file for Web2py).
    I had it working fine in Snow Leopard and Lion Servers but not in Mountain Lion Server.
    Thanks for your help.
    Flavio.

    I don't run web2py framework so can't tell you specifically.
    That error means your script is not writing an http header to the browser so the browser can't decode whatever string it is getting. Your script is running as a plain old Python script. This is most likely because the Server.app in 10.8 now includes mod_wsgi built-in and configured from the GUI.
    You can insert an intercept anywhere in your code to check any variable by saying this:
    ##########   PROGRAMMING HERE  ###############
    print("Content-type:text/plain\n\n")
    print(someVariable)
    # raise SystemExit
    The above sends an "http header" so the browser knows what to do. These headers are invisible in the browser window. But depending on your Python version, the pring statement may not work (I am running Python3). The SystemExit statement is optional, just in case your script crashes downstream.
    WSGI sends a header like this:
    startResponse("200 OK", [("Content-Type", "text/plain")])
    but it sounds like mod_wsgi is not even being invoked. Normally your WSGI script is named *.wsgi and your Apache is set up to run the Python script as CGI under the mod_wsgi handler using this directive:
    AddHandler wsgi-script .wsgi
    The file having the config is located at
    /Library/Server/Web/Config/apache2/httpd_wsgi.webapp.conf
    where webapp is the name of your webapp. I would suggest copying the file called httpd_wsgi.conf and renaming it to your webapp name. When Server.app is configured properly, you enable wsgi webapps in the GUI Advanced wndow for your domain.

Maybe you are looking for

  • Using loop statement in screen flow

    Hi Friends,                 I have been working on the Module Pool for the last two weeks. But Iam unable to get the main difference between the   " LOOP WITH CONTROL TABCON "  and   "  LOOP AT ITAB WITH CONTROL TABCON CURSOR TABCON-CURRENT_LINE ". P

  • UKM_BP additional information not getting saved.

    Hello Experts, We are implmenting FSCM Credit Management, wherein I need to enter information like collateral, guarantees etc in business partner. But when I try to save it in additional information in credit profile tab, it doesn't get saved once sa

  • Bridge CS3 doesn't show color profiles althought they are there

    I have a folder with various TIFF files, some are in CMYK (Fogra27), some in RGB but none show the profile in Bridge, although I turned it on in the settings. I can see that they have profiles in PsCS3. What may be the cause? Thanks!

  • IOutlook 2007 and iPhone sync

    I have windows 7x64 bit home premium; iPhone 5 updated; iTunes updated; Outlook 2007 updated. Can't sync contacts and calendar (s?) from Outlook to iPhone 5. iTunes says these will be sync'd with iC;oud but they aren't. Have installed iCloud control

  • How to use custom control in Dialog Programming?

    How can I call a subscreen using custom control in Dialog Programming? The required subscreen contains a calender. Any class or something available for this purpose. Please suggest.