URL Forwarding

How can I redirect a web application's output from my local machine that is running the Java System Application Server (v. 9.1, bundled in Java EE 5 SDK) to a remote web server? The application server listens on localhost, port 2278 and displays pages OK in the local browser.
The remote web server is a shared host, not a dedicated host, so I don't have root directory access.
I've used Java Web Start to run self-signed applets on the remote server, but how can I get the remote server to display .JSP output from a servlet running on my local machine?
In the app server's Administration Console, I added a new HTTP-Listener assigned to the remote server's address (obtained by pinging), and also created a virtual server, but these changes caused the app server to crash.
Can configuration files for the web application or its domain be modified to accomplish URL Forwarding (redirection in Microsoft-speak)?
I'm on a Windows 2000 system with IIS (Internet Information Services) 5.0 as the default web server. I can create an IIS virtual directory to the deployed Java application module, and pages will display in the browser. I've tinkered with URL redirection settings in IIS and with the Windows 'hosts' file, but pages will not display on remote web server. The IIS virtual directory is pathed to the application's \domain1\applications\j2ee-modules\<context_root> directory.
Your suggestions for a fix or workaround will be greatly appreciated. There may be a straightforward best practice for distributing output from Sun Application Server to remote machine(s). Would it make more sense to co-locate the App Server with the web server on a dedicated remote host to which I'd have root access and the ability to start/stop/configure the app server?
Message was edited by:
jdeegan
Message was edited by:
jdeegan

Oops. There may be an issue with the URL Forwarding service for this
domain, in which case our technical staff is currently working the situation. Otherwise,
this domain is currently under construction and will be back online soon.
this the the error msg that we are getting.....

