Omnis app server deployment
Martin Obongita
martin.obongita at yahoo.com
Mon Aug 26 18:24:42 UTC 2024
Stop Everyone, STOP!
The dataGrid has just displayed the data after I changed the port number in the server configuration to 0. Very "weid" behaviour from Omnis app server.I can't explain what really happened. But it is now working. The datagrid is diplaying all the records. @Caroline could be right that there is a bug hidden somewhere in the app server installation.
Thank you all for chipping in your ideas. I'm now good to go.
Kind regards, Martin
On Monday, August 26, 2024 at 09:06:05 PM GMT+3, jim jpcr.com <jim at jpcr.com> wrote:
Hi Martin,
Not so much the .htm files, but maybe there are older versions of .css or .js files lurking in your app server environment.
Jim
--
Jim Pistrang
JP Computer Resources
413-237-5710
<https://jpcr.com>
On Aug 26, 2024, at 11:29 AM, Martin Obongita <martin.obongita at yahoo.com> wrote:
I have copied over all the htm file from /html folder into the server folder. The forms are many, so only updated the data parameters for the forms I want to test. Could this be the cause of the issues? that all the forms must be updates the
<div id="omnisobject1" style="position:absolute; top:0; left:0; width:_BW_; height:_BH_;"data-webserverurl="127.0.0.1:53666"data-omnisserverandport="53666"data-omnislibrary="email_payslip"data-omnisclass="jsemailpayslip"data-themename="default"data-appid="email_payslip.jsemailpayslip"data-dss=""data-param1=""data-param2=""data-commstimeout="0"></div>
Regards
On Monday, August 26, 2024 at 06:07:45 PM GMT+3, jim jpcr.com <jim at jpcr.com> wrote:
Hi Martin,
Another thing to check - make sure you have the correct versions of the files in your app server /html folder environment. They should match what you have in your developer environment.
Jim
--
Jim Pistrang
JP Computer Resources
413-237-5710
<https://jpcr.com>
On Aug 26, 2024, at 10:47 AM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
Yes. $columndatacol are assigned values. Values are local variables defined in the instance list variable. I'm using 10.22 web dev. 216 records display in the datagrid when I test the form. Deploying is when it does not display the records. The entry field iList.$linecount shows 216 records fetched when I run in the app server.
Regards, Martin.
On Monday, August 26, 2024 at 05:33:58 PM GMT+3, Andrew Stolarz <stolarz at gmail.com> wrote:
I'm assuming you also have $columndatacol set for each column?
What version of omnis are you using?
Andrew
On Mon, Aug 26, 2024 at 10:22 AM Martin Obongita via omnisdev-en <
omnisdev-en at lists.omnis-dev.com> wrote:
Hi Andrew,
Yes. This is the exact document I have been following to deploy the in the
app server. I have setup the data arameters in the htm pages. The server is
connecting to a postgresql database through an assigned port. The remote
forms opens okay displaying the buttons objects correctly. I have also
created an entry field to display the total number of records fetched in
the database. And indeed it shows 216 records. But for some strange reason,
the datagrid will not display the fetched data. I have assigned the
$dataname property to the iDataList. Are there properties in the DataGrid
that could possibly hide data display? My question still remains how a
window can display data perfectly fine in development mode but fail to
display in deployment. The database server is connected. The remote form is
opening. and the data is fetched correctly.
Regards, Martin.
On Monday, August 26, 2024 at 04:42:26 PM GMT+3, Andrew Stolarz <
stolarz at gmail.com> wrote:
Martin,
Have you looked at the following tech note?
https://www.omnis.net/developers/resources/technotes/tnjs0003.jsp
Developer and app server deployments are two completely different setups,
so yes one can work and not the other if not set up correctly.
Andrew
On Mon, Aug 26, 2024 at 9:28 AM Martin Obongita via omnisdev-en <
omnisdev-en at lists.omnis-dev.com> wrote:
Thanks Caroline,
Is it possible for a remote form to run perfectly okay in development
environment but would fail in deployment? I thought the reason why we
test
the window in development mode is to ensure there are no bugs/breakpoints
before rolling out to deployment? I'm wrong in my thinking?
Martin.
On Monday, August 26, 2024 at 12:47:12 AM GMT+3, Dr Caroline Wilkins <
caroline at ib2bsystems.com> wrote:
It's hard to tell without getting in there and exploring the situation
but these would be the first 2 things I would do:
1) Check you haven't got a breakpoint in there that has been hit and is
preventing the methods from completing and providing data to the form.
2) Golden rule of Omnis: When it does mad stuff, restart it. You'd be
amazed how many strange problems that has fixed for me over the years!
If those 2 ideas don't resolve the problem, I would be placing a
breakpoint and stepping through to check the data is being fetched for
that datagrid.
Good luck!
Caroline
On 25/08/2024 22:25, Martin Obongita via omnisdev-en wrote:
Hello $Omnis Gurus,
I have copied the js htm files over in the html folder in the Omnis
installation folder. I then edit the htm files <div id="omnisobject1"
data
parameters>. I copy the library I am testing into the startup folder. The
server configuration is setup and the synchronization server is connected
to the database. If I run the Omnis app server, the remote form opens
okay.
Buttons are visible and enabled. The datagrid object is visible and
enable
but it does not display data. Though the entry field object with
iList.$linecount displays 216 records. $dataname property for the
datagrid
is iLine. If I test in the web dev environment, the datagrid displays all
the 216 records. Only in deployment mode does the datagrid refuse to
display the data. Any hints on where I could check for a solution?
Kind regards, Martin Obongita.
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list