WebDynpro Application Expires !

Hi,
I have deployed my webdynpro applciation in the portal..When i click on any elemnt in that application...it is saying internal server error.. (the application has expired...)
This happens the first time i open the portal.. when i click on someother work set and come back it is working fine..doesn't matter how long it is idle.. Its not getting expired.. Why is this peculiar behaviour happening...
Also the first time the application comes inside a scrollbar container it throws the error.
When i go to some other workset and come again.. the iView size is changed and whenever this happens the application does not get expired !
Any suggestions!
Regards
Bharathwaj

Hi Bharathwaj,
well i think i also have faced this strange behaviour long ago when i was working with Portal.
Now i am working with standalone web dynpro apps Still i suggest you to check the following things.
>when you create an iView for your web dynpro apps, see the preview if you are going fine.
> set the size of iView to full size. ( i think the properties is full_size)
> check whether this is happening only for web dynpro apps or a jsp also.
Rgds,
Vilish

Similar Messages

  • WebDynpro Application Expires to soon

    Hi All
    I have here a DepoScreen (WebDynpro)application that runs with no user interaction, it shows data from BW,R/3 and KM.
    Since there is no User interaction i get once a day
    WebDynpro Session expired and i need to refresh it.
    I tried the following approach of setting a predefined ExpirationTime value in the NWDS but there is no effect.
    Also since it works on a chipset computer there is no cache mechanisms.
    please help
    Nir

    In the webdynpro application set a property "Expirationtime" to -1. This should set an infinte timeout for your application.

  • Webdynpro Applications expire all the time

    Hi,
    I am facing a huge problem with my WebDynpro applications. I am running SAP EP 6.0 SP and a separate WebAS 6.4 SP 12.
    I am not deploying my WebDynpro applications on the SAP Enterprise Portal WebAS Server.
    The problem that I have regardless of integration in Enterprise portal is that my WebDynpro applications time out all the time.
    Even though I click around in the IView, after a few minutes, I get a message,
    <b>The WebDynpro application has expired. Please click on this link XXX to restart the application</b>
    I have gone to the configuration adaptor and set the default expiration time to 3600. ..I increased it just to try..to 7000..
    I have also additionally set the time in each WebDynpro applications to sapExpirationTime = 3600
    I am using fully qualified domain names so that shouldn't be a problem.
    Just to know...the Portal and the WAS used for deployed content run on the same machine on different port.
    Has anyone faced this problem and found a solution?

    Hi,
    I am facing a huge problem with my WebDynpro applications. I am running SAP EP 6.0 SP and a separate WebAS 6.4 SP 12.
    I am not deploying my WebDynpro applications on the SAP Enterprise Portal WebAS Server.
    The problem that I have regardless of integration in Enterprise portal is that my WebDynpro applications time out all the time.
    Even though I click around in the IView, after a few minutes, I get a message,
    <b>The WebDynpro application has expired. Please click on this link XXX to restart the application</b>
    I have gone to the configuration adaptor and set the default expiration time to 3600. ..I increased it just to try..to 7000..
    I have also additionally set the time in each WebDynpro applications to sapExpirationTime = 3600
    I am using fully qualified domain names so that shouldn't be a problem.
    Just to know...the Portal and the WAS used for deployed content run on the same machine on different port.
    Has anyone faced this problem and found a solution?

  • Webdynpro application expired

    hi
    i am getting this following error  after runnig this 
    500   Internal Server Error
      SAP J2EE Engine/7.00 
    The Web Dynpro Application 'CustomerApp' has expired. Restart the application using the Refresh button or via the following link CustomerApp.
      Details:   No details available
      any suggestions ? its urgent ?

    Hi,
    U get that error whenevr ur application expiration times expires
    or either  some one is deploying any application on the same
    server on which u r running ur application at the same time.
    Regards
    Surender Dahiya

  • Webdynpro application has expired

    In our XI 7.0 system we started to get the below error message suddenly.
    500 internal server error
    The webdynpro application has expired.Restart the application using the application or the following link "webadminapp'.
    I would appreciate all your suggestion.

    Please check oss note 842635.It may help.
    Regards
    Amit

  • Webdynpro Application is Expiring

    HI All,
    I have a Web Dynpro  Application which uses another DC, next button on first DC calls a view of the other DC, this was running fine initially, now i have defined GP Interfaces so as to make it a callable object, from within GP this works fine, however when i now deploy and run the web dynpro application the first screen is displayed, however on clicking on the next button the application expired.
    Points will be rewarded if usefull.
    Thanks & Regards,
    Vanita M.

    Hi
    NetWeaver CE 7.1 uses Java 5 and so does the NWDS CE 7.1 by default. The server you have is NW 2004s SP 9 which runs on Java 1.4. So you simply can not build with Java 5 and deploy it to a server with JRE 1.4, you will get a class unsupported version error.
    Next you are using NWDS CE 7.1 to connect to server 2004s. The architecture of the Java servers in SAP is changed. 2004s has SDM and dispatcher and a server process at its simplest form. In CE theres an ICM and server. (SDM & Dispatcher combined). You no more give the message port number when you set up the JEE server of NWDS 7.1 instead you would use instance number. When you register a NW 2004s server with NWDS 7.1 (instance numbers are available for 7.0 servers as well), the studio fails to find the deploy mechanism (SDM or ICM) hence you see a port -1.
    Lastly the architecture of WebDynpro is greatly changed from NW 7.0 to NW 7.1 so dont even think of deployment to previous versions.
    Regards
    LNV

  • Refresh problem of Webdynpro application which is wrapped in a BSP IFrame

    I have a BSP Iframe inside which I am calling a webdynpro application ('zwdc_re_replenishment'). The requirement is that this WD application should be reloaded whenever a timeout occurs. Currently, when there is a timeout, an error is shown.
    In order to achieve this, for this WD Application , I have a SICF node to which I have attached a customized Errorpage via the option 'Redirect URL'.
    Whenever the WD application undergoes a timeout error, my custom error page is called which is named as errorpage.htm. On this page in the 'OnInitialization event', I try to call the WD application URL again (via the following code) which should reload the application. But instead I get a blank page.
    CALL METHOD cl_wd_utilities=>construct_wd_url
      EXPORTING
        application_name = 'zwdc_re_replenishment'
      IMPORTING
        out_absolute_url = lv_def_url.
    response->redirect( url         = lv_def_url
                        permanently = 1 ).
    Just as a note I have already tried out the following methods as well but nothing works
    *navigation->exit( lv_def_url ).
    *navigation->call_application( lv_def_url ).
    Is this because my WD application is inside a BSP Iframe and therefore reloading it manually does not work ?
    Please help!
    Thanks.
    Sukanya

    Hi Thomas,
    First of all, thanks a lot for replying !!
    Sorry for the confusion. Although seems like you have answered my question already.
    Actually the requirement for embedding WDA inside a BSP Iframe came up since there are some WD report applications  that are accessed by very controlled environments in which the users were not able to close the WDA session directly (without the IFrame)  and were getting some errors. Hence the WDAs had to be wrapped inside BSP IFrame which solved the above problem.
    I am working with only one BSP app which has the Iframe and one WD app which is called within the BSP app.
    Now, the other requirement that came up was that whenever the WDA session inside the BSP IFrame expires, there should be no error page and instead the WD app should be reloaded.
    So  I was trying to reload the WD App in the following way.
    1. For the SICF node of WDA, I attached an errorpage.htm for all the tabs under the tab 'Error Pages'. I have defined this errorpage.htm inside the same BSP App which has got another default.htm page. So the BSP App has 2 views : default.htm which has the IFrame and Errorpage.htm.
    2. So now when the WDA expires, the events of errorpage.htm are called like OnInitialization, In this event I was calling the methods navigation->exit( 'URL of the same WDA' ).
    I did this because I wanted to reload the WDA whenever it expires. I tried to specify the WDA Url in the SICF node of the same WDA in 'Redirect URL' under the Error Page tabs but it didnot work.
    Now I realize this is not gonna work. I didnot want to modify the WDA and so I didnot specify any exit plugs in the WDA which would have taken care of reloading the WDA. But that seems to be the only way out.
    Actually speaking there are multiple WDAs which will open inside the same BSP IFrame via their own Application URLs. I have coded the BSP IFrame to read the URL Parameters and open up the corresponding WDA.  So now I have to define an exit plug in all of these WDAs.
    Do you suggest that this will solve the problem of WDA refresh ? Just to confirm.
    Thanks again.

  • Error while running Webdynpro Application

    Hi,
    I have configured the J2EE engine details correctly in my NWDS. Now i'm trying to run Webdynpro Applications. When I click on Run, it is asking SDM password.
    I'm entering it. Then I'm getting an error like "Deployment Aborted".
    The error details are
    Deployment exception : Server <xxx> did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server <xxx> at port 50118: <xxx>
    Please suggest me what may be the error and how to resolve it...
    Thanks in advance..
    Regards,
    Naresh

    Hi Naresh,
    Either your admin password is expired or you have changed the administrator password.
    Do the following Steps,
    Use the Config Tool to change the entry in secure storage as follows:
    1. Start the Config Tool.
    (Execute <SAPj2eeEngine_install_dir> configtoolconfigtool.bat.)
    2. Select the secure store node.
    The configuration for the secure storage in the file system appears.
    3. Select the admin/password/<SID> entry.
    4. Enter the administrator user's new password in the "Value" field and choose "Add".
    5. Choose "File" --> "Apply" to save the data.
    Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
    6. Finally restart SDM server.Then deploy.
    SAP note <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_jas/~form/handler">701654</a>
    Regards,
    Mithu

  • After application expired, navigate to last Web Dynrpo screen

    Hi all,
    When the application is not used for 30 minutes, the Web Dynpro application goes "time out". I get the following message:
    500 Internal Server Error
    The Web Dynrpo Application "<appname>" has expired. Restart the application using the Refresh button or via the following link <appname>.
    Is it possible to return to the last screen when the user pushes the <appname> link?
    Otherwise the user has to click and wait several seconds for each screen to go to the point where the application was before the timeout?
    Is there any one who solved a similar problem?
    Thanks in advance and kind regards,
    Bart Elshout

    Hi,
    The problem which u have stated regarding the time-out not only depends on the webdynpro application, but also on the Web AS time out. You can set the expiration time in the application of webdynpro project (Right Click on ApplicationName --> Properties --> Expiration time) and set the time in seconds (ed:- 60000 for 10 min)
    But if the time out on the server is set to 30 min, the application definitely displays the 500 Internal server message.
    Regards,
    Poojith MV

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • SSO b/w portal and webdynpro application customized login??

    Hi,
    I  have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
    I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
    How to do the same without touching webdypro application ?
    Can we call a method of webdynpro application from portal?
    Regards
    Deepak

    1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
    2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
    Add parameter to the application while defining the iview.Give some constant value.
    Check value of this parameter in webdynpro and fire to next view.

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

  • Database connection in a WebDynpro Application - urgent

    Hi
    I am facing a problem with database connection. I am trying to develop a normal webdynpro application.
    I want to retrieve data from a table and show it.
    But my query is not giving the expected output. It is not even raising errors.
    Please give me an answer
    Thanks & regards
    Aparnna

    Connection con=null;
      Statement st=null;
      ResultSet rs=null;
    public void wdDoInit()
        //@@begin wdDoInit()
    try
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      con = DriverManager.getConnection("jdbc:odbc:erdsn","root","enteg123");
      st=con.createStatement();
        catch(Exception e){
        //@@end
    public void onActiononClickLogin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiononClickLogin(ServerEvent)
         String desig=null;
    try{
    rs = st.executeQuery("select *  from Login where Empid like uid and Pword like pw");
        if(rs.next()){
               desig=rs.getString("Designation");
         wdComponentAPI.getComponent().getMessageManager().reportSuccess(desig);
        if(desig.equalsIgnoreCase("Employee")){
              wdThis.wdFirePlugEmpOutPlug();
         else
         wdComponentAPI.getComponent().getMessageManager().reportWarning("Invalid input!");
          }catch(Exception e){

  • Need help in developing a webdynpro application using UWL API

    Hi developers,
    Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
    Iam getting the problem while deploying the application, iam getting warning while deployed the application.
    I have given all possible ways mentioned in the below forum link
    Re: Accessing PortalRuntime at runtime?
    The exact problem is coming at reference file.
    Please giude me how to move forward.
    1. Below is the error when given "tckmcbc.uwl~api" in the service entry
    deployed with warning :
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    2.Below is the error  when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
    Thanks in Advance
    Sekhar.
    Edited by: sekhar c on Mar 21, 2009 11:24 AM

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

Maybe you are looking for

  • How do I activate a used iPhone 3 with no SIM card for use as an ipod touch?

    How do I activate a used iPhone 3G with no SIM card for use like an iPod Touch? It was apparently on AT&T previously and I have another iPhone 3 that is active on AT&T if that is helpful. Thanks!

  • I found "update()" cannot be used in GameCanvas

    Hi all, I have developed a J2ME game with a midlet file and a GameCanvas. It works well in with any emulator. However, when I try to run it in a cell phone(I have tried Nokia 6260, N70, and Panasonic X800), they all quit immediately when I launch the

  • Some Qs about mappings generated by OWB 11.2

    1. it is possible to setting OWB do not generate temp stage table (table in owb$temp_tables) 2. in some mapping I see pl\sql code IF get_trigger_success THEN Truncate_Stage_Tables; NULL; END IF; but in others only Truncate_Stage_Tables; NULL; how I c

  • My question relates to printing in Reader XI

    When I attempt to print a page from a document I receive the response "cannot print document, no page selected or specified". I'm selecting a page in the window for the printer and have also tried "current Page". Thanks inadvancefor anyhelp youcan pr

  • How to repair the Time Capsule without losing data?

    Hi everyone, I am from Vietnam. My 2TB Time Capsule is not working anymore. The LED light is not lit. Brought it for warranty claim. Apple reseller in my country agree to replace a new one for me. But the problem is I will lose all the data. I believ