BSP Exception: Implementation of page changed during runtime

Hello All,
I have developed the BSP application using MVC pattern, which is working absoulutely fine in Development system.
Now I transported the application to QA system and tried to execute that. The transports were successful.
But when tried to test in Quality it gave the above exception. When I debugged the same, I found that create_view method was not executing correctly and was generating the exception message.
Any idea why its causing such problem.Do we need to add some patch to quality system?
Thanks in advance.
Regards
Rajeev

Infact I re-activated the entire BSP application and now its working fine.
anyways thanks for the reply.
regards
rajeev

Similar Messages

  • BSP Exception , with aliased page?

    Hi all,
    I got a BSP page at :
    http://WAShost/sap/bc/bsp/sap/zris/page_a.html
    I've an aliased version too at :
    http://WAShost/ris/page_a.html
    this work OK.
    Now I copied (in SE80) page_a.html to page_b.html.
    http://WAShost/sap/bc/bsp/sap/zris/page_b.html works OK but http://WAShost/ris/page_b.html give me the following error:
    What happened?
    Call of BSP page terminated due to error.
    Note
    Following error text processed in system:
    BSP Exception: Das Objekt page_b.html in der URL /ris(bD1lbiZjPTMwMyZ3PTgwMTAwMDAr)/page_b.html ist nicht gültig.
    Error Type:
    Your SAP Business Server Pages Team
    Thanks in advance, for you help.
    Message was edited by: Erik Gugliandolo

    hi erik,
    if u r saying that when u copied page_a.htm to page_c.htm its working and not working when copying with name page_b.htm ? If this is the case then its really strange.
    As what i think is that , if u r working with the aliased , like u have http://WAShost/ris/, then for that u must have to set some setting, like what i know is that u have to assign Request Handler class in the Handler List of ur alias service i.e. http://WAShost/ris/.
    so if not assigned that then u can't even run any application from http://WAShost/ris/. U can only work with the default service http://WAShost/sap/bc/bsp/sap/....which provides default Request Handler Class with WAS 6.40.
    Regards,
    Kamaljeet

  • How to implement Force password change during authentication

    Description of problem
    Our client requires web applications to support its internal security policy beyond
    normal authentication. This includes:
    - force password change periodically. This should be performed at logon time.
    - maintain password history so that a new password would not repeat any of its
    previous 15 changes.
    We already have an authentication server that satisfy these requirements. However,
    we would also like to base our solution on WebLogic security framework so that
    we can leverage the benefit of the container-managed declarative security (e.g.
    we don't need to use our special cookie to check whether a user is authenticated
    for every web page in the application). So the best scenario for us is to wrap
    up this authentication server using WLS 7.0 authentication SSPI.
    My initial investigation of WLS 7.0 security framework (based on edocs and the
    sample customer security provider codes) convinced me that overall, this is achievable.
    However, I am still left with quite a few questions, which I would like to get
    your help.
    Questions:
    1. (web container) The J2EE-standard container-based authentication is to specify
    <login-config> element. My understanding is that only FORM based authentication
    is applicable. The specified form elements:
    <form method="post" action="j_security_check">
    <INPUT TYPE="TEXT" NAME="j_username">
    <INPUT TYPE= "password" NAME="j_password">
    </form>
    is adequate for authentication. However, if the authentication service provider
    indicates that password change is needed, what would be the most appropriate way
    within WebLogic for the authentication service provider to pass such a flag to
    the web container know so that our application can access it? I guess, a simpler
    question, would be, using the standard <login-config>, webapp knows only about
    authentication fails or succeeds. Can it possibly know more information provided
    by the authentication service provider right after authentication?
    2) If we don't use standard FORM-based authentication, we will code up our own
    authentication control, which could give us a lot more flexibility, but can we
    then bind our Subject obtained through our authentication control to the WebLogic
    Subject that is running the webapp.
    3) (Authentication service provider) Our design is for the custom LoginModule
    to delegate login calls to the authentication server, and throws more refined
    exceptions such as: FailedLoginException, PasswordExpiredException, UserAccountLockedException
    (all subclassed from LoginException). Another approach is to provide detailed
    information such as password expired in callbacks. Either way, when Authentication
    service provider returns, how our web application can access this refined flag
    of authentication result.
    4) Can our customer authentication service provider use DataSource defined in
    a weblogic server? I ask this question because DataSource itself is a protected
    resource of WebLogic. Will referencing it during authentication initiate another
    authentication cycle?
    Can anyone who has experienced similar requirements and worked solutions please
    give me a hint? I appreciate your guidance.
    regards
    Licheng

    "Licheng" == Licheng <[email protected]> writes:
    Licheng> Description of problem
    Licheng> Our client requires web applications to support its internal security policy beyond
    Licheng> normal authentication. This includes:
    Licheng> - force password change periodically. This should be performed at logon time.
    Licheng> - maintain password history so that a new password would not repeat any of its
    Licheng> previous 15 changes.
    Licheng> ..
    Licheng> We already have an authentication server that satisfy these requirements. However,
    Licheng> we would also like to base our solution on WebLogic security framework so that
    Licheng> we can leverage the benefit of the container-managed declarative security (e.g.
    Licheng> we don't need to use our special cookie to check whether a user is authenticated
    Licheng> for every web page in the application). So the best scenario for us is to wrap
    Licheng> up this authentication server using WLS 7.0 authentication SSPI.
    I believe it's impractical to fit the requirement of forcing a password change
    into the standard JAAS interface.
    I think the only practical way to do this is to implement a servlet filter that
    reads the persistent record of the logged-in user to check for a "force change
    password flag". If it finds this, the servlet filter will forward to a page to
    change your password. Note that the servlet filter may be hit again when
    trying to get to the change password page, so it needs to know to not do the
    check in that case.
    If you implement this, I would strongly urge you to softcode the "change
    password" page URL in your system configuration, and not hardcode it in the
    servlet filter.
    ===================================================================
    David M. Karr ; Java/J2EE/XML/Unix/C++
    [email protected] ; SCJP; SCWCD

  • A question about how to change a button in a JPanel during runtime

    I am a beginner of GUI. Now I am trying to change a specific component, a button, when the application is running. For example, I have 3 buttons in a JPanel. Each button has its onw icon. If I click one of them, it will change its icon, but the other two don't change. I don't know if there is any method for changing a specific component during runtime. If any one knows please let me know, I will appreciate that very much!!!

    What you're going to have to do is loop inside the actionlistener but still have accessability to click while its looping. I don't know much about it, but I think you're going to need a thread. Try something like this... (it doesn't work yet, but I have to take off)
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    class buttonxdemo extends JFrame implements ActionListener{
      Buttonx mybutton;
      //set it all up, make it look pretty  =]
      public buttonxdemo()
           mybutton = new Buttonx("default");
           getContentPane().add(mybutton.thebutton);
           mybutton.thebutton.addActionListener(this);
           this.setDefaultCloseOperation(3);
           this.setSize(200,200);
      public void actionPerformed(ActionEvent ae){
        if (ae.getSource() == mybutton.thebutton)
             if (mybutton.keepGoing)
               mybutton.keepGoing = false;
                else if (!mybutton.keepGoing)
                     mybutton.keepGoing = true;     
          mybutton = new Buttonx(/*Icon,*/"My Button");
          //getContentPane().remove(mybutton);
          //getContentPane().add(mybutton.thebutton);
          mybutton.startstop();
      }//actionperformed
      static void main(String args[])
           new buttonxdemo().show();
    } //movingicondemo
    class Buttonx extends Thread{
      public boolean keepGoing;
      //public Icon ICx;            //perhaps an array, so you can loop through?
      public String strbuttonx;
      public JButton thebutton;     //may have to extend JFrame?
      public Buttonx(/*Icon IC,*/ String strbutton){
        //ICx = IC;
        strbuttonx = strbutton;
        thebutton = new JButton(strbuttonx);
      public void startstop()
        int i = 0;
        while (keepGoing)
          thebutton.setLabel(strbuttonx.substring(0,i));
          //if an array of Icons ICx
          //thebutton.setIcon(ICx);
    i++;
    if (i > strbuttonx.length() - 1)
    i = 0;
    try
         Thread.sleep(1000);
    catch (InterruptedException ie)
         System.out.println("sleep caught: " + ie);
    }//startstop()
    }//buttonx
    kev

  • Change XSD / XML dataset during runtime and display texts in field explorer

    Hi there,
    I am changing the datasource of a report during runtime. Afterwards, I would like to change the texts of the fields appearing in the field explorer.
    I tried:
    CrystalDecisions.ReportAppServer.DataDefModel.XMLDataSetClass xmlDS =
    new CrystalDecisions.ReportAppServer.DataDefModel.XMLDataSetClass();
    byte[] xmlContent = reportContent.getXmlContent();
    byte[] xsdContent = reportContent.getXsdContent();
    CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray xmlData =
    new CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray();
    CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray xsdData =
    new CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray();
    xmlData.ByteArray = xmlContent;
    xmlDS.XMLData = xmlData;
    xsdData.ByteArray = xsdContent;
    xmlDS.XMLSchema = xsdData;
    rasDoc.DatabaseController.SetDataSource(xmlDS, "", "");
    rasDoc.Database.Tables[0].Description = "POMMES";
    for (int i = 0; i < rasDoc.DatabaseController.Database.Tables[0].DataFields.Count; i++)
    rasDoc.Database.Tables[0].DataFields.Name = "TEST";
    MessageBox.Show(rasDoc.Database.Tables[0].DataFields.Name);
    rasDoc.Database.Tables[0].DataFields.HeadingText = "HOORAY";
    rasDoc.Database.Tables[0].DataFields.Description = "NOPE";
    MessageBox.Show(rasDoc.Database.Tables[0].DataFields.Description);
    MessageBox.Show(rasDoc.Database.Tables[0].DataFields.HeadingText);
    When running this, the message boxes include the right strings I set before but when this is done, the filed explorer still shows no changes. What am I doing wrong?
    Also, I would like to change the field texts that are displayed in the field explorer. How can this be done?
    Thanks,
    Pascal

    Also, I do not understand why I am not able to change the display of the fields in the filed explorer.
    This coding does not change a bit, but why??
    //preparation
    string tableName = reportDataSet.Tables[0].TableName;
                  // Get the table definition exactly like the definition of my own dataset.
                  CrystalDecisions.ReportAppServer.DataDefModel.Table table = GetTable(tableName);
                  table.ConnectionInfo = connectionInfo;
                  //delete all existing tables if there are any
                  foreach (CrystalDecisions.ReportAppServer.DataDefModel.Table oldTable in rasDoc.DatabaseController.Database.Tables)
                      rasDoc.DatabaseController.RemoveTable(oldTable.Name);
                  //add my new table with the IDs of the XSD
                  rasDoc.DatabaseController.AddTable(table, null);
                  //now I want to change the displayed fields texts
                  CrystalDecisions.ReportAppServer.DataDefModel.Tables modifyTables =
                      rasDoc.DatabaseController.Database.Tables;
                  CrystalDecisions.ReportAppServer.DataDefModel.Table myTable =
                      (CrystalDecisions.ReportAppServer.DataDefModel.Table)modifyTables[0];
                  Fields fields = myTable.DataFields;
                  for (int i = 0; i < fields.Count; i++)
                      ISCRField field = fields<i>;
                      ResultFieldController resultFieldController =
                         rasDoc.DataDefController.ResultFieldController;
                      try
                          resultFieldController.Remove(field);
                          string sText = "";
                          sText = "Bäschreibung" + i.ToString();
                          field.Description = new string(sText.ToCharArray());
                          sText = "Häding" + i.ToString();
                          field.HeadingText = new string(sText.ToCharArray());
                          //sText = "Näme" + i.ToString();
                          //field.Name = new string(sText.ToCharArray());
                          resultFieldController.Add(-1, field);
                      catch (Exception exp)
                          MessageBox.Show(exp.Message);
    I am completely stuck.
    Thanks for any help.
    Pascal
    Edited by: Pascal Schmidt-Volkmar on Sep 30, 2008 9:31 AM

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Changing type of process during runtime

    hi to all/Mike/Antony
    is there anyway to change a sync process to async during runtime?
    thnx in advance
    KAM

    hi
    sorry for making confusion by putting a (little) wrong question because of being in a hurry...
    it was supposed to be that " is there anyway to change the type of the process from async to sync after executing the process"
    i m sorry for taking ur time by putting a wrong question!
    actually i made a sync process of "HelloWorld " but mistakenly declared its type as "async" and it did not generate the required output, because it was an async process and i was treating it as a sync one!
    thanks for ur interest. i'll write, as i find the solution.
    KAM.

  • Is it possible to add/change a ViewContainerUIElement during runtime?

    Hi all,
    i want to add/change the content of a ViewContainerUIElement (VCUI) during runtime, but it doesn't work as expected (or hoped;). What i got working so far for an <b>already exising</b> VCUI is:
    1. Find the IWDViewContainerInfo for the VCUI
    2. If no default view usage exists, create an embedded view usage and set is as default.
    3. Set the component usage to the IWDComponentUsageInfo requested.
    4. Set the view to the IWDViewUsageInfo of the interface view, which should be the content of the VCUI.
    This doesn't work, if it's done after the wdDoInit()s of the controller hierarchy has been processed. The component, which is represented by the usage, is deleted and recreated, but the visual representation doesn't get updated (e.g. no changes on the display) if it's done in an action handler for example. Why? If i change the component usage (cloned component usage) nothing happens too.
    Even more problems arise, if i try to add a new VCUI. The steps are pretty the same as before, what is done additionally (and prior the steps above) is:
    1. Creating a IWDViewContainerInfo from the IWDViewInfo of the "parent" view.
    2. Creating a IWDViewContainerAssignmentInfo from the view usage of the "parent" view
    3. Setting the created IWDViewContainerInfo as view container in the assignment.
    4. Create the VCUI, set the view container name to the name of the created IWDViewContainerInfo and add the VCUI to an arbitrary container in the parent view.
    But this doesn't work, i'm getting:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)
    What is wrong? What am i missing?
    Thanks in advance.
    Stefan

    Hi,
    I had the same problem with
    "java.lang.NullPointerException at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)"
    when I included ViewUsages dynamically in an action handler (outside wdDoInit()).
    The code below fixed that problem.
    This code creates a new OutboundPlug for the embedding view with the embedded view as target and fires the plug.
    <i>// Create OutboundPlug
    IWDOutboundPlugInfo outboundPlug = embedderViewInfo.createOutboundPlug();
    //Create navigation link
    rootViewUsage.createNavigationTarget(outboundPlug.getName(), interfaceViewUsage, "Default");
    // fire navigation link
    wdThis.wdGetAPI().firePlug(outboundPlug, Collections.EMPTY_MAP);
    </i>
    I hope I could help you. Probably you don't need the information anymore, but perhaps anybody else has the same problem.
    Regards, Alex

  • Changing Changing Database Location During Runtime

    I'm using Netbeans 6.0.1. My database location ALWAYS change in place. That's why I'm planning that there would be a "Database Settings..." inside my program. But I don't know how to change the current: user, password, url settings of my program DURING RUNTIME. Here's my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="LibraryPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <class>desktopapplication2.Books</class>
        <properties>
          <property name="toplink.jdbc.user" value="root"/>
          <property name="toplink.jdbc.password" value="password"/>
          <property name="toplink.jdbc.url" value="jdbc:mysql://localhost:3306/Library"/>
          <property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
        </properties>
      </persistence-unit>
    </persistence>

    To solve the "why the hell would I want that stuff inside a jar file" issue, I googled a bit and found this
    style of approach in a Oracle forum. Essentially think of the persistence.xml file as an template
    that the program uses.
    I use a properties file to set all local DB configuration aspects. Load the properties at application
    startup and set then extract the required fields into a Map to create the persistent unit.
    All the "examples" I seen always use a static xml which is never what you need in the real
    world.
    Map properties = new HashMap();
    properties.put(TopLinkProperties.JDBC_URL, dbProps.getString("abc.jdbcurl") );
    properties.put(TopLinkProperties.JDBC_DRIVER, dbProps.getString("abc.jdbcdriver"));
    properties.put(TopLinkProperties.JDBC_USER, dbProps.getString("abc.user"));
    properties.put(TopLinkProperties.JDBC_PASSWORD, dbProps.getString("abc.password"));
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("abcPU", properties);
    entityManager = emf.createEntityManager();
    HTH Altimes.

  • Change Form Size during runtime

    Could someone tell me how to change the size of my VI form during runtime?
    I want the ability to click a button and have the height increase by 50 points or so, then go back to the original value after I click the button again.
    Thanks for the help!
    Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.

    Ok, that got me on the right track.
    For some reason, though, my VI still does not change whenever I click the button.
    I have attached my VI, saved in 8.2 format.
    Does anyone see why my form doesn't grow by "98" whenever I click the "More >>" button?
    Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.
    Attachments:
    Event Notifications.vi ‏44 KB

  • Change Chart background color during runtime

    I want to change the background color of my chart during runtime.
    I can set and read-out the color with a property node but the apperance on the frontpanel is not changing.
    After stopping the VI the chart suddenly gets updated.
    Please check my VI attached.
    Do someone knows a workaround?
    Attachments:
    chart.vi ‏9 KB

    Hello Robert,
    another option would be to place (for example) a vertical smooth box behind the chart and change the color of it.
    See my attachment.
    Best regards
    Attachments:
    Change chart background color.vi ‏12 KB

  • How can i change/create F1 doku text during runtime

    Hi everybody,
    I have a problem.
    During runtime the user should be able to create a documentation. This documentation must be stored in the F1 help of a data type.
    It's easy to get the created help text out of the F1 help.
    But is there any possibility to set the help text of a data type during runtime without calling and displaying the document maintenance initial screen?
    Can anybody help me?
    Thanks & Regards

    Hi Max,
    thank you for your answer. But I think I don't realy understand.
    The documentation should be created for a pattern which is created by the user. I just schould be stored in the F1 help of a data type.
    So there is no field on the screen for which i can use this event.
    Is there a function or something like this i can call to open the document maintenance starting with the "change" screen?
    Thanks & Regards,
    Christian

  • Change values in File physical schema during runtime?

    Is there any way to change the Directory in physical schema
    during runtime?
    This is needed so that we can dynamically get the files from
    different locations.
    Any help is highly appreciated.

    Hi,
    Yes there is:
    Create your physical schema to a parent directory and, at Physical Resourse (File Datastore) use a variable before the name of the file.
    Compose the variable with the "child" directory. I like to create the path on execution time.
    Does it help you?

  • To change view property during runtime

    Hi,
    I have a scenario where we have 2 views embedded in a window.
    First View's property is set to True and second View's property is set to false.
    We have a button say "show view" in first view and now we want to change the second view's property to True on click of that button i.e we want to change the view proerties to True during runtime.
    We are unabelt o achieve this thruogh plugs are first view is in another DC and second view is in other DC.
    Is there any other way to through which we can achieve this?
    Any help is this regard is highly appreciated.
    Regards,
    Richa Sinha

    Hi,
    I got your requirement,
    Yes if you want navigate back to source view, the problem is you cannot add the the Comp2 again in Comp1 as used comp. This will give cyclic dependancy error.
    Try like this.
    In Comp2,  create an additional view like NavigationView (for example).
    In NavigationView create two ViewContainerUIElements (ViewContainerUIElement1 & ViewContainerUIElement2).
    Embed this NavigationView into Comp2Window and remove View1's Inteface view & View2 from this window. Change the NavigationView property to true.
    And go the Comp2Window Navigation Modeler, embed View1's Inteface view in ViewContainerUIElement1  & View2 in ViewContainerUIElement2.
    Now create two context attributes View1Visibility & View2Visibilty in NavigationView and modify the type property to WDVisibility.
    Bind these two attributes to corresponding ViewContainerUI elements.
    Now in Navigation view, You can create one button and in that button action you can control the visibility of these views.
    Hope this info helps. If you need more clarification or info please let me know.
    Regards,
    Charan

  • Changing color of an object on stage during runtime? in Flash CS4 (AS3)

    Hi,
    I was wondering if there is a way to change the color of an object during runtime. any ideas?
    Thank you for helping.

    you can use the colortransform property of your objects transform property.  so, if you have a displayobject mc, you can use:
    var t:Transform = mc.transform
    var ct:ColorTransform = t.colorTransform;
    ct.color = 0xff0000;
    mc.transform.colorTransform = ct;

Maybe you are looking for

  • PDF portfolio view in Adobe reader

    Hi, I recently created a PDF portfolio for a co-worker using Acrobat 9.0 Pro. I used the Grid with File Preview layout and added a header that appears right above the grid. Everything works well except that when my co-worker opens the PDF portfolio i

  • TDS deduction and excise entry

    Dear Experts, Scenario1: Vendor is required to deduct the TDS but need not required to deduct the excise? What to to? Scenario2: What is the entry for deduction of excise in for purchasing of material? Thanks in advance for helping me. Thanks&Regards

  • AppleWorks 6 Draw doesn't open.

    Pages will open AppleWorks 6 documents beautifully. What opens programs in AppleWorks 6 created in "draw"?

  • Embed Flash in Flash

    Hi, Does anybody know if there is a way to embed a Flash document (swf) into another flash document using Flash 6?

  • Status field into order response

    hello gurus, We are creating a sales order with XI and get orderresponse. The order response Idoc contains all the data from a sales order except the fields Order status. In the screen VA03 --> Header Info --> Status we can see the delivery status fi