I think that's the problem: The applet somehow tampers with JSF.
Unfortunately I don't know what the exact problem could be...

Regards,
Jakob

2010/2/16 baeschtu baeschtu <[email protected]>

> Yes, my applet has a connection to a webservice (cxf version 2.2.4) on the
> same tomcat where the webapp runs. (tomcat 6.0.20)
> It also access a lib on the filesystem for a security device.
>
>
> 2010/2/16 Jakob Korherr <[email protected]>
>
> > Does your applet access your webapp?
> >
> > 2010/2/16 baeschtu baeschtu <[email protected]>
> >
> > > I just have seen this error log in the catalina.out. I guess this
> happens
> > > when I access a lib on the file system.
> > >
> > > 20:33:36,106  WARN FacesServlet:164 -  Someone is trying to access a
> > secure
> > > resource : /META-INF/services/javax.xml.parsers.DocumentBuilderFactory
> > >  remote address is 127.0.0.1
> > >  remote host is 127.0.0.1
> > >  remote user is null
> > >  request URI is
> > >
> > >
> >
> /upload-webapp/faces/META-INF/services/javax.xml.parsers.DocumentBuilderFactory
> > >
> > >
> > >
> > > 2010/2/16 Jakob Korherr <[email protected]>
> > >
> > > > OK. The problem seems to have to do something with problems on
> > > > state-saving.
> > > > This is the only place where a ViewExpiredException is thrown. Are
> you
> > > > using
> > > > client-side state saving? have you tried using server-side state
> > saving?
> > > >
> > > > Regards,
> > > > Jakob
> > > >
> > > > 2010/2/16 baeschtu baeschtu <[email protected]>
> > > >
> > > > > Hi Jakob,
> > > > > yes when I submit the form immediatly I don't get the
> > > > ViewExpiredException.
> > > > > I use this versions:
> > > > > Myfaces 1.2.8
> > > > > Trinidad  1.2.5
> > > > >
> > > > > Regards
> > > > > Bastian
> > > > >
> > > > > 2010/2/16 Jakob Korherr <[email protected]>
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > If you submit the form immediatly you don't get the
> > > > ViewExpiredException?
> > > > > >
> > > > > > Some more infos about your system would also be nice, e.g. what
> JSF
> > > and
> > > > > > Trinidad version you are using.
> > > > > >
> > > > > > Regards,
> > > > > > Jakob
> > > > > >
> > > > > > 2010/2/16 baeschtu baeschtu <[email protected]>
> > > > > >
> > > > > > > Hi, I have an applet in a trinidad web page like this, next to
> it
> > > is
> > > > a
> > > > > > > small
> > > > > > > <tr:form>
> > > > > > >
> > > > > > > <f:verbatim>
> > > > > > >        <applet code="UploadApplet.class"
> > > > > > archive="upload/upload-applet.jar"
> > > > > > > width="500" height="200">
> > > > > > >        </applet>
> > > > > > > </f:verbatim>
> > > > > > > <tr:form>
> > > > > > >       <tr:commandButton text="done"
> action="#{myBacking.done}"/>
> > > > > > > </tr:form>
> > > > > > >
> > > > > > > When I hit the submit buttom in the form after I used the
> applet
> > > > about
> > > > > 20
> > > > > > > seconds I get a javax.faces.application.ViewExpiredException
> > > > > > > I checked the form value of <input
> name="javax.faces.ViewState">
> > > but
> > > > > the
> > > > > > > number stay's the same.
> > > > > > >
> > > > > > > what can I do?
> > > > > > > thanks
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to