SendRedirect - can not find server

Hi,
I have a jsp page with a form.
This form's action is another jsp.
This jsp checks some values in the request
and redirects the call to a servlet.
I am using response.sendRedirect.
The application works well if the webserver is running in port 80.
IF i try to run the applicaiton in some other port other than 80,
i am geting "Page can not be displayed" error.
Any idea of what the problem might be?
Thanks for the help!!!

hi,
thanks for the reply.
I did that too.
Still same problem.
This is what i am doing in the jsp
     int port = request.getServerPort();
     StringBuffer url = new StringBuffer(request.getScheme());
     url.append("://").append(request.getServerName());
     if (port != 80) {
          url.append(":").append(port);
     url.append(request.getContextPath()).append("/");
url.append("my servlet path");

Similar Messages

  • WebtopNaming - can not find server name for server ID

    We have a LB, and web servers in front of OpenSSO app servers in our environment.
    OpenSSO debug log CoreSystem fills up with lot of errors like these:
    ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    Sometimes, it even complains about a server id (07 in the following trace) which doesn't even exist in the Site Id Table.
    There are no changes in the configuration. DNS is properly configured and all the servers and their connectivity are available. CoreSystem throws these errors even after a restart of opensso app servers.
    Any ideas about the root cause?
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, http://host4.company.com:8080/openSSO=04, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, http://host5.company.com:8080/openSSO=05, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, 03,05,04,02|03,01|03=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, 02|02,01|01,05|05,04|04=iplanet-am-platform-lb-cookie-value-list, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, https://host4.company.com:8443/openSSO=01, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, https://host5.company.com:8443/openSSO=02, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, https://opensso-qa.company.com:443/openSSO=03}
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Site Id Table -> {03=03, 02=03, 01=03, 05=05, 04=04}
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Platform Servers -> [https://opensso-qa.company.com:443/openSSO, https://host5.company.com:8443/openSSO, https://host4.company.com:8443/openSSO, http://host4.company.com:8080/openSSO, http://host5.company.com:8080/openSSO]
    amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
    Platform Server IDs -> [03, 02, 01, 04, 05]
    amNaming:05/13/2011 10:22:37:010 AM PST: Thread[WebContainer : 0,5,main]
    ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
    at com.iplanet.services.naming.ServerEntryNotFoundException.<init>(ServerEntryNotFoundException.java:52)
    at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:709)
    at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:380)
    at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:363)
    at com.iplanet.dpro.session.SessionID.getSessionServerID(SessionID.java:261)
    at com.iplanet.dpro.session.service.SessionService.isLocalSite(SessionService.java:881)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:1197)
    at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:153)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    Thank You for the response.
    Here is my site configuration in OpenSSO:
    There are 4 servers in the two opensso hosts (2 secure, 2 non secure)
    Servers:
    http://host4.company.com:8080/openSSO
    http://host5.company.com:8080/openSSO
    https://host4.company.com:8443/openSSO
    https://host5.company.com:8443/openSSO
    Only one site with secure URLs is configured
    Sites:
    site1
    Primary URL: https://opensso-qa.company.com:443/openSSO
    Assigned Servers:
    https://host4.company.com:8443/openSSO
    https://host5.company.com:8443/openSSO
    From the CoreSystem log, Server ID definitions are:
    https://host4.company.com:8443/openSSO=01
    https://host5.company.com:8443/openSSO=02
    https://opensso-qa.company.com:443/openSSO=03
    http://host4.company.com:8080/openSSO=04
    http://host5.company.com:8080/openSSO=05
    Sometimes it throws an exception with existing server IDs. But sometimes it also complains about non existing server IDs.

  • When I try to use Safari I get an error message that states it can not find server Xn--%20%20-1ia0eb092a

    When I try to use safari I get a message that states can not find server Xn--%20%20-1ia0eb092a

    It sounds like you've got a messed-up homepage. Click the Safari menu, click Preferences, and under "Home page", re-type the page you'd prefer to load when Safari starts (eg "nytimes.com" or whatever). Close preferences and try again.
    Matt

  • Can not find server

    hi,
    i have installed coldfusion 6.1 standard version on my
    machine with built in server. it works fine on my machine having
    port 8500. when i execute
    http://xxx.xxx.0.20:8500 on my
    machine it display me coldfusion root directory. here xxx.xxx.0.20
    is my machine ip address. but when same i execute from other
    machine it gives me error "Could not fine server".
    can anybody help me out to solve this issue.

    hi,
    i have problem with coldfusion server , i just have answer to
    tell you that my machine doen't have problem with access from other
    pc. i have told you that if any one access my pc using apache
    server it works fine. and apache is running on port 81.
    now problem is that my coldfusion is not working on other pc
    same as apache. coldfusion i have installed using built in server
    so for coldfusion i am not using any other server. i have used
    apache for my other purpose. there is no consern of apache with
    coldfusion.
    i am telling that if any one execute any page from my pc
    using apache say "http"//111.112.0.21:81/temp/t.php" it works fine.
    but suppose any one execute coldfusion say "
    http://111.112.0.21:8500/temp/t.htm"
    it says that cannot find server.

  • WRT160N works but desktop get random "can not find server/DNS error"

    The router is up and running, my laptop connects and all is well except that the desktop internet connections drops out randomly and then reconnects.  ISP is comcast.
    It's somthing with the router, if I eliminate and just go to modem no problems,  on the router internet page it lists 3 DNS codes and the connection type is "automatic". 
    Any ideas what's going on?

    If your using version 2, you can try this...
    http://audipages.com/router/
    I had the exact same problem as you - reverting back to build 8 and changing to openDNS fixed it for me.
    If you've got a few hours to kill, check this thread out - you are not alone...
    http://forums.linksysbycisco.com/linksys/board/message?board.id=Wireless_Routers&thread.id=119107&vi...
    Message Edited by MEM77 on 04-11-2009 02:14 PM

  • Firefox does not load web pages; it always says 'can't find server' on every page I try to load

    Firefox 'can not find server' reply comes up on every page I try to load, including my home page. I have to retry or refresh 3-4 times before it takes.

    Sounds like a proxy server issue.  Go to System Preferences... > Network
    Select the AirPort from the left hand side
    Click on the Locations combo box and select "Automatic"
    Click on Advanced
    Select the AirPort tab and enter your network name
    Select TCP/IP tab. 
    Configure IPv4 Using DHCP
    Now click on Renew DHCP Lease.  After a few seconds you should get an IP address (probably 192.168.x.x)
    Click on Proxies tab.
    Select Auto Proxy Discovery and Use Passive FTP - de-select all other options.
    Click on OK and Apply, etc.
    Bob

  • Firefox says it can not find the server (Windows Internet Exployer works fine

    When I try to connect to Firefox,I get the message can not find server.(All my hardwired computers,to Dsl).When we try Windows Internet Exployer it works fine.That is what I am using to send this message.

    Not sure of your answers: is the problem solved (as marked) or not.
    Did you go through the solution for the Firewall that you use.
    :http://kb.mozillazine.org/Firewalls
    When you say it works okay on new browser do you mean IE or do you mean if you reinstall Firefox. As far as I know it is the Firefox updates that get are mostly affected. What Firewall do you have.
    Also see
    :http://kb.mozillazine.org/Error_loading_websites#Other_security_programs

  • After updating IOS i needed to restore iphone5 and now it can not find a server? almost every update problems

    after updating last IOS  I needed to restore a phone, now it can not find server
    not a first time.

    Hey boj505
    It sounds like your primary goal is restoring your iPhone? I found an article here than can help you out with that:
    iTunes: Restoring iOS software
    http://support.apple.com/kb/ht1414
    Hope that helps,
    David

  • Connected to internet, but can't find server.

    I have an 8gb 1.1.4 software. I have a wireless router in my house and I entered the password correctly, it says I am connect in the corner but when I go to Safari it says can not find server.

    Exact same issue as my daughter had with her 1G Touch. Tried all suggestions found in this forum since mid-summer, and no luck. She sent it in to Apple for a replacement, and same thing with the new one. She has DSL with a modem/router from her provider and a Linksys wireless G, and her HP laptop connects wirelessly with no problems. We spent an afternoon trying different modem/router and Linksys settings and no help. I finally called her provider and complained that not only was the iPod touch unable to connect, but neither could the PS3, Wii, or Nintendo DS. They immediately OK'd a switch out of her Westell DSL modem/router with a new Zone. Everything now connects with no problems.
    This is probably not your solution, but, boy, it sure worked for her.

  • Can not find "Work Folder" in windows server standard edition

    Guys, I have a testing lab and all is working with the exception of the fact that I can not find "work Folder" to install it.  I'm using windows server 2012 standard evaluation copy edition.  Normally work folder should be under >file
    and storage service>file and iSCSI services.  However, it is not there.  Can someone help please
    staphisco

    Hi,
    From the overview, Work Folder is not supported in Windows Server 2012 (only Windows Server 2012 R2). 
    Work Folders Overview
    http://technet.microsoft.com/en-us/library/dn265974.aspx
    Software requirements
    Work Folders has the following software requirements for file servers and your network infrastructure:
    A server running Windows Server 2012 R2 for hosting sync shares with user files 
    If you have any feedback on our support, please send to [email protected]

  • Firefox sometime can find specific server then at other times it can not. Also when on a web site and you attempt to go to anotherpage on the site, it lock up or can not find the page.

    Firefox cannot find a server that it has gone to easily in the past. Also it will lock up or can not find a page with in a web site ie like with FoxNews and you want to read and article. Firefox cannot find it. Sometimes I can not even log on to FireFox.

    Hi Corel
    Thank you for your reply
    However I need the lower case version for some sites and the upper case version for the site in question? To make matters worse this site does not allow you to change your log on name unless it is in the form of an e-mail address
    So what I need is Kostas for this site and kostas saved for other sites and allow me to choose which one I want to use
    How do I do this please
    I have no bother with this on Win Internet Explorer but I like Firefox
    Mind it may be as simple as deleting The appropriate entry and resetting with Kostas instead of kostas?
    But I would appreciate knowing the correct solution from an expert

  • Slow-Start Up and "can not find the server" dialog box

    hi there -
    2 year old Ibook G4. When I try to open either Safari or Netscape the "can not find the server" box pops up.. I have a solid connection wi-fi for the wireless signal is on full strength. I have cleared my cache. Also I am experiencing start-ups that are taking 2-3 minutes. The color wheel just keeps spinning.Also, I have done repair and I renewed the DHCD. Not sure what else to do?

    as a guess, spinning wheel could be caused by failing hard drive.
    often failing hard drives will pass all tests by the utilities.
    you may want to back up any important files just in case.
    if the iBook boots up from the OS install CD/DVD with no problems, issues could be caused by the corrupted files on the hard drive or failing drive.

  • Safari is not able to open this page because it can not find the server.

    I too need help with this problem with my Ipod touch. Currently, I am in the Ukraine, go to a wifi cafe, access the wifi and get a clear powerful signal. Then I try to load the Google page, any page from my bookmark or write the web address in and I receive the same message; "Safari can not open this page because it can not find the server." Something is wrong with my settings and I tried to reset the options but it does not work. Can anyone help me with this problem? Thanks!!

    Hello and Welcome to Apple Discussions. 
    The 169.254.xxx.xxx address indicates that there is a problem with DHCP server in your BT Digital Hub (Home hub?) because the iPod is taking a default IP rather than been given a suitable one. At the moment the iPod is not even in the same subnet as the router so it's no wonder that Safari can't find the Internet.
    Ensure that the DHCP server is on and that you have an IP-address pool sufficiently large to serve all the devices you have. I'd expect it to be 192.168.1.1 to 192.168.1.253. If you have FON enabled you certainly need that wider range as other people may be using your router too.
    mrtotes

  • I keep getting a message that the computer can not find a .local server

    I keep getting a message that the computer can not find a .local server

    Hi, ImTiffanyA. 
    The most common cause for this issue would be media present that is purchased with another Apple ID.  The article below will walk you through the process of verifying if that is the case or correcting the issue if not.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/TS1389
    Cheers,
    Jason H.

  • I can not find the messages in sxmb_moni in http to rfc scenarion

    hi i'm using http client tool when i send the message its working fine i'm getting the response, but i can not find that message in sxmb_moni in http to rfc scenario
    can anyone help me

    Hi lnaki vila
    I'm using pi 7.0 version
    i can see the other scenarios like SOAP to RFC, SOAP to IDOC,FILEto IDOC
    in sender side i'm not using any communication channel and adapter engine i'm just using http client tool for testing purpose
    i'm getting the response that's fine because its a synchronous communication
    i checked sxmb_adm in that -->integration configuration LOGGING parameter of category RUNTIME is set to  ENGINE_TYPE and current value is HUB(Integration server)
    thanks in advance
    regards
    Satish

Maybe you are looking for

  • How do I install the operating system on a store bought hard drive?

    I purchased a hard drive from best buy to replace the one that died on my hp G60-501.  When I try to run the system install disk, it runs through the entire thing (around 1.5 hours).  When it finally finishes, it says that it needs to be reinstalled.

  • I need help with getting an update for my 1st generation ipod shuffle.

    I am trying to install iTunes and iPod software on my computer but the iPod cd is apparently not compatible with my version of windows. I need to download an update but I cannot get any support because my 1st generation iPod shuffle is not one of the

  • Data recognition during transfer of data from cube to cube.

    Dear All,         If I have 2 cubes in such a way that 2nd cube pulls data from the first cube. But in the first cube data is there till March 2007 and the second  has pulled data till february 2007. But in a certain incident the ticks in "Data Mart

  • Custom Tag with ImageAnchor and FormSubmit?

    It seems the the ImageAnchor is not adding the submit part. What am I doing wrong?           package tag_handlers;           import com.bea.wlw.netui.tags.html.Anchor;           import com.bea.wlw.netui.tags.html.Button;           import com.bea.wlw.

  • Nokia lumia 800 video problems.

    Hello, my friend in work has a nokia lumia 800 which a couple of days ago just stopped playing all kinds of videos, be it videos he has taken or on youtube or any thing! Also xbox live doesnt open either. Neither of us are very 'techy' so any suggest