Cannot find FacesContext

jdev 11.1.1.6

My application works well in local and when I try to deploy in the dev box to special suite:



[< < WLS Kernel > > <>< a5b40dfbcf22e5e7:76678 d 23: 149383e5d3c: - 8000-0000000000000067 > < 1413988631277 > < BEA-101020 > < [path of the module: AIMSAdmin ServletContext@355067869[app:AIMSAdmin: / AIMSAdmin spec-version: 2.5]] Servlet failed with Exception

  1. java.lang.RuntimeException: cannot find FacesContext

at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:2122)

at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1933)

at jsp_servlet._admin.__applicationadmin_jspx._jspx___tag0(__applicationadmin_jspx.java:90)

at jsp_servlet._admin.__applicationadmin_jspx._jspService(__applicationadmin_jspx.java:65)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:417)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:327)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)



What should I look for in this case?

Hi Amitt,

There are a lot of thread is posted for this problem. It is originally this error because you have not used the /faces in the URL. Have you checked if you have "/ faces" in the URL? ADF apps usually have a servlet mapping which maps this model URL to the faces servlet.

Add the /faces in the URL.

It could be useful!

Kind regards

Shah

Tags: Java

Similar Questions

  • java.lang.RuntimeException: cannot find FacesContext

    Hello

    Was googeling, that for a long time and the answer is always on the bad url-models

    Here is my web.xml file:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
        <description>Empty web.xml file for Web Application</description>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <filter>
            <filter-name>JpsFilter</filter-name>
            <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        </filter>
        <filter>
            <filter-name>trinidad</filter-name>
            <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>JpsFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>trinidad</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>35</session-timeout>
        </session-config>
        <mime-mapping>
            <extension>html</extension>
            <mime-type>text/html</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>txt</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <ejb-local-ref>
            <ejb-ref-name>ejb/local/SessionEJB</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local>test.model.SessionEJBLocal</local>
            <ejb-link>SessionEJB</ejb-link>
        </ejb-local-ref>
    </web-app>
    java.lang.RuntimeException: cannot find FacesContext
    at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1851)
    at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1668)
    at jsp_servlet.__main_jspx._jspx___tag0(__main_jspx.java:135)
    at jsp_servlet.__main_jspx._jspService(__main_jspx.java:108)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    Is the problem elsewhere?
    Thank you.

    Andrefs,

    Try http://127.0.0.1:7101/faces/Test-View-context-root/Main.jspx (or http://127.0.0.1:7101/Test-View-context-root/faces/Main.jspx, can't remember at the moment).

    J

  • need to update to 10.11.6 10.10.2; required to have 10.11 first; Cannot find 10.11 download anywhere?

    need to update to 10.11.6 10.10.2; required to have 10.11 first; Cannot find 10.11 download anywhere?

    El Capitan

  • iPhone 6 cannot find the device bluetooth audio

    My iPhone 6 (IOS version 9.3.5) Impossible to find a new bluetooth device and keep the search bluetooth unanswered.  In addition, reception (when listening i-tune) is bad and intermittent.  Appreciate advice how to solve this problem.  Thank you.

    Hello ChengMY,

    Thank you for using communities of Apple Support.

    If I understand your message that your iPhone 6 (which is updated to iOS 9.3.5) cannot find a new Bluetooth device and don't stop looking for him. What type of device Bluetooth you are willing to pair with your iPhone? The reason why I ask, is that there are only some that the iPhone supports Bluetooth profiles. Here is a list of the supported Bluetooth profiles:

    iOS: supported Bluetooth profiles

    If the device you are using uses one of the supported Bluetooth profiles, the steps described in the following article can help solve the problem for you:

    Get help connection an accessory with your iPad, iPhone or iPod touch Bluetooth

    Best regards

  • Cannot find my apps that are hidden

    Cannot find my games and apps on my iPad

    Hello

    Be they in nested folders.

    You can use Spotlight to search for items on your iPad.

    1. Of any page of your iPhone or iPad home screen, tap the screen with your finger and slide down to reveal the Spotlight search field.
    2. Type what you are looking for and click search.
  • cannot find siri on iphone or use 5 not in settings

    cannot find Siri on I - phone 5 not in the settings or use...

    Hello

    Siri settings are accessible via settings > general > Siri > activate Siri and, if you wish, allow also 'Hey Siri.

    If these settings are not available, check if Restrictions have been enabled:

    • Settings > general > Restrictions - Siri & dictation.

    More information:

    Use Siri on your iPhone, iPad or iPod touch - Apple Support

  • Cannot find the overall messages file - db.sqlite

    Hi, volunteers! Thank you for being here.

    The search function of Thunderbird has stopped working. He cannot find all - regardless of the query returned no results.

    I understand that I need to rebuild the global database to correct this and have read the instructions here:

    https://support.Mozilla.org/en-us/KB/rebuilding-global-database

    He tells me to delete my profile from TB global-messages - db.sqlite. Connects me to another page on how to find this profile. I followed these instructions:

    "How to find your profile.

       Click on the menu button or menu bar.
       From the Help menu, click Troubleshooting Information.
       In the Application Basics section, Profile Folder, click on Show in Finder.
       The Mac Finder window will show the name of the profile as well as the path to it."
    

    The finder window shows me this file: zfrnv9to.default - 1445806062498. Nothing inside it looks like the file I'm supposed to delete, which is global-messages - db.sqlite.

    I also used the Mac projector for a search on "global-messages - db.sqlite. He cannot find anything like this on my Mac Air (which is running El Capitan). It is usually pretty reliable to dig up files, but - no luck.

    What should I do now?

    Zenos, thank you! I solved this on my own last night.

    In case it helps the next person: I re-read the page of Mozilla to find the file.

    So, rather than looking in the Application databases, I dug through my files user myself, using the information that it would be under User/Library etc.

    It took a few minutes of poking around to find it. I deleted it, restarted TB, and the search function is back.

    The mystery that I can't solve it is why the recommended method or research Spotlight of the CMA does not find it in the first place. But with time and patience, the manual search does the job.

    Thanks for the tips, the time and help!

  • I tried all these steps and still no progress, cannot update or restore my phone. When you try to restore an error appears saying 'cannot find the phone (9).

    I tried all these steps and still no progress, cannot update or restore my phone. When you try to restore an error appears saying 'cannot find the phone (9).

    We do not know what are the following steps, because you have not provided their. Support this article has suggestions for your specific error code.

    If you see errors 9, 4005, 4013, 4014, when you restore your device iOS - Apple Support or

  • Firefox update has just finished and now I can not restart Firefox. Get the error message "Cannot find the duration of mozilla"

    Automatic update of Firefox has just finished. After the update update, tried restarting firefox and I received the error message "cannot find mozilla runtime" I tried to restart the computer, but it did not help. How can I fix this so I can restart firefox?

    Hi rjadja, please see if it does not work properly after reinstalling firefox with the full installer instead which can be obtained from https://www.mozilla.org/firefox/all/

  • Because my father died, he left his phone with us. ID or pword is available and now its blocked. Can I reuse and reset or do I throw? Cannot find even the purchase of documents.

    Because my father died, he left his phone with us. ID or pword is available and now its blocked. Can I reuse and reset or do I throw? Cannot find even the purchase of documents.

    If you are unable to prove original owner Apple cannot help you.

  • had a problem with mozilla firefox, uninstalled, tried to re = install and get an error "cannot find personal...". »

    I really want to give Fire Fox on my computer. Why can't I re - install.
    When reinstalling, it goes through all the windows, asking permission... and after that it says "completed" a window pops up saying cannot find personal identification information and the program does not start.

    Hi James,

    I've never heard of this problem before, can you post a screenshot to help us identify it? Just follow the instructions in this article How to make a screenshot of my problem?

    Also, what OS is the computer that you are trying to install Firefox on running (XP, Vista, 7, 8)?

  • How to solve the error message "Mozilla cannot find runtime" when I try to start Firefox?

    Mozilla put Firefox updated to version 36.0. When I click on the Firefox icon to open it I get the message: "Mozilla cannot find runtime" I get the message even if I try to open Firefox by selecting "firefox.exe" in the Program Files folder. Subsequently, I uninstall Mozilla Firefox and reinstall. It will open and operate normally just after the re-installation. So if I close the program and try to re - open again, I get the error message same "Mozilla don't find runtime".

    The only way I can get Firefox to open is if I uninstall and reinstall everytime I want to open it after the initial re-setup.

    Adriel thanks for your quick response. Your solution worked perfectly. I was greedy, trying to find a viable solution to the problem "runtime" I had never met before. -_-

  • Cannot find the seetings camera

    Cannot find the camera settings in firefox os smartphone

    Hi sanatankumarsahu,

    What settings to configure for your Firefox OS device camera?

    There is no specific menu of camera settings, but depending on your device and the version, you can choose another camera, turn flash power or reset the focus.

    Please reply to this message with your Firefox OS as well the version and the Build ID device model so that we can give you a definitive answer.

    Thank you

    -Ralph

  • Receive an error message "Windows cannot find"C:\Windows\Program Mozilla Firefox Firefox\firefox.exe"." when launch firefox without the inability to use

    Hello!

    It's happened since I got a virus a months ago who was preventing the computer to start. She came back from the repair shop and it begins again now. But after a few hours of using Firefox, this message pop up at random:
    "Windows cannot find"C:\Windows\Program Mozilla Firefox Firefox\firefox.exe". Make sure you typed the name correctly and then try again. »
    Example: http://www.risingroad.com/foxhound/faq/images/Windows%20cannot%20find%20firefox.jpg

    and Firefox still work after this message appears. I already uninstalled and installed new Firefox completely, and the message still appears upward. What this mean and is it harmful to the computer?

    I'm on Windows 8

    I had the pop up ads sensation can cause the problem and talked about it to the engineer in computer science from my father. It installs Malewarebytes and there was indeed still a maleware by repair men left. The difference was, Chrome to view the full announcement page while Firefox may have in maintaining security to block this kind of page, and the result was the error message. (I didn't know that because it happened to me on my computers to the precedents and even Firefox used to show me the ad then) Thank you for warning me.

  • Cannot find the function edit that was on my old computer and firefox. When you click the Firefox icon, you can collect the text that has been deleted.

    Cannot find the function edit that was on my old computer and firefox. When you click the Firefox icon you can extract the text that was deleted by accident.

    Hello, you can press the alt key to display the menu bar with the Edit menu temporarily. or you can press ctrl + z which is the shortcut for "undo"...

Maybe you are looking for

  • Mini 210: the mini 210

    Hi guys.I have a HP mini 210 which I use mainly for internet when they travel, but also for playing iTunes for house music when I execute concerts. Last week the on the key sound turns power on and off remains permanently lit. If I hit him, the o/s t

  • HP XW9400 x 2 Dual-Core 4.8 Ghz 16 GB RAM Windows 7 64 - Bit desktop Gaming PC

    Hi guys I am very interested in the above machine could you tell me if there is any limitation on the hard drive I can use such as what I should use drive HARD Hp or can I use standard hard drive I ask only that it will be a machine at home so cost i

  • Edit a message

    Is there a moderator that can modify the message for me?  I tried to edit the message, but I received an error message indicating that I have to have disconnected, even if I close the session.

  • For Y560 Intel chipset driver

    I have reflected on the view of Intel for the most up-to-date driver Chipset, but may not know what chipset my Y560 i7 740qm has. It seems that the auto finder does not work on Win7 64 bit. Any idea? Thanks for any help

  • How can I find the total number of items in a dim multi table

    How can I find the total number of items in a simple Sun table or multi? For example, a table 2 x 3 has 6 elements, and a 2 x 3 x 4 to 24. How can I calculate this very easily - is there a single VI do that? David