Messages posted by Gabcia
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: Gabcia  XML
Profile for Gabcia -> Messages posted by Gabcia [16] Go to Page: 1, 2 Next 
Author Message

costeen wrote:
We're getting the same error. Once you click around on iceface controls you start getting the blocking servlet errors and queue overflow errors. 


Me 2, still have problem and can't resolve him.
like in post, is any posible to get changed Tab - panelTabSet
hi,
I have panelTabSet and when i add binging PanelTab (I need id selected tab) i got on jboss console following errors.


Code:
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: questionValueImgLink.  Most recent UIComponent: class com.icesoft.faces.component.UIXhtmlComponent@28409746:tag=[a]
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id56.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@2e64c1
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id57.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@1d8e0f3
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id58.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@1988802
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id59.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@10951aa
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id67.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@d085f8
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id68.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@b96a5
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id69.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlOutputText@cf2fc9
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id75.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@4a7629
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id72.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@93a8fa
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id73.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@3ae8ac
 12:07:55,296 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id70.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@18181a8
 


here is sample of code:
B Bean:
Code:
 private PanelTabSet panelTabSet;
 	public PanelTabSet getPanelTabSet() {
 		System.out.println("GET");
 		return panelTabSet;
 	}
 	public void setPanelTabSet(PanelTabSet panelTabSet) {
 		System.out.println("SET");
 		this.panelTabSet = panelTabSet;
 	}	
 


and View.
Code:
 <ice:form id="tabForm">
 <ice:panelGrid styleClass="contentLayoutGridStyle" columns="1" border="0" id="expertQuestionsTabFocus">
         <ice:panelTabSet binding="#{questionsAction.panelTabSet}"
 	        				 selectedIndex="0"
 	    				     tabPlacement="top"
 	    				     styleClass="componentPanelTabSetLayout"
 	    				     id="selectedTabFocus">
             <ice:panelTab label="#{messages['tabsAction.tab0Name']}" id="tab0Name">
 			<ui:include src="tabs/questionsTab.xhtml" />		 
             </ice:panelTab>
             <ice:panelTab label="#{messages['tabsAction.tab1Name']}" rendered="#{currentCategory != null}" id="tab1Name">			
 			some other suff
             </ice:panelTab>
 	 </ice:panelTabSet>	        
     </ice:panelGrid>	        
 </ice:form>	
 



When i remove binding, everithink is allright. Why?
I use Seam with Facelets, and when i click on some link on page and reload view string in tab 2 "some other suff" is duplicated x-many times, where x is number of clicking times on link.
I saw that all basic html components are duplicated to.

If I remove binding value, everythink is allright and there is no errors!
Yep!
That didn't helped me! now i got that error id:
Code:
11:18:40,312 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.RuntimeException: viewNumber 1001 update queue exceeded 17


phil24 wrote:
Hi

in your web.xml file check if concurrentdomview is enabled:

<context-param>
<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
<param-value>true</param-value>
</context-param>

hope that'll help you,

regards, phil 


Hi,
I had param set to : false, and I changed to true, and we see if that helped.

I changed Seam 1.1.5 to 1.1.6 ver. and i get following error:
Code:
 09:00:02,234 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: selectedTabFocus.  Most recent UIComponent: com.icesoft.faces.component.paneltabset.PanelTabSet@1f39cb2
 09:00:02,234 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: FFRight.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@b49e68
 09:00:02,234 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: FFLeft.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlGraphicImage@bed64
 09:00:02,234 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: data.  Most recent UIComponent: com.icesoft.faces.component.ext.HtmlDataTable@10e6c5e
 09:00:02,234 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: scrollData.  Most recent UIComponent: com.icesoft.faces.component.datapaginator.DataPaginator@1eca460
 

Maybe that is my problem, that crasch my servlet?
What u think?
Hello,
I have IceFaces components on my page, and Seam <s:link component like a href component.
when i click on link and after that page is reloaded all basic html elements like
<img/<href/ simle string are duplicated, but if i create my img using <ice: cpomnent everythink is ok.
After few page reloadings i got more than one copy of all htmls.
Can anyone tell me what is going on, and why does this happen?

Example:
Code:
 <s:link action="#{questionsAction.selectQuestion}" value="#{questions.topic}" id="questionTopic"/>
 

this is not duplicated

Code:
 <a href="#" id="questionValue" onclick="javascript:changeFavourite(#{questions.idQuestion})">
 

this is duplicated x-times on page
can anyone please help me what that error can means?
I use panel tabs on page, and i get following error

Code:
 15:06:57,046 ERROR [D2DFaceletViewHandler] Multiple UIComponents found, which are wrongfully using the same id: _id130.  Most recent UIComponent:   
 

tony.herstell wrote:

IceFaces next release will (I hope) improve a lot of things to do with working with Seam.
:/ 

