With iPlanet6.0 how can I include servlets in the cgi directory?

I have created a cgi directory ex. http://hostname/cgi-bin to refer to the cgi.exe's. However.. I have developed a new servlet that replaces one of the cgi programs. The servlet context must fit in with our existing architecture so the servlets context must map to the cgi URL we have in place. This works fine with every web app server under the sun .. even Sun One7... but not on iPlanet 6.0. This is because it seems that every resource mapped by a CGI directory must be a CGI program - the web server doesn't have the intelligence to know that a servlet with the same context is available and so when the CGI directory is enabled... the servlet is not found, yet when it is removed the servlet is referenced just fine.
Has anyone any ideas? Unfortunately I can't change the context of the servlet as our existing systems depend on the original cgi structure.
Many thanks,
Mark

Right /cgi must reference a cgi and /servlet is for legacy servlets that arent deployed as applications.
I dont think you are going to make it work like that, maybe do a redirect from /cgi/cginame to /servlet/servletname . That's the only thing that may work.

Similar Messages

  • How can I include CDATA in the node-value?

    Hi Experts,
    Via XI I map an incoming mail message to an outgoing XML. To be sure to not run into problems, I want to put <![CDATA[ and ]]> around the node-values.
    Currently, I just do this in my message-mapping via a concatenate. The result LOOKS fine, but the XML-parser on the receiving application treats the CDATA as part of the total string and not as an indicator to accept every charachter within the node-value.
    How can I put this CDATA around the node-values in a correct manner?
    Thanks for your help!
    Regards
    William

    Hello,
    These Links will help you....
    This might help
    Message Mapping - same structure
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    http://www.cxml.org/files/downloads.cfm
    ******************************Reward points,if found useful

  • How can I get rid of the ~/Desktop/ directory?

    I would like to delete that infernal Desktop/ directory because I don't use it for anything. Everytime I delete it, it gets remade on reboot. I've tried running pacman -Qo on the Desktop/ directory, but pacman only seems to be able to find non-directory files.
    I figure this has to be a common question, but my forum searching skills appear to be lacking because I haven't found anyone who has asked it. All I managed to find was one thread on linuxquestions that was not helpful. Thanks.

    After a bit of googling, I found out that people do have problems with the Desktop folder reapperaing in Gnome (where Nautilus seems to be recreating it...). This link http://pythonide.blogspot.com/2007/11/h … sktop.html could be useful for Gnome ppl.
    As far as KDE4.1 is concerned, it doesn't have any such problem i.e. Desktop folder doesn't reappear after deletion. Additionaly, one can change one's default "Desktop folder" using start-menu > System settings > About me > Paths > Desktop path.
    UPDATE: If your "default download dir" is Desktop, firefox would graciously create one for you if it doesn't exist, as ozar rightly said. This applies to KDE-4.1.
    Last edited by Onwards (2008-08-08 14:26:05)

  • Grey screen with loading bar.how can i fix this watch the video below

    https://www.youtube.com/watch?v=bRrOc7fmnEw

    Ok what is happening is this.
    You have corruption in your MacintoshHD partition, OS X is loading partially and runs a at boot fsck drive check/repair on the MacintoshHD partition and it's failing, why you get a stuck loading bar while trying to boot.
    You booted into RecoveryHD parttion and are trying to install OS X, however it can't be installed in RecoveryHD, nor Windows/BooCamp. Those partitions are not for OS X or don't have the right format.
    If you can't over install OS X over itself into the MacintoshHD parititon, which is properly formatted for it, it means there is corruption there in that partition the sructure is damaged and needs to be erased.
    If the MacintoshHD partition does't appear, it's also a serious issue and the entire drive will have to be erased to recreate the MacintoshHD partition.
    Good news, your drive appears to work fine. It just needs data recovery and reformatting.
    This is what your going to have to do.
    1: Boot into RecoveryHD and use Disk Utiltiy and OS X installed onto a blank powered external drive, you then can hold the option/alt key to boot from it.
    2: If you need to grab your recent files out of the MacintoshHD partition you can do that or use Data Rescue to try to recover from the corrupted system. Also you can use WinClone 3 to clone the BootCamp partition to another external drive.
    3: Once you have your OS X users files and BootCamp cloned off, your ready to erase the ENTIRE drive (disk0) using the 3x security overwrite to map off the bad areas, then format and install OS X  just like you did on the external drive.
    4: Holding the option/alt key down while booting gets you Startup Manager, where you can select what you want to boot from, external drives, Windows or MacintoshHD. System Preferences > Startup disk will make it pernament.
    You can't boot from the cloned Bootcamp, but you can reverse it back on and then boot from it like before.
    Create a data recovery/undelete external boot drive
    Reset your Mac
    Make a bootable clone of your boot drive

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • I have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    i have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    You need OSX 10.7.2 or higher in order to access icloud.  The mobile me account is now defunct (it closed down more than a year ago).

  • How can I include 3rd party jar files with my custom extention?

    I'm writing an extension that is dependent upon some 3rd party jars. How can I include/package these with my extension?
    we're using the 11g tech preview
    thanks,
    Dylan

    Do you mean that you need these files to appear in JDeveloper as a library available for the developers who build a project and use your extension?
    You can create a library in JDeveloper with JAR files by simply adding the following to your extension.xml file:
    <jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension">
    - <libraries xmlns="http://xmlns.oracle.com/jdeveloper/1013/jdev-libraries">
    <library name="My Extension Library">
    <classpath> ${ide.extension.install.home}/lib/some.jar</classpath>
    </library>
    </jdeveloper-hook>

  • I just added my Facebook contacts with my iphone Contacts, how can I include those in my mac Contacts?

    I just added my Facebook contacts with my iphone Contacts, how can I include those in my mac Contacts?

    I did that, but the recently added FB contacts in my iphone are not on my mac's contacts.

  • How can I include personalization to WLS servlets

    Hello
    I have WLS 5.1 and WLCS\PS 3.2
    How can I personalized servlets which works on WLS 5.1 in the best way?
    (Some docs on BEA site?)
    Regards
    BP

    Hi Bartek,
    WLPS is running on WLS. Think of it as a really big WLS
    application comprised of EJBs, JSPs, etc. You typically do
    not need to run both at the same time. Take a look at the
    WLPS installation directory and you'll find things such as
    weblogic.properties which should be familiar.
    To add personalization, it's easiest if you use JSPs as we
    provide a number of tag libraries. If you must use servlets
    then you'll need to use the Java APIs. There is documentation
    for the tags and JavaDocs at:
    http://e-docs.bea.com/wlcs/docs32/index.html
    I would suggest taking a look at the Personalization Server tour
    to get an overview of what's available.
    Cheers,
    Skip
    "Bartek Peczkis" <[email protected]> wrote in message
    news:[email protected]..
    I know that my question is very general. Thanks for any suggestions.
    My project working on WLS 5.1. I must adding personalization to it.
    And I don't know how can I join WLPS with WLS.
    I know that
    WLS listens at port 7001
    WLPS listens at port 7501
    (default)
    How WLPS connects with WLS?
    Do both servers must be running?
    Skip Sauls wrote:
    Hi Bartek,
    Can you be more specific as to what you would like to do? By
    personalized servlets, what do you mean?
    Thanks,

  • How can I include beans with different JREs as activeX components

    Hallo,
    I have to integrate two java applications via activeX in one VB Application.
    The first application requieres JRE 1.3.1_09, the second needs JRE 1.4.2,
    which means that they need different activex bridges.
    Both should be intergated in the same vb application. How can I do this?

    The best recomendation I have is to try the bean that requires 1.3.1_09 and see if it will run in 1.4.2 and if not update it.

  • How can I include my business email fonts on the ipad signature?

    How can I include my business email fonts on the ipad signature?

    It's a lot easier with Photo Manager Pro.
    https://itunes.apple.com/sg/app/photo-manager-pro/id393858562?mt=8

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs.
    Now I want to build an application, which runs on the notebook without LabVIEW but with the similar DQACard-AI-16XE-50, too.
    How I have to install the DAQCard on the notebook and how can I include the driver?

    Sylke,
    Check the following link which guides you step by step to install the driver and configure the daq board:
    http://www.ni.com/support/install/
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • How can I include results of a subsequenc​e, which runs in a new thread, in the main sequence test report

    Hi!
    I', m working with TestStand Version 4.2.1. I have a main sequence, which calkls different subsequences. All these steps are properly reported. One of subsequences runs as "new thread". How can I include its results in common test report of the main sequence?
    I have markes variables of the subsequence as it is requred for test report (it works OK if it is not a new thread). If the the numerical test, which is executed in this subsequence is correct, I get no results at all. If the numeric test failed I get somewhere in the main sequence report a "red message", that test failed whithout any reference to the step or values of vaiables which were not correct.
    I tried an option "On the fly" in the Report Configuration , but haven' got any useful results. What shall I do?
    Best regards
    Solved!
    Go to Solution.

    Hi,
    I tried it but without success:
    1) I got a reference to the Thread as "Locals.Step1=RunState.Thread" for every of 2 steps which start a thread
    2) I put both "Waits" after steps with (and without) threads, at the same place, where they were before
    3) The sequence run OK, but when it came to Wait for Thread 1 it waited for ever, I had to terminate sequence
    Does it mean, that I got a false reference (suppose No - please, have a look at attached pic)?
    Or does it mean, that Waits are badly placed in the sequence (threads are already terminated)? Here is a pic of sequeces calls with Wait after them.
    Regards
    Attachments:
    Thread.JPG ‏34 KB
    SequenceCall.JPG ‏32 KB

  • How can I include merged projects in the printed documentation?

    I have a master project with several merged projects. This works splendid with online documentation, but when I am asked to provide a printed version, it seems I have to create separate documents for each merged project.
    Is there any setting or fix that enables print also of merged projects and topics when I create printed documentation?
    Pretty please with sugar on top :-)

    Hm - there is a contract with the customer, saying that he wants documentation both as word and pdf, and as we now aim at only writing online documentation, these tasks create extra work, as we are delivering updates each month
    But yes - two beasts, where only chm is actually needed we think.
    -Tone
    Date: Tue, 3 May 2011 06:53:04 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I include merged projects in the printed documentation?
    Hi there
    I'm a bit curious as to the reasoning behind your "persuation process for using chm-files only".
    CHM files and printed documentation are two entirely different beasts.
    Cheers... Rick
    | http://www.robowizard.com/pc.gif | Helpful and Handy Links
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    http://www.gooberguides.com/ProductPages/RoboHelp/RoboHelp82Day.htm
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com |
    >

Maybe you are looking for