are you sure that you have everything configured correct ?

Trinidad and tomahawk ?

I think i remember some issues on the upload case, when mixing them
(trinidad and
tomahawk). Perhaps searching the archives gives any hint ? I really
don't remember it

-Matthias

On Tue, Nov 3, 2009 at 7:48 PM, veena pandit <v.kri...@gmail.com> wrote:
> Well, I have both Tomahawk and trinidad in the same application for file
> uploads.
> I added commons.io to the web-inf/lib directory and now I dont get any error
> messages in the log.  I just get the popup error message once again.  I am
> using trinidad for another control in the same page.  But I was also trying
> to use trinidad for the upload as well.
>
> Thanks,
>
> Veena
>
> On Tue, Nov 3, 2009 at 1:45 PM, Matthias Wessendorf <mat...@apache.org>wrote:
>
>> This is not Trinidad, this is Tomahawk.
>>
>> The "NoClassDefFoundError" says that you don't
>> have the "ServletFileUpload" from the given package
>> in your classpath. This class is part of the Apache Commons
>> Upload project, which is required by Tomahawk.
>>
>> -Matthias
>>
>> On Tue, Nov 3, 2009 at 7:38 PM, veena pandit <v.kri...@gmail.com> wrote:
>> > A new development.  Now I am getting this error in the log:
>> > All I was getting before this is a popup error message.
>> > Now here is the stacktrace:
>> >
>> >
>> > SEVERE: Servlet.service() for servlet Faces Servlet threw exception
>> >
>> > java.lang.NoClassDefFoundError:
>> > org/apache/commons/fileupload/servlet/ServletFileUpload
>> >
>> > at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(*
>> > ExtensionsFilter.java:321*)
>> >
>> > *Thanks,*
>> > **
>> > *Veena*
>> >
>> >
>> >
>> > On Tue, Nov 3, 2009 at 1:33 PM, Matthias Wessendorf <mat...@apache.org
>> >wrote:
>> >
>> >> do you have a little bit more information ?
>> >>
>> >> cfg, size of the file. error message, stack trace...
>> >>
>> >> -Matthias
>> >>
>> >> On Tue, Nov 3, 2009 at 7:26 PM, veena pandit <v.kri...@gmail.com>
>> wrote:
>> >> > Hi,
>> >> >
>> >> > I am having trouble making this work.  I have configured the web.xml,
>> >> > faces-config.xml
>> >> > and followed the instructions on the following page:
>> >> >
>> >> > http://myfaces.apache.org/trinidad/devguide/fileUpload.html.
>> >> >
>> >> > I get a following popup error:
>> >> > Message from webpage:
>> >> > A file upload error has occured, please verify your upload data and
>> file
>> >> > name.
>> >> >
>> >> > Thanks,
>> >> >
>> >> > Veena
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Matthias Wessendorf
>> >>
>> >> blog: http://matthiaswessendorf.wordpress.com/
>> >> sessions: http://www.slideshare.net/mwessendorf
>> >> twitter: http://twitter.com/mwessendorf
>> >>
>> >
>>
>>
>>
>> --
>>  Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to