Richfaces fileupload with myfaces 1.1.5. Cant make it work

Hello ,
I am a newbie to jsf technologies. I use myfaces 1.1.5 with tomcat 5.5 and richfaces 3.2.0 and trying to use richfaces fileupload component. I use netbeans IDE. When i try to run the project it fails building the project and the error in tomcat log is like below.
16.Tem.2008 11:11:47 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
        at java.lang.Class.getConstructor0(Class.java:2699)
        at java.lang.Class.newInstance0(Class.java:326)
        at java.lang.Class.newInstance(Class.java:308)
        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:896)
        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:945)
        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:619)I guess it is about the expression language i use in my jsp page. I made it work with jsf 1.2 and tomcat 6.0. But i need to do it with tomcat 5.5 now. Is the expression language different with servlet 2.4 version ? My jsp page is below :
<%--
    Document   : main
    Created on : 15.Tem.2008, 17:38:00
    Author     : brhn
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
            <h:form id="fileUpload" enctype="multipart/form-data">
                <rich:fileUpload                  
                    acceptedTypes="txt"
                    maxFilesQuantity="2"
                    uploadData="${upload_backing.data}"
                    fileUploadListener="${upload_backing.fileUploadListener}"
                />
            </h:form>
        </f:view>
    </body>
</html>and my web.xml is this
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
        <context-param>
        <param-name>org.richfaces.SKIN</param-name>
        <param-value>blueSky</param-value>
    </context-param>
    <filter>
        <display-name>RichFaces Filter</display-name>
        <filter-name>richfaces</filter-name>
        <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>richfaces</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    </web-app>I cant get what is the problem. Anyone has any idea ? I really need to make this work.

Yea i solved the problem. I mean at least i know what is the problem :) As you said richfaces 3.2.0 is not working with jsf 1.1. Richfaces 3.1.6 works fine with it. But the funny thing is there is no file upload component in 3.1.6 version :) So, i am using myfaces.

