Ever since the latest version of eBase was released, I've had a problem where I make a change to a client or server side script but the changes do not immediately go into effect after I reload the form.
Whenever I make a change to a form I reload the URL but the changes are obviously not present. When this happens, I can even confirm that this is the case by adding gibberish to the script. Rather than crashing the form (as it should do) it appears as if an older cached copy of the script is being used. When this happens the only way to resolve it is to restart the server which can be difficult to do at any given time since we always have users actively using an eBase application.
I have seen this error on both Firefox on Chrome and have deleted the browser cache on both browsers and still have this issue.
Server side changes not taking effect
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
We are aware of this problem, but at the moment don't know what's causing it. Hopefully we'll get it sorted out in the next service pack. For anybody else viewing this post, steps to address this issue are:
1. Restart the server
2. If that doesn't work, delete all the cache files (*.data) in UfsServer/tomcat/work/Catalina/localhost/<webapp> then restart the server
1. Restart the server
2. If that doesn't work, delete all the cache files (*.data) in UfsServer/tomcat/work/Catalina/localhost/<webapp> then restart the server
0 x
-
- Ebase User
- Posts: 95
- Joined: Wed Feb 27, 2013 5:16 pm
We have just encountered something very similar to this (we are running ebase 4.5.1) and deleting the tomcat /tmp files did the trick for us.
We have been making lots of changes without any problem until adding a grid to a page and programmatically hiding/unhiding it (we don't use many) - then the problems occurred - after tomcat restart (and /tmp files deletion) the problems went away.
We noticed the changes were picked up when running the form from Ebase but any other call to the form didn't pick the changes up.
We have been making lots of changes without any problem until adding a grid to a page and programmatically hiding/unhiding it (we don't use many) - then the problems occurred - after tomcat restart (and /tmp files deletion) the problems went away.
We noticed the changes were picked up when running the form from Ebase but any other call to the form didn't pick the changes up.
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
Jon,
I am on 4.5.3.
I have a form that has a table that is initially hidden until after I call fetchTable. After fetchTable(). I do tables.mytable.control.setHidden(false);
The table does not appear after I display it. If I press F5 in the browser window, the table appears as it should. It sounds like the exact same behavior where there's caching going on.
I am on 4.5.3.
I have a form that has a table that is initially hidden until after I call fetchTable. After fetchTable(). I do tables.mytable.control.setHidden(false);
The table does not appear after I display it. If I press F5 in the browser window, the table appears as it should. It sounds like the exact same behavior where there's caching going on.
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
Jon,
I have a somewhat similar issue where I have a button that is marked as Hidden and is not supposed to be displayed when my form is initially presented to the user but is still being displayed unless I call setHidden(true) in the Before Page event. This does sound like a caching issue to me.
By the way, I am on 4.5.3
I have a somewhat similar issue where I have a button that is marked as Hidden and is not supposed to be displayed when my form is initially presented to the user but is still being displayed unless I call setHidden(true) in the Before Page event. This does sound like a caching issue to me.
By the way, I am on 4.5.3
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Perhaps I should explain something about the caching problem that was fixed: the problem was that changes made in the designer were not being picked up by the server, and forms would continue to execute with an older version or some of the scripts might be older versions. These older versions were being loaded from a cache incorrectly. This problem could always be resolved by stopping the server, removing the cache files in tomcat/work/Catalina/localhost/webapp and restarting the server - this forces the system to ignore any cached entities and reload everything from the database.
0 x
Who is online
Users browsing this forum: No registered users and 21 guests