[Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Andrew Fritz
We have a 2 node cluster behind a commodity load balancer with sticky sessions. We are using PHP for front end pages, but all of our buisness objects are Java and are saved/loaded from our DB via Hibernate. We store php variables and objects in the php $_SESSION and that works great. We store j

[Resin-interest] Quercus fetch_field

2008-03-13 Thread jarmstrong
So i am trying to get the php framework I use up and running on Quercus/Resin. The issue I have is hte ORM layer in the php framework requires the fetch_field handling to be working and with the current state of 3.1 alpha it is not working (but everything else including implode/explode is looking

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Scott Ferguson
On Mar 13, 2008, at 8:39 AM, Andrew Fritz wrote: > We have a 2 node cluster behind a commodity load balancer with sticky > sessions. We are using PHP for front end pages, but all of our > buisness > objects are Java and are saved/loaded from our DB via Hibernate. We > store php variables and ob

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Andrew Fritz
We are using cluster store assuming I've understood the config file/documentation. I'm sure that roll over isn't the problem. I've never seen a case were an active session moved from one server to the other UNLESS I shut down a server so I'm sure our load balancer is leaving them where they ar

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Andrew Fritz
It also just occurred to me that we have another problem that is probably related (or in fact a result of the same root cause). To track user log in we simply place their id into a variable in the $_SESSION variable. If there is an ID in the session, that is the logged in user, otherwise, the p

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Serge Knystautas
Both the add and remove behavior you're describing is exactly what would happen if the load balancing was not sticky across 2 servers. What kind of load balancer are you using? I would try to confirm by creating a JSP like this: <%=java.net.InetAddress.getLocalHost().getHostName()%> and hit i

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Andrew Fritz
We are actually doing basically that on every page of the site. I put the local host name in the footer. That is how I've confirmed. I'll try again. Let me get the model number on the load balancer and reply with that also. Andrew Serge Knystautas wrote: > Both the add and remove behavior you'

Re: [Resin-interest] Session Clustering - Random loss of values.

2008-03-13 Thread Andrew Fritz
Just did about 30 refreshes and it always comes back web1, never web2. (request URL is entirely different, in a different domain in face; it is returning the expected fully qualified local host name). I'm not sure what brand/model the load balancer is. I'll put a call into our hosting service

[Resin-interest] HTTPS load balancing - need help/suggestions

2008-03-13 Thread Mitch Wallace
Our current environment has multiple physical servers behind a load balancer. Each server is running resin 3.1.1 where a java servlet handles requests. We have tested two different load balancer configurations with session stickiness, but encountered the following results: Config 1 - IP hash, se

[Resin-interest] Smarty - 3.1.4, 3.1.5

2008-03-13 Thread Andrew Fritz
Sorry if this is the wrong list, but the Quercus list appears to be KIA. There is no mail in the archive and mail to [EMAIL PROTECTED] bounces. Now to my question/statement: Smarty works great in 3.1.3, but is broken in 3.1.4 and 3.1.5. I opens the template file and returns the contents unproce

Re: [Resin-interest] Smarty - 3.1.4, 3.1.5

2008-03-13 Thread Chris Chen
Your problem is similar to mine. I spent the entire day yesterday trying to debug phpbb3 running on quercus. Phpbb3 appears to be using either Smarty or something similar and I am getting almost the exact problem that you're getting. It was super difficult to debug scripts under quercus. D

Re: [Resin-interest] Smarty - 3.1.4, 3.1.5

2008-03-13 Thread Andrew Fritz
Chris Chen wrote: Your problem is similar to mine. I spent the entire day yesterday trying to debug phpbb3 running on quercus. Phpbb3 appears to be using either Smarty or something similar and I am getting almost the exact problem that you're getting. It was super difficult to debug

Re: [Resin-interest] Smarty - 3.1.4, 3.1.5

2008-03-13 Thread Chris Chen
I've narrowed this down to the regular expression issue. It's failing on a regular expression that appears to work initially but later on fails for some very strange reason. I have not yet been able to pinpoint, but let me show you what I have so far. In PHPBB3's includes/function_templat

Re: [Resin-interest] HTTPS load balancing - need help/suggestions

2008-03-13 Thread Jay Ballinger
Mitch, We're using a hardware load balancer in front of our Resin servers. To try and find a way to uniquely identify each browser in an SSL and NAT world, we're utilizing the session ID on the SSL handshake. Since NAT routers will consolidate IP addys, and cookies may be hidden behind the SSL

[Resin-interest] major change in transactional behaviour in snapshot from 2008-03-04

2008-03-13 Thread Daniel D'Alessandro
Hi all, I've noticed a fairly major change in the transactional behaviour in the snapshot from 2008-03-04 basically if I have a session bean set up in the following manner public interface IFoo { public method1(); public method2(); } @Stateless @Local ({IFoo.class}) @TransactionAttribut

Re: [Resin-interest] Smarty - 3.1.4, 3.1.5

2008-03-13 Thread Scott Ferguson
On Mar 13, 2008, at 4:41 PM, Chris Chen wrote: I've narrowed this down to the regular expression issue. It's failing on a regular expression that appears to work initially but later on fails for some very strange reason. I have not yet been able to pinpoint, but let me show you what I ha