Similar Messages

  • Sync with OVI !! how to make it work with a new ac...

    Hello !!
    My phone is e72.
    Yesterday : I used to synch contacts with ovi synch using my old ovi account : working, ok ;
    Yesterday later : I deleted/closed that old ovi account (needed other name), deletion ok ;
    Yesterday more later : I created a new ovi account with a new name, ok ;
    Now : I can't synch my contacts with my new account !!!
    It is a pity !
    My phone still synch with an old and DELETED account ! he doesn't see the account has been deleted !!!
    When I ask him to stop synch with that OLD and DELETED account, he asks me the password of the DELETED account ! Clever isn't it ? Of course, this doesn't work ! Because the account has been deleted for sure !
    I have never seen such a pathetic misconception.
    Then, I go to ovi > my new account > contacts > to declare my phone :
    -I choose e72, because it's a e72 ;
    -I fill in my telephone number + my world hour area, ok ;
    -I press next (to get a sms at step 3) : doesn't work !!!! blocked !!! I never go at step 3 ! (but my phone is ok, he is declared in my general account, and verified !)
    What is the solution ? Is Kafka the boss of Nokia ?
    I want to disallow synch with my old and DELETED account !
    I want to synch with my NEW account !
    I want to go to step 3 when declaring my phone to ovi/contacts and get a sms !!!!! 
    Thanks !!

    Peasantoid wrote:
    sushi wrote:
    What I did was to find the keycodes of the keyboard's scroll wheel using xev, than created xmod file using
    xmodmap -pke > ~/.xmod
    after that I opened the file and searched the keycodes I had found before and changed their original values to XF86ScrollUp and XF86ScrollDown,runned this command
    xmodmap ~/.xmod
    runned xev again and the values were changed but the scroll wheel is still not scrolling at all. I was wondering if there is another way to call the scrolling function other than XF86Scroll... or at least someone could say what I'm doing wrong...
    From my limited testing, XF86Scroll* don't actually cause anything to scroll. You need to map the keys to send scroll up/down button events. (Mr Green's link is about mapping buttons to send key events.) Have a look at xbindkeys or your WM configuration. One utility that can send button events is xdotool.
    [correction: 'bind', not 'map']
    I kinda understood what you're saying, so I need to bind my keyboard scroll wheel to actually scroll anything, I'm using now xbindkeys_config, but now the same doubt comes up, if I wanna bind the scroll wheel to do scroll what is the action I have to assign to the key? Since you said XF86Scroll doesn't cause anything to scroll, what does then?
    Last edited by sushi (2011-01-21 21:31:10)

  • Help now please Cant make links work imported from PhotoShop6

    I made slices in Photoshop6 which work when tested in Image ready but when I bring them into GoLive6 cant get to work? Saved as gif, psd, bmp?

    >Dont see where to "copy" inthe save to web window.
    Don't know what you mean by that. When it asks where you want to save the HTML and images, you can point it to a folder in your GoLive site. Otherwise, you could just save it wherever and copy whatever it exports into GoLive (or Dreamweaver) later.

  • I got a new computer and I need to back up my iPod but it says it can only be with one iTunes how can I make it work

    I got a new computer and I need to back up my iPod but it says it can only be with one iTunes how can I make it work

    Yes. I have no personal experience with this, but it is possible to recover your music from an iPod. See this link: http://guides.macrumors.com/Recovering_Songs_from_an_iPod

  • I have a problem with the computer mic. i cant make online calls or chat. they cant hear me

    help.

    Hi,
    What is your machine and it OS ? Help !
    You may want to try this:
    Right click the speaker icon,
    Select Recording devices
    Right click Microphone
     Enable it
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Capsule cant make it work with 100mbit

    Hi all
    Hope that some of you can help me out here?
    I have on of the first version of time capsule/500Gb and it have worked perfect since day one.
    but now when i´ve upgraded me speed to 100/100Mbit it wount work anymore, my firmware is 7.4.2 and i´m not able to upgrade to the next version 7.5.1 i suppose the issue is here.
    Can someone of you be kind to advise me what to do?
    Thanks in advance
    Greatlife

    Check this thread: http://discussions.apple.com/thread.jspa?threadID=2298320&tstart=15
    You aren't alone. I have the same problem.

  • Cant make mic work

    Hi, can anybody help me with this:
    MB: 645E Max2 (SiS 645DX chipset)
    BIOS: AMI v1.2
    Sound driver: VIA 6.14.1.4030
    OS: XPH
    Speakers in speaker jack: yes
    S-braket: installed but nothing is plugged in there
    I cant get anything out of my mic. Its plugged to mb rear panel mic connection. I've made sure its not muted and the volume levels are up. Also the mic is checkboxed in the recording control -volume window. I also tried same things with the mic connected to line in -jack.
    The defauld recording device is Vinyl AC97 Audio (wave) and nothing else is selectable there.
    BTW. I dont have any MIS utilities installed to my machine, is there any essentials? The machine works perfectly - only the mic is giving me hard time.
    Any ideas?
    Thanks.
    ToniH

    Ok, problem solved. There was a Realtek-driver on MSI website which recognised my MB and with that the mic started to work ok! Version # 5.10.0.5620.

  • Making type change color on rollover: Cant make it work

    Incredibly, I can not figure out how to make hyperlinked text change color on rollover.
    I thought it was a matter of assigning a new CSS rule, but I cant find the dialog box within which to specify a rollover color.
    I cant believe how difficult and obtuse such a super simple and basic function is in Dreamweaver.
    WHAT am I doing wrong?

    CSS Pseudo-classes work best if defined in the following order (LiVHA):
    a:link {color:#FF0000}      /* unvisited  link */
    a:visited {color:#00FF00}  /* visited link */
    a:hover  {color:#FF00FF}   /* mouse over link */
    a:active {color:#0000FF} /* selected  link */
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Cant make it work

    I have a G5, dual 1.8.. I installed an airport extreme card the other night when I bought a new laptop, a macbook..
    My macbook picks up networks from my neighbors, hotspots and other places.. BUT NOT from my G5..
    On my G5 I went to sharing>internet and started sharing and said from ethernet, to airport. I created a network name, and WEP password.. And on my G5, I get grey lines with an arrow pointing up in dark grey..
    On my Macbook, I see other peoples networks, not mine, so i go to 'other' and type in the network, (lets call it fancy name) name and password, but all I get is a spinning ball, then... There was an error joining network, "fancyName". No explanation, nothing.. It is making me crazy..
    It is making me feel like a big dumb girl!!
    can anyone help?
    christen

    Did you connect the external antenna to the back of the G5?

  • Computer2comp. - cant make it work

    I have a G5, dual 1.8.. I installed an airport extreme card the other night when I bought a new laptop, a macbook..
    My macbook picks up networks from my neighbors, hotspots and other places.. BUT NOT from my G5..
    On my G5 I went to sharing>internet and started sharing and said from ethernet, to airport. I created a network name, and WEP password.. And on my G5, I get grey lines with an arrow pointing up in dark grey..
    On my Macbook, I see other peoples networks, not mine, so i go to 'other' and type in the network, (lets call it fancy name) name and password, but all I get is a spinning ball, then... There was an error joining network, "fancyName". No explanation, nothing.. It is making me crazy..
    It is making me feel like a big dumb girl!!
    can anyone help?

    I have a G5, dual 1.8.. I installed an airport extreme card the other night when I bought a new laptop, a macbook..
    My macbook picks up networks from my neighbors, hotspots and other places.. BUT NOT from my G5..
    Sounds like the AirPort Extreme card and/or antenna is not properly installed in the G5. If you check "About This Mac," from the Apple menu, does the newly installed card show up? I suggest you double-check both first. (ref: http://docs.info.apple.com/article.html?artnum=108039)

  • I bought an Apple Airport Extreme used and it did not come with any software disks. how would make it work without the software disk?

    Bought an Apple Airport Extreme used and it did not come with any discs. Do i need any discs? or is there another way to setup this airport without using a software disc?

    You can download the setup manual and software that you need.
    Look on the bottom of the AirPort Extreme for the Model Number.  It's A.......  something.
    Post back with the model number and the exact operating system you are running on your Mac or PC.

  • My iphone is locked and I cant make it work at all.

    Hi, my iphone is locked and I can't get it to work at all. do you have any suggestions>?

    Hi irishdave75,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you mean that it is locked with a passcode and you are unable to access it, you may find the troubleshooting steps outlined in the following article helpful:
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    If, on the other hand, you mean that your iPhone is locked up or otherwise not responding, then this article may be of more use:
    iOS: Not responding or does not turn on - Apple Support
    Regards,
    - Brenden

  • When I try to turn on my old ipod nano it will flash and then go black again. only when its hooked up to the computer. whats wrong with it and how do I make it work?

    Ok. My brother has an old Ipod nano. It's the tall one with the tiny screen. Anyway, he tried to turn it on one day and it just flashed white and then went black again. We tried everything we could and it still wont work. Now it wont flash unless it is plugged up to the computer. How do I fix it so it will work again?

    Have you checked the volume button? It might be physically stuck. To determine whether a hardware repair is needed, you need to follow these steps:
    1. Try doing a hard reset:
    Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears.
    After that: test the device to see whether the issue is solved.
    2. If the issue is not solved, you should backup the device and restore it as new.
    In that case, use: http://support.apple.com/kb/HT4137
    NB: set up as a NEW device because a software issue will be in the backup.
    If the issue persists after restoring as new, you should offer the device for service.
    If you get specific error messages/codes in iTunes when updating/restoring, check this: http://support.apple.com/kb/ts3694 for causes and solutions
    Good luck
    Stijn

  • Problem with Satellite X200 and keyboard to make @ with AltGR and 2

    Ok... Here is my problem.
    I have Norwegian Vista, language set to norwegian, and us Ctrl+alt+2 or AltGr+2 to get @.
    Now I cant make it work.
    Nothing happens if I press those buttons and 2. Both buttons work.
    If I press AltGr+8 I get this: [
    This happened after my last bios upgrade I think.
    Any ideas?
    In the language toolbar at bottom language set to Norwegian.

    Ok. After pressing all the buttons over and over again I have discovered this.
    If I hold AltGr in and then press Alt I can use the 234 buttons to get to these items@£$,
    but it should do this without having to press the alt button...
    So this is what I have to do.
    Hold AltGr and while holding altgr press Alt and still holding altgr press 2347890 depending on what sign I need.
    Really annoing.

  • HT1491 I downloaded a song for a ringtone but I cant make it my ringtone? Not sure what I am missing?

    I want to use different songs for ringtones  so I can recognize who is calling me but I dont like the preloaded manufactery ringtones. So I found what I wanted but cant make it work for a ringtone?

    Songs need conversion before they can be used as ringtones.  Songs and ringtones use different formats.
    If you have a Mac, you can use GarageBand to do the conversion.  If you have a Windows computer, there are utilities but I can't name one.

Maybe you are looking for

  • Business Rules : Unable to create a global variable (Fixed)

    Hello all, I try to create a global variable in order to use it in a business rule; I selected an outline. I chose the type "Member" I chose the dimension "Period" I clicked on the lookup button in front of the default value and chose the member "Jan

  • 24" 2.93GHz V. 3.06GHZ

    I am looking to get a new iMac and was curious about something: I will not be doing anything super hardcore with it, just photo editing and maybe some video editing. Would the 2.93 do the trick or would I need the 3.06? Would I even notice a differen

  • Inoperatable favorites page

    When trying to add contacts to the favorites --- there is np + button in the upper right corner. also there is no add to favorites button in the info page.

  • Moving iphoto's mobileme and facebook galley into Aperture 3

    In iPhoto I have a lot of mobileme and facebook gallery that I update frequently. I'd like to use Aperture3 also for this, but I'm unable to import these galleries. I migrated all iphoto's library into Aperture, but on the left of Aperture mobileme a

  • Disk Utility says "Error: The underlying task reported failure on exit"

    So I decide to play around with Bootcamp for the first time, and I go through the install but it kicks me out, telling me there was some kind of HDD error. It points me to Disk Utility, and I click on Verify Disk, and then I get the following error: