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
i'm using Tomcat 6.0.16. My application is really big, i will make some small test.
ok, the above exception only is throwed when i run tomcat from netbeans, running a standalone tomcat start clean and perfect, but i still having the same problem with unresponse app.

PD: dont forget read all 2 messages before this. :-)
i keep testing, i think that Tomcat Push Server is never called, the mapping declaration is before block servlet mapping but the problem is alive.

I made this test:

1) I open directly in the browser http://localhost:8084/MyApp/block/ and it show me my main page but images are not displayed, that is beacuase the path, but the important thing is that blockServlet is responding.

2) I open directly in the browser http://localhost:8084/MyApp/block/receive-updated-views/ but nothing happens, the browser keep waiting a response for a while (2 or 3 minutes) and then a blank page. I expect some info or error or something.
Will likely be Monday or Tuesday for the 1.7.1 release. 


It will be awesome!! :D
"don't works". But i found something. If i let the page in the in-progress request for a while (2 or 3 minutes), the application response again, and keep running good, but 2 or 3 images are not loaded. If i close the browser and open again, the application again only response the first time, later it become unresponsive for a while and finally the browser and application dead.

Its look like something is blocking the request and later its released..

Also i look a new exception when server start.


12/06/2008 02:35:47 PM org.apache.tomcat.util.net.NioEndpoint setSocketOptions
GRAVE:
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:1011)
at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1204)
at java.lang.Thread.run(Thread.java:619)
12/06/2008 02:35:47 PM org.apache.tomcat.util.net.NioEndpoint setSocketOptions
GRAVE:
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:1011)
at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1204)
at java.lang.Thread.run(Thread.java:619)
12/06/2008 02:35:47 PM org.apache.coyote.http11.Http11NioProtocol start
 


mmm i see, ok i'll try :D
sure:

Code:
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
 <web-app>
  
     <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.jspx</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.concurrentDOMViews</param-name>
         <param-value>false</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.synchronousUpdate</param-name>
         <param-value>false</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.debugDOMUpdate</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         <param-value>server</param-value>
     </context-param>
     <context-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>/WEB-INF/spring/*.xml</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.uploadDirectory</param-name>
         <param-value>images/upload</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.connectionLostRedirectURI</param-name>
         <param-value>'index.jsp'</param-value>
     </context-param>
     <listener>
         <listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
     </listener>
     <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
     <listener>
         <listener-class>net.compulago.web.SessionDestroyListener</listener-class>
     </listener>
     <servlet>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>Blocking Servlet</servlet-name>
         <servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>uploadServlet</servlet-name>
         <servlet-class>com.icesoft.faces.component.inputfile.FileUploadServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
 
     <servlet>
         <servlet-name>Tomcat Push Servlet</servlet-name>
         <servlet-class>com.icesoft.faces.webapp.http.servlet.TomcatPushServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
 
     <servlet-mapping>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <url-pattern>/xmlhttp/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <url-pattern>*.iface</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>Blocking Servlet</servlet-name>
         <url-pattern>/block/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>uploadServlet</servlet-name>
         <url-pattern>/uploadHtml</url-pattern>
     </servlet-mapping>
 
     <servlet-mapping>
         <servlet-name>Tomcat Push Servlet</servlet-name>
         <url-pattern>/block/receive-updated-views/*</url-pattern>
     </servlet-mapping>
 
     <session-config>
         <session-timeout>15</session-timeout>
     </session-config>
     <welcome-file-list>
         <welcome-file>index.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
         <welcome-file>index.jspx</welcome-file>
     </welcome-file-list>
     <error-page>
         <error-code>404</error-code>
         <location>/index.jsp</location>
     </error-page>
     <error-page>
         <error-code>500</error-code>
         <location>/index.jsp</location>
     </error-page>
     <error-page>
         <exception-type>com.icesoft.faces.webapp.http.core.SessionExpiredException</exception-type>
         <location>/index.jsp</location>
     </error-page>
 </web-app>
 
 
Hi, i using ICEfaces 1.7.0 + Facelets + Tomcat 6.

I was testing the NIO capabilities of tomcat and icefaces, i configured my web.xml like said in icefaces developers guide adding tomcat servlet push, also i replace the default tomcat connector by new nio connector. Everthing start ok, servlet and connector start without problem and my web app show ok.

The problem is that only the first request is proceced, press login button send me to main page, after that all the applicacion dead. If i click another link the connectionStatus display the in-proccess animation and still there forever.

There is some issues with tomcat or there is something addicional to do..??

ohh damm... the problem was a stupid <ui:debug> tag that i was tested..
and i forget remove..

Come on everybody lets hate this tag: <ui:debug> :D
I dont know why but my application was working perfectly the last past days.

Today i was making some test and the dropListener event is only called one time. Someone has some idea to solve this..

thanks

PD: IceFaces 1.7.0
ok.. lets trace.. :D hehe
Hi IceFaces team, i just want anounce that final version of netbeans 6.1 is released, this version have huge improvements in web development, Visual JSF and code editor is a lot faster than version 6.0.

I know that currently icefaces is working in supporting this version, they are doing a great job, and i am sure VisualJSF 6.1 + ICEfaces 1.7.0 will be a killer visual editor for jsf rich web application development.

If there is somenthing that we (the comunity) can do just say it..

keep doing your job.. :D
heeeeeeeyyy remove those f:view from include pages.. Only main page should have f:view.

If you want you can use f:subview instead f:view in your include pages..
nice article i dont know that, this will improve my web.. thanks..

the thing is repleace the

<c:if test="#{tree.content!=null}">.. </c:if>

with

<ui:fragment rendered="#{tree.content!=null}">...</ui:fragment>

and should work.
try removing ui:insert tags..

Also check if there is more ui:includes and check for null,
 
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