Servlet context in application.xml does not appear to work

Hi all,
I have created a very simple servlet and an index.html file with a link
to it, then packaged it into a WAR file with the appropriate web.xml and
ias-web.xml files. I then created an application.xml file referencing
only this servlet and adding a context root. After deployment via
"iasdeploy deployapp simple.ear" and cycling the web server, I can reach
the welcome file (index.html) correctly
-"http://localhost/NASApp/simple". When I attempt to follow the link to
the servlet ("simple servlet") the URL ends
up as "http://localhost/NASApp/SimpleServlet" whereas it should be
http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
servlet executes fine.
I've deployed this into Tomcat and get the behavior I expect. It appears
that the element in the application.xml file is ignored by
iAS.
I'm using iAS SP3 on Win2k (same problem on NT).
This is such a basic behavior that I can't believe this is an existing
bug. I must be doing something wrong...
Any ideas?
Thanks in advance,
-Glen
Files are attached.

Can you show me some of your code? This works for me.
Also, you say that you are working with 6.0sp3. Are you sure? sp3 hasn't been
released yet, except in a very limited beta. (I believe only internally, but I
could be wrong about that.)
David
[email protected] wrote:
Hi all,
I have created a very simple servlet and an index.html file with a link
to it, then packaged it into a WAR file with the appropriate web.xml and
ias-web.xml files. I then created an application.xml file referencing
only this servlet and adding a context root. After deployment via
"iasdeploy deployapp simple.ear" and cycling the web server, I can reach
the welcome file (index.html) correctly
-"http://localhost/NASApp/simple". When I attempt to follow the link to
the servlet ("simple servlet") the URL ends
up as "http://localhost/NASApp/SimpleServlet" whereas it should be
http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
servlet executes fine.
I've deployed this into Tomcat and get the behavior I expect. It appears
that the element in the application.xml file is ignored by
iAS.
I'm using iAS SP3 on Win2k (same problem on NT).
This is such a basic behavior that I can't believe this is an existing
bug. I must be doing something wrong...
Any ideas?
Thanks in advance,
-Glen
Files are attached.
Name: simple.ear
simple.ear Type: application/x-unknown-content-type-ear_auto_file
Encoding: base64
Description: filename="simple.ear"

