Deployed Web dynpro application URL has the wrong host name

Hi All,
I have developed a java webdynpro application using NWDS. When I deploy it on a remote server, the host in the  URL of the generated application is different from the message server. Also, the URL doesn't display the fully qualified name of the message server. This creates problems when the application is accessed from a different domain.
When I run the deployed application in web dynpro administrator, correct URL is generated.
My questions is
Where does the NWDS get the host and port from. Are there any parameters to be changed on the NWDS/Visual admin or on the Server to pick the exact server and host?
Version:
NWDS 7.0.09
Netweaver 2004s SP15
Thank you,
Vasu

Thanks for your reply.
Hi Siva,
I'm using a remote server. Which hosts file are you referring to? Is it where the NWDS is installed or the on the server?
Pravesh -  My problem is not setting the J2ee engine on NWDS. Even when I give the correct message server and port on NWDS, the URL for the application deployed is not picking the server name correctly.
My remote server has 2 SAP instances on it. Is it a problem?
e.g.:
Say my remote server is s07.xyz.com
So I set the Message server as s07.xyz.com  and port as abcd
When I deploy the application, sometimes I get the URL as
http://bs307:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
Sometimes - http://s08:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
But the correct URL should be
http://s07.xyz.com:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
But all three work. When I run the application from webdynpro administrator, the URL is correct.
Thank you,
Vasu
Edited by: Subramanya Srinivas Mullapudi on Feb 27, 2009 5:15 AM

