[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [starter-dev] Archetype and UI Release | 
- From: Reza Rahman <reza_rahman@xxxxxxxx>
- Date: Sat, 15 Mar 2025 19:01:21 -0400
- Delivered-to: starter-dev@xxxxxxxxxxx
- List-archive: <https://dev.eclipse.org/mailman/private/starter-dev/>
- List-help: <mailto:starter-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://dev.eclipse.org/mailman/listinfo/starter-dev>, <mailto:starter-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://dev.eclipse.org/mailman/options/starter-dev>, <mailto:starter-dev-request@eclipse.org?subject=unsubscribe>
- Ui-outboundreport: notjunk:1;M01:P0:Kf6PBl0efyY=;Srbp1WwUsPutnugOJGGabWAv8SS apopE3Sc6+fymplXLGk6D7G7cn1jCYKfW074jZrnpMJ53x6m1ktZuQcVk6p6GRcwHqMEqfSkn +Jy9ZpnA1f67ahJEjF5Nza2nwoTk7PqUjDRvY5mEiCl2fGsn6asMf74PK6oNdjN7nkUkVIAD2 3IHjHcFGItsrBhvfZwGQc8bS/NWEjxzfU7YxOWiI+tKabdlUpY0+G5Hm6MKWWRw+Iaggl1SiK 42ayk2LK6DTf9FvNJXCIdFx9pHIy8ZtEPUk3/2hEWb3+S5iJXZanjUJB5NMEHYVYgRv2RF8U6 ET2BVrEJ6DYDT+6fw5bj4+Ep3TD31Njb852OFBOT6FWeJmD0IbeEXo5T/gUU0P6wPcaL1W4L2 XtrcsE5CqSt7qQ3btPcLKvL+hFUN7i38F7HN5nts2gZBtE0iHU1IsL5gfD4eODJETX1ep1O6d Lyjt7eCEG4zz9GbCDt7Z1ESepIVods6SNxJZAAWejzgnkK1OCBpQrHC4FKgEwp6EN8x94RbJa 9HABBHGG1SQWQatG6mRB65fQebVRwexYpCvrZmHP1ABmN47NChihJFb3XF7SSPp4TTrgmZlc2 AYQxItEr6xLIlIxHdYbchO5HxryXieOkmIvMkp6Z+Jmjc/yPxbc6qBWHKAQNlLsn05/4N3dQS XK0RSuScP3HSsexMa8frNlo0QULG71ofG+jgA2wXxwMV22+JS8/KvZluLPb9QiFsu7POVP8b3 QG7dLOEHd7K6U9Ahm1cqdSlGZ3r9aE5oG+EFeK8XCLu4hTsRX5zUUu+8xNKLvz/2eIoAvUAc2 K+8EM2z6JzSSDXVXCU8U/PLku13VxWQeCQpF/E48GuTg/COVaMOxa9FaxWfRGpf3OaiSxhg8i klzwu6WgrygXlFFqkxQHZbjkUz1J5SwC/Dwx+HvyegJ85smmvmqZG3hIJcDaQ6P5Fw1BBoM04 ESo+7ddxU4EP5oKa5k+RBMURTunlZ0nM9DpUROite7034Tdd5NXsg0mBhgpbwgL4UYwylhw/O qacXph373b2PVmOI0LtWFLYDJKRESYnGgeKb0ihiLNzbpxkGPm133SWu8cwu89TfwSJ6BjdRo O/XwLGl3lzTUlJZNh1L+X+UZhBts1zcxrkdZKjU0FinI3JTbx6yYwC8OyAZ1yhQrNyMc9k4xg nRSP4r9/Y+B25z1n8/qSH2u6g0JZgmhg1AfhOQUzlPKUzBJZDh4dcyfsIuWgqOFVCShPNR8kH eTB9csKhpRjf8SeesYJ1+L/vnY/Q+pcf4nFaa8z6YOLolN/sqU8Zhnorx8/ojeK12mjofhEVr pRjiekTbVF/+IYQt1NYmJKZtH+3tTtUQVpEOSTo70UCyCUMiv30ysbgKAGjxHq/kIHXBtZNDM C1J7tclBL1weVwBIRYBgJj9by48G/wTfOZOSE23oPHwp7p5ea4ucw892ujm1TH/p4Zc+xfYIJ 0yVMl0t74N8cvUqLobuNOMg7VsIQU6cD10VA7qlWLzIgk71uO5gUEfp6LTJiOp6kJJBg00w==
- User-agent: Mozilla Thunderbird
  
  
    Hi Jeyvison,
    I've now stabilized the GlassFish Docker support in the Archetype
      too. So if you like, we can have both a UI and Archetype release.
    I have a few family obligations tomorrow, but I will try to
      surface the GlassFish Docker support in UI too as soon as I am
      able. I suggest prioritizing getting rid of the view expirations
      as soon as possible though.
    Thanks,
    Reza
    On 3/14/2025 12:36 PM, Reza Rahman
      wrote:
    
    
      
      Sounds good.
      Jeyvison, can we have a new release of just the UI please? I've
        tested the change and it appears fine. Bear in mind, I just
        merged a long-standing PR from Ondro into the Archetype part
        that isn't ready for prime time yet, so please don't do a
        corresponding release of the Archetype yet? Just the UI please?
      I appreciate it! 
      
      On 3/14/2025 12:26 PM, Bauke Scholtz
        wrote:
      
      
        
        
          On this specific public facing app, I suggest keeping
            client state saving. This will further reduce
            ViewExpiredException risks as well as headache risks and
            hence in long term better for well being on both sides.
          
          
          Cheers, B
         
        
        
          
          
            
              I found out that session affinity was
                indeed turned off and I have now turned it on.
              
              
              Before deploying this change, is it worth
                it to observe if this simply solves the problem? Or
                should I switch to client state saving anyway?
              
              
              WDYT?
              
              
              
              
              
                try to ensure sticky
                  sessions for good measure
              
              
              
              
              
              
              Cheers, B
              
              
              
                OK, great. Let me test it and get
                  it deployed. I'll monitor for any more issues and also
                  try to ensure sticky sessions for good measure.
                  Thanks!
                On 3/14/2025 11:53 AM, Bauke
                  Scholtz wrote:
                
                
                  
                  
                  
                  Cheers, B
                  
                  
                  
                  
                    Do you mind kindly making a
                      PR with the approach you think is best overall?
                      I'll test it out and monitor that it works. I
                      appreciate it!
                    On 3/14/2025 11:45 AM,
                      Bauke Scholtz wrote:
                    
                    
                      Yeah. The issue
                        boils down to that the view scoped bean
                        referenced in the p:selectOneRadio is created
                        for the first time when the response is already
                        committed. And view scoped beans need to be
                        saved in the session. But when the response is
                        already committed the cookie associated with the
                        session cannot be set. 
                      
                      
                      Another
                        solution is to add a f:viewAction referencing
                        some bean init method and use that instead of
                        postconstruct. This is guaranteed invoked before
                        render response.
                      
                      
                      Yet another
                        solution is to create a servlet filter which
                        does an explicit request.getSession() call.
                      
                      
                      You got it.
                      
                      
                      Cheers, B
                      
                      
                      
                      
                        To some extent, the
                          symptoms at least appear simple. We are now
                          getting copious amounts of views expired
                          (example stack trace attached). I had seen
                          this in prior releases with JBoss EAP 7.4 (and
                          the corresponding WildFly version). What I did
                          is to set STATE_SAVING_METHOD=client. It
                          worked well and saw no more views expiring in
                          the logs.
                        Then we upgraded to JBoss
                          EAP 8 and the corresponding WildFly versions.
                          Now with STATE_SAVING_METHOD=client, I get
                          this strange session state saving issue
                          (example stack trace also attached). So we are
                          stuck with views expiring again.
                        Let me know if I can
                          share anything else. Let me see if there is
                          anything I can do to ensure sticky sessions.
                          Because this is deployed to an Azure PaaS, I
                          have a very limited amount of control.
                        On 3/14/2025 10:58 AM,
                          Bauke Scholtz wrote:
                        
                        
                          Hi,
                           
                          
                            I had to
                              remove STATE_SAVING_METHOD=client because
                              I could not get it to work
                          
                          
                          
                           Would be
                            helpful if you elaborate this in detail. It
                            might be a clue. One of pre-requirements for
                            that in a cluster environment is that the jsf/ClientSideSecretKey
                              env param is set (usually in web.xml).
                              This has been renamed to
                              faces/ClientSideSecretKey. So if the
                              cluster doesn't use sticky sessions then
                              ViewExpiredException will occur. 
                          
                          
                          Cheers, B
                             
                          
                          
                          
                          
                          
                          
                          
                          
                            Hey Reza,
                             
                            Can you provide
                              some more details (perhaps point me to
                              logs or explain any scenarios)? 
                             
                            We're still
                              partners with PrimeTek and I still work
                              with Bauke Scholtz (cc'd), so we can
                              figure it out. 
                            
                            
                            
                            
                            
                              Hi Kito/others,
                                
                                I have been monitoring the release for
                                stability and unfortunately we
                                have a problem that needs to be solved.
                                I had to remove
                                STATE_SAVING_METHOD=client because I
                                could not get it to work with the
                                latest PrimeFaces/Jakarta EE 10/JBoss
                                EAP 8. Now we have the infamous
                                JSF problem of views expiring left and
                                right again of course. I will
                                keep trying this weekend, but can you
                                possibly help me look at this and
                                solve it? You still have some contacts
                                with the PrimeFaces folks, right?
                                Could they help? This appears to be
                                mainly a PrimeFaces problem.
                                
                                Thanks,
                                
                                Reza