Similar Messages

  • exception-type in web.xml does not appear to work

    WLS 60 SP1 (#101616)
              <exception-type> in web.xml does not appear to work. WLS shows standard
              "Internal error 500" page instead of a custom error page. The custom error
              page is shown if <error-code> is used instead of <exception-type>.
              Any ideas? Thanks
              

    Can you show me some of your code? This works for me.
    Also, you say that you are working with 6.0sp3. Are you sure? sp3 hasn't been
    released yet, except in a very limited beta. (I believe only internally, but I
    could be wrong about that.)
    David
    [email protected] wrote:
    Hi all,
    I have created a very simple servlet and an index.html file with a link
    to it, then packaged it into a WAR file with the appropriate web.xml and
    ias-web.xml files. I then created an application.xml file referencing
    only this servlet and adding a context root. After deployment via
    "iasdeploy deployapp simple.ear" and cycling the web server, I can reach
    the welcome file (index.html) correctly
    -"http://localhost/NASApp/simple". When I attempt to follow the link to
    the servlet ("simple servlet") the URL ends
    up as "http://localhost/NASApp/SimpleServlet" whereas it should be
    http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
    servlet executes fine.
    I've deployed this into Tomcat and get the behavior I expect. It appears
    that the element in the application.xml file is ignored by
    iAS.
    I'm using iAS SP3 on Win2k (same problem on NT).
    This is such a basic behavior that I can't believe this is an existing
    bug. I must be doing something wrong...
    Any ideas?
    Thanks in advance,
    -Glen
    Files are attached.
    Name: simple.ear
    simple.ear Type: application/x-unknown-content-type-ear_auto_file
    Encoding: base64
    Description: filename="simple.ear"

  • AIM Application Icon does not appear when using Today Theme

    When using the 'BB Dimension Today' theme that came with my Blackberry Curve, the AIM application icon does not appear.  If I change back to any of the other themes, the icon reappears.  Any ideas as to why this is the case, or how I can use both the 'Today' theme as well as AIM?
    Thanks! 

    Welcome to the Frums
    Are they hidden behind another icon ? or just hidden (click menu and show all).  Sometimes that happens.
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • 'Find' function does not appear to work in TextEdit on .txt documents

    Most of the time the 'Find' function on the TextEdit application does not appear to work on .txt documents.  I have verified this by using Find on words that I know are in a document, and it cannot find them.  I've tried different options on the 'Find' function without success.  This appears to have started with version 10.6.8.  Has anyone else had this problem since upgrading to 10.6.8?

    Thanks -- but I swear it worked fine prior to either the 10.6.7 or 10.6.8 updates and now it doesn't.  I'll just keep experimenting and playing around with it and see if I can get it to work.  Maybe the new Lion O.S. coming out will fix it, although I'm not going to rush -- I made the mistake of putting Snow Leopard on right after it came out and had problems with some programs not working properly anymore (like Pro Tools, for example).  Always a good idea to hold off until most of the bugs get fixed. 

  • HT201240 This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I

    This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I created.  I am logged in as myself and it states that I am an "Admin".  The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users. 
    Can someone help me?  I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on?  What if this were my child?  This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
    Any help would be appreciated.  (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
    Thanks.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • HT1338 My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    Hi ...
    Checked to see how much free space there is on the startup disk lately?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    If disk space is not the issue, booting in Safe Mode deletes system caches that may help.
    A Safe Mode boot takes longer then a normal boot so be patient.
    Once you see the Desktop, click the Apple menu icon top left corner of the screen.
    From the drop down menu click Restart.
    See if that makes a difference ...

  • GetColumnAt(index) does not appear to work

    I am attempting to place a simple Icon in a dataGrid using
    cellRenderer. My problem is that
    'myDataGrid.getColumnAt(index).cellRenderer' does not appear
    to work. Most of the forum examples create arrays with AS and don't
    show this example. I already use XMLConnector (which works fine)
    the problem is referencing a column after the fact. I can do this
    when creating column smanually but not using getColumnAt(index).
    My code block:
    import mx.controls.gridclasses.DataGridColumn;
    import mx.controls.gridclasses.DataGridRow;
    import mx.core.UIComponent;
    playlist_dg.cellRenderer = "IconCellRenderer";
    playlist_dg.getColumnAt[3].cellRenderer = "IconCellRenderer"
    Any help is appreciated. cellrenderer is a bit hairy
    Mitch

    this is either a blindingly stupid question (for which I
    apologise) or a legit bug. Either response would put my mind at
    rest.
    Thanks
    Hillcreative

  • Msi gt70 2PE integrated HD 4600 graphics HDMI port does not appear to work.

    Hi guys,
    I have the GT70 2PE with integrated hd 4600 graphics and with a dedicated nvidia geforce gtx 880m card. The HDMI output does not appear to work.
    I'm tech savvy and cannot figure this out for the life of me. have tried nearly everything.
    lets start from the low level troubleshooting done:
    - plugged in the HDMI cable from a working computer that has HDMI hooked up to it. This did not make a difference from the new cable I bought for hooking up my TV to my laptop.
    - booted the laptop up and do not see a duplicate screen outputting via HDMI, all my video cards in my PC's I've built prior have always shown the HDMI output as a duplicate screen when I had a monitor hooked onto a PC. This makes me believe the HDMI port may be disabled/broken as there is no HDMI output at POST. Only the laptop monitor displays output.
    In Windows 8.1 I've installed the latest 4600 drivers and nvidia 880m beta drivers.(even though installing nvidia drivers shouldn't matter since I've read the HDMI output is tied to the 4600 integrated graphics chip, also if during POST the HDMI output never showed up on my TV, then installing the latest intel graphics drivers shouldn't have made a difference either, which it didnt make a difference).
    I've tried disabling the integrated graphics card then re-enabling it, as noted on the intel forums. - does nothing.
    what I've ruled out:
    -HDMI cable issues = no issues due to other PC's and devices working with the cables. All cable tests are direct connect to the TV, no intermediary devices such as hdmi splitters etc.
    -BIOS has zero options for graphics card options.
    Any ideas before i RMA this laptop? I'm at a loss. 

    OP's problem has been solved.  Also please don't resurrect and do not hijack other people's topics. Open your own one.
    >>Please read and comply with the Forum Rules.<<
    Topic Locked

  • Hashmap containsKey() method does not appear to work

    Hashmap containsKey() method does not appear to work
    I have an amazingly simple custom class called CalculationKey, with my own amazingly simple custom equals() method. For some reason when I call my containsKey() method on my HashMap it does not use my defined equals method in my defined key class. Do hashmaps have their own tricky way for establishing whether two keys are equal or not?
    THIS IS MY AMAZINGLY SIMPLE CUSTOM KEY CLASS
    private class CalculationKey
    private LongIdentifier repID;
    private LongIdentifier calcID;
    public CalculationKey(LongIdentifier repID, LongIdentifier calcID)
    this.repID = repID;
    this.calcID = calcID;
    public boolean equals(Object o)
    CalculationKey key = (CalculationKey)o;
    if (key.getCalcID().equals(calcID) &&
    key.getRepID().equals(repID))
    return true;
    else
    return false;
    public LongIdentifier getCalcID()
    return calcID;
    public LongIdentifier getRepID()
    return repID;
    THIS IS MY AMAZINGLY SIMPLE CALLS TO MY HASHMAP WHICH ADDS, CHECKS, AND GETS FROM THE HASHMAP.
    private Hashmap calculationResults = new Hashmap();
    public boolean containsCalculationResult(LongIdentifier repID, LongIdentifier calcID)
    if (calculationResults.containsKey(new CalculationKey(repID, calcID)))
    return true;
    else
    return false;
    public Double getCalculationResult(LongIdentifier repID, LongIdentifier calcID)
    return (Double)calculationResults.get(new CalculationKey(repID, calcID));
    public void addCalculationResult(LongIdentifier repID, LongIdentifier calcID, Double value)
    calculationResults.put(new CalculationKey(repID, calcID), value);
    }....cheers

    You can make a trivial implementation to return a
    constant (not recommended)What do you mean by that? Hmm.. I guess you mean that
    you shouldn't use the same constant for all objects?
    But don't see the int value of an (immutable) Integer
    as constant?
    /Kaj
    You can write hashCode to just always return, say, 42. It will be correct because all objects that are equal will have equal hashcodes. Objects that are not equal will also have equal hashcodes, but that's legal--it just causes a performance hit.
    The value is that it's really really simple to implement: public int hashCode() {
        return 42;
    } So you can use it temporarily while you're concentrating on learning other stuff, or during debugging as a way to confirm that the hashCode is not the problem. (Returning a constant from hashcode(), rather than computing a value, is always legal and correct, so if something's behaving wrong, and you replace your hashCode method with the one above, and it still breaks, you know hashCode isn't the problem.)
    The downside is that you're defeating the purpose of hashing, and any non-trival sized map or set is going to have lousy performance.
    For a decent hashCode recipe, look here:
    http://developer.java.sun.com/developer/Books/effectivejava/Chapter3.pdf

  • Crystal 8.5 (Minimum function in the function tree does not appear to work)

    HI I would greatly appreciate some help with this problem I am having.
    I am creating a report in which there is a group of records printed . Within each record there could be any number of results related to that record of which I want to extract both the maximium and minimum value and print these. This bit is fine as I do this using the maximum and minimum function available within the summary function.
    However with each of these max and min values calculated and printed I then want to create a footer that adds all these max and min values up. (This is not immediately possible using the 'summary function' max and min values as they are not presented on the 'Field explorer' dialog box for selection.
    However I can individually using the maximum 'tree function' get the report to store these values so that I can do the calculations once I have got to the footer (as the  fields defined are accessible through the field explorer. But the same minimum function does not appear to extract a result (and no I do not have zeros in the data).
    Is there a known problem with the minimum function?
    Is there another way of getting this data?
    Thank you in advance
    seyviv

    Hi Debi, it would be easier for mean to demonstrate what I wnat/am doing in the report by use of data.
    I have a file with a list of sample results. There may be many results for one sample. ie
    Sample      Result Number      Result
    98-01          1                           3
    98-01          2                           5
    98-01          3                           6
    98-02          1                           3
    98-02          2                           7
    98-02          3                           9
    98-03          1                           4
    98-03          2                           5
    98-03          3                           11
    On the first page I want to see the max and min values across all samples listed for each result number. Then as a total value (once all the result numbers max and mins are displayed I want to perform a calculation on the max and min values displayed in the list (ie. max 4 + 7 -11  and for min 3 + 5 - 6)  
                          Result 
                          Number        Max           MIn 
                          1                    4                3
                          2                    7                5
                          3                    11              6
    Result of                             0                2
    Calculation
    I have been able to do this for the max values but the minimum function does not work.
    How I currently extract this data is that I use a 'Summary field ' to calculate the max and min values in the list. However to get the data for the calculation at the bottom I use the 'Formula fields' to extract the values listed for all the results for 'result number 1, 2 & 3' and then use the 'Function tree' to get the 'Maximum value for each individual result number and then finally do a calculation on the max values. However, the same minimum function does not appear to work.
    I hope this explains what my problem is.
    Thank you in advance of any suggestions you may have
    Regards
    Viv

  • BPM Application Link does not appear in BPM Workspace (11.1.1.7)

    I spent huge amount of time to reveal why does that happens.
    All that follows further is valid for BPM Suite 11.1.1.7.
    The scenario.
    You developed a simple BPM process with Initiator pattern (maybe by following the "Quote Request" tutorial).
    But the application link did not appear in BPM Workspace.
    Here i'm skipping any kind of mistakes as "oh, incorrect swimlane", "oh, i did not include the user to the app role" and so on.
    At first, you should know about the "feature" - You have to attach task form to the Initiator Human Task to see the App Link.
    The simplest way to do that is to AutoGenerate task form (and deploy it, of course).
    Else the Appication Link will not appear.
    One exception to this rule - If your Task HAS NO PAYLOAD (no parameters) the Task Form is not required (to appearing of the Application Link).
    The second find is a bug (is think so).
    If you edited the Role that Attached to the swimlane of Initiator Task, you will not see the Application Link.
    If you look to organization.xml you will see something like this:
            <ns1:applicationRole id="StartTask.InitRole" isProcessRole="true">
                <ns5:name>StartTask.InitRole1</ns5:name>
                <ns1:processRole id="InitRole" name="InitRole1"/>
            </ns1:applicationRole>
    The Application Link will appear ONLY IF THE "applicationRole id", "applicationRole name" and "processRole id" have the same value.
    When you edit name of the application role in Organization Editor you change "applicationRole name" and "processRole name" values.
    After that "applicationRole id" != "applicationRole name" and the Link does not appear.
    How to fix?
    Just edit organization.xml (with external editor) - change the "applicationRole name" to the value of "applicationRole id".
    That allows to have value of "processRole name" something like "The Initiator Role" - that value appears in the BPMN diagram of process.
    Also you can edit organization.xml with Organization Editor and set the Name to the value of "applicationRole id".
    In that case the associated swimlane will have the same name as the "applicationRole id".
    Hope this helps somebody
    Oleg

    Flash Player is a browser add-on, not an executable program.
    If you need to open a local SWF file you will need the standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer, so you will need to make the file association manually.

  • HT4864 my email is not being downloaded to i cloud. I do get my g-mail why is this and what do I need to check to have it downloaded by icloud. icloud is my default mail but does not appear to work??

    my icloud mail does not appear to be down loading i get all my g-mail and i cloud is my default what can I do to make sure that my I cloud mail is coming to me
    ? like I said Im getting nothing what so ever in the i cloud portion of the mail section.

    Once I figured out what was kent by who manages what mail service (e-mail) went to what E-Mail my I cloud was back on line thanks.

  • Clamshell mode does not appear to work with Mountain Lion installed

    Installed Mountain Lion on an 11" MacBook Air last Friday night.  Now the MBA does not work in clamshell mode at work with an external monitor.  It does not appear to wake or connect to the monitor.

    sjrlexlibris wrote:
    I was having the same problem.  Then I happened to plug in my external power supply and the problem went away.  In other words, I only have the problem if I am running my Macbook Pro on battery power.
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    Use these steps to enable closed clamshell (display closed) mode:
    Make sure the computer is plugged in to an outlet using the AC power adapter.

  • Use this mailbox for Junk does not appear to work in Mail 4.2.

    Hello, all:
    Have been using 10.6.x since it came out on my previous iMac [24" Early 2008 model]. Went with a fresh install of 10.6.3 on the new iMac [27" i7], and ported data over.
    The only problem that I've had is that setting the Use this mailbox for Junk command in setting up Mail 4.2 does not seem to work. I've closed Mail and looked at ~/Library/Preferences/com.apple.mail.plist, and the correct mailbox name is indicated for the two accounts [IMAP and GMail over IMAP] where I'd like to do Junk Mail filtering. However, there is no centralized Junk Mail filter, which is really annoying me.
    I didn't have this problem previously in Mail 4.x, and I'm expecting that it's a bug specific to 4.2, which I haven't seen in my previous incarnation because I did the import from 3.x->4.0, and the prefs carried forward correctly from 4.0->4.2.
    Anyone else running into this, and is there anything else I should be looking at? Am I explaining the problem such that it's clear what I'm asking?
    Thanks,
    Geof

    I figured out the problem (for me, anyways). In Preferences > Junk Mail, make sure Junk filtering is enabled and make sure the "move it to junk mailbox" radio button is selected.

  • Dreamweaver CC 2014 Sync Settings does not appear to work for me...

    I synced all of the settings from one computer to the cloud with all options checked.
    Then when I import those settings on another computer that I installed dreamweaver on, it appears as though nothing is coming down. Sites info does not come down, my application preferences (code coloring specifically) don't come down.
    I am at a total loss...

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

Maybe you are looking for