soo then we must wait...
But can u tell me where could be the problem? Is this an ice faces bug or my app? I have no error without this! :(::(:(:(:(:(:(

Can't find where is that problem, debuging gave me nothing. I spent couple hours to find resolve of that but with no effect.

tony.herstell wrote:
Next Release.
Its going to be awsome.
Cure lots of Seam/IceFaces issues. 

In previous version Gavin said same that about 1.1.6 ver. Seam.


here u got full stacktrace, maybe that tell u somethink more...
http://www.icefaces.org/JForum/posts/list/3756.page
hello,
I tryed to find answer for my problem on forum but i could't.

When i start my app and after 10,20 page transitions i get following error like in topic,and could't find resolve of that:
Can anyone tell me what that runtime error means, coz i don't know where to search my bug.

here, take a look on stack trace:
Code:
 09:55:43,203 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.RuntimeException: viewNumber 1 update queue exceeded 11
 	at com.icesoft.faces.webapp.xmlhttp.BlockingResponseState.writeElement(BlockingResponseState.java:183)
 	at com.icesoft.faces.context.DOMResponseWriter.writeDOM(DOMResponseWriter.java:375)
 	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:456)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:424)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:279)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at pl.fargo.expert.business.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:51)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 	at java.lang.Thread.run(Unknown Source)
 09:55:43,203 ERROR [CachedConnectionValve] Application error: Blocking Servlet did not complete its transaction
 


Maybe somethink is wrong with transactions?
I use mostly data tabs on page and basic components like ice:inputText...and when after that error throw i coud't swich betwen any tab. I need to re-deploy app, or kill session.
I got same problem:

Code:
 09:38:15,546 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.RuntimeException: viewNumber 1 update queue exceeded 11
 	at com.icesoft.faces.webapp.xmlhttp.BlockingResponseState.writeElement(BlockingResponseState.java:183)
 	at com.icesoft.faces.context.DOMResponseWriter.writeDOM(DOMResponseWriter.java:375)
 	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:456)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:424)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:279)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 

I gettin frustrating me....how can i remove that problem?

Hi, I have same problem with my app!
This f**** window is frustrating me to!
Is any possible to disable it?
I spent 4 day's to check what is wrong in my app, whole source code was checked, I thougth it is my fall, but here i read it is session problem.
Great! That I know now that my app is ok, but I still get "user session expired" randomly clicking on page!
F***!
U should create some option to any faces-config or web.xml
like
<show user-session-expire window>false</...>
Or make somewhere BIG INFO about "User session Expired" error for other guys that spend whole week to resolve this problem like me!
Regards!
Hi!
Like in topic, is any possible to do that?
I have button "Logout" and when I logout (using Seam and seam function
Seam.invalidateSession();)
This f**** window is thrown
HI again:
I made some different example and this simple app throws "user session expired" error to!

Look on my page!:
Code:
 Main Page
 <s:link value="ONE" action="#{homeAction.testOne}"/>			
 <s:link value="TWO" action="#{homeAction.testTwo}"/>
 <br/>
 <ice:form>
 	<ice:panelGrid styleClass="contentLayoutGridStyle" columns="1" border="0">			
         <ice:panelTabSet tabPlacement="top" styleClass="componentPanelTabSetLayout">	    				     
         <ice:panelTab label="Panel A">AAA</ice:panelTab>
         <ice:panelTab label="Panel B">BBB</ice:panelTab>
         <ice:panelTab label="Panel C">CCC</ice:panelTab>	
         <ice:panelTab label="Panel D">DDD</ice:panelTab>	
         </ice:panelTabSet>      		        
 	</ice:panelGrid>
 </ice:form>
 


and my links
Code:
 @Stateful
 @Name("homeAction")
 @Scope(ScopeType.SESSION)
 public class HomeAction implements HomeConsole {
 	public HomeAction() {}
 
 	@PersistenceContext
 	private EntityManager em;
 
 	@SuppressWarnings("unchecked")
 	public String testOne() {
 		System.out.println("TestONE");
 		try {
 			Query questionsListQuery = em.createQuery("FROM Category c");
 			List<Category> questionsListSize = questionsListQuery.getResultList();
 			System.out.println("Query Size:"  + questionsListSize.size());
 		}
 		catch(EJBException e) { e.printStackTrace(); }
 		return "/home.xhtml";
 	}
 	public String testTwo() {
 		System.out.println("TestTWO");
 		return "/home.xhtml";
 	}
 	@Destroy @Remove
 	public void destroy() { System.out.println("homeAction - destroy"); }	
 }
 


that is all i got!
When I run application and switch tabs everythinks is ok, when i click any of link few times and go to switch tab, "USER SESSION..." is thrown.
By the way, there is no eror with el, link "testOne" excecute query also fine, and there is no error on console!

I have IceFaces app with Seam...anythink i do i get following error "User Session Expired"!
No errors on jboss console, and trying to resolve it since few days and cant do it!
Can U help me with it?
First, in witch cases those problem is thrown, I cant find case where is my fall!
Example:
I have simple app, with menu on left and dataTabe connected to dataPaginator.
Menu is simple form and list of 5 elements like, persons name "Tom, mark, ann,..." when i click on Tom's name (<s:link...) data table shows me list of strings and here is problem when i change page in datapaginator "User sesion expired" is thrown.
And here is most intresting think! This is thrown randomly, sometimes when i clicking on tom everythink works fine.....sometimes those error is thrown when i click 2,6,20 time on menu, sometimes on ann's name, sometimes on mark's name...
Can anyone tell me why is this thrown?

I readed this is problem with "dynamic form's" but when I remove form in menu this cant resolve it.
I added
Code:
 	<application>
 	 <variable-resolver>
 		org.jboss.seam.jsf.SeamVariableResolver
 	 </variable-resolver>
 	 <locale-config />
 	</application>	
 

This doesn't resolve it too.

Maybe my Seam/IceFaces app libs combination makes this problem.
In booking example all icefaces libs are ing web-inf/lib, for me this cant load libs and made somethik different, I copied all icefaces libs to ear file and delcared them in application.xml.

I also added "true" to jboss \server\default\deploy\jbossweb-tomcat55.sar\META-INF
jboss-service.xml

changed faces-config.xml and web.xml like in booking example, changed all facelets files instead icefacelets.jar
PLEASE HELP ME TO RESOLVE IT!
Desperate Gabcia:(

P.S. Sorry for my english
 
Profile for Gabcia -> Messages posted by Gabcia [16] Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team