| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/01/2007 02:34:13
|
Gabcia
Joined: 22/11/2006 00:00:00
Messages: 16
Offline
|
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
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/01/2007 04:07:09
|
Gabcia
Joined: 22/11/2006 00:00:00
Messages: 16
Offline
|
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!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 08/05/2007 15:08:00
|
lices
Joined: 13/04/2007 00:00:00
Messages: 9
Offline
|
Hi, i have the same Problem.
did you solve the problem
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 09/05/2007 15:12:19
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1043
Offline
|
I would be interested to know if you are experiencing this same problem with the DR4 version of Icefaces and jboss-seam1.2.1GA A lot of work has been done on the icefaces framwork and components to integrate well with Seam and we'd like to keep track of any issues that have been resolved with the upgrades.
Thanks.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2007 02:56:12
|
lices
Joined: 13/04/2007 00:00:00
Messages: 9
Offline
|
Presently i am working with jboss seam1.1.6 GA, therefore don´t say anything about this.
yesterday I resolved my problem, but i don´t know the reason for this problem.
Later i want to use jboss-seam 1.2.1GA, so i say more about this
And sorry for my bad english
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2007 06:12:02
|
kexkey
Joined: 19/01/2007 00:00:00
Messages: 60
Offline
|
Gabcia wrote:
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!
I don't use Seam or JBoss, I run Tomcat and I have the exact same problem. What is weird is that I have the problem on a PC and don't have it on my laptop... same Tomcat version, same ICEFaces version 1.6.0DR4.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2007 07:51:19
|
lices
Joined: 13/04/2007 00:00:00
Messages: 9
Offline
|
I have a simple Application. i have got a textfield and a button. if i click this button it shold be insert something in the Database. but it had be requiered a lot. so i got the ERROR User Session Expiered". My problem was on my Entity manager, which used for inserting in the database
I improve it and then it was ok. I dont get this "ERROR User Session Expiered" again.
My idea is perhaps that you have another problem in your code, so appers this following ERROR "User Session Expiered".
but i dont know really 100%
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2007 11:21:14
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1043
Offline
|
I can't seem to recreate this problem. Using seam1.2.1GA and icefaces DR4 you might want to try using icefaces-seam-gen to generate your configuration files. This will set up your entity manager properly as well as everything else.
The icefaces-seam-gen will reverse engineer the data from your tables into pages that edit, view, search your tables (using the efficient Seam framework for database access).
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2007 12:52:23
|
kexkey
Joined: 19/01/2007 00:00:00
Messages: 60
Offline
|
lices wrote:
My idea is perhaps that you have another problem in your code, so appers this following ERROR "User Session Expiered".
Well I am getting the problem with the component-showcase sample that comes with ICEFaces...
Weird that it works on one PC and not on another one though...
In the log file, I get:
Code:
javax.servlet.ServletException: Session expired
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38)
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:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
...
...when I access http://machinename:8080/component-showcase/
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/05/2007 08:24:31
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1043
Offline
|
are you talking about component-showcase that comes in the samples directory of the icefaces bundle? or the seam-comp-showcase that is bundled separately?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/05/2007 08:43:14
|
kexkey
Joined: 19/01/2007 00:00:00
Messages: 60
Offline
|
judy.guglielmin wrote:
are you talking about component-showcase that comes in the samples directory of the icefaces bundle? or the seam-comp-showcase that is bundled separately?
My point was I have the same problem, running the component-showcase *without* Seam... So I guess the problem is not necessarily related to Seam.
:)
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/05/2007 08:54:49
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1043
Offline
|
Which type of server are you running on. have you gotten rid of all the temporary files? Did you try downloading the ear file and just deploying it (there is one on our download site for seam-comp-showcase)? (make sure the server has ejb3 capability). Were you using exploded files?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/05/2007 09:16:09
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1043
Offline
|
Now I'm the one that wasn't clear....the seam-component-showcase needs ejb3. (the bin bundle for this has the seam-component-ear that you can just deploy to an ejb3 enabled server)
The regular component-showcase can be deployed to Tomcat, but has to be compiled and packaged from source.
Hope this is clear....
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/05/2007 09:23:46
|
kexkey
Joined: 19/01/2007 00:00:00
Messages: 60
Offline
|
judy.guglielmin wrote:
Which type of server are you running on. have you gotten rid of all the temporary files? Did you try downloading the ear file and just deploying it (there is one on our download site for seam-comp-showcase)? (make sure the server has ejb3 capability). Were you using exploded files?
Sorry, I was not clear. I deployed the component-showcase.war in Tomcat and the problem happened. I didn't deploy it in JBoss or another EJB container. So I thought the problem might not be related to Seam and wanted to share this information with you.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 14/05/2007 15:13:39
|
Kraderif
Joined: 10/05/2007 00:00:00
Messages: 6
Offline
|
Hello everyone,
I have the same problem.
I was trying some of the tutorial samples with ICEfaces v1.6.0 DR#4, but they did absolutely nothing. (For example, a table with a paginator never reloaded after clicking on the "next page" button.) No error message appeared on the browser but on the server output file there was the next:
Code:
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$2 run
WARNING: [1] views have accumulated updates
After trying many things, I noticed that when the context parameters com.icesoft.faces.concurrentDOMViews and om.icesoft.faces.synchronousUpdate are set to false, I get the next error message: "Network Connection Interrupted
To reconnect click the Reload button on the browser or click the button below".
There is no stacktrace but I get the next messages on the server output file:
Code:
com.icesoft.faces.webapp.http.core.ReceivePing service
WARNING: could not get a valid queue for 1
Then I downloaded the last release (ICEfaces v1.5.3) and the "User Session Expired" message appears.
I deployed the component-showcase and the address sample that comes with the ICEfaces v1.6.0 DR#4 package and those applications worked just fine.
I have checked the code and the xml config. files (web, faces-config) over and over and don't know what is happening.
I am using Tomcat 5.0.25 with Java 1.4.2_04-b05.
Can anyone help me please?
Thank you.
|
|
|
 |
|
|