Similar Messages

  • Bug or feature in iWS 6.0 sp1 for URL forwarding?

    running on Solaris 8 ...
    I was having difficulty configuring URL forwarding for individuals
    with iPlanet 6.0 SP1. I was finally able to get it working but had
    to manually define the redirections. I believe this to be a bug
    in the admin server.
    Defining URL forwarding through the admin server defines a NameTrans
    directive, in the obj.conf file, similar to this:
    NameTrans fn="redirect" from="/testing" url="http://www.iplanet.com"
    If you enable Public information directories, the following NameTrans
    directive is defined:
    NameTrans fn="unix-home" from="/~" subdir="public_html"
    We had desired to configure rediction for a few users' home directories.
    Using the Admin Server when the following occured:
    NameTrans fn="unix-home" from="/~" subdir="public_html"
    NameTrans fn="redirect" from="/~johnd" url="http://www.iplanet.com"
    Since the "unix-home" parameter had been defined prior to the
    "redirect" parameter, the redirection was ignored. The webserver
    used our system password file to locate the home directory for
    user 'johnd' and attempted to load the content in that directory,
    affectively bi-passing the redirect parameter defined for this user.
    I found that if the redirection for users' home directories was defined
    prior to the "unix-home" parameter, the redirection would function as
    would be expected:
    NameTrans fn="redirect" from="/~johnd" url="http://www.iplanet.com"
    NameTrans fn="unix-home" from="/~" subdir="public_html"
    The above example could not be done through the admin server. I had
    to manually define it in the obj.conf file and restart the web server. Is this a bug or a feature?

    Jay Fowler wrote:
    Is this a bug or a feature?I wouldn't call this a bug (defined as "does not work as designed"). I
    would call this an unfortunate effect of the different Admin CGIs/JSPs.
    The CGI/JSP that creates the normal redirects is apparantly not checking
    for the existence of User Home Dirs and placing its redirects above them
    in the obj.conf. You can define all you redirects via the Admin
    interface, then manually move the
    NameTrans fn="unix-home" from="/~" subdir="public_html"
    line under the redirects you created. You'll have to do this any time
    you define a redirect that is based off of "/~foo".
    JMcCabe People will accept your ideas much more
    Moz' Whelp readily if you tell them that Benjamin
    Franklin said it first.

  • Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???

    Here's the issue...
    We are forwarding a number of URL's from one website to another.
    When we create these under the iPlanet Web Server Admin UI, the URL's appear, and get written to obj.conf, and the Web Server appears to "Save and Apply" the changes, effectively restarting the Solaris Process ID.
    The problem is that the httpd process does not actually restart, and the URL forwards return a 404.
    If we manually restart the Web Server daemon, everything appears to funtion properly.
    I have been searching through the iPlanet Knowledge Base, and not haveing any luck, so I am hoping someone here may have an idea.
    Thanks!

    Hi,
    Please let me know your iWS version including service pack(example:4.1sp7)and OS version. So that i can test it and let you know the feedback.
    Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???
    yes is there, but related to NSAPI please check the below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#26930
    Thanks,
    Daks.

  • Can you use wildcards to do Url forwarding in Iplanet 4.1

    For example, redirect http://myservername/cgi-bin/* to another Url. Where '*' equals any other text....thanks

    Hi,
    As my understand you are trying set the server to act as below.
    You are enabled Url forwarding for
    http://servername/cgi-bin/* "to" http://www.iplanet.com
    In client browser if client hit
    http://servernamet/cgi-bin/te it will through only
    page not found message.
    Because * wildcards is not equal to any other character.
    What excatly you are trying to do, it will not work for any text(character).
    So I would suggest, Instead of using URL forwarding.
    Try it out setting with "Custom Error Responses"
    it will help to through particular html page <OR> and particular content.
    How to setup "Custom Error Responses" follow the below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/ag/esapuir3.htm#1004819
    I hope this may help.
    Thanks,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • URL forward to .Mac or FTP to other webhost for best d-name search results?

    I'm boggled with ideas and suggestions, but can't see the wood for the trees! I have several .net.au (Australian) domain names in preparation for supporting my new business venture. I'm a .Mac member. At present I have url forwarding available for my domain names and can publish several sites to my .Mac account. I also can take out a webhosting plan with my domain name registration company, costing an extra $60-$80
    I want the best hit results for my fledgeling personal business. For example I own sandplay.net.au and want people who type in "sandplay" say on a google search, here in Australia, to go to my website.
    Recommendations from some of you iWeb 08 gurus would be greatly appreciated.

    Thank you Roddy,
    There appears to be a lot to do to publish to .Mac. Will going through the process to publish to .Mac get better hit results than using an Australian webhost?
    I forgot to mention that I already have CNamed my initial (very basic) family tree domain website. You can visit at www.anstock.org.
    I have starter pages for my busines which are presently frame forwarded and are sites under anstock.org
    Since they are linked to anstock.org, web forwarding goes to (say for sandplay.net.au) www.anstock.org/sandplay
    Would I be able to keep the Cnamed anstock.org and web forward (without masking) or will that just complicate the suggested procedure. OR would it be simpler to just move to an Aussie webhost for my business sites?
    Sorry, I think I've complicated the issue a bit. Told you I was lost. Looking forward to advice.

  • Url forwarding in sun one web server 6.1

    Hi,
    Can we use wild char patterns in url -forwarding in sun one web server 6.1
    For example http://myserver.com/*.do
    to
    http://anotherserver.com/*.do
    http://myserver.com/*.jsp
    to
    http://anotherserver.com/*.jsp
    appreciate your reply
    thanks

    yes, you can.
    http://docs.sun.com/source/819-0130/agcontnt.html#wp1017783

  • Using url forwarding

    Hello,
    I am trying to purchase a domain name from godaddy.com and in the domain regsitration preferences, I must enter a minimum of 2 valid nameservers.
    I want to use iweb with my .mac account and forward the url to the domain I am purchasing.
    Am I understanding it correctly that my .mac account is hosting my site? If so, where do I find the nameservers so I can purchase my domain name? Or, do I want to park it at godaddy.com and just use the url forwarding?
    I am a little confused,
    Aaron

    is there anyway of using my own url/web host instead
    of .mac to host my site? i kinda got it to work last
    night, but now my site only shows the directory of my
    ftp.
    Yes, here are some tips:
    http://homepage.mac.com/thgewecke/iwebserver.html
    When you only see the directory, it means you failed to upload the index.html file which iWeb publishes alongside the folder which has the same name as your site does inside iWeb. You need to upload both these items (index.html and folder).

  • Create Favicon for URL Forwarding webpage

    Hi,
    Do anyone know how to Create Favicon for URL Forwarding webpage?
    I have try out several method to make it done,but failed...might need helps here!
    Thanks!

    Hi,
    Please let me know your iWS version including service pack(example:4.1sp7)and OS version. So that i can test it and let you know the feedback.
    Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???
    yes is there, but related to NSAPI please check the below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#26930
    Thanks,
    Daks.

  • Disabling URL forwarding

    We have a new box for SGD. On the old box I had put URL forwarding so anyone try accessing the SGD on old URL, get forwarded to new URL.
    Now I need to check few settings on old machine before we retire it but it keep taking me to new one. I can't logon as admin either. I still could remote to box itself. Is there any way to disable it so I could logon to SGD?
    Thanks.
    Habib.

    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)

  • SJAS 8.2 PE - URL Forwarding

    Does SJAS 8.2 PE (build b06-fcs) support URL Forwarding? I have tried adding in a virtual server property as follows:
    Name: redirect_1
    Value: from=/ url-prefix=/idm/user
    I then restarted the AS but it doesn't work.
    We have Identity Manager deployed in this AS and want to redirect anyone who stumbles upon the AS root directory to the End User pages of IdM.

    no.... looks like it doesn't have that

  • How can I get URL forwarding working without touching the obj.conf

    It won't work right after it is set up from the Admin server. I have to manually edit the obj.conf so that the [NameTrans fn="redirect"] lines are ahead of any other lines NameTrans lines. Why the Admin server cannot do this when adding the "redirect" lines to obj.conf, or did I miss anything when I config the URL forwarding?
    SunOne WebServer6.1 SP4

    This is a full copy of the obj.conf file, right after I set up a URL Forwarding. The URL Forwarding is added as the 3rd [NameTrans] line. I have to manually move it as the 1st [AuthTrans] line, else it won't work.
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="c:/Sun/WebServer6.1/ns-icons" name="es-internal"
    NameTrans fn="redirect" from="/AuxFiles" url-prefix="http://pdiweb.pdi.sci.com:8080/AuxFiles"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="nt-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    PathCheck fn="set-cache-control" control="private"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="send-compressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>

  • Picture is going missing after url forwarding

    I've posted my front page to my .me account then forwarded the address to my .ca host, nothing new really but when I go to my .ca the front page image is missing.
    .me url
    http://web.me.com/ichariot/LNL/Blank.html
    .ca url (missing image)
    http://www.lockedandloaded.ca/
    Anyone think they know the problem?

    I suggest you talk to the domain provider and point out your problem. They seem to have done some unusual kind of forwarding which fails to include your sitename LNL in the linked urls. If you do Window > Activity in Safari you will see that major elements of your site are "not found" as a result of this.

  • Family pack vs URL forwarding vs CNAME otherw

    Yes, there are indeed many, many threads on all of these topics, but will someone here please spell out the differences here for me here in one spot? I'm sure many others here will be equally appreciative.
    Problem- I have multiple domains I want to publish.
    Presently- I have a single .MAC acct with a single personal domain assigned- www.domain1.com
    Like most- I've created other sites in iWeb, all branching off of the first domain- www.domain1.com/domain2 etc..
    Now once I've finished with lets say less than 5 sites, should I then-
    1) keep the assigned URL's as listed above and forward/mask that domain address from the registar?
    2) CNAME this URL... how is this different than forward/masking?
    3)Would purchasing a family pac then give me 5 accts to which I can then assign those other personal domains individually?
    Thanks
    NEF

    1. This is the easiest option to use web forwarding from your domain registrar, as you can only use CNAME once for every .Mac account.
    2. The difference is how you see the url. With CNAME you get www.yourdomainname.com/sitename/pagename_html and this is for all pages. With masked web forwarding your pages with come up as www.yourdomainname.com for every single page of your site. With unmasked web forwarding your site will be re-directed but will show up as web.me.com/username/sitename/pagename_html for every page.
    Using CNAME and web forwarding is mainly down to personal preference about what you want to see your url as.
    3. Yes you can use CNAME for each of the accounts in the family pack.

  • RSS URL forwarding/posting problem

    HI, Thanks so much. There seems to be no place on the web to address RSS concerns, and since I use Thunderbird and Firefox, I thought I would try here. Perhaps someone can shed some light on what is happening?
    I subscribed to an RSS feed
    http://www.thecitizen.co.tz/-/1765046/1765046/-/view/asFeed/-/stj0vxz/-/index.xml
    It comes into Thunderbird just fine.
    When I click a link, I can't get to the page. I can see what happens, I just don't know why nor how to stop the problem.
    Here's a representative URL
    http://thecitizen.co.tz/News/Dar-port-improvement-pact-inked/-/1840392/2452224/-/eaxrix/-/index.html
    it translates in firefox to
    http://www.thecitizen.co.tznews/Dar-port-improvement-pact-inked/-/1840392/2452224/-/eaxrix/-/index.html
    So, if I take the first link and add "www." or take the second and retype the ".tznews" to ".tz/News" -- I get this:
    http://www.thecitizen.co.tz/News/Dar-port-improvement-pact-inked/-/1840392/2452224/-/eaxrix/-/index.html
    And that works. What is going on here? Any way I can automate the adding "www." to the link so that I can just run with it? Is the RSS feed bad? or, harder question here, if I actually were in Tanzania, would it work correctly without adjustment (I'm currently USA based)?

    That is a problem with that server and needs to be fixed on their side.
    It sends a 301 Moved Permanently in the response headers with the missing '/' in the location header:
    Location: http://www.thecitizen.co.tzmagazine/sound-living/Cultural-festival-wins-revellers--hearts/-/1843780/2453266/-/79mcxyz/-/index.html
    <pre><nowiki>http://thecitizen.co.tz/magazine/sound-living/Cultural-festival-wins-revellers--hearts/-/1843780/2453266/-/79mcxyz/-/index.html
    GET /magazine/sound-living/Cultural-festival-wins-revellers--hearts/-/1843780/2453266/-/79mcxyz/-/index.html HTTP/1.1
    Host: thecitizen.co.tz
    User-Agent: Mozilla/5.0 (X11; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Connection: keep-alive
    HTTP/1.1 301 Moved Permanently
    Server: Apache/2.2.22 (Win32)
    Location: http://www.thecitizen.co.tzmagazine/sound-living/Cultural-festival-wins-revellers--hearts/-/1843780/2453266/-/79mcxyz/-/index.html
    Vary: Accept-Encoding
    Content-Encoding: gzip
    Content-Length: 322</nowiki></pre>

  • Url port forwarding

    Suppose I would like to forward http://192.168.1.7 to http://192.168.1.7:4555
    In the url prefix, I entered "/", and in the fixed-url field I entered " http://192.168.1.7:4555
    But it seems by doing this way, the url http://192.168.1.7:4555 cannot be retrived.
    How to configure to redirect to another port?
    Thanks,

    Hi elving, I mean without doing the url forwarding(I tooke the url forwarding configuration out), then "http://192.168.1.7:4555" works.
    When doing the url forwarding, I can see the web broswer is connected to 192.168.1.7:4555. But no page displayed.
    I checked the obj.conf file there is an entry :
    NameTrans fn="redirect" from="/" url="http://192.168.1.7:4555"
    Is there any problem somewhere?
    Thanks ,

Maybe you are looking for

  • Power Mac G5 Shuts Down When Waking From Sleep

    I picked up a Power Mac G5 for a song at work.  It had OS X Tiger 10.4.11, 1 GB RAM and 160 GB HDD,  I've since upgraded the RAM to 2 GB, the HDD to 1 TB, and installed OS X Leopard 10.5 from an install disk I had bought when it first came out, and t

  • Uploading Access split database to Sharepoint Site.

    Hi, I'm having trouble finding instructions on how exactly you would upload a split database to SharePoint. If I split my database locally i can't then move the back end. I want to upload my the back end of the Access database to "mysitesname".sharep

  • HTML email saving as Rich Text

    Hi, We are having an issue with Outlook 2013 on Exchange 2013, where we need to save emails on a regular basis and it loses embedded attachments. The emails when we attempt to save them are in html format – but when they save they auto change to Rich

  • Accessing excel from java code

    Hello our system uses reportNet to generate reports. When reports are generated in CSV format we have a problem: Report consists of people (can be more than one) so under name column we have same name in more than one row. BUT if more than one name i

  • BFILE use in Oracle Forms

    Can anyone tell me how to get BFILE Datatypes to work in Oracle Forms 6i? I am able to create and build my table with BFILE datatypes and create and build my directories. However, when I build my form in runtime, I execute my query and it bring up an