Problem with Richfaces, JSF 1.2, Facelets application

Hello

I have trouble using Weblogic 10.3.3 with my JSF application that is built using Richfaces 3.3.3 and Facelets. First I had problems with the deployment, but with the addition of weblogic.xml to the project.

It's the content in weblogic.xml:

<? XML version = "1.0" encoding = "windows-1252"? >
< weblogic-web-app xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd".
xmlns = "http://www.bea.com/ns/weblogic/weblogic-web-app" >
< library-ref >
JSF < library name > - < / library name >
specification of the < version > 1.2 < / specification-version >
implementation < version > 1.2 < / implementation-version >
< match > false < / exact match >
< / library-ref >
<>container-descriptor
< prefer-web-inf-classes > true < / prefer-web-inf-classes >
< / container-descriptor >
< / weblogic-web-app >

This application works without problem in Glassfish 2.1, but when I try to access my application in Weblogic, I get the following exception:

Error 500 - Internal server error

javax.el.ELException: Main.xhtml: the class 'katva.soa.logging.web.soaloggerweb.SessionController' has no property 'navigateToMonitor '.
at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3684)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

SessionController - managed bean method mentioned above, here is the part of the page where the SessionController - bean is referenced:
< a4j:form id = "linkForm" >

< li > < h:commandLink value = "#{msgs.» Main_logSearchLink}"action =" #{SessionController.navigateToMonitor} "/ > < /li >
< li > < h:commandLink value = "#{msgs.» Main_maintenanceLink}"action =" #{SessionController.navigateMaintenance} "/ > < /li >
< / a4j:form >

Could someone help with this? I'm desperate and I need to solve this problem pretty quickly...

Thank you for everyone who can help you with this

Tuomas Katva cordially

This is probably related: Facelets not rendered on Weblogic 10.3.3

A step by step example

