Good question.

That's what we're doing here - doesn't look wrong to me:

          ByteArrayInputStream input = new ByteArrayInputStream(bytes);

          try
        {
            ObjectInputStream s = new ObjectInputStream(input);
            Object object = s.readObject();
            s.close();
            input.close();
            s = null;
            input = null;
            return object;
        }
        catch (Exception e)
        {
            throw new FacesException(e);
        }

regards,

Martin

On 1/29/06, Simon Steiner <[EMAIL PROTECTED]> wrote:
> >> Strange enough - it's clearly a class-loading problem, this.
> >>
> >> Which container are you using?
> > Tomcat 5.5.12
> >
> >> where are your myfaces jars stored?
> > apache-tomcat-5.5.12/shared/lib
> >
> >> Can you play around with them a little - e.g. moving them out of
> >> common/lib or so?
> > I will try, thanks.
>
> Myfaces*.jar and tomahawk*.jar are now in WEB-INF/lib and that fixes it,
> thanks a million!
>
> Is this a bug with tomcat or myfaces?
>
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to