Similar Messages

  • 500Internal Server Error The Web Dynpro application PageBuilder has expired

    hi all ,
    i am using public url domain to access my portal through internet . i have done a reverse proxy using apache . from my server url i am able to get every page . from public url i am not able to view my webdynpro applications . its showing the following error
    500   Internal Server Error
      SAP J2EE Engine/7.01 
      The Web Dynpro application 'PageBuilder' has expired. Restart the application. Choose 'Refresh' in the iView tray or use the browser 'Refresh' button to restart the iView
      Details:   No details available
    i  got this log file in the portal
    Full Message Text
    Session unknown: Request with URI=/webdynpro/dispatcher/sap.com/pb/PageBuilder was sent to unknown session. Either request with wrong session parameters was sent, or session has expired before Wed Oct 20 21:47:46 IST 2010. Current request parameters={sap-ext-sid=DL7cHVE6DiKdbE9gwYkSdg5A6q8C_OKOzgxi0HoLa2iw, sap-wd-cltwndid=WID1287644121668, sap-wd-norefresh=X, sap-ep-version=7.0104.20090422102234.0000}. Is termination request=false. Request was sent from host with IP=172.31.11.95/name=172.31.11.95. Hint: see SAP note 842635 for more details on session expiration. RID=a16ac995dcdf11dfb3e70021281821ee
    [EXCEPTION]
    com.sap.tc.webdynpro.clientserver.session.SessionExpiredLongJumpException: Session has expired (current request: follow-up request). Please restart the application. Hint: HttpSession seems to be expired due to user inactivity or application is called with wrong URL parameter (sap-wd-norefresh=X).
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.findClientSession(RequestManager.java:258)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:146)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    can anybody helpme in this issue

    Hello,
    Please see this post:
    The Web Dynpro application 'PageBuilder' has expired
    I think the problem is solved in this post.
    Regards.

  • The Web Dynpro Application 'Explorer' has expired

    hi,
    when I am trying to open the deployed content in the       
    Content Administrator in the sap portal I am getting the following error
    "500   Internal Server Error The Web Dynpro Application 'Explorer' has expired. Restart the application using the Refresh button or via the following link Explorer.
      Details:      
      No details available"
    what can I do?
    I have read here at sdn that I should increase the expiration time but where can I do this?

    Hi Thorsten,
    Close your explorer, open a new explorer and run the application from the new browser.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52de690-0201-0010-c5a6-b4bde0a12e44
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_sys/~form/handler">SAP Note Number: 519191</a>
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_fes/~form/handler">SAP Note Number: 856741</a>
    Regards,
    Mithu

  • The Web Dynpro Application 'Appl' has expired.

    Hallo altogether,
    i am a newbie in this area.
    I maked a simple Web Dynpro with two views,
    only for navigation test
    and without data transport.
    Everybody view consist of two elements:
    one TXV_Field and one BTN_Element.
    V_ONE:
    TXV_ONE with a text "View one",
    BTN_GO + action GO,
    OP_TO_TWO,
    IP_FROM_TWO
    V_TWO:
    TXV_TWO with a text "View two",
    BTN_BACK + action BACK,
    OP_TO_ONE
    IP_FROM_ONE.
    There are two links between views builds.
    I cann my application APPL deploy without problem and without error messages.
    I see my V_ONE im browser.
    If i click the button BTN_GO ==>
    The Web Dynpro Application 'Appl' has expired.
    I controlled the file default.properties
    the timeout = 3600.
    what cann i do????
    Thank,
    vmath.

    1. check ur server configuration windw> preference->j2ee-engine.
    I have DeveloperStudio local on my PC.
    There are  following settings for j2ee-engine:
    SAP J2EE-engine is installed on local host
    System name: J2E
    J2EE Instance: 0
    SCS Instance: 1
    BEN_1\sapmnt\J2E\SYS\profile\J2E_JC00_ben_1
    BEN_1\sapmnt\J2E\SYS\profile\J2E_SCS01_ben_1
    vmath

  • The Web Dynpro Application 'XssMenu' has expired

    Hi,
    we implement an ESS Scenario, with One Enterprise Portal 6.0 SP17, a mySAP ECC 5.0 System with ERP2004 and a seperate server with a java stack, because our customer don´t want to install and use a java stack on their HR/ERP systems. They want to minimize the performance.
    After some configurations, we get the startpage for ESS. If I click on a service like travel management it has no effect. If I click the second time, I got an error "500 Internal Server Error" with the message
    The Web Dynpro Application 'XssMenu' has expired. Please restart the application either with the refresh button or click the following link XssMenu.
    Same error comes, if I choose travel management in the second navigation level and click the service. And same message on every service.
    Now I tried anotehr way. I call the ess startpage directly on the external java stack. And here´s no problem. All WebDynpro-Services works fine.
    Can anyone help me, why the WebDynpro Service doesn´t work in the Portal?
    Best regards
    Christian

    We had exactly the same problem.  We had multiple java servers and our switch was not retaining stickiness.  So it would send the user to a different java server which hadn't got any session data for that user.
    If this could be it, get something like httplook to do a trace of what is happening.  We saw it switching java servers.
    If you do not have multiple servers it could be switches chopping out cookies, causing the same issue.
    Paul

  • The Web Dynpro application 'PageBuilder' has expired

    Hi Alll,
    We are implementing ESS/MSS and the Portal was working fine.
    We set it up for SSL/https and it was working just fine. However when we call it from reverse proxy server the web dynro applications through the following error:
    The Web Dynpro application 'PageBuilder' has expired. Restart the application. Choose 'Refresh' in the iView tray or use the browser 'Refresh' button to restart the iView
      Details:   No details available
    When I tested this with a transaction iview they work just. Also when tested directly from Portal they work fine.
    Can anyone assist on this please?
    Thanks,
    Mike

    Hello Mike,
    After a user is logged in and requested an ESS/MSS application. The pagebuilder service is requested to built the page.
    When the user is still logged in but is not working with this application the pagebuilder receives a timeout after a while and the session is expired. The pagebuilder has sometimes the status stopped, you can see this in the Netweaver Administrator. (Search for the pb in the application area)
    If an other user is requesting an application the pb service is started again and the page built again.
    If you want to get rid of the warning you could set the "timeout" parameter to a higher value in the configtool.
    Kind regards,
    Marcel

  • The Web Dynpro Application 'PcrApplication' has expired.

    Hi,
    I am getting below error:-
    500   Internal Server Error:
    The Web Dynpro Application 'PcrApplication' has expired. Please restart the application either with the refresh button or click the following link PcrApplication.
    Can anyone help me on this.
    Best regards
    Ali

    Hi Rali,
    I think you have not been using this application from long time. So the Portal session time must have expired. Well, Let us know if the problem persist even after RESTART of the browser.
    Regards
    <i><b>Raja Sekhar</b></i>

  • The Web Dynpro application 'UWL' has expired

    Hi ALL,
    We are using Enterprise portal 7.0. and backend SRM server
    When the user login into portal it will take him to the UWL page
    in that the user click for any "Approve shopping cart" the error message showing
    " The web dynpro application *'UWL' has expired. restart the application. choose 'refresh' in the iview tray or use the*
    *browser 'refresh' button to restart the iview"*
    user not getting the error message every time. error coming occasionally
    we suggest the user to clear the cookies and restart the browser and relogin.
    but some times it works some times not
    Can any one know the exact problem (any parameters has to be change or any other solution)?
    Regards,
    Abdul Razzaq
    SAP NW.BASIS Consultant

    Dear Abdul ,
    Hope you are doing good.
    We have seen similar cases of  WD Session Expired error message when the  jsessionid cookie issued by the server with the initial requests was not returned from the client with subsequent requets to the server. The only way to ascertain whether this is the case in your system will be by checking the HTTP watch trace (note 1558903 - How To Trace a Portal Scenario Using HttpWatch).
    As the jsessionid cookie is used for session management, when it is missing from the request headers the correct session could not be retrieved and as result new session will be created for that user. Set the parameter JSESSIONID.CookieDomain to "NONE" as mentioned in the sap note: 791765 and see if the issue persists. This configuration should be accessible in
    Config Tool -> expand the tree "cluster-data" -> "Global Server Configuration" -> "services" -> "servlet_jsp" -> Go to "Global
    Properties". Do make the changes, save the customization and then restart the complete SAP server (not just the JAVA server nodes).
    Kindly go through the note completely.
    Also make sure that the SystemCookiesDataProtection and SystemCookieHTTPProtection is set in the HTTP Provider Service on
    the server nodes.
    Do make the changes,save the customization and then restart the complete SAP server.
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth
    SAP AGS

  • The Web Dynpro Application 'WebUI' has expired,

    Hi experts,
    We are using Netweaver 7.01 portal , I have done some change to the portal for configuring idle timeout .
    Now currently we are not using that in portal ,so i removed all the configurations
    When i am using the all the other portal applications  it is working fine, but when i am using webdynpro java applications it is giving the following error in a couple of mins (less then 5 mins)
      The Web Dynpro Application 'WebUI' has expired. Restart the application using the Refresh button or via the following link WebUI.
    Please let me know how to resolve this is issue .
    Thanks & Regards,
    Pavan Marla

    Hi,
    Check this link and below settings
    DefaultExpirationTime
    =================
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    Check the time for session timeout by the following steps:
    1. Open the visual admin tool.
    2. Navigate to Server -> Services -> Web Container -> Properties.
    3. Check the value of the property 'SessionTimeout'.
    Regards,
    Nivas209
    Edited by: Nivas209 on Feb 8, 2012 12:50 PM
    Edited by: Nivas209 on Feb 8, 2012 12:51 PM
    Edited by: Nivas209 on Feb 8, 2012 1:03 PM
    Edited by: Nivas209 on Feb 8, 2012 1:06 PM

  • The Web Dynpro Application 'WebAdminApp' has expired.

    Hello all,
    I am getting this error when I click on anything from /nwa.
    The Web Dynpro Application 'WebAdminApp' has expired. Restart the application using the Refresh button or via the following link WebAdminApp.
    I have to configure LogOn Group for the WebDispatcher ( to be able to see the logon group from the java system) and from this link:
    Logon Group Configuration - System Landscape Administration with SAP NetWeaver Administrator - SAP Library
    I got the solution:
    Activities
    You can display the overview page of the existing logon groups if you choose System Management  → Configuration  →  Logon Groups. The Logon Groups frame on the right contains a table that lists all logon groups on all registered systems.
    So, I started /nwa and when I click on Configuration, I am getting:
    The Web Dynpro Application 'WebAdminApp' has expired. Restart the application using the Refresh button or via the following link WebAdminApp.
    Can you suggest me a solution?
    thx
    Chris

    Solution:
    1907152 - Web Dynpro Application 'WebAdminApp' has expired when access NWA

  • The Web Dynpro Application 'UmeAdminApp' has expired

    hi,
    if i login to portal to any application i am getting session out for each second.
    500   Internal Server Error
              SAP J2EE Engine/7.00
    The Web Dynpro Application 'UmeAdminApp' has expired. Restart the application using the Refresh button or via the following link UmeAdminApp.
      Details:      
      No details available
    plz help to solve this.
    thanks,
    Harish

    HI ,
    Set the  application time out property to a value as per requirement.
    Please follow below links for more details it may be help ful.
    webdynpro application has expired
    http://help.sap.com/saphelp_nw04s/helpdata/en/2a/7a754297fdd142e10000000a1550b0/content.htm
    If application time out is set correctly check for the disk space available in server or log file space (basis person will do this).
    Please check SDN , there are many posts available on this.
    Regards
    Deepak

  • Web Dynpro Application 'Explorer' has expires,

    Hi,
    In one of EP system is giviing below error while using. If I refresh page is loading fine. But very frequently we are getting this errro, can anyone help on this problem. 
    error message is showing as below:
    500   Internal Server Error
      SAP J2EE Engine/6.40 
    The Web Dynpro Application 'Explorer' has expired. Please restart the application either with the refresh button or click the following link Explorer.
      Details:   No details available
    regards,
    Hari,

    Note 842635 - Session Management for Web Dynpro Applications
    Note 1286976 - Caching of data in Web Dynpro

  • Problem with the wrong host name, when accessing IR or ID

    Hey all,
    I am trying to accessing the IR and ID at my client however the wrong host name is being called. For instance the
    URL should start nero.bcm.tmc.edu, but it is calling just nero. The basis guy here fixed a similar problem in the exchange profile for calling the Builder start page, where do we need to fix the problems for accessiing the IR and ID for the start page?
    Kind regards,
    Chris

    Problem reso;ved, just had to restart XI for the changes to take effect

  • Cannot deploy Web dynpro application from NWDS

    Hi,
    I am new to EP. I created a web dynpro application in nwds and tried to deploy it. But it gives the following error .
    Settings
    SDM host : nw04
    SDM port : 50118
    URL to deploy : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Result
    => deployment aborted : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Aborted: development component 'WelcomeWebDynproprj'/'local'/'LOKAL'/'0.2007.05.02.19.35.01'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool</b>. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    I have even configured J2EE server in the nwds through preferences. I have used the default passwords during installing sneak preview.
    What should i do to deploy my application  successfully??????

    My Server settings are fine in preferences of NWDS. Every thing is showing green
    I get the same problem even when i delpoy through SDM.
    This is the error when i deploy through SDM
    Deployment started Thu May 03 06:27:27 PDT 2007
    ===========================================================================
    Starting Deployment of MyFirstWebDynProPrj
    Aborted: development component 'MyFirstWebDynProPrj'/'local'/'LOKAL'/'0.2007.04.14.22.37.46'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool.</b> For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: <b>Wrong security credentials detected while trying to obtain connection to the J2EE Engine.</b>
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment of MyFirstWebDynProPrj finished with Error (Duration 6656 ms)
    It seems like a configuration issue in SAP J2EE Engine Config Tool.What should i do.
    Highest points will be awarded if some one can help me in this

  • Error in deploying Web Dynpro application

    Hi
    I have created (in Net weaver developer studio) and deployed a webdynpro application on the portal. I have created a SAP WebDynpro iView for the web Dynpro application that I have deployed on the portal. When I execute the WebDynpro iView in the portal,
    1) I get a popup message "Session Management will not work! Please check the DSM log file for details" I checked for the DSM log file under System Administration>Support>Support Desk>Portal RuntimeLogViewer and I browse to irj/root/WEB-INF/portal/logs. There is no file in the logs folder.
    2) After clicking ok on the popup message, I get an  error message in the portal saying
    Service cannot be reached
    What has happened
    URL http://svc1uer.<companyname.net>:8038/webdynpro/dispatcher/com.postdk.flights/FlightsApp call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system UER with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:K-i:svc1uer_UER_38-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    Thanks in advance
    Jay

    Hi..
    Thank u boss, ur reply was very helpfull to sort out our requirment.
    Regrads
    Rajesh

Maybe you are looking for

  • How can I get into the bandwagon

    Any advice welcome I have been working as an Oracle Developer for 2 years now but graduated as a process enginner. I am hoping that anyone can shed any light on companies that I can contact that may use these skill sets i.e. using Oracle Manufacturin

  • How are bugs fixed on an ipod

    how are bugs usually fixed on an ipod. can they be fixed? thanks

  • Recordset.updateString returns SQL exception?

    Hi, I have the following code: statement2 = connection2.createStatement(                                       ResultSet.TYPE_SCROLL_INSENSITIVE,                                       ResultSet.CONCUR_UPDATABLE);          System.out.println(queryStri

  • Need help before purchasing 5G iPod to be used on a Mac

    Hi y'all, I am looking to invest in a new 5G ipod, and I am really excited, but I have a few questions for the iPod experts out there. (I find the general public to be more knowledgeable than sales associates) OK... 1) I currently have a 2nd generati

  • Windows 7/XP Frame 9/10 Acrobat 9/10 Question

    Wondering if anyone can shed any light on this problem: I have one system running Windows 7 - FrameMaker 10 - Acrobat 10. I have another system running Windows XP - FrameMaker 9 - Acrobat 9. Both systems have Adobe PDF set as the default Printer with