Multiple beans getting created for a single jsf page

Hi all,
I am developing UI pages using JSF in 'IBM Websphere studio Application developer.'
Suddenly I have started facing some weired problem.
I have one jsp file 'Schedule_Process.jsp' and
corresponding bean file 'Schedule_Process.java'.
Everytime I run the jsp page a new bean file gets created with suffixes as 1,2,3...
So i have 'Schedule_Process1.java', 'Schedule_Process2.java'.....for a single jsp file.
The jsp file gets mapped to the newly created bean file. The mapping entry automatically comes in faces-config.xml file.
Thus my bean code is divided into multiple beans.
Sometimes this code run but sometimes it doesnot.
To get everthing working i have to remove extra mapping entires from faces-config.xml. Also have to delete all new versions of bean files except the latest one. and then i have to rename the latest file(with number as suffix) to remove the suffix.
This works sometimes but there no guarantee that it will work.
I desparately want to know the reason behind this problem.
Any help on this issue will be greatly appreciated.
Thanks a lot in advance!!!

Make sure in the faces-config.xml file you have
your managed bean set a session.
<managed-bean-scope>session</managed-bean-scope>
and assure that you have the follwoing lines of code in the web.xml file
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
Hope this helps

Similar Messages

  • Multiple processes getting created for weblogic instance.

    multiple process creating for weblogic instance. which lead to slow performance.
    /home/dz84tl> ptree 24524
    1464 zsched
    24524 /usr/bin/ksh /usr/local/bea/wls92/domains/gqts/bin/startWebLogic_gqts001 nodebu
    24547 /usr/local/bea/wls92/jdk150_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    3401 /usr/local/bea/wls92/jdk150_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    It is supposed to be only one child process but there are multiple.

    Hi,
    Nodemanager is not used to start the managed server.
    below is the snnipet:-
    Bgqts 26106 1464 0 May 11 ? 0:00 /usr/bin/ksh/usr/local/bea/wls92/domains/gqts/bin/startWeblogicgqts001_ nodebu
    Bgqts 22800 22799 0 08:51:35 ? 0:01 grep Bgqts
    Bgqts 26125 26106 1 May 11 ? 1004:14 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    Bgqts 13775 26125 0 06:17:03 ? 0:0 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    Bgqts 26646 1464 0 May 11 ? 0:00 /usr/bin/ksh/usr/local/bea/wls92/domains/gqt/sbin/startWeblogic.sh
    Bgqts 26678 26646 0 May 11 ? 9:05 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms512m -Xmx512m -XX:MaxPermSii
    Bgqts 24187 26125 0 11:20:32 ? 0:00 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRatii
    Bgqts 14710 26125 0 8:13:19 ? 0:00 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    As I understood there is some time gap between this process creation.also we can see here even after using startWeblogic.sh instances are getting created.
    There are other two domains but in those domains this problem is not seen. only gqts domain has this issue.also in other two domains the same script is used.
    Really not getting what can be the reason behind this process creation.
    Does it mean startWeblogic.sh is creating processes?
    or the application which are deployed on managed servers are responsible for it?
    Thanks in Advance.

  • Are there any workarounds for multiple PDF files created for a single Word 2011 document?

    I am running...
    Mac OS X Version 10.6.8
    Word for Mac 2011
    Adobe Acrobat X Version 10.1.0
    I am working with 100 plus page Word documents that go back and forth between portrait and landscape layouts. When I attempt to create an Acrobat PDF document (or one using the native Mac PDF function), I end up with 10 to 15 separate PDF documents. One person suggested that I simple stitch them together, which is an inordinate amount of work as compared to how simple it is do on my PC with older versions of Acrobat and Word. However, I have noticed that the margins are way off and the pagination is off sometimes too. So even this workaround is not the answer. I last talked to Microsoft, Apple, and Acrobat tech support about five weeks ago. Each blaming the other two but saying they were working together to solve the problem. My recent searches of forums has not revealed any solutions nor have updates changed anything.
    As I am anticipating the day when my old PC stops working, I am searching for a possible workaround or other solution for this problem.

    Thanks for your reply.
    The tip-off may be this.  In Word 2007 on my pc when I print the document to a printer, Word generates 1 print file for the entire document. If I print to PDF, one print file is generated by Word and Acrobat creates a PDF from this file.
    What I just discovered by accident was that when Word for Mac 2011 prints the same Word document to a printer it creates about 10 different print files.  So instead of a 100 page PDF document I end up with 10 PDF documents of 1 to 30 pages depending where the page orientation shifts in the Word document. If you print to a printer that is not turned on, you can see all of the files stacked up in the printer queue. I suspect that Word for Mac 2011 generates 10 different print files during the PDF creation process and therefore Acrobat logically creates 10 different PDFs.  Unfortunately, there are margin errors and other layout errors in these 10 different PDFs so stitching them together is useless.
    I am beginning to think that the way Word for Mac 2011 prints documents is simply incompatabile to Acrobat or the PDF creator that is native to the Mac OS.
    I just think that this is a problem that Microsoft is going to have to fix.

  • Two TOs got created for a single Posting Change

    Dear All,
    A material document with movement type 309 got posted in a plant where WM is active.Here the material is moving from one batch to another batch.
    The material document has 100 items.For each item when this movement happens a Posting Change will get created in WM and this will get converted to TO immediately through background job.
    For all the materials except one  this is happening fine, ie if for example if the quantity in the material doc is say 100 PC,then posting change will get created for 100 PC  and this gets converted to single TO with 100 pc
    But for one materal , for a Posting change of qty 90, two TOs got created with same qty ie 90 pcs each.
    Please let me know your thoughts on this.What may be the reasons for this
    Regards
    Shyam

    Dear RK and Arakish,
    Thanks for the replies.
    But i think i need to expalin you the issue in detail.
    Problem Description:
    1) Single Posting change getting converted to two TOs with same quantity each
    2) Unable to go into display mode or change mode of Posting Change because of Error   message. u201CPosting change quantity less than quantity already postedu201D
    Message no. L2145
    Sceanrio:
    Material Document is posted with 309 movement,for moving a single material from single batch to different batches. The material document consists of 140 line items for the same material, but movement happening to 140 different batches.
    For example First line item of the material document corresponds to movement of the material
    From batch 1530040 to batch 71656W01 with quantity 105.438 DIE
    Second line item
    From batch 1530040 to batch 71656W02 with quantity 105.374 DIE
    For each line item, once the movement is posted in IM, corresponding Posting Change get posted in WM with the same Quantity. A background job converts Each Posting Change to single TO with same quantity.
    For example: For the first line item , Posting change 713513 got created with quantity 105.438 DIE which got converted to TO 1057743 with same quantity ie 105.438 DIE
    Issue:
    But only for one line item, the Posting Change with Quantity 90.901 DIE got converted to two TO s of quantity 90.901 each. And the posting change status is Partially Processed
    Because of this, we are not able to go inside the Posting Change neither in the Display mode or Change mode due to the above mentioned error message.
    Please let me know your thoughts on this
    Regards
    Shyam

  • Schedule line getting created for material whose stocks are maintained

    Hi Friends,
    I am having an unusual problem of schedule line getting created for material whose stocks are there in the system. I have created an SO for some material, and all the material is having sufficient qty in the system but still the system is generating schedule line.
    Can someone please advice what could be the problem and the solution to it.
    Regards,
    Wasim.

    Hello Wasim,
    - In TCode MM02, Check Scheduling in MRP2 Tab of Material master (if MRP is active.)
    - In Tcode OVZ9 - AvC control, for your Availability check maintain (eg. 02) in material & Checking Rule:A-SD order.
    Whether Check availability without replenishment lead time is unchecked, as this Indicates whether, during the availability check, the system checks the replenishment lead time. So, Items for which the delivery date falls within the replenishment lead time, but for which there is no inventory, are confirmed for delivery after the replenishment lead time. In the case of items for which the delivery date falls after the end of the replenishment lead time, the system assumes that everything can be confirmed.
    Thanks & Regards
    JP

  • How does the icon get created for a saved file

    In my program I allow saving files using JFileChooser and ActionListener.
    In the constructor of the main class which extends JFrame I also set an icon by saying:
    this.setIconImage(new ImageIcon("image.jpg").getImage());
    This does not only set an icon on the title bar and the minimized window, it also creates an icon on my saved files. However, the image quality for the icon on my saved files is bad, even though the image quality for the other icons is ok. The size of the icon image I am providing is close to the size of the icon image on my saved files.
    How did the icon get created for my saved files? Is it possible to improve the image quality?
    Thanks for looking at this!

    I just realized that
    this.setIconImage(new ImageIcon("image.jpg").getImage())
    did not create the icon for my saved files.
    So what did create it? I did not program it!
    However, I happen to have an icon file Ananya.ico where I have my java project. I use if for my installation file. Did Java use this icon?
    Please help! Thanks!

  • Multiple Units of Measurements for a single item

    Hi all,
    How do I maintain multiple units of measurements for a single Item/  I have a scenario where purchase orders are being made for sand in Metric Tons, Tons, Kgs and Cubit Feets.  Each measurement is being used at each construction site of the company but the item is single sand.   One more problem is here with the material reconciliation of stock since it is maintained in different units of measurement and conversion from unit to other is problematic.
    Thanks
    YSvee Reddy

    Hi YSvee Reddy ,
    Julie is correct in saying that this feature will be available in version 8.8, currently in Ramp-up.
    Please see the [8.8 landing page |https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000705857&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&]for a link to the 'What's new' document.
    You can contact your LPE to discuss participation in Ramp-up.
    All the best,
    Kerstin

  • Why 2BDOCS are getting created for sending Sold to Party to ECC.

    Hi,
    I have a question, when BP (Sold to) gets create in CRM & replicates in successfully ECC.When I see Tran SMW01, I found two bdocs are getting created for same Sold to. Why this is happening!! How I can remove the another Bdoc type (VEND_MAIN).
    Please suggest.

    Hello Developer,
    Yes, I've checked the combinations of webshop(In Shopadmin) and Product Catalog.(Sales Area) 
    All of them are compatible.
    Hey DJ,
    When you say: u201Cthe first entry maintained in the USAPPLREF tableu201Du2026.in our case, there are 2 entries for my user (PPELA3). The first one is for object type BUS1006001 and object key nr° 23263-my contact person, linked to sold-to nr° 1000003), which is the employee that I 've created in the ISAUSERADMIN.
    The second entry is with object type KNA1 with object key nr° 1000003 (which is the sold-to).
    Those are the only entries for my user in this table.
    Does this sequence have the influence described by you? Is that what you want to say?
    Other point: Does the REFERENCE CUSTOMER is important for the B2B scenario? (Our case) Since I thought it was important just for B2C scenarios, It was the same number in SHOPADMIN Webshop creation.
    In the meantime, I will create a new reference customer and change the webshop parameters.
    Thanks for your inputs.
    Regards,
    Paulo Pela

  • IDOCs stopped getting created for FB01 transaction

    Hey Guys,
    I m facing a strange problem, the idocs for message type FIDCC2 was getting creating for transaction FB01, FBR1, FPG1. But from sometime it has stopped creating the IDOCs. I have not chnaged anything in the system. Not sure why this has caused so.
    Please help me out on this ?? also I need to change the segment data for the same, Please share me a user exit where i can incorporate this???
    Raj

    Hi,
    There is no error as such, we did the config for the FIDCC2 message type Basic type FIDCCP02 and whenever we post a FI document and IDOC was getting created.
    Now just earlier, it suddenly stop generating IDOCs we did n't make any change to the system. The source and sestination system is up and running. Not sure what caused this...
    Raj

  • More than one instance of same Declarative Component in a single JSF page

    Hi,
    I have problem in using more than one instance of same Declarative Component in a single JSF page.
    Only one instance is visible/rendered.
    If I drag and drop more than one instance of same Declarative Component in a single JSF page, only one is displayed.
    Not sure why is so....have I missed on some configuration?

    What version of JDeveloper are you using? What declarative component?
    In general when creating JSF UI components, care must be taken to avoid certain pitfalls that happen when one uses that component more than once in a page...so depending on which component you are using, one might surmise that more or less care was taken on that component when building it.
    If it was well tested though...like if it was an ADF Faces component, then that is probably not the problem.

  • Accounting doucment not get created for Credit Memo

    Hi
        When creating a cancellation doucment(vf11) for credit memo accounting document not get created.While I go for analysis then it is determining the G/L account.But not getting created the accounting doucment.
    When i select "Release to accounting" then it is giving a message like this:
    "Automatic clearing of billing document 951
    and canc. doc. 90000572 not poss."  as informatiion first
    and then later it is throwing an error message that "maintain correct number range"
    While for the same material or earlier cancellation happened and accounting doucment get created.
    Please help me out;How would i get this solved?
    Thanks in advance

    Hi,
    You may also check for Number Range - Maintainance & Assignment.
    T. Code: SNRO
    Table/ View: RV_BELEG
    Here, Mantain Number Range.
    To Assign,
    T. Code: SM30
    T.Code: Bill_Num (or select if different in your case)
    Assign No. range to your combination of Sales OrgDist.ChannelBill Type i.e. for Cancelled Billing Doc. Type
    To Maintain Number Range for Accounting Documents,
    T. Code: FBN1
    Best Regards,
    Amit

  • Session gets created for every request.

    Hi ,
    I have two servlets where i set a object in the session in one servlet say servlet1.java and get in another servlet say servlet2.java.
    When i pass my session object from servlet1 to servlet 2 , servlet2 is supposed to get the arrtibute , but its always gives me a null value.
    I found out that a new session is getting created every time when i try to access servlet2.
    I tried to print the session object , and it clearly tells me that the object is differet from the one i set.
    Can anyone let me know why is this happening and how do i solve this .
    This happens for me in weblogic 8.1 setup.
    In my JBOSS set up with the same code it works fine.
    Thanks in advance.

    Sasikanth,
    Pardon me if I am stating the obvious, but according to your description the problem is with WebLogic. So did you try a WebLogic specific forum?
    Good Luck,
    Avi.

  • Spool list is not getting created for background job

    I am creating background job using JOB_OPEN and then submitting my z-report using submit statement and then closing job using JOB_CLOSE. for this job is getting creating in sm37 and also gets finished but it does not create spool list showing output.
    Any idea how to do this?
    Thanks in advance.

    DATA: lv_jobname TYPE tbtcjob-jobname,
            lv_jobcount TYPE tbtcjob-jobcount,
            lv_variant TYPE variant,
            wa_var_desc TYPE varid,
            wa_var_text TYPE varit,
            it_var_text TYPE TABLE OF varit,
            it_var_contents TYPE TABLE OF rsparams.
      REFRESH: it_var_contents, it_var_text.
      CLEAR: wa_var_desc, wa_var_text.
      CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          curr_report     = sy-cprog
        TABLES
          selection_table = it_var_contents
        EXCEPTIONS
          not_found       = 1
          no_report       = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CONCATENATE sy-datum sy-timlo INTO lv_variant.
      wa_var_desc-mandt       = sy-mandt.
      wa_var_desc-report      = sy-cprog.
      wa_var_desc-variant     = lv_variant.
      wa_var_desc-transport   = 'F'.
      wa_var_desc-environmnt  = 'B'.
      wa_var_desc-version     = '1'.
      wa_var_desc-protected   = 'X'.
      wa_var_text-mandt = sy-mandt.
      wa_var_text-langu = sy-langu.
      wa_var_text-report = sy-cprog.
      wa_var_text-variant = lv_variant.
      lv_jobname = lv_variant.
      CONCATENATE 'Batch Job Variant -'(006)
                  sy-uname INTO wa_var_text-vtext.
      APPEND wa_var_text TO it_var_text.
    Create the varaint for the back ground job.
      CALL FUNCTION 'RS_CREATE_VARIANT'
        EXPORTING
          curr_report               = sy-cprog
          curr_variant              = lv_variant
          vari_desc                 = wa_var_desc
        TABLES
          vari_contents             = it_var_contents
          vari_text                 = it_var_text
        EXCEPTIONS
          illegal_report_or_variant = 1
          illegal_variantname       = 2
          not_authorized            = 3
          not_executed              = 4
          report_not_existent       = 5
          report_not_supplied       = 6
          variant_exists            = 7
          variant_locked            = 8
          OTHERS                    = 9.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Open the job.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_jobname
        IMPORTING
          jobcount         = lv_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 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.
    submitt the job in background mode.
      CALL FUNCTION 'JOB_SUBMIT'
        EXPORTING
          authcknam               = sy-uname
          jobcount                = lv_jobcount
          jobname                 = lv_jobname
          report                  = sy-repid
          variant                 = lv_variant
        EXCEPTIONS
          bad_priparams           = 1
          bad_xpgflags            = 2
          invalid_jobdata         = 3
          jobname_missing         = 4
          job_notex               = 5
          job_submit_failed       = 6
          lock_failed             = 7
          program_missing         = 8
          prog_abap_and_extpg_set = 9
          OTHERS                  = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    close the job.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = lv_jobcount
          jobname              = lv_jobname
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Hope this will be helpful..

  • Extension folder is not getting created for firefox 4 in Mac OS

    in Mac OS 10.6, 10.5, extension folder is not getting created in the profile for the firefox 4.0. Where as in Firefox 3.6 when you launch the firefox first time, profile folder is created and extension folder is also part of that.

    That extensions folder will only be created if there are extensions found that need to be installed. If there are no extensions then Firefox doesn't create an empty extensions folder.<br />
    On Windows there is a lot of security software that installs extensions globally.
    * https://developer.mozilla.org/en/Installing_extensions
    * https://developer.mozilla.org/En/Developer_Guide/Customizing_Firefox
    * https://developer.mozilla.org/en/Adding_Extensions_using_the_Windows_Registry

  • Inspection lot not getting create for 01 Insp type after Intransit

    Hi Qm Gurus,
    I have a Material 'A' which is producing in the plant IN05 and transferring to IN06 plant. We have Scheduling agreement PO for this. After Scheduling Agreement we are doing Transferring the Goods thro 351 GI Movement type. So now the parts will be there in transit.
    So now when I receive this goods in IN06 thro 101 MT, Insp lot is not getting create, it goes to Unrestricted. If I create a std PO for the same when I receive the goods thro 101, it is posting into Insp lot. But after 351 & if I do 101 material is not going into Inspection. Pls advise.
    I checked the Insp type 01 Active for IN06, Quality info record is fine, Quality plan also fine. Pls let me know whether i am missing something?

    Hi ,
    Please activate inspection type 08 stock transfer ..
    If this inspection type is active then during stock transfer lot gets generated.
    Also check QM active for this perticular movement in custamizing setting.
    Regards
    SANIL

Maybe you are looking for

  • Error in the iphone music app iOS7 with dozens of empty genius playlists

    Im getting an error in the iphone music app in iOS7 with dozens of empty genius playlists even tho genius is OFF in my account settings and genius playlists are not selected for syncing with my iphone 5.  All apps, iTunes and iOS 7 are updated. The o

  • Do not use SOAP envelope

    I have a scenario in which a Webservice is called from PI; as the webservice request some specific fields in the SOAP-header I have found that I should check the "Do not use SOAP envelope" option in the SOAP-receiver channel. I have searched the foru

  • Daily report

    hi exprt i want per day wise end user report in sap standard (sap user wise) for daily activity in sap account posting

  • Applet Servlet communication via serialization

    I serialized an object containing a JTable to and from a file without any problem. Now I ran the same serialization over the net from servlet to applet and get now a security exception. The table data are simple Strings. If i remove the JTable from t

  • How can I disable the "this PDF document might not be displayed correctly" notification?

    Almost all PDF files produce the "this PDF document might not be displayed correctly" message when viewed with the built-in PDF viewer. This message does not convey useful information. It appears on almost all PDF files (even though they usually work