Messages posted by glenn.molnar
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: glenn.molnar  XML
Profile for glenn.molnar -> Messages posted by glenn.molnar [14]
Author Message
Thanks for the help, we managed to sort this out.

Turns out we were missing a piece of configuration from our web.xml
Code:
    <listener>
        <listener-class>
            com.icesoft.faces.util.event.servlet.ContextEventRepeater
        </listener-class>
    </listener>


Without this it seems that the relevant ICEfaces code would not be notified when a session was destroyed.

Cheers
Hi All,

We are finding that our Seam + ICEfaces application grinds to a halt once it has been hit by about 1600 users (not necessarily within a short time period).

We have been analysing heap dumps as it appeared that the GC would continually run and could not free up any memory. There seems to be a huge amount of heap taken up with com.icesoft.faces.webapp.http.servlet.MainServlet which contains a map of com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.

From the naming of this class, and from the number of them that seem to exist, they obviously relate to the sessions, but they do not seem to be cleaned up - even when our session timeout is set to only 1 minute in the web.xml

My question is, is there some misconfiguration that may be causing this? Or is there something we can do in code to force these objects to be cleared when a session is invalidated?

Thanks very much
The exception that occurs in Seam 2.0.2 is the following:

SEVERE: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.render.RenderKitFactory
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:267)
What was the solution for this? I am facing a similar problem at the moment, though I am not trying to download a file - I'm just trying to have a link that opens in another window, but the original window becomes unresponsive.

Thanks
What about the styling? Is it possible to change it?
Hi Emmanuel,

It appears that the ability to read these messages from a bundle is available in 1.7.2.SP1

http://jira.icefaces.org/browse/ICE-3016

Though still no mention about styling :(

Hi Emmanuel,
I am also interested in this. We would like to customise the user session expired message (ideally from a resource bundle). I am also wondering if there is a way to change the styling of the popup...
Got this working! It was something dumb of course. Was missing jboss-seam-ui.jar :\

Thanks for your help

Which version of Seam? Are you sure that your backing bean with your list items is still in scope? 


We are using Seam 2.1.0 CR1. The list items are definitely in scope, because the list is working with f:selectItems instead of s:selectItems, and also because I have put a breakpoint into the getter and can see that it is being called and the data being returned is valid.

That's OK. I saw on your coworker's post that it's seam-2.1.1 (will assume CR1). Any reason why you don't have a value bound to the <ice:selectOneMenu> component and a partial submit? I will do a little test this morning to ensure it's working properly. 


We have tried with the value bound as well, I was just trying to create as simple example as possible for posting.

I don't ever use it for just a bunch of strings, but there must be some way to do so. I don't have time to spend on it now, but I would guess that the list just isn't created when it should be. Also, I usually use a factory in Seam, so that if the list evaluates to null, it can then be created. If you look at resources/components.xml, you will see where the factory for employeesList is created.  


This is actually what I was trying to do - have a list of entities annotated with @DataModel which is populated by a @Factory method. When it did not work I started trying out lists of strings, arrays of selectitems, etc.

Thanks for your reply
Glenn
Hi All,

Is anyone aware of any issues with ICEfaces 1.7.2 to do with using the s:selectItems Seam tag?

This piece of xhtml functions fine:

Code:
 <ice:selectOneMenu>
     <f:selectItems value="#{orderPageManager.quantityItems}"/>
 </ice:selectOneMenu>
 


(orderPageManager.getQuantityItems() returns a SelectItem[])

but as soon as I change the f:selectItems tag to be s:selectItems or use something like the following:

Code:
 <ice:selectOneMenu>
     <s:selectItems value="#{orderPageManager.quantityItems}" var="item" label="#{item.shortDesc}" />
      <s:convertEntity/>
 </ice:selectOneMenu>
 


no values are shown in my combo box...

I have tried with getQuantityItems() returning SelectItem[], Lists of strings, arrays of strings, List of entities.

Ideally it would be fantastic if I could get this working with an outjected @DataModel List of entities.

I saw a JIRA where a bug with s:selectItems was listed but it was fixed in 1.6.1 apparently.


Thanks very much

Glenn
Hi All,

Does anyone know if there has been any progress on this JIRA?

http://jira.icefaces.org/browse/ICE-2421

I have tried both JMeter and Selenium and can't seem to get automated tests working properly with an ICEfaces application, I'm guessing because of the Ajax push stuff....

Thanks very much
Glenn
Our portlets will be in the same war file, so yeah there's no reason that we can't store objects into the PortletSession with application scope.

It just seems like it isn't really an ideal way to do it, because you're bypassing/going against all of Seam's bean management.
Hi All,

I am currently trying to set up a bunch of Seam + ICEFaces portlets which share some common data (per user) between them.

All of the examples and discussions I have come across do this by storing application scope attributes in the PortletSession.

To me, this seems to go against Seam's component model. My question is, is there no way of doing IPC using data that is shared somehow by a Seam managed bean? (Other than having the bean application scoped which obviously does not work for multiple users)

Thanks very much
Glenn
 
Profile for glenn.molnar -> Messages posted by glenn.molnar [14]
Go to:   
Powered by JForum 2.1.7ice © JForum Team