Why is com.sun.config.ConfigureListener the frist one to be executed when T

In JSF1.1 guessNumber demo
The web.xml does not define a ServletContextListener.
why is com.sun.config.ConfigureListener the frist one to be executed when Tomcat begins running?
web.xml:
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>JavaServer Faces Guess Number Sample Application</display-name>
<description>
JavaServer Faces Guess Number Sample Application
</description>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to validate the XML in your
faces-config.xml resources against the DTD. Default
value is false.
</description>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to verify that all of the application
objects you have configured (components, converters,
renderers, and validators) can be successfully created.
Default value is false.
</description>
</context-param>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/guess/*</url-pattern>
</servlet-mapping>
<security-constraint>
<!-- This security constraint illustrates how JSP pages
with JavaServer Faces components can be protected from
being accessed without going through the Faces Servlet.
The security constraint ensures that the Faces Servlet will
be used or the pages will not be processed. -->
<display-name>Restrict access to JSP pages</display-name>
<web-resource-collection>
<web-resource-name>
Restrict access to JSP pages
</web-resource-name>
<url-pattern>/greeting.jsp</url-pattern>
<url-pattern>/response.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>
With no roles defined, no access granted
</description>
</auth-constraint>
</security-constraint>
</web-app>
com.sun.config.ConfigureListener is the frist one to be executed when Tomcat begins running?
why?
Thread: main
<init>() : 98, com.sun.faces.application.ApplicationAssociate, ApplicationAssociate.java
<init>() : 98, com.sun.faces.application.ApplicationImpl, ApplicationImpl.java
getApplication() : 74, com.sun.faces.application.ApplicationFactoryImpl, ApplicationFactoryImpl.java
application() : 384, com.sun.faces.config.ConfigureListener, ConfigureListener.java
configure() : 427, com.sun.faces.config.ConfigureListener, ConfigureListener.java
configure() : 402, com.sun.faces.config.ConfigureListener, ConfigureListener.java
contextInitialized() : 332, com.sun.faces.config.ConfigureListener, ConfigureListener.java
listenerStart() : 3669, org.apache.catalina.core.StandardContext, StandardContext.java
start() : 4104, org.apache.catalina.core.StandardContext, StandardContext.java
start() : 1012, org.apache.catalina.core.ContainerBase, ContainerBase.java
start() : 718, org.apache.catalina.core.StandardHost, StandardHost.java
start() : 1012, org.apache.catalina.core.ContainerBase, ContainerBase.java
start() : 442, org.apache.catalina.core.StandardEngine, StandardEngine.java
start() : 450, org.apache.catalina.core.StandardService, StandardService.java
start() : 683, org.apache.catalina.core.StandardServer, StandardServer.java
start() : 537, org.apache.catalina.startup.Catalina, Catalina.java
invoke0() : -1, sun.reflect.NativeMethodAccessorImpl, NativeMethodAccessorImpl.java
invoke() : 39, sun.reflect.NativeMethodAccessorImpl, NativeMethodAccessorImpl.java
invoke() : 25, sun.reflect.DelegatingMethodAccessorImpl, DelegatingMethodAccessorImpl.java
invoke() : 585, java.lang.reflect.Method, Method.java
start() : 271, org.apache.catalina.startup.Bootstrap, Bootstrap.java
main() : 409, org.apache.catalina.startup.Bootstrap, Bootstrap.java

why is com.sun.config.ConfigureListener the frist one to be executed when Tomcat begins running(no config in web.xml)?

Similar Messages

  • Why does apple allow apps in the App Store hijack your Internet when certain websites? Why doesn't apple remove their products from the App Store?.

    Why does apple allow apps in the App Store hijack your Internet when certain websites? Why doesn't apple remove their products from the App Store?.

    Apple saw it as their responsibility since the redirection took me to the App Store. They assisted me in stopping the redirection which is occurring on many peoples iPhones. It's a have java script problem that adking is using to get you to buy their games. The websites work normal and then all of the sudden the website is taken over by adking.com.  You can no longer use the website as it immediately takes you to the App Store without ever showing a popup to cancel the redirection. They were very helpful fixing the problem should others experiencing this specifically with adking.com.
    No need to get defensive. I'm not the only one experiencing the problem Apple said.

  • I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear.

    I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear. The old Macbook Pro I was using used Snow Leopard. Now with the new it is a Lion. Toruble now when I click onto new message window I have the spinning icon which show it is trying to load. However it fails and Im left with having to Force Quit it. How can I resolve this problem

    Tunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • Yahoo is my home page. I updated to the new version of firefox per yahoo and now my tool bar has changed. I want the old tool bar back? The old one had an X when I wanted to stop something.

    yahoo is my home page. I updated to the new version of firefox per yahoo and now my tool bar has changed.
    I want the old tool bar back? The old one had an X when I wanted to stop something (I just clicked on the X). Also, the old toolbar has a "home" that I clicked on and it went staight back to yahoo main page

    Not sure whether for instance you initially had a Yahoo optimised version of Firefox, and have now overwritten it with an official Mozilla version. Although the Mozilla version should NOT add unwanted features, but the Yahoo version may well do.
    If you merely need to find the Yahoo emails page quickly just add it as a bookmark or as a bookmark on the Bookmarks toolbar and make sure that is visible.
    Clicking the star icon on the location bar whilst looking at your emails will bookmark the page.
    * [[How to use bookmarks to save and organize your favorite websites]]
    * [[Bookmarks Toolbar - Display your favorite websites at the top of the Firefox window]]
    I do not use Yahoo myself,and am not sure what add-ons are available. You could search yourself using
    * FirefoxButton -> add-ons
    ** see [[Find and install add-ons to add features to Firefox]]
    ** examples [https://addons.mozilla.org/en-us/firefox/addon/yahoo-toolbar/ yahoo toolbar] & [https://addons.mozilla.org/en-us/firefox/addon/yahoo-mail-notifier/ mail notifier]
    * also look at Yahoo's own information such as http://help.yahoo.com/tutorials/toolbar/cl3/c3_ff_toolbar1.html

  • My password works fine when I turn the computer on, but when I try to wake it from sleep mode the computer doesn't recognize my password -- the same one I used successfully when I turned the computer on.

    My password works fine when I turn the computer on, but when I try to wake it from sleep mode the computer doesn't recognize my password -- the same one I used successfully when I turned the computer on.

    Okay, I seem to have solved the problem I posted about earlier.  I noticed that the language preference in the upper right hand corner of the screen (between the date and time and the Spotlight icon) had somehow gotten switched from American English to French.  When I switched it back to American English, my password worked when waking the computer from sleep mode.  I have no idea why changing the language preference would affect the way the password works but that seems to have been the case.  I'll post again if I experience more problems.

  • HT204053 I need to change my i cloud e-mail address to the same one I set up when I purchased my apple account I just created an I cloud address and when Ijust read the set up for I cloud it says  I should use the same e-mail address that I started with H

    I did not know that when I created a e-mail address that I was suppose to use the same one that I created when I first signed up with Apple I phone. I want to change my e-mail address to the one I first had How can I change it? I do not need two e-mail accounts It should have read that when you are setting up an e-mail address use the one that you first signed up with. Not after you go through all the set ups for I cloud it tells you at the end to use your account that you first started with. Can you please help me I am new at this and I still can not set up on my computer with my phone to I cloud so if I had my phone stollen I can find it I also have and I pad to set up yet It is 3 days and I still can not set it up
    Thank You and Hoplefully I can change my e-mail address so I can have everything on one account

    If you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
    You will have to set up a separate iCloud account or your iPads will mirror each other.

  • How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

  • Why does my computer tell me the "Disk was not properly ejected" when waking from sleep mode?

    I am a real "Newbie" to Mac OS. I have a new iMac 21.5" running OS X Lion. When I awake the computer from sleep mode with the spacebar on the keyboard, I get the message "The disk was not ejected proper, etc.". Iss there something I am doing wrong?
    Thanks,
    Mike G.

    I am one of those who had experienced this kind of problem.  My former Time Machine disk used to automatically eject itself when my iMac sleeps, hence upon waking up my iMac. i always get the error message that the disk was not properly ejected.
    From what I was able to gather from my experience, until the time that I found a workable solution, I think I can say that the problem is most probably caused by the incompatibility of certain external drives with how the iMac operates when on sleep and upon waking up.  Some external drives are just not able to cope with how the iMac tries to remount a connected disk after it wakes up from sleep.  There are just some external drives that cannot continue to be mounted after the iMac wakes from sleep.  There are just some external drives that are not responsive enough. In other words, the existence of the problem lies with the type of external drive you are using.
    My former Time Machine disk, the problematic one, was an Imation M300 Apollo 1 TB external disk.  It unmounts everytime my iMac went to sleep, but does not remount after waking up the iMac.  The disk will continue to be unmounted until I physically remove its USB connector and replug it in the iMac.
    I replaced my former Time Machine disk with my current one, a Transcend Storejet 1 TB.  And the problem went away.  The Transcend disk continue to be mounted after the iMac is woken up even from the longest of sleep.  I have even the energy saving option "put the hard disk to sleep..." checked.  The Transcend disk comes with a Y cable, i.e. it has two USB connectors, but I only connect the one for both data and power--and it still remains mounted even after waking the iMac from sleep.
    The sad realization, however, is that since there are only some external drives that are not able to work with the iMac, no matter how many those some may seem to be, it will be highly unlikely for Apple to itself fix this kind of a problem.
    I, therefore, make the following recommendations:
    1.  Check first if your problematic disk has a firmware upgrade available.  In some cases, the firmware upgrade may be enough to make the disk more responsive to the iMac waking up.
    2.  If there is no firmware upgrade available, check if your power/data USB cable is properly working.
    3.  If your power/data USB cable is in order, and the problem still persists, I think it is inevitable that you have to replace the problematic disk with a newer one that could respond well with the iMac's wake/sleep operation.  With what disk will you replace your problematic one?  I can only recommend from my personal experience the Transcend disk I mentioned earlier.  You may also search this forum on other brands of disks that may also work.
    Regards.

  • Why field length is shorter than the actual one in a SQL query based grid?

    Hi,
    I have a grid based on a SQL query on a UDO table, but I found when I retrieve the data from a SQL query some column show only part of data. For example, in SQL server the query should return one column data like "ABCD", but in the grid it only shows "A" or "AB". I think the SQL query should be good because when copy the same query executing in SQL server side, it returns me all complete data. But when it is executed in add-on inside a grid, then some column only returns me partial data. In most case it only return the first one or two characters. I don't see any special in the query. Basically it is normal SELECT query, the only possible special is it is using "UNION".
    The SQL query looks like below:
    SELECT fieldA, fieldB FROM table1
    UNION ALL
    SELECT fieldA, fieldB FROM table2
    When it is executed in SQL side, everything looks good, but when i run it in a grid in add-on then fieldB column only display partial data.
    Any idea?
    Thanks,
    Lan
    Edited by: ZHANGLAN on Oct 4, 2011 11:55 PM

    Hi All,
    Thanks for all your replies, I agree that the issue is caused by the UNION in SQL query. Because when i create a view in SQL based on that query and the grid is based on that SQL view then everything is fine now. I think Petr's solution should work in this case.
    Thank you again!
    Lan

  • Why am I seeing many of the same reocrds in my PSA when I run my infopackag

    I am running into an issue when on occassion I will get the same records several times over when I run my infopackage.  It grabs by date which is on each record so it should nver pull it more than 1 itme.  this doens't happen all the time but seems to occur if i take a bigger date range

    Hi,
    Please delete the requests from PSA if you do not need these to be loaded.
    This will sort your problem.
    -Vikram

  • Which of the 6 download options is the correct one for elements 11 when running windows 7 64bit.

    There are 6 options available to download but no clear instructions as to which one to downlaod. Which one is correct?

    Where are you trying to download Elements 11 from? Go to http://www.adobe.com/downloads/ and select the relevant product(Photoshop or Premiere Elements) and click on the the download link.
    Thanks
    Nikhil

  • Why do I get this error (The request timed out.(102)) when i try and download an app from the mac app store?

    I have been trying to download the new updates for Aperture , Safari, and Iphoto. I click update and it gets the download bar but it doesnt get passed 0 KB when downloading the apps. Previously I had gotten the NSURLErrorDomain error -3001.)(102) but that stopped. Why is it doing this?

    typing
    http://swcdn.apple.com/content/downloads/53/02/041-8081/2jwp4wjrwygtm4lc608qy4h0 %20n4a9yyq37g/Safari6.0.2Mountain.pkg
    in the Safari address bar will download the update, but at the moment the Apple servers are very slow.

  • Why am I unable to sort the music on my iPhone 4S when viewing it in iTunes?

    Hello,
    Apologies if this has been answered already; I searched for it but none of the results appeared relevent to my issue.
    I have an ipod touch 4th generation, which I manually manage from the the iTunes library on my home PC (Windows 7, 32bit). I am able to plug the ipod touch into my work laptop, to listen to the music on it through iTunes. I can see the list of songs on my ipod via the 'Music' tab of the 'Devices' section in iTunes. In that view, I am also able to sort the list as I see fit, by clicking on the various column headings to change the order of that column appropriately.
    I have recently purchased an iPhone 4S, and loaded it with music from my own computer's iTunes library in the same way I did for my ipod. However, when viewing the songs on my 4S on my work laptop in the same way as above, I am unable to sort the view at all. Why is this?
    It's annoying not being able to sort the songs in an order different to how they were sorted on the parent machine. For example, if I'm looking in my song list for a song I added recently, I was able to find them on my ipod by simply ordering the list by Date Added or Date Modified, but there seems to be no way of doing this for the 4S?
    Thanks in advance.

    Thanks for your message.
    I have downloaded the latest iTunes [11.1.5 (5)] with no luck, unfortunately. As it did with 11.1.4 (62), iTunes recognizes my iPhone, I can select the music to sync, click sync, it appears to sync but remains completely unchanged in my iPhone music.
    Any tips are welcome!

  • Why did iso7.1.1 change the ability to see your apps when you use four fingers to partly close the app your in. In 7.1 you could use four fingers to partly close a app and see all the apps on that home screen. I used this all the time to check the date

    Why did ISO 7.1.1 change the feature where you could use four fingers to close an app and see if he other apps on your home screen as you were closing an app. This was the handiest feature I thought because I could partially close the app I was working in and see the  date or other things on my home screen and then released the four finger position and be right back to the app I'm working in. Please change this in the next update back to the way it was!!!!!

    I get the multitasking list (all prior apps, scrollable) and can switch to an app, swipe up to force it closed instead of "at rest" and can click back to the originating app in the same place i was prior to the swipe,

  • Why there isn't Morocco in the list of choosing a country when i try to register a credit card ?

    when i try to to register a credit card on itunes store, i have to choose my country. The problem is, I can't find Morocco ! why ?

    There is no Mac App Store or iTunes Store for Morocco at this time. No one here knows when or if there will ever be one.

Maybe you are looking for