Server side redirect with 4.5.1 and Netscape Enterprise Server

          Is it possible to have a servlet running under WL 4.5.1 to perform a server
          side redirect ala CGI?
          Here's my config:
          web server: Netscape Enterprise Server 3.6 on solaris, with weblogic
          plugin
          servlet runner: WL 4.5.1 on different host from ES.
          Here's what I want to happen:
          1) HTTP GET from browser to enterprise server
          2) forwarded by plugin to servlet
          3) servlet logs some activity to an application log file, and sends a
          server side redirect to enterprise server
          4) Enterprise server returns the file identified by the rediect directly
          to the client.
          This is possible with enterprise server and CGI, because the ES CGI code
          checks the return stream from the CGI program for "Location: <some url>". If
          it see's that, it tries to locally resolve that URL as the client had asked
          directly for that URL. I think this would only be possible with WL if the WL
          NSAPI plug in supported a server side redirect feature. Anyone know status
          of that? Or might ES support something like this depending on the order of
          the objects in obj.conf?
          Here's what I've tried in the servlet:
          res.setHeader("Location:", location);
          res.setContentType("magnus-internal/redirect");
          res.setStatus(302);
          This just sends an HTTP tempoary new location to the client for a client
          side redirect. Client side redirect is not desirable because it doubles the
          HTTP traffic.
          Another option would be to read the file I want to redirect to from inside
          the servlet and return it from the servlet, but that is not desirable
          because I want to have ES serve the file - thats it's job, it caches, less
          network traffic (between our servers), etc.
          Server side redirect is very useful feature and not that uncommon for web
          applications, so if WL does not support it now, I will probably put in a new
          feature request.
          Thanks for your help
          Mark Johnson.
          

Why not just use the proxy servlet to redirect to your netscape server? That
          does it on the server side!
          -russell
          Mark Johnson wrote:
          > I belive that sendRedirect performs a client side rediret, not a server
          > side redirect.
          >
          > Guy Tal <[email protected]> wrote in message
          > news:[email protected]...
          > > public void doGet(HttpServletRequest req, HttpServletResponse res) ...
          > > ...
          > > res.sendRedirect("http://destination");
          > > ...
          > >
          > > Guy
          > >
          > > Mark Johnson <[email protected]> wrote:
          > >
          > > > Is it possible to have a servlet running under WL 4.5.1 to perform a
          > server
          > > > side redirect ala CGI?
          > >
          > > > Here's my config:
          > > > web server: Netscape Enterprise Server 3.6 on solaris, with weblogic
          > > > plugin
          > > > servlet runner: WL 4.5.1 on different host from ES.
          > >
          > > > Here's what I want to happen:
          > > > 1) HTTP GET from browser to enterprise server
          > > > 2) forwarded by plugin to servlet
          > > > 3) servlet logs some activity to an application log file, and sends
          > a
          > > > server side redirect to enterprise server
          > > > 4) Enterprise server returns the file identified by the rediect
          > directly
          > > > to the client.
          > >
          > > > This is possible with enterprise server and CGI, because the ES CGI code
          > > > checks the return stream from the CGI program for "Location: <some
          > url>". If
          > > > it see's that, it tries to locally resolve that URL as the client had
          > asked
          > > > directly for that URL. I think this would only be possible with WL if
          > the WL
          > > > NSAPI plug in supported a server side redirect feature. Anyone know
          > status
          > > > of that? Or might ES support something like this depending on the order
          > of
          > > > the objects in obj.conf?
          > >
          > > > Here's what I've tried in the servlet:
          > > > res.setHeader("Location:", location);
          > > > res.setContentType("magnus-internal/redirect");
          > > > res.setStatus(302);
          > >
          > > > This just sends an HTTP tempoary new location to the client for a client
          > > > side redirect. Client side redirect is not desirable because it doubles
          > the
          > > > HTTP traffic.
          > >
          > > > Another option would be to read the file I want to redirect to from
          > inside
          > > > the servlet and return it from the servlet, but that is not desirable
          > > > because I want to have ES serve the file - thats it's job, it caches,
          > less
          > > > network traffic (between our servers), etc.
          > >
          > > > Server side redirect is very useful feature and not that uncommon for
          > web
          > > > applications, so if WL does not support it now, I will probably put in a
          > new
          > > > feature request.
          > >
          > >
          > > > Thanks for your help
          > >
          > > > Mark Johnson.
          > >
          > >
          > >
          > >
          > >
          > >
          > >
          > >
          Russell Castagnaro
          Chief Mentor
          SyncTank Solutions
          http://www.synctank.com
          Earth is the cradle of mankind; one does not remain in the cradle forever
          -Tsiolkovsky
          

