JMF Process Configuration

I am working through the guide on JMF, but one of the examples is giving me problems. The lines of code are as follows:
Processor processor = null;
try
    processor = Manager.createProcessor(ml);
catch (IOException e)
    System.exit(-1);
catch (NoProcessorException e)
    System.exit(-1);
//configure the processor
process.configure();       
// block until it has been configured
processor.setContentDescriptor(
                                 new ContentDescriptor( ContentDescriptor.RAW  ));Ok. Here is the problem as I understand it. configure() is an asynchronous method. So when I get down to setContentDescriptor() the process isn't configured yet and it throws this exception:
javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
I've seen some people using a function called waitForState(), but when I try to us it the compiler calls it an unresolved symbol. Anyone have a solution for this one?
Thanks,
Khanathor
Message was edited by:
khanathor

Sorry about that, warnerja. I overlooked the JMF section of the forums and the fact that I was crossposting completely slipped my mind. It won't happen again.
Thanks,
Khanathor

Similar Messages

  • Process Configuration

    I am working through the guide on JMF, but one of the examples is giving me problems. The lines of code are as follows:
    Processor processor = null;
    try
        processor = Manager.createProcessor(ml);
    catch (IOException e)
        System.exit(-1);
    catch (NoProcessorException e)
        System.exit(-1);
    //configure the processor
    process.configure();       
    // block until it has been configured
    processor.setContentDescriptor(
                                     new ContentDescriptor( ContentDescriptor.RAW  ));Ok. Here is the problem as I understand it. configure() is an asynchronous method. So when I get down to setContentDescriptor() the process isn't configured yet and it throws this exception:
    javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
    I've seen some people using a function called waitForState(), but when I try to us it the compiler calls it an unresolved symbol. Anyone have a solution for this one?
    Thanks,
    Khanathor

    Sorry about that, warnerja. I overlooked the JMF section of the forums and the fact that I was crossposting completely slipped my mind. It won't happen again.
    Thanks,
    Khanathor

  • IPC:bute in the field catalogue while processing configuration or pricing i

    Hi,
    I get this error (Message Class: PRC_MESSAGES_EXT (Messages for Calling Public Pricing Modules), Message Type: E, Message Number 099, Message variables: Message variables 1-4: IPC:bute in the field catalogue while processing configuration or pricing in context spe.condmgnt.customizing.dba.imp.AttributeClassObjectManager.createAttributeClassAttributeClassObjectManager.java)
    when we ran IPC userexits. 
    We've added a field ZZPSTYV in the communication structure and modified the method to define this field like follows:
         public String[] determineRelevantAttributesForRequirement(
              boolean headerAttributes,
              int reqNo) {                         String[] relevantAttributes = new String[0];
         //Header?
         if (headerAttributes) {          }
         //Item
         else {
         //KOMP fields
         switch (reqNo){
              case 900:                              relevantAttributes = new String[] {"ZZPSTYV" };                                   break;
        return relevantAttributes;
    Running this code we get the above listed error.  Same error if we define unnecessarily a standard field, such as SOLD_TO_PARTY in place of ZZPSTYV.  
    Can anyone give us some advise as what we did wrong?  Appreciate it very much,
    Yanhui

    Hi Yanhui,
    Is it a item field?  Remember that mixed fields should be declared at the header in the IPC.
    Missing any other requirements?
    Cheers
    Andrew

  • Define Tabs and Process Configuration for Template (HAP_TA_CONF)

    I am currently building a new appraisal template for my client and I have configured the process timeline in the development system via the IMG node Define Tabs and Process Configuration for Template (transaction code HAP_TAB_CONF).
    Does anyone know how to transport the tabs and process configuration through the system landscape?
    We are on SAP ECC 6.0 Enhancement Pack 4

    Hi Sushil,
    I have used the report RHMOVE30 as you recommended and it worked perfectly in one run. I did not have to create custom relationships. I simply selected all the Process Item (VH) objects for my appraisal template and ran the report.
    Many thanks for your help. It has saved me having to configure the tabs and process timeline in each client.
    Janet

  • Define Tabs and Process Configuration for Template

    Hi All
    I would like to give the local HR the ability to define Tabs and Process Configuration for Template
    The only way I can find to create these definitions is using SPRO and I don't want to give HR users SPRO
    Is there a transaction which will allow the HR users to define Tabs and Process Configuration for Template?
    Thanks
    Maya

    You can try this URL:
    http://server.domain:port/sap/bc/webdynpro/sap/hap_configuration?WDCONFIGURATIONID=HAP_AC_TAB_CONF
    Just change server, domain and port to match your SAP instance.

  • CMDTUX_CAT:754: ERROR: error processing configuration file

    Hi Tuxedo Experts,
    I have compiled and linked sample code tuxedo client and server (simpapp). According to README, the next steps is running tmboot -y command. Does it start the simpserv tuxedo server? If not, how do I start that?
    Plus, when I ran this 'tmboot -y' command, I got the error:
    ===========================================
    $ tmboot -y
    tmboot: internal error: CMDTUX_CAT:754: ERROR: error processing configuration file
    tmboot: internal error: CMDTUX_CAT:1360: ERROR: configuration file not found
    ===========================================
    Would you please help me to resolve that.
    Thanks & Regards,
    Ahsan Asghar

    Hi Ahsan,
    You skipped some steps. One of the first steps is to set the environment variables given in the README. This is normally done by creating a script you can execute in the future, often called setenv.sh. After creating this script and executing like:
    . ./setenv.sh
    then you need to edit the sample UBBCONFIG file which for simpapp is called ubbsimple. This file contains the Tuxedo configuration information. You will need to replace the things in <> with ones appropriate for your system. The machine name should be the same as the output of the uname -n command.
    Once you've edited the file, it needs to be compiled with the tmloadcf command. Then you should be able to boot and run your application.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Tabs and Process configuration - PMS

    Dear Experts,
    We're on EHP4 and using flexible performance management system. I would like to know if there is any possibility/settings  by which I can uncheck the default tab. i.e. of Element type " Appraisal template" present under the config node "Define Tabs and Process Configuration for Template" .
    Regards,
    Sachin

    Hi Sachin
    Did you get the solution for your problem?
    I have a similar requirement , is it possible to hide the default Appraisal tab?

  • Appraisal- "Define Tabs and Process Configuration for template"

    Hi Experts,
       I am looking for implementation of Flexible template. However, I am unable to do so because "Define Tabs and Process Configuration for template" config node is not available even though we have activated business functions HCM_OSA_CL_1 and HCM_OSA_CL_2. We are in EHP 5 SPlevel 44.
      Please help.

    1. Check with Business Function CA_HAP_CI_1 ..first go through the documentation of the Business Function.
    2.Check with BC Sets is activated or not through tcode SCPR20PR...If it not activated then activate with Tcode SCPR20..
    BC Sets for HR
    EA-HR-MENU
    EA-HR-AKH
    EA-HR-IMG
    Mohan

  • Performance Mgmt - Define tabs and process configuration for templates

    Hi,
    I would like to utlize the feature of process/phase/step configuration for appraisals by the Web Dynpro configuration for tab and process. I choose the "Process Configuration" tab, enter my appraisal template and period, and click "Start Selection". A warning is displayed "No process defined for <my appraisal template>". Clicking on "Add" and no matter what I did, I don't seem to be able to maintain any process/phase/step into the "Configure Available Elements for Process" table. What is the pre-requisite to maintain and configure the Process/Phase/Step(s) ?
    How do I maintain the in preparation, in planning etc statuses in here, I created templates using SAP defined templates for ex: templates for performance feedback etc., statuses are maintained in there by default.
    Can you please suggest anything?
    Thanks
    Murthy

    >
    Munna wrote:
    > Hi,
    >
    > I would like to utlize the feature of process/phase/step configuration for appraisals by the Web Dynpro configuration for tab and process. I choose the "Process Configuration" tab, enter my appraisal template and period, and click "Start Selection". A warning is displayed "No process defined for <my appraisal template>". Clicking on "Add" and no matter what I did, I don't seem to be able to maintain any process/phase/step into the "Configure Available Elements for Process" table. What is the pre-requisite to maintain and configure the Process/Phase/Step(s) ?
    >
    > How do I maintain the in preparation, in planning etc statuses in here, I created templates using SAP defined templates for ex: templates for performance feedback etc., statuses are maintained in there by default.
    >
    > Can you please suggest anything?
    >
    > Thanks
    > Murthy
    Hi Munny, I am experiencing the same condition. I have released my template and when I go thru the IMG to the 'Define Tabs & Process Configuration' selection I get the browser screen for setting up the tabs and process.  I click on the Process tab and see the screen but the New and Delete buttons are not active (grey'ed out).  I toggled my review template (cancelled release and re-released) to see if it changed the symptoms but it did not. 
    All - are there other conditions that must be met before setting up the Process steps vis the IMG ?  I have all of the Status/substatus config complete and it shows up in the right side, but I cannot add anything to the left side to define the process.
    Chris Thomas
    Duke University

  • HAP_CONFIGURATION for Tab and Process Configuration in Apprisal

    Hello Experts,
    HAP_CONFIGURATION application is generating a dump while creating Process Configuration. On click of the save button this dump is coming.
    We have applied the sap note " 1387269 " but still the short dump is occurring. I have debugged the application but not sure why this dump is coming.
    Please help in this regard.
    ERROR : "Screen output without connection to user"
    Function: TRINT_POPUP_EDIT_CANCEL_SHOW of program SAPLSTRD
    Form: RAISE_ERROR of program SAPLSTRD
    Function: TRINT_OBJECTS_CHECK_AND_INSERT of program SAPLSTRD
    Function: TR_OBJECTS_CHECK of program SAPLSTRD
    Function: RH_HRPOBJECT_CORR_AT_SAVE of program SAPLRHWM
    Form: UPDATE_PLOG of program SAPLRHAP
    Function: RH_UPDATE_DATABASE of program SAPLRHAP
    Function: HRHAP_C_VH_CREATE of program SAPLHRHAP_C_IF_PROCESS
    Function: HRHAP_RFC_C_VH_CREATE of program SAPLHRHAP_IF_RFC
    Method: PROCESS_CREATE of program CL_HAP_WD_CONFIG_UI===========CP
    Thanks
    Pradeep

    You may use customization files (for each env, you should have separate customization file) for replacing env values among envs. Please refer -
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/customization.htm#CACJCAGD
    Regards,
    Anuj

  • Approval Process configuration in Change Request Management

    Hello Gurus
    We are currently configuring Change request management. We successfully activated charm, we are now working on approval process of change request management.
    I am following the following sim for the approval process configuration:
    https://websmp105.sap-ag.de/~sapidb/011000358700002931432006E.sim
    Can any one please assist us by guiding us on the following things?
    1. From BASIS point of view we have assigned roles to each user as employee e.g. developer charm (SAP_SOAM*) role to developer user\employee in solution manager, still when we are creating tickets then we cant see the options like “in development”, “in process” etc
    2. We are going forward with the default settings can any one tell us if we need to do something extra to get all those options activated like “in process”, “in development” etc
    I am in mid of these configuration settings; please assist me asap if possible.
    Thanks in advance,
    Regards,
    Sharmishtha

    Hello
    Thanks for your reply,
    I have used BP to create and process change request. Only confused with the standard process and where to look for the change documents, thats the reason i couldnt see the requests and change their status.
    I just want to know if you have customized any thing in to the standard configuration, say for e.g. if you want to add your own actions like in maintenance cycle after requests been released in development if you want to import automatically in QA which happens in case of Urgent corrections. What I need to do if I have to do such settings or change it in my standard configuration.
    How can I change this standard configuration? Anyone has done such kind of customization?
    Thanks for your help and more help on this topic will be appreciated.
    Regards
    Sharmishtha

  • About the role of process configuration files

    I have done some customizations in process template XMLs. I have done my major changes only in the work item type definition XMLs. I am wondering about the role of process configuration files or category definition files. When do I really need to update
    it?
    Thanks
    Divya

    Hi Divya, 
    Thanks for your post.
    If you only did the changes on fields/controls in work item type, usually you needn’t update the process configuration and category files.
    If you want add your work item type display in team project Web Access 
    Backlog board or Task board, you need to update the process configuration and category files, please refer to the detailed information in this document:
    https://msdn.microsoft.com/en-us/library/jj920163.aspx.
    Or you want add a backlog to portfolio management, you need to update the process configuration and category files, please refer to:
    https://msdn.microsoft.com/en-us/library/dn217880.aspx.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Agent commission process configuration

    Dear All,
    I am trying to configure Agent commission process.
    Based on the information available on various threads and links provided in the threads, i ahve completed configuration of below steps.
    1. i have configured new partner function ZA (commission agent) as customer (not as vendor) and assigned the same to partner detrmination procedure AG in customer.
    2. i have configured new customer account group ZCAG by copying sold-to-party 0001. Define number range for ZCAG and define screen for ZCAG.
    3. Assigned ZA to ZCAG
    4. Assigned ZA to sales order partner detrmination procedure
    5. Assigned ZA to Billing partner detrmination procedure
    6. Created customer master for commission agent
    7. Assigned that master to sold-to-party customer master.
    8. added condition type BO03 (customer rebate) to pricing procedure.
    now after doing above configuration.
    i have tried to create rebate w.r.t. customer ID of commission agent, but system doesnt accepted it. so, i created the rebate w.r.t sold to party (to which commission agent was assigned) and in condition i have mentioned the ID of commission agent.
    que? do we  need to create rebate w.r.t cust ID of commission agent if yes then HOW?? is there any configuration i have missed??
    After creating rebate, i have created SO for that sold-to-party and run the complete cycle upto billing. but the accruals didnt got update.....
    Kindly suggest if i have missed any thing and also auggest how to move further.
    Also note that sales org, customer and billing doc are marked for rebate.
    please dont give reference of any other threads or link, as i have gone through each every threads and link available before posting.
    quick reply will be Appreciated
    Thanks,
    Ritesh

    Sorry in the recent past, I have not handled this.  Long time back I configured and not sure how I had handled.
    But you should not treat the commission agent as customer; instead, he should be treated as vendor.  Assign this to your sold to party code.
    Create a condition type with Condition Class and Calculation type as "A".  Of course, assign this condition type in your pricing procedure.
    In V/07, for this condition type, have an access sequence where you maintain table 363.  For this combination, maintain the commission percent in VK11.
    Try creating sale order and update the forum.
    thanks
    G. Lakshmipathi

  • BPEL Integration- Process configuration

    I am trying to invoke a bpel process from UCM Portal. While configuring the connection, during process connection i couldn't able to find the list of bpel of process available which are deployed. But I could able to see those bpel process in SOA server. And the status for the BPEL Connection in connection configuration is valid. How to get list of bpel processes.

    Interesting issue. Do check the below things
    - SOA server is up and running at the time of configuration
    - you are connecting to same SAO server and the port where you are looking deployed omcposites
    Regards,
    Vikrant Korde.

  • QM & PM Calibration Process Configuration

    Hi
    I wanted to configure a calibration process. I have made the settings for PM and QM integration but unfortunately in our implementation QM is not in scope but I need to do the QM settings which will be required for calibration. Can anyone provide me a configuration document for calibration process which contains the settings for QM as well as for PM.
    Thanks a lot for help.
    Thanks & Regards
    Vineet

    Dear  Vineet,
    In  QM SPRO you have to assign  inspection type 14which is for  inspection in plant maintenance. Also you have to maintain number  range for this. most of  work in calibration  belongs to PM only.
    Following is the flow:
    1) IE01 : Create test quuipment.
    2) QDV1: Create sampling procedure for plant mentenance.
    3) IP42 : Create maintenance plan for equipment.
    4) IA01 : Create equipment task list.
    5) IP02 : Assign task list to maintenance plan.
    6) IP10 : Schedule  maintenance plan.
    6) IP30 : Deadline monitoring of maintenance plan.
    7) IP24 : Viewing schedule for calibration with order released.
    8) QE71 / QE53 : Calibration Result recording  and UD.
    This is the way i have mapped  the  calibration process.
    Hope this will help you.
    BR
    Shekhar

Maybe you are looking for

  • Is there a way to figure out the name behind an Apple ID?

    Is there a way to figure out the name behind an Apple ID?  My oganization uses an iPad as a kiosk.  Somone accessed the iPad, changed the Apple ID associated with iTunes, downloaded a game and set a password to lock up the whole iPad.  We had to comp

  • I recently downloaded the latest version of iTunes and now I cannot access my original music library

    On or around 6/23 I plugged in my iPod for it's weekly sync with iTunes. The usual prompt to download an updated version came up and went throught the usual motions of updating and installing. Once all was updated/installed I noticed that when I open

  • Is this concept possible/feasible?

    Hey everyone. So I am considering a very ambitious and complicated project and I wanted to get some experts opinion on if its possible first of all, and if I am on the right path with the right program to accomplish my goal. First some background: I'

  • Non-standard keys

    Hi, How can I respond to input from non-standard keys, like the forward and back keys on some keyboards? I've tried using the KeyEventDemo, but it doesn't record any events. Any ideas? Thanks.

  • Errors with reading images

    i am creating a paint program with which users will be able to import their own images. this is my first applet so i do not know how to fix these runtime errors i am receiving. they are: java.security.AccessControlException: access denied (java.io.Fi