Messages posted by Baleyba
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Messages posted by: Baleyba  XML
Profile for Baleyba -> Messages posted by Baleyba [110] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
Hi deryk.sinotte,

Thanks for your answer.

I'm using the last SVN revision. JBOSS and JDK 1.5.0_12 is running on windows.
The problem happens with both ie7 and firefox3.

I'm using JSP but it happens too with facelets.

I don't understand why.

No problem if I deploy the project on JBOSS 4.2.2.

I tried Icefaces demos too, but I didn't succeed in deploying them.

I compile ICEFaces from svn with:
ant -Djsf12="" -Dserverjsf="" 


When I run jboss 4.2.3 and I'm getting:

19:40:45,374 ERROR [[jboss.web].[localhost].[/auctionMonitor]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.config.WebConfiguration 


How do you ran auction monitor on jboss 4.2.3 ?
Before I was using the same method and it worked.

Thanks for your help.

regards.

Bal.
Hi,

I get this problem too sometimes

regards,

Bal.
Hi,

I get the last SVN rev. 17242.

Since this version, the title from my webapplication renders with html code in the html <title> tag.

The code:
...<head><title><ice:outputtext value="title" /></title></head>... 


renders:

...<header><title><span class="iceOutputTxt" id="j_id7">Title</span></title></header>... 


instead of rendering:
...<head><title>title</title></head>... 


You can see the attached screen capture for more details.
The workarround I found is to use <h:output> tag.

Is it one other solution to use the ice tag ?

regards,

Bal.

Hi all,

I just upgraded my jboss to 4.2.3

My IceFaces applications are working fine.

But when I'm refreshing them with refresh button from navigator, the page becomes blank and it is impossible to come back to the ICEFaces application. I must close navigator or clear session.

What should I do ?

Is it an ICEFaces incompatibility with JSF 1.2-09-BETA1 jboss library ?

Thanks for your help.

regards,

bal.
Hi,

Sorry, I wasn't very clear.. in me previous posts...

I would like intercept the close of navigator for closing session properly and removing it from sessions pool.

It perfectly works with <body onbeforeunload=""> tag, but ICEFaces is already using this tag apparently. And it throws an exception when I'm using it.

So I'm looking for solutions.

First, I have seen PersistentFacesState.addViewListener(ViewListener listener) but unfortunately it is deprecated.

After that, I tried Interface DisposableBean but it isn't called when navigator is closing.

third, I tried <body onunload=""> tag but it is called on every change of view.

So I don't find any solution.

Thanks for your help

regards,
Bal.
The Interface DisposableBean can't solve my problem because I need to intercept onunload event...

Hi,

I would like to know what can I use to replace this deprecated method.

PersistentFacesState.addViewListener(ViewListener listener)


I would like to call the Listener.dispose() method in order to execute function when navigator is closing.

Thanks for your help.

regards
Bal.
hi ken.fyten and Marioko,

ken.fyten> Yes, I'm using the ice:outputConnectionStatus component.

Now I'm using last rev.: 16912 and yes my application is using asynchronous update mode.

Thanks for solving this bug: http://jira.icefaces.org/browse/ICE-3095 => Now I don't get the exception when session expires. But always no redirection to the login page... :(

Marioko>I tried you solution, but it doesn't work in my project :(

I'm always getting this status when session is expiring... and no redirection.


Thanks for your answers

best regards,
Bal.
Hi,

With the day svn revision: 16871

Now I'm just getting this following line:


15:19:50,832 ERROR [http.servlet.SessionDispatcher] java.lang.NullPointerException 


And the session timeout redirection don't work

regards,

Bal
I'm using svn 16846
Hi eashwaranp,

Thanks a lot for your help and this information.
It perfectly works ;)

I just added a "\". =>".+\\.xls"


thanks

regards,
Bal.
Hi,

I would like to define a name pattern for input files.
For example I would like to allow only ".xls" files.

I didn't find any example to set up this feature on this component.

What format should I use into INVALID_NAME_PATTERN parameter to define my pattern?

thanks for your help

regards,

Chris
Hi,

I'm using lastest SVN 16805.

I setup the folowing lines into web.xml

Code:
	<context-param>
 		<param-name>com.icesoft.faces.connectionLostRedirectURI</param-name>
 		<param-value>'/index.jsp'</param-value>
 	</context-param>


and

Code:
 	<session-config>
 		<session-timeout>1</session-timeout>
 	</session-config>
 


So, when the minute is done, I get the following message and I don't have any redirection to the index.jsp file.


19:42:01,628 ERROR [http.servlet.SessionDispatcher] java.lang.NullPointerException
19:42:01,629 ERROR [[localhost].[/].[Blocking Servlet]] "Servlet.service()" pour la servlet Blocking Servlet a généré une exception
java.lang.IllegalStateException: "getLastAccessedTime": Session déjà invalidée
at org.apache.catalina.session.StandardSession.getLastAccessedTime(StandardSession.java:439)
at org.apache.catalina.session.StandardSessionFacade.getLastAccessedTime(StandardSessionFacade.java:84)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:227)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:221)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionInitialized(SessionDispatcher.java:110)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifyIfNew(SessionDispatcher.java:63)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:52)
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
19:42:01,629 ERROR [[localhost].[/].[Blocking Servlet]] "Servlet.service()" pour la servlet Blocking Servlet a généré une exception
java.lang.IllegalStateException: "getLastAccessedTime": Session déjà invalidée
at org.apache.catalina.session.StandardSession.getLastAccessedTime(StandardSession.java:439)
at org.apache.catalina.session.StandardSessionFacade.getLastAccessedTime(StandardSessionFacade.java:84)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:227)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:221)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionInitialized(SessionDispatcher.java:110)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifyIfNew(SessionDispatcher.java:63)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:52)
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
19:42:01,631 ERROR [[localhost].[/].[Blocking Servlet]] "Servlet.service()" pour la servlet Blocking Servlet a généré une exception
java.lang.IllegalStateException: "getLastAccessedTime": Session déjà invalidée
at org.apache.catalina.session.StandardSession.getLastAccessedTime(StandardSession.java:439)
at org.apache.catalina.session.StandardSessionFacade.getLastAccessedTime(StandardSessionFacade.java:84)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:227)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:221)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionInitialized(SessionDispatcher.java:110)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifyIfNew(SessionDispatcher.java:63)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:52)
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)

 

Do you have ideas for solving this redirection problem ?

thanks for your help and advice.

regards,

Bal.
Hi judy.guglielmin,

Thanks for your answer. I tried twice and it is working now.

I don't understand what happend...

Thanks
regards
Bal.
Hi,

I tried to compile SVN sources but it doesn't work for few days.

When I run ant task after the clean, I get this error.


Code:
compile:
     [mkdir] Created dir: /home/baleyba/icefaces/icefaces/ahs/build/classes
     [javac] Compiling 62 source files to /home/baleyba/icefaces/icefaces/ahs/build/classes
     [javac] /home/baleyba/icefaces/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/MessageService.java:34: cannot find symbol
     [javac] symbol  : method close()
     [javac] location: class com.icesoft.net.messaging.MessageServiceClient
     [javac]             messageServiceClient.close();
     [javac]                                 ^
     [javac] /home/baleyba/icefaces/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncHttpServerAdaptingServlet.java:202: cannot find symbol
     [javac] symbol  : method close()
     [javac] location: class com.icesoft.net.messaging.MessageServiceClient
     [javac]             messageServiceClient.close();
     [javac]                                 ^
     [javac] /home/baleyba/icefaces/icefaces/ahs/src/com/icesoft/faces/util/event/servlet/MessagingContextEventPublisher.java:200: cannot find symbol
     [javac] symbol  : method close()
     [javac] location: class com.icesoft.net.messaging.MessageServiceClient
     [javac]             messageServiceClient.close();
     [javac]                                 ^
     [javac] 3 errors
 
 BUILD FAILED
 /home/baleyba/icefaces/icefaces/build.xml:95: The following error occurred while executing this line:
 /home/baleyba/icefaces/icefaces/ahs/build.xml:189: The following error occurred while executing this line:
 /home/baleyba/icefaces/icefaces/ahs/build.xml:39: Compile failed; see the compiler error output for details.
 



thanks for your help

regards,
Bal.
 
Profile for Baleyba -> Messages posted by Baleyba [110] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team