Similar Messages

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • Problem with Publishing a project and BusinessObject.Enterprise.SDK.dll

    I am trying to publish my Visual Basic Application and it comes up with an error of Unable to find file BusinessObject.Enterprise.Sdk.ziplib.netmodule of multi-file assembly BusinessObject.Enterpise.Sdk.dll.  A file is there where it is looking for it but it is named BusinessObject.Enterprise.Sdk.ziplib.netmodule.bakSp1.
    It is also giving me the same error with the folowing files:
    BusinessObjects.Enterprise.Sdk.dll
    BusinessObjects.Enterprise.Sdk.SS1.netmodule
    BusinessObjects.Enterprise.Sdk.netmodule
    All of the files are there but they end with a bakSp1
    Does anyone have a clue as to what I am doing wrong?
    Thanks for any advice

    Are those assemblies in the GAC?  They should have been added to the GAC with the install.
    The bakSp1 suffix tag RTM files that were upgraded by installing Service Pack 1.  There should be two files there - one with the bakSp1 (the backup) and one without.
    It may be that your installation was misconfigured.
    Sincerely,
    Ted Ueda

  • JRE1.3.1_02 and Netscape Browser

    We are working with the Applet using Swing Components. Java Run time Environment version is 1.3.1 installed in Red Hat Linux .
    We installed Java plugin JRE1.3.1_02 Windows version.
    The applets are working fine with Internet Explorer 5.0. But with Netscape4.7 it is displaying the error
    error: NoClassDefFoundError : javax/swing/JApplet
    Applets with awt components are working fine.
    What could be the reason?Please help.

    It's working fine with both IE5.0 and Netscape 4.7 browsers once HTMLConverter1.3 was used for converting the HTML file containing the applet.

  • WebUi and Netscape 6.2.3 bug

    WebUI doesnot work well with Netscape 6.2.3
    Does anyone know if Oracle have a patch ?
    thanks in advance
    regards,
    tvh

    The first problem is when I login I see : Please wait a moment. Loading ... and nothing else happens.
    The second : The tools bar (for changing ACL , ...) go to the bottom of screen and displayed badly.
    No problem with internet Explorer 6 and Netscape 4.7. My Ifs version is 9.0.1

  • Weirdness involving IE, JSP, data scraping and server-side redirecting

    I have a JSP script that validates inputted data. Upon successful input, it will
    1) set a cookie
    2) Do a data scrape to a URL that points to a servlet that performs server-side actions based upon query string data that is formed from your input
    3) Redirect back to itself to ensure cookie availablity and further actions.
    If you run this script on Netscape or Firefox, all is well.
    If you run this script on IE, while [2] works, it seems to be performing [2] twice, because the actions are duplicated (the actions in [2] consist of placing info into flat files so you can see what is going on).
    Does IE have a problem with data scraping + server-side redirection (I am using response.sendRedirect()) that I don't know about?
    Thanx
    Phil

    Agoston_Bejo wrote:
    The problem is that right after having logged in, while you're still in the filter, the beans managed by JSF haven't been put into any scope yet. (The faces servlet hasn't been called yet, so it hasn't had the chance to instantiate the managed beans, put them into the appropriate scopes etc.) So it is request scoped? Just create one yourself. I however don't see any benefit/reason for having the logged in user in the request scope ..

  • File Server Slowdown with Illustrator(only) saving and opening

    Hello,
    I have a problem i have been struggling with for years.
    When we save a file to the server, the time to open, save or export can be anywhere from 1-5 minutes. Its killing our productivity.
    I have changed out every component. We have Eight illustrator CS3 13.0.2 users on C2D/i3/i7 iMacs running 10.6.7. They are connecting to a Mac 10.6.7 Server with AFP - mac mini 2.53 with a lacie 5 drive raid.
    We have had this problem going back to at least 10.4.6 i think it was.  (I did not write good troubleshooting logs back then)
    What appears to be happening:
    open a file in the finder or in illustrator
    if a font is missing, it immedialy pings you, so its like illustrator looks at the files and then is looking for something else  (problem exists if no fonts are present)
    the mouse then beach balls and illustrator shows as not responsive
    the server shows some activity on the cpu/network/hard drive side but its very minor. like a get info command on lots of files
    local user shows very little to no activity
    then it stops doing nothing after the few minutes and it opens quickly.
    the content of the files does not effect the problem. A 10 meg files with lots of stuff takes maybe 4 minutes vs 3 min 50 seconds for a empty file
    my solution so far:
    I can clear the problem by running a script that deletes the illustrator prefs, mediabrowser.plist, deletes illustrator cache files, deletes apple quarantie events, bridge prefs. and a restart. Then files open in under 5 seconds. After a couple of hours or some times a day, the open times creep up to a minute, after a few days, they are 2-5 minutes.  Sometime clearing these files does not work and i have to then wipe a machine and do clean installs of everything.  Some Macs will not have the problem, and function great for a month and then they have the problem for no explainable reason.
    All other functions work great, no problems anywhere with anything else, excempt saving illustrator files to the server.
    We have tried moving the files locally and then copying them back, but we loose too much work with the errors associated with version control problems. Also a synced folder to the local machines of the server (yes that was intense on the machines) some how had the problem follow it on some macs but not others
    I have tried illustrator CS4 and CS5 and it has the same problem
    I am currently trying to brute force attack the problem, I figure i can reduce the wait time to maybe 20% with a Mac pro and a bank of SSD's. my cost is almost 8k. I am not happy giving up on fixing the bug, but we have at least 1-2 people waiting around at any given time. 
    Any thoughts on the problem or a solution?

    To create a new Swatches panel to store pattern swatches you have to:
    a) Open the Swatches panel and delete all the swatches that you don't want (optional)
    b) Choose Save Swatch Library as AI (not ASE) from the Swatches panel menu (I suggest you to save it on the Desktop! So you can easily find that!).
    The saved file is actually a simple (blank) Illustrator file.
    To use this file with other Illustrator projects choose Window > Swatch Library > Other Libraries and navigate to the saved Illustrator file (Desktop).
    At this point another swatches panel is opened on the screen.
    Drag the desired swatches from this new  panel to the document one. Then close the new panel.
    I hope this help

  • HOWTO: Setting up Server-Side Authentication with SSL

    This howto covers the configuration of server-side SSL authentication for both Net8 and IIOP (JServer) connections. It documents the steps required to set up an SSL encrypted connection; it does not cover certificate authentication.
    It is worthwhile noting that although the setup of SSL requires the installation of certificates, these certificates do not have to be current, only valid. For some reason, in order to enable SSL connections, it is necessary to set up valid certificate file on the server whether you intend to use certificate authentication or not.
    NOTE: I have been unable to determine whether or not the above statement is entirely correct. If anyone can confirm or disprove it, please let me know.
    The steps described below must all be carried out from the same logon account. They have been tested on both 816 and 817 databases, but will probably work for all versions, including 9i (unless there have been some drastic changes in 9i that I'm not aware of).
    1. Log on to the database server with an administrative login.
    Configure the database and listener to run under the current login account (Control Panel -> Services). It is not necessary to restart these services at this time.
    2. Create an Oracle wallet and set up the required certificates
    (i) Open the Oracle Wallet Manager:
    Start -> Programs -> [Oracle Home] -> Network Administration -> Wallet Manager
    (ii) Create a new wallet (Wallet -> New).
    (iii) When prompted, elect to generate a certificate request.
    (iv) On the request form, the only field that matters is the Common Name. Enter the fully qualified domain name (FQDN) of the database server (i.e. the name with which the database server will be referenced by clients).
    (v) Export the certificate request to file (Operations -> Export Certificate Request).
    (vi) Obtain a valid server certificate from an authorised signing authority. It will also be necessary to download the signing authoritys publicly available trusted root certificate. Certificates can be obtained from Verisign (http://www.verisign.com/)
    (vii) Install the trusted root certificate obtained in (vi) into the wallet (Operations -> Import Trusted Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
    (viii) Install the server certificate obtained in (vi) into the wallet (Operations -> Import User Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
    (ix) Save the wallet (Wallet -> Save). The wallet will be saved to the [user home]\Oracle\Wallets directory.
    3. Configure the listener for SSL.
    (i) Open the Oracle Net8 Assistant:
    Start -> Programs -> [Oracle Home] -> Network Administration -> Net8 Assistant
    (ii) Select Net8 Configuration -> Local -> Profile.
    (iii) From the drop-down list at right, select Oracle Advanced Security. Select the SSL tab.
    (iv) Select the Server radio button.
    (v) In the wallet directory field, enter the location of the wallet created in step 2, e.g. C:\WINNT\Profiles\oracleuser\ORACLE\WALLET
    (vi) Uncheck the Require Client Authentication checkbox.
    (vii) Select Net8 Configuration -> Listeners -> [listener name].
    (viii) Add a new address:
    Protocol: TCP/IP with SSL
    Host: [database server FQDN] (e.g. oraserver)
    Port: 2484
    (ix) Add a second new address:
    Protocol: TCP/IP with SSL
    Host: [database server FQDN] (e.g. oraserver)
    Port: 2482
    Check the Dedicate this endpoint to IIOP connections checkbox.
    (x) Save the Net8 configuration (File p Save Network Configuration).
    (xi) Restart the listener service.
    4. Configure the database to accept SSL connections.
    (i) Open the database inti.ora file (\admin\[SID]\pfile\init.ora or equivalent).
    (ii) At the bottom of the file, uncomment the line that reads
    mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
    (iii) Save the file and restart the database service.
    5. Test the SSL confi guration using the Net8 Assistant.
    (i) Open the Oracle Net8 Assistant.
    (ii) Select Net8 Configuration -> Local -> Service Naming.
    (iii) Add a new net service (Edit p Create).
    Net service name: [SID].auth (e.g. iasdb.auth)
    Protocol: TCP/IP with SSL
    Host: [database server] (e.g. oraserver)
    Port: 2484
    Service Name/SID: [SID] (e.g. iasdb.orion.internal)
    Note: at the end of the net service configuration, click Finish, not Test. The test can hang if run from the wizard.
    (iv) Test the connection (Command -> Test Service). If the only error to appear is username/password denied, the test has succeeded.
    null

    Dear Alex,
    Thank you for reaching the Small Business Support Community.
    I would first suggest you to uncheck the "Perfect Forward Secrecy" setting on the RVS4000 and if see if there is some similar setting enabled, then disable it, on the other side.  If still the same thing happens, then go to RVS4000, VPN Advanced settings, and disable the "Aggressive Mode" so it becomes "Main mode" and use the same on the other end of the tunnel.
    Just in case and as a VPN configuration guide, below is a document called "IPSec VPN setup" if it helps somehow;
    http://sbkb.cisco.com/CiscoSB/Loginr.aspx?login=1&pid=2&app=search&vw=1&articleid=587
    Besides my suggestions I would advise you to contact your ISP to make sure there is no IPSec traffic restrictions and/or if there is something in particular they require to make this happen and please do not hesitate to reach me back if there is any further assistance I may help you with.
    Kind regards,
    Jeffrey Rodriguez S. .:|:.:|:.
    Cisco Customer Support Engineer
    *Please rate the Post so other will know when an answer has been found.

  • I just restored my ipod as a new ipod and it won't let me sign in with my apple ID and says that it has an error connecting to the server, when I am already connected to the wifi.

    I just restored my ipod as a new ipod. It will not let me sign in with my apple ID and says that it has a problem connecting with the server, even though I am already connected to the wifi.

    Yes, of course.   Did you set up with your Apple ID?    
    Reset the iPad to factory and set it up with your Apple ID and password.   You can still sync different apps, music and other stuff onto the iPad,  the devices need not mirror each other.
    I have an old wifi iPad, an iPod touch and a new iPad mini with cellular.   All on the same Apple ID and password, different content on some apps, same on others.

  • TS1814 I had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    I have had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    -Griff W.

  • The document could not be saved. The server said: "The operation failed because an unexpected error occurred. (Result code 0×80020005)" Please ensure you have completed all required properties with the correct information and try again.

    I am having problems  saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
    The document could not be saved. The server said:
    “The operation failed because an unexpected error occurred. (Result code 0×80020005)”
    Please ensure you have completed all required properties with the correct information and try again.
    I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
    Adobe Acrobat version 10.1.13
    SharePoint 2010

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Lync Server 2010 conference not working with Windows 8.1 and IE 10

    Hello,
    The problem is that whenever a Windows 8.1 user tries to join a Lync server 2010 conference using Internet Explorer 10 (or 11, tried that too) the user can't join the conference. If the conference is created by a Lync server 2013 user joining works fine.
    When using Lync 2010 client we get the following error in the client: "error id 87 source id 7".
    When using Lync 2013 client we end up with a blank conversation window.
    There are no traces in server log, client log or event log.
    Below is a set of use cases that may help you to understand what is the problem scenario. Each of these works or does not work with both Lync 2010 and Lync 2013 client.
    - Lync server 2010 conference, windows 7, Chrome, Firefox, IE 10 or 11 --> Works.
    - Lync server 2010 conference, windows 8.1, IE 10 or 11 --> Does not work.
    - Lync server 2010 conference, windows 8.1, Chrome or Firefox --> Works.
    - Lync server 2013 conference, windows 8.1, Chrome, Firefox, IE 10 or 11 --> Works.
    It does not help to add the meet address to IE compatibility list (Compatibility View Settings).
    If i press F12 in IE and change the document mode of the meet page to IE 9 version then i can join meetings with Windows 8.1 and IE 10. Unfortunately i cannot make that as a default setting for the meet website.
    Any ideas on how to get Lync server 2010 meetings working with Windows 8.1 and IE 10 or 11?
    IE is the company default browser. Windows 8.1 is not a default operating system but we have increasing number of Windows 8.1 computers in our environment (mainly directors).

    According to your description, it is hard to tell whether the issue is related with IE or Lync Server 2010 or both.
    Compare the log when Lync client on Window 8.1 with IE 10 or IE 11 join Lync server 2010 conferencing and Lync Server 2013 conferencing.
    Lisa Zheng
    TechNet Community Support

  • Updated to ios6 on my ipod touch 4g when i try to turn it on it doesn't, it just comes up with the itunes symbol and the usb, so i plugged into laptop opened itunes and it says to restore back to ios5 i pressed restore and it cant connect to server? help?

    updated to ios6 on my ipod touch 4g when i try to turn it on it doesn't, it just comes up with the itunes symbol and the usb, so i plugged into laptop opened itunes and it says to restore back to ios5 i pressed restore and it cant connect to server? help?

    Maunally restore it. In order to do this:
    -Download the iOS 5.1.1 firmware from here  http://www.redmondpie.com/download-5.1.1-ios-for-iphone-4s-4-3gs-ipad-ipod-touch -direct-official-links/
    1. After downloading the firmware from the given link, open iTunes and click on your device.
    2. Now press SHIFT on your keyboard and while pressing it click on "Restore".
    3. A dialog box will appear.
    4. Select the firmware you downloaded and click ok.
    5. Done!!! Your iPhone will now be restored to 5.1.1 and if you had backed up your iPod before, then you can put all its settings afterwards.

  • TS1398 iTunes , cannot connect to server. At both, my fathers and at my place, with both, his iPad1 and my iPad 3

    Started out with "Text Plus" triple charging me. Gave up on them.  iTunes sent me an email with the receipt of all 3 charges with "report a problem"  under each purchase. I clicked on it and that's when I had on my screen "cannot connect to server". This happens with both my iPodtouch 4 th gen. &amp; my new iPad3 , both are WiFi. This also happens at my place and my fathers, with my products and the iPad 1 WiFi I gave to him. I can get on my iTunes but can't buy anything. I can sync . Please someone help, Sue

    I just now did what you said and now it says; iTunes, cannot connect to iTunes store.
    Very puzzling indeed, I contacted iTunes the other day and Derrick told me to go to Apple , I did and they said their support community has dealt with this problem before and now I am here. I think I am going to sync my iPad with iTunes for the 8th time and see if that does anything, it's been about 24 hrs. Since I did it last. Thank you for your help,Sue

  • Have installed MacOsX Lion has trouble hooking up to my StoraNas server with my usual username and password, some who can help me?

    Have installed MacOsX Lion has trouble hooking up to my StoraNas server with my usual username and password, some who can help me?

    This is a common problam discussed on the Netgear forums.  I have yet to see a solution, just comments that there will need to be a fix from Netgear.  if anyone has heard of a solution or of the update being issued, please let us know.

Maybe you are looking for

  • Problem with archiving print lists

    Hi all, we have an issue with asynchronous archive requests. The archiving of some spool lists fails. Here the error message in OAM1: Order History 12.03.2010 19:36:10     Request Created 12.03.2010 19:36:10     Asynchronous request started; awaiting

  • Installing ImagerRunner 1133a printer on Mavericks

    I just bought new MacBook Pro Retina 13,3" and I am pretty happy with it. I have to say that this is my first Mac and I am new in this world. I own a Canon ImageRunner 1133a printer/scanner/copy and it has been working fine with Windos7 PC's. Printer

  • How to set width of cfgid in percentage?

    I have to make the cfgrid compatible irrespective of screen size. But it is not taking width in perecntage(giving error : Attribute vallidation error, height/width can not be given in percentage.) I put the cfgrid inside a div and set width of the di

  • What is the Diff Between tcodes WE19 in XI and WE19 in r/3 sys

    Hi all, Can anyone tell me What is the Diff Between tcodes WE19 in XI and WE19 in r/3 sys? one more question I have a File>XI->IDOC scenario the file is picked up from the sender sys but not posted the IDOC to the receiver sys I need to post that par

  • Transaction iView - NOHEADEROKCODE=1

    Hi , I want to hide the command box by setting the parameter NOHEADEROKCODE=1 . I believe this can be set in the ITS service parameters. Since this will change the setting for all the iViews rendered via SAP GUI for HTML , I wanted to know if there i