About the element, 'expiration-setting' in the orion-web.xml

orion-web.dtd says
<!-- Specifies the Expires setting for a given set of resources, useful for caching policies (for instance for browsers not to reload images as frequently as documents etc). -->
<!ELEMENT expiration-setting (#PCDATA)>
<!ATTLIST expiration-setting expires CDATA #IMPLIED
url-pattern CDATA #IMPLIED
>
I thought this element will help for tuning.
My question is,
if there is a frequently accessed images, and url-pattern is "http://image.myserver.com", i assumed the syntax like the following,
<expiration-setting expire="?" url-pattern="http://image.myserver.com">
but i don't know what's the meaning of the attribute value 'expire'? And big or small one in my situation? and Basically does it work in the oc4j server?
null

See
Oracle® Application Server Performance Guide
*10g Release 2 (10.1.2)*
*6.6 Improving Servlet Performance in Oracle Application Server*
Here is an example:
--- snip ---
<PRE>
<orion-web-app
deployment-version="2.0.0.0"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/">
<!-- Session-tracking settings for this application.
Do not use cookies to track servlet sessions -->
<session-tracking cookies="disabled"/>
<expiration-setting expires="86400" url-pattern="*.jar"/>
<expiration-setting expires="never" url-pattern="*.gif"/>
</orion-web-app>
</PRE>
--- snap ---

Similar Messages

  • Orion-web.xml access-mask not working

    Hi, I am trying to restrict access to a specific application via the orion-web.xml descriptor. This would be OC4J in OAS 10.1.3.4.
    I have done this in the GUI by using the "Advanced Deployment Plan Editing -> Edit Deployment Plan" option. I thought this would be safer than editing the files by hand. The application deploys successfully, and in orion-web.xml of my deployed application, this translates into:
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"       
            deployment-version="10.1.3.4.0"
            deployment-time="1241707803607"
            jsp-cache-directory="./persistence"
            jsp-cache-tlds="standard"
            jsp-taglib-locations=""
            temporary-directory="./temp"
            context-root="MyApp"
    schema-major-version="10" schema-minor-version="0" >
            <access-mask default="deny">
                    <ip-access  ip="127.0.0.1" mode="allow" netmask="255.255.255.255" />
                    <ip-access  ip="192.168.0.100" mode="allow" netmask="255.255.255.255" />
                    <ip-access  ip="192.168.0.101" mode="allow" netmask="255.255.255.255" />
            </access-mask>
            <!-- Uncomment this element to control web application class loader behavior.
                    <web-app-class-loader search-local-classes-first="true"  include-war-manifest-class-path="true" />
            -->
            <resource-ref-mapping name="jdbc/myDB" location="jdbc/myDB" />
            <web-app>
            </web-app>
    </orion-web-app>This looks OK to my eyes, but unfortunately it doesn't restrict any access at all. I have restarted the specific application, and I have also restarted the entire OC4J. No access is restricted; I can pull up the application from any IP address. My intention was to restrict access only to the 2 IP addresses (and localhost by IP) listed above.
    I have reviewed multiple metalink articles on this topic:
    Note 438493.1 - How to Restrict access for EM Database Control only from Specific Hosts / IPs
    Note 178665.1 - How to Restrict Access to OC4J to Specific Hosts or IP Addresses
    Note 311137.1 - How to restrict access to EM website based on IP Addresses/Domain Names
    None of them seem to indicate that I have done anything wrong.
    If anyone has any feedback on this topic, identifies a problem with my config, or has knowledge of a product bug, please respond to this thread.
    Many thanks in advance for your feedback.

    were you able to resolve this?

  • Can't I use my Scanner with the Elements 10 editor without the organizer??

    I have been using Photoshop Elements for a looong time to help me create the product images I need for my online business. It's been a love-love relationship... until I took advantage of a special offer and bought Elements 10. Now it seems the only way I can scan images is thru the Organizer.... and the organizer is something I don't need.
    Is there a way to scan my images thru the Editor only... and completely bypass the organizer (as I'm able to do with my older version of Elements)? Like a twain plugin I can install or something?
    I may scan 10 images and decide to use only 3 of them... and those are the only ones I save.
    With the way PSE10 is set up using the Organizer to scan, it's saving all 10 of them. Not to mention the extra steps of scanning thru the Organizer... (which means that pop-up window for my scanner every time), back over to the editor to pull the images in for editing, back to my files to delete the ones the organizer saved that I don't want... etc etc etc.
    It's like 5-6 extra steps altogether and a huge time-sink for me (you know the old saying... time is money).
    If there's no way to bypass the Organizer for scanning.... can I get a refund on my purchase? My older version of Elements works beautifully for me...  I was just hoping for  more sophisticated image editing capabilities.
    VERY frustrated right now.

    Thank you very much for your explanation which I fully understand.  Since a "fix", as you say, is not a solution might it not be a good idea to alert purchasers of the latest editions of Elements that they have an option to try this alteration to the installation in order to be able to import images from a scanner?  (My own experience with versions prior to 9 always worked perfectly!)  I do not know but does Photoshop CS5 allow the user to import images from a scanner or does the user have to use a similar solution to what applies to Photoshop Elements?  I find Elements to be a very good app and am sure it is a good selling product for Adobe for amateur/semi-pro users that the alternative that I suggest may be a useful tool for existing or new users who want or need the capability to import from a scanner rather than having to go through other more difficulty and time consuming ways of doing the same task.  Kindest regards and with my best intentions.
    Fergus Cooper
    Date: Tue, 20 Dec 2011 12:50:51 -0700
    From: [email protected]
    To: [email protected]
    Subject: Can't I use my Scanner with the Elements 10 editor without the organizer??
        Re: Can't I use my Scanner with the Elements 10 editor without the organizer??
        created by Barbara B. in Photoshop Elements - View the full discussion
    It's not a "fix", exactly. The TWAIN plug-in causes a lot of crashing in PSE so in the past couple of versions adobe makes you install it if you want it.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4096095#4096095
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4096095#4096095. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I just restored my phone, however I have to sign into icloud and the phone is set to the previous owner's email and password. I am unable to get in contact with them. What can I do?

    I just restored my phone, however I have to sign into icloud and the phone is set to the previous owner's email and password. I am unable to get in contact with them. What can I do?
    Please help!

    Hello codyfromseminole,
    After reviewing your post, I believe your device is under Activaltion Lock. The following article will provide you with more information about the feature:
    iCloud: Activation Lock
    With iOS 7 or later, Find My iPhone includes a feature called Activation Lock, which is turned on automatically when you set up Find My iPhone. Activation Lock makes it harder for anyone to use or sell your iPhone, iPad, or iPod touch if it’s ever lost or stolen. 
    With Activation Lock, your Apple ID and password are required before anyone can:
    Turn off Find My iPhone on your device
    Sign out of iCloud on your device
    Erase and reactivate your device
    Important:    Make sure to remember your Apple ID and password, and that your password is unique and secure—someone else shouldn’t be able to guess it. For more information, see the Apple Support article Security and your Apple ID. 
    If you want to give away or sell your device, be sure to erase your content and settings (in Settings > General > Reset > Erase All Content and Settings). When you erase your content, Find My iPhone and Activation Lock are also turned off. 
    If you no longer have the device, follow the instructions to remove a device you no longer have. For more information, see the Apple Support article What to do before selling or giving away your iPhone, iPad, or iPod touch. 
    For more information about Activation Lock, see the Apple Support article Find My iPhone Activation Lock in iOS 7.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How do you change the time on the all day setting in the iCal on an iPhone?

    I updated to ios 7 and when I want to put an all day event in. When I set it for an alert, it will only allow it to go off at 9:00 am. How do I change the time of 9:00?

    rlh264 wrote:
    When I set [an all day event] for an alert, it will only allow it to go off at 9:00 am.
    That is not exactly true.  The default time for the alert is set to the day of the event at 9:00 AM.
    So, there are two points to be made:
    1.  You can change the default time of the alert for an all day event at Settings > Mail, Contacts, Calendars > Default Alert Times > All Day Events.  But those choices are limited, and all occur at 9AM (on some day).
    2.  You can make the event almost (but not quite) an all day event (for example, a 23 hour long event), and then you could edit the event to have much more flexibility about exactly when the alert occurs.

  • I accidently deleated file from the Elements organizor and from the hard drive. Can I get it back?

    I accidently deleated a file from the Elements organizor and from the hard drive. Can I get it back? How to do it?

    There's a good chance that you can if you haven't done too much work after deleting it.  Typically files are not actually wiped from the hard drive, rather the space they take is marked as free to use by another file if needed.  So if it hasn't been used by another file it can be recovered.
    Try this program...  it will help if you know where the images were stored.
    http://www.piriform.com/recuva
    Colin

  • HT1841 How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    Sorry. You're not making sense. Please re-phrase the question or post in your native language.

  • Loading the different result sets in the same sequence for the target table

    Dear all,
    I have 5 tables say A,B,C,D as my source and i made 3 joins P,Q,R .the result sets of these 3 joins are loading into a target table X but with 3 different targets with same table name.
    I created one sequence say Y as my target table has primary key and mapped to three different targets for the same target table which i need to load.
    But after deployed and executed successfully ,i am able to load the data from three join result sets with differeent sequence numbers.
    I am looking to load data like this.
    If First Result set P has 10 Records,SEcond Result Set Q Has 20 and the third result set has 30 records then while loading data into first target it creates the seq for the 10 records from 1..10 and while loading the data for second result set ,it creates the sequence from 11 ...20 and while loading the third target with the third result set it creates the sequence from 21 ----30.
    But i am looking to load the three result sets in the sequence 1to 10 but not like creating fresh sequence for each result set.
    how can we achieve this in owb?
    any solution for this will be appreciated.
    thank you
    kumar

    My design is like following
    SRC1
    ---->Join1--------------------------->Target1( Table X)<-----Seq1
    SRC2
    SRC3
    ----> Join2----------->Target2(Table X)<----Seq1
    SRC4
    -----> Join3 -------> Target3(Table X)<-----Seq1
    SRC5
    Here the three 3 targets are for the same Table X as well sequence is same i.e seq1
    If the First Join has 10 rows ,Seq1 generates sequence in 1 to 10 while loading target1
    But while loading second target,Same Seq1 is generating new sequence from 11 but i am looking to load target2 and target 3 starting from sequence 1 but not from 11 or so.
    As per your comments :
    you want to load 3 sources to one target with same sequence numbers?
    yes
    Are you doing match from the other two sources on first source by id provided by sequence (since this is the primary key of the table)?
    No
    can you please tell me how to approach for this?
    Thank You
    Kumar

  • MY 2YR OLD LOCKED AN IPHONE 3GS THAT HAS NO SIMS CARD I TRIED ALL KIND OF PASSWORDS IT LOKED ME OUT FOR 15 MINS IS THE PASSWORD THE LAST PASSWORD SET ON THE PHONE

    MY 2YR OLD LOCKED AN IPHONE 3GS THAT HAS NO SIMS CARD I TRIED ALL KIND OF PASSWORDS IT LOKED ME OUT FOR 15 MINS IS THE PASSWORD THE LAST PASSWORD SET ON THE PHONE

    Please turn off your cpas lock.
    All caps indicates shouting, is considered rude, and is difficult to read ( especially when you use no punctuation or sentence structure at all).  Many will not read such posts.
    Do as the manual says to do and restore the iphone.

  • Display the current mute setting in the system tray!

    display the current mute setting in the system tray! I hope the developers will fix this issue. THis is only available in jailbroken iphones now,
    I know i could use the switch on the side, but most of the time I'm looking on the screen on my iPhone not on the side. The problem is, that a miss incoming calls

    Right, but the original question was not, "do you think a mute status indicator on the screen would be useful". The question was whether there would be some way to implement one.
    In any case, what you seem to be overlooking is that there would be a lot of people who MIGHT need to be reminded of the mute status, PASSIVELY. Its a different cognitive operation, where the device takes the lead and reminds ME of its status, on-screen, (just as I look at it for other status indications, such as new email in inbox).. without me having to remember to think of the mute status question unprompted. I find it totally illogical that Apple left this out. It could be in the bar at the top with the other status indicators SO EASILY.
    Message was edited by: Warner62

  • I recovered my stolen iPhone 4s thru' IMEI tracking and Police's help. The thief had set up the phone with his apple account. He is now out of police's contact and i could not retrieve his Apple/icloud PASSWORD which i need to ACTIVATE my iPhone. Any way?

    i recovered my stolen iPhone 4s thru' IMEI tracking and Police's help. The thief had set up the phone with his apple account. He is now out of police's contact and i could not retrieve his Apple/icloud PASSWORD which i need to ACTIVATE my iPhone. Any way?

    No, not without help from the thief.

  • I can record and hear me recording through the computer's built in mic, but can't get the external mic and headphones to work., The preferences are set for the external mic and headphones...

    I can record and hear me recording through the computer's built in mic, but can't get the external mic and headphones to work., The preferences are set for the external mic and headphones...

    What operating system are you using? Is it on a Mac or a PC? Which preferences are set for external mic/headphones, Audition's or the computers?

  • How to change the element of container in the task

    Hello,all.
      I am new for workflow,today i find a new problem:when i finish a activity in the template,the element of container in the task can not be changed. Why? And how to change?
      Thanx,

    Hi Nemo,
    What I understood from your query is as follows -
    You have worked with Task activity in a workflow template. Now you want to change the element in Task Container, which you are not allowed to do so.
    If above is your query, kindly find following solution -
    1. You must have used some BOR object in your task activity.
    1. If you have used automatic binding between the method of BOR and workflow task then automatically the container elements are created. Now if you want to change these container elements then recommended is to change them first in method of BOR and again link the method. Let these elements generate automatically as part of binding.
    2. If you don't have any binding between your BOR method and Task container then, you don't have any elements created automatically. So you can directly create new elements inside task.
    Hope this helps you.
    PS If the answer solved your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • In imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

    in imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

    in imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

  • Cannot open the lock to set up the safety setting on OS X yosemite

    cannot open the lock to set up the safety setting on OS X yosemite

    You might be able to find a driver here.
    Gimp - Print
    HPIJS for Mac OS X

Maybe you are looking for

  • Sending mail with attachment with a JWS deployed app

    Hi, I'm trying to solve this problem: I have an application which provides the possibility to send e-mail message with various kind of attached file (such as pdf, doc, txt, ...). The application uses JAF and JavaMail libraries and it works fine when

  • Connection to oracle database using jdbc

    i am using eclipse as editor. How to connect to the database? How to create a new table in oracle database through a servlet invoked program. My servlet receives input from an html page and then it can either do the above mentioned activities by itse

  • More language to Nokia X2

    Dear Friends, Is it possible add the Greek Language to my telephone X2 ?

  • Advanced Queues

    Hi: I was testing AQ on Oracle Database XE, and it seems working correctly. In the 'Strawman Feature Factoring List' I have seen that Advanced Queuing should be comprised in the production release. Has anyone tested throughly this feature on XE? Did

  • I need to reset my apple ID password on an old email address, how do I do this?

    I am trying to update some apps but it is requiring an Apple ID to the email address that no longer exists, how do I reset this so I can update them