-create a file web.xml, with the following content:



    
        javax.faces.DEFAULT_SUFFIX
        .xhtml
    
    
        javax.faces.STATE_SAVING_METHOD
        server
    
    
        org.richfaces.SKIN
        blueSky
    
    
        org.richfaces.CONTROL_SKINNING
        enable
    
    
        RichFaces Filter
        org.ajax4jsf.Filter
    
    
        RichFaces Filter
        Faces Servlet
        REQUEST
        FORWARD
        INCLUDE
    
    
        Faces Servlet
        javax.faces.webapp.FacesServlet
        1
    
    
        Faces Servlet
        /faces/*
    
    
        com.sun.faces.config.ConfigureListener
    

-create a faces - config.xml file at least the following content:



    
        com.sun.facelets.FaceletViewHandler
    

-create a sample page





    



    
        
            
            
            
            
                
                    
                        
                    
                
            
        
    



-This package in the following structure:

WAR
    WEB-INF
         faces-config.xml
         web.xml
         lib
            commons-beanutils-1.7.0.jar
            commons-collections-3.2.jar
            commons-digester-1.8.jar
            commons-logging-1.0.4.jar
            jhighlight-1.0.jar
            jsf-api.jar
            jsf-facelets.jar
            jsf-impl.jar
            jstl-api-1.2.jar
            jstl-impl-1.2.jar
            richfaces-api-3.3.1.GA.jar
            richfaces-impl-3.3.1.GA.jar
            richfaces-ui-3.3.1.GA.jar
    test.xhtml

And deploy it in WebLogic. During the deployment, there is the following logging:

Jul 4, 2011 2:09:44 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_14-b01-FCS) for context '/JSFFaceletsRichFaces'
Jul 4, 2011 2:09:45 PM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
Jul 4, 2011 2:09:45 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.CacheManager getCacheFactory
INFO: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=enable, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.injectionProvider=com.bea.faces.WeblogicInjectionProvider, org.richfaces.SKIN=blueSky}
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance of default capacity
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.CacheManager getCacheFactory
INFO: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=enable, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.injectionProvider=com.bea.faces.WeblogicInjectionProvider, org.richfaces.SKIN=blueSky}
Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance of default capacity

Enter the URL to access the application, for example, http://localhost:7001/JSFFaceletsRichFaces/faces/test.xhtml

and voila RichFaces and Facelets on WebLogic

Tags: Fusion Middleware

Similar Questions

  • Problem with the screen size of my application in the emulator for BlackBerry 10

    Hello, I have a problem with the emulator for BlackBerry 10 and is as follows:

    When I run my application in the emulator waving, sounds good and all content is complete, however, when I run the application in the emulator for BlackBerry 10 soft looks as if she had a zoom very large level of predefined way and only see a part of the application.

    With controller emulator, I have changed the level of 70% zoom, but still does not work.

    Here, I'm posting two photos:

    One future half-assed answer

    var dpr = 1; // To set the meta on a real device to get 1:1 pixels
    
    if(typeof window.devicePixelRatio != 'undefined') // Does device support devicePixelRatio?
        {
        dpr = window.devicePixelRatio;
        }
    
    if(dpr) // Set up the right meta
        {
        var meta = document.createElement("meta");    meta.setAttribute('name','viewport');
    
        meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
        document.getElementsByTagName('head')[0].appendChild(meta); // Inject meta
        }
    

    This works perfectly, but must be placed in thethe document FIRST and foremost

    Live JS is used to avoid problems of library management

    It won't work in Wellington but works perfectly on all devices I've tried

    As mentioned in the code above just packaging needs in the script tags and setting very high index.html HTML code as you can get - right afteris my favorite before any CSS or JS place<p class="reply"> <p class="reply">There are extensions to this topic-injection of script, I like to keep my code clean</p>

  • Problem with the Info.plist file in application Loader

    Hello. I have a problem with the download process. When I choose the zip file I downloaded from the generator of Viewer in the application loader and I try to send it, the program tells me this: "Unable to process validation Info.plist demand at this time a general error. What can I do?

    Thank you

    I have been told by some people who have faced this problem it has been resolved. Can you please try again and check if the application download successfully?

  • Problem with some screens on my web application

    Hi there guys!
    I started the study of the ADF, a few weeks ago, and a problem driving me crazy...
    Sometimes it will and now he is back, lets take a look at the screen:

    It is when I click on the button from any page to access it:
    [Bugge screen | http://img190.imageshack.us/img190/8308/withbug.jpg]

    It is the normal screen when I get the cursor of the mouse on the top of the screen...
    [Screen Non-buggy | http://img9.imageshack.us/img9/5467/withoutbug.jpg]

    I think that someone here had this problem on past, when I was adding and removing components by the day I had these bug...
    I don't really know the subject that makes...

    PS: On firefox everything is natural and this will not occur.
    PS2: Work on JDeveloper 11 g on Windows XP Professional with SP3.
    IE version: 8.0.6001.18702
    FF version: 3.5.2
    WebLogic: 10.3

    I will be grateful if someone help me!
    Kind regards
    Renan.

    IE switch to "compatibility view". We have the same problem with ie 8.

  • Problem with the file opened in the application via InvokeRequest

    Hello

    my application opens the file and reads its binary content. I have a small problem to open a file from a navigation or an attachment.

    But first here's how my app works. I have a signal/slot-connection in my applicationUI constructor:

    ApplicationUI::ApplicationUI(bb::cascades::Application *app) : QObject(app), m_invokeManager(new bb::system::InvokeManager(this)) {
    
      bool ok;
    
      // Since the variable is not used in the app, this is added to avoid a
      // compiler warning.
      Q_UNUSED(ok);
    
      ok = QObject::connect(m_invokeManager, SIGNAL(invoked(const bb::system::InvokeRequest&)), this, SLOT(handleInvoke(const bb::system::InvokeRequest&)));
    
    }
    

    So if the user clicks on a file it can open in the following C++ function:

    void ApplicationUI::handleInvoke(const bb::system::InvokeRequest& request) {
    
        QString workingDir = QDir::currentPath();
    
    // Initiate the appropriate target based on the invoke.target-key
        if (request.target() == "com.myapp.card.previewer") {
    
            m_uri = request.uri().toString();
    
            QString FileToOpen = m_uri.replace(QString("file://"), QString(""));
    
            bb::cascades::Page* PageToOpen = ApplicationUI::doLoadPageDetails(FileToOpen);
    
            if (PageToOpen != NULL) {
                initPreviewerUI();
            } else {
                ShowToast("FEHLER! Seite kann nicht geladen werden");
            }
        }
    }
    

    The doLoadPageDetails () - function creates a page and filled with binary content of reading a file. If the file contains errors or is corrupted an exception is thrown.

    And here is my problem. When I opened a file corrupted first the screen becomes darker before opening the app. The I get error messages, exactly as I want. But the screen stays dark. I can't take another navigation element. Also, I can't use the back button. The only solution is to wipe the screen and then use the active frame to close the filebrowser and reopen it.

    That I can't use it with attachments to emails. When I open on and the screen is dark, I can't close the view for emails. So to see the mails again I have to restart the BB decive.

    I'm not fluent in English, but I hope you understand my problem. Is it possible to cancel the invokeRequest when the file is corrupted? Or what can I do here?

    Well, the solution was to use a Toast message but the dialog box. Because that prevents the application and I can't and shows just the message, with the button on this dialog box, I cannot tell the app to close.

  • Problem with default system menu item "Switch Application"

    I used the system menu item in my app screen. If I select 'Application Switch', I noticed that my app icon becomes empty. The problem doesn't stop here. If I go back to the home screen and in all cases, my icon of gets too empty.

    The system has lost somehow, the application icon.

    Anyone see this problem and suggestions on how to fix?

    Version of Blackberry 6, 9800 Simulator.

    Thank you

    Sherry

    So you see your application autostart - unless it is enforcement, not UiApplication. Also focus on the method of Application.acceptsForeground - you might want to tinker with it.

    Check all the icons in the 'Application Switch' strip - it will be your main application with an icon as well.

  • Problem with push the screen of an application

    Hello

    I developed an application with another point of entry. I have the main GUI application and an application that listens for push notifications. The background listener auto starts when the unit is turned on and tuned to push. When it receives the push message, it displays a popupscreen with the options 'launch' and 'Cancel '. By pressing 'start' should open the graphical application by pressing the main screen of the application. However, I get "ClassCastException" and I have no idea why.

    I looked around and the process is similar to what I did, but somehow, it does not work for me. Can someone explain or show me how to push a background application screen?

    See you soon!

    Welcome to the forums!

    I guess as you push a display context global [and maybe modal] 'launch' and 'Cancel' buttons. When you press 'start', then, you should not just push a screen - you should actually run the main application!

    To do this, you must create an application with the appropriate settings and say ApplicationManager descriptor to run it. Take a look at the documentation ApplicationManager, especially the section "running an application with different arguments. Make sure the arguments are according to the needs of your main application, not the bottom one.

    Only one problem: what happens if your application is already running but reduced? Don't worry - you try to run the same application with the same arguments will activate one already running!

    Good luck!

  • Problems with the deployment of the sample applications. Only rectangle black on white background after the splash screen.

    Hi team,

    Would you be so kind and help me with this problem?

    When deploying to the example android Tablet project simply do not work. All I see is start, followed by white background screen and we filled a black rectangle at the top left. I tried HelloWorld, RESTDemo and bar code application examples.

    When you try to deploy to the emulator everything I get is the splash screen, nothing more.

    Everything is deployed in debug mode, android sdk is the last and peripheral in question is Huawei MediaPad7 Lite with Android 4.0.3.

    More info on the device: http://www.gsmarena.com/huawei_mediapad_7_lite-4882.php

    If you get an exception, check the logs in the monitor?

    Check point 3 in the following blog if your app is stuck at the start screen: Blog of Deepak Jain: Oracle MAF - questions, tips and tricks

    Kind regards

    Deepak

  • Problems with Skype on Samsung Galaxy Note application

    Hi all

    I use the app on the Android Market and facing two problems Skype:

    (1) video of the person on the other end is not always in the mode full screen.

    It is intermittent and go full screen sometimes by himself. At other times, it is not.

    (2) when the headphones are connected to the phone and I receive or make a call on Skype, the call goes on the speaker phone and not on the listener. I need to remove the earphone Jack and replugin for Skype to take the call on the headset

    (3) my own video box is sometimes empty even if the other person can see my video.

    I have to cut the video and turn it back on to see my own video.

    I checked with someone else using Skype on Galaxy Note and she is facing the same problems.

    All users meet these bugs? Any idea of a fix for this solution?

    See you soon,.

    S

    Version 2.8.0.920 seems to have solved problem 1 and 3. Large

  • Problem with Photos Soft - error message the application built with PhotoLibraryPrivate version 215.65.00 but works with version 209.52.00

    Hello, hope someone can help with my MacBook Pro sluggish.

    I'm in OS X Yosemite 10.10.3 version and tried to upgrade to El Capitan 10.10.5 on a Macbook Pro 13inc mid-2012.  He said it has already downloaded twice, but when I open the software it is still sitting at 10.10.3 without modification, download seems to take a lot of time - been sitting for about 6 hours.

    Now I trying to open the photos app but get the following error coming - the application built with PhotoLibraryPrivate version 215.65.00 but works with version 209.52.00.

    Any advice on what are the options for my new photos app! Have you tried different time machine backups and the computer does not like it either

    Upgrade to El Captain OS X 10.11.2 which includes Photo 1.3

    I have no idea of what you see on "El Capitan 10.10.5" as far as I know is not exiat

    LN

  • Problem with the 'Set Up' for CS4 application

    Still no luck - I'm on a mac under OS 10.9.5 and I'll have an iEdition with the 'Set Up' app for the teacher/student CS4 version: I had to reinstall my CS4 Design premium. The trouble begins after I click the app Set Up - I get to the section "installing applications" of the process, but then window in Set Up will not let me scroll down to select applications to install InDesign, Photo shop etc. If I try to start checking the boxes, the installation process seems just to stall and no progress bar appears. When I select 2 boxes of application as a test, I get a msg of error "Setup error". I have both version CS4 I bought the disc and the downloaded version that the cat office sent me too and the error occurs on two versions of the Set Up. I hope someone can help because I need this software pkg working again as soon as possible. TKS

    Too old for Adobe to support and I'm not Mac

    kglad links in response to #1 here https://forums.adobe.com/thread/2017859 can help try another download

  • Problems with EM Database Control after the application of 10.2.0.4 patches group

    Hi all

    Host: Linux x 86
    DB: One-time EM control the database. Originally 10.2.0.1 patched to 10.2.0.4

    Last night I upgraded database 10.2.0.1 to 10.2.0.4. Everything seemed to go well. I don't have any errors in the process, and when I logged in the database control, everything seemed fine. It was late at night, so I don't navigate around for very long, however. When I came this morning and did a few more extensive trials, after login I noticed first that, in the section general, version database has been listed as 10.2.0.1.0. I thought it was quite strange because I had just been connected to SQL * more and saw that the database was aware he was at version 10.2.0.4.0. I refreshed the page and saw

    "java.lang.Exception: IOException while reading the response: connection reset".

    top of the page. I have seen this problem before, and in the past, it has been resolved by restarting the dbconsole or ensuring that the analysis configuration is set up correctly. The first thing I did was question

    [Home] $ emctl stop dbconsole followed
    [Home] $ emctl start dbconsole

    to see if it would do the trick. When I saw that it didn't, I went in the Configuration of the analysis and that he was surprised to see that he said "no element not found." I refreshed the page and this error appeared:

    oracle.sysman.emSDK.emd.comm.CommException: IOException while reading the response: connection reset

    I tried to follow all the instructions in the Readme as closely as I could. I looked on the Internet and the Oracle Forums for most of the day trying to find the cause of this error. I see that people have these errors, but the circumstances are not the same as mine. Is this a common problem? Anyone know what I can do to solve it?

    Any help would be greatly appreciated.

    Thank you!
    John

    Try C.2 (Option 2. Recreate the DB control and repository Configuration files)

    HTH
    Srini

  • problem with creating a report in websheet applications

    Hello

    the menu Create (runtime) does not show the entrance to the new report, or it appears in Control Panel.

    under properties websheet allow SQL and PL/SQL is set to Yes, adding suggested objects also works very well

    Apex 4.2.4

    Oracle 11 g 2

    64-bit Windows 7

    any ideas?

    KR

    Martin

    can be closed

    found, had in turn activate SQL and PL/SQL Access in Websheets at the instance level

  • Problem with update of CC desktop application

    Anyone who has problems with the update of CC desktop application?

    Hi boloco

    Here are a few soultions, who helped me on my first problem:

    CC desktop applications 'updated' lists when it is not installed

    Good luck (I have new problems which cannot be resolved by one of those today)

  • Problems with Acorn TV App on AppleTV

    I had problems with Acorn on Apple TV TV application: loads the App, but there is no reaction when the program desired is chosen - at this time there the app freezes completely and return to the main menu and try again.  There is no error code just a frozen soft.

    Any suggestions?

    I had this question the other day. Almost all applications I've tried doing the same thing. Finally experimented by removing the HBOgo app and put it back. After that, all the applications worked fine. FYI - Apple TV restarting didn't help.

Maybe you are looking for