voyent
Messages posted by: Marioko  XML
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
someone else has problem with this??

Btw if somebody have no problem with that, can upload a small application (war) working with ICEfaces 1.7.1???
I have a problem with that contextParam in new ICEfaces 1.7.1, when conection lost by session timeout or something else the application get dead and not redirect to URI. In 1.7.0 its works perfect. I have this:

Code:
   <context-param>
         <param-name>connectionLostRedirectURI</param-name>
         <param-value>index.iface</param-value>
     </context-param>


I remove the simple quotes because icefaces put it by me!! I was testing in Firefox 3 and IE7.

thanks in advanced
exactly i get the same behavior!!
nop, the app works perfect, but when session expired or is invalidate the application only get disconnected and no redirect to index!! If i press refresh the applicaion go to index.. :D Maybe i am missing something will recheck again..
you could use the image url in a bean and change its values when user click button.

Code:
<ice:graphicsImage url="#{myBean.imageUrl}"/>
 
 <ice:commanButton value="DoSomething" actionListener="#{myBean.doSomething}"/>
 
 in myBean actionEvent you can:
 
 public void doSomething(ActionEvent evt){
      imageUrl = "new/path/to/image.jpg";
 }
 


ICEface do the magic!!
i have the same.. :(
Ohh damm now my app dont redirect to index.jsp when Session expired!!

Can you post your web.xml configuration??? i think i broke something!!!

Hi, first of all thanks for new version, its great.

I have a weird exception when session expire or is invalidate...
Code:
 java.lang.NullPointerException
 	javax.faces.component.UICommand.broadcast(UICommand.java:380)
 	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
 	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
 	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
 	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
 	com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
 	com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54)
 	com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42)
 	com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65)
 	com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44)
 	com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
 	com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
 	com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
 	com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
 	com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
 	com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
 	com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
 	com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
 	com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:46)
 


Btw where is the doc for new SessionRender API and Broadcast API??
nice :D
OK now all problems are gone, everything works perfect. I made a reconfiguration from scracth and all is perfect.

Solved using ICEfaces 1.7.1 :D
Mmm something weird?? before the above exception the info said:

Code:
18/06/2008 09:45:55 AM com.icesoft.faces.webapp.http.core.AsyncServerDetector <init>
 INFO: Asynchronous HTTP Service available: false
 18/06/2008 09:45:55 AM com.icesoft.faces.webapp.http.core.AsyncServerDetector <init>
 INFO: Adapting to Send Updated Views environment.
 18/06/2008 09:45:55 AM com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet <init>
 INFO: GlassFish ARP available: false
 18/06/2008 09:45:55 AM com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet <init>
 INFO: Jetty ARP available: false
 18/06/2008 09:45:55 AM com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet <init>
 INFO: Adapting to Thread Blocking environment


Adapting to Thread Blocking environment??? what that mean??
OMG!!! thanks a lot a lot a lot very muchs!! ICEfaces Team..

All these problems with NIO are resolved with ICEfaces 1.7.1..

I can die happy now!!

[EDIT]
Its works nice, but this exception is throw sometimes:

Code:
18/06/2008 09:32:33 AM com.icesoft.faces.context.View broadcastTo
 GRAVE: Failed to notify listener: com.icesoft.faces.context.View$3@4298e
 java.lang.NullPointerException
         at org.apache.catalina.connector.CometEventImpl.getHttpServletResponse(CometEventImpl.java:112)
         at com.icesoft.faces.webapp.http.servlet.TomcatPushServlet$EventResponder.run(TomcatPushServlet.java:295)
         at com.icesoft.faces.webapp.http.core.ViewQueue.put(ViewQueue.java:17)
         at com.icesoft.faces.context.View$3.run(View.java:76)
         at com.icesoft.faces.context.View.broadcastTo(View.java:195)
         at com.icesoft.faces.context.View.put(View.java:170)
         at com.icesoft.faces.context.PushModeSerializer.serialize(PushModeSerializer.java:72)
         at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:137)
         at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:283)
         at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
         at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54)
         at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42)
         at com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65)
         at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:46)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:879)
         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:719)
         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2080)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

I have no problem with ICEfaces and netbeans 6.1, only the normal problems of VisualWebPack.. not icefaces.

thanks
mmmm just use <hr> Remember you can keep using plain html..
ok i made a very simple and small test that reproduce the same problem.

It use: ICEfaces + Facelets, and was tested in Tomcat 6.0.16. You only need configure the tomcat nio connector and deploy

Thanks jack.van.ooststroom for all your help!
 
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team