$813 serverless mode not working Help please

Andreas Pfeiffer apfeiffer at familiepfeiffer.de
Tue Jan 2 03:59:47 EST 2018


Hi Jay,

Are you using Omnis JavaScript Wrapper version 2.0?

Best,

Andreas


> Am 31.12.2017 um 19:46 schrieb Omnis Newbie <omnisnewbie at gmail.com>:
> 
> Oh, you might be on to something, the following 4 errors appeared in the trace log upon launching Omnis before even opening a Library.
> 
> The first two look like db dams, the 3rd might have something to do with it I'm guessing but I'm very new to all of this stuff.  I do know that I have
> Java jdk 8 update 152 installed.  I'm using an old win7 machine btw.
> 
> could the .NET error have anything to do with this?
> 
> External Library File 'C:\Program Files\Omnis Software\OS8.1.3\xcomp\damdb2.dll' failed to load.
> OS Error: The specified module could not be found.
> 
> External Library File 'C:\Program Files\Omnis Software\OS8.1.3\xcomp\damora8.dll' failed to
> load. OS Error: The specified module could not be found.
> 
> The Java Virtual Machine failed to load
> 
> Failed to load .NET layer, ensure Microsoft.NET is installed and OMDOTNET.DLL is registered
> 
> upon opening up the library and testing the remote form no additional errors were added to the trace log.
> 
> does this give you any additional ideas as to what is wrong?
> 
> your help is much appreciated.
> 
> 
> 
> At 09:38 AM 12/31/2017, you wrote:
>> In dev mode:
>> 
>> check trace log and find and replace log, to see if Omnis reported some fault when generating the client javascript for your form.
>> 
>> If not, then you should run your form with the browser's dev tools console opened, there's a chance you'll get a more explicit message before "the a[h] is not a function" alert.
>> 
>> 
>> 
>> Le 31/12/2017 à 16:42, Omnis Newbie a écrit :
>>> Thanks Bruno, but unfortunately that didn't make any difference.  It also looks like I misspoke because none of the Execute on Client methods work in Dev mode either.
>>> The $event names are all pink and the code gets accepted when I turn EOC on and off.  This is one line of code behind a button, I must be missing something here.
>>> 
>>> Any other thoughts?
>>> 
>>> 
>>> At 06:23 AM 12/31/2017, you wrote:
>>> 
>>>> Hi Jay,
>>>> 
>>>> 
>>>>> Do rtRemoteForm.$showmessage('this is the message','title')
>>>> 
>>>> This line doesn't make sense if executed from client, only $cinst.$showmessage() will work :
>>>> 
>>>> 
>>>> 
>>>>> Do $cinst.$clientcommand('yesnomessage',lRow)
>>>> 
>>>> This line can also trigger the error you get if lRow is not properly defined,
>>>> to make it easier, you should stick to the simpler row function notation
>>>> Do $cinst.$clientcommand('yesnomessage',row('messa ge  text','title text','$onNoClick','onYesClick'))
>>>> 
>>>> hth
>>>> Regards
>>>> Bruno
>>>> 
>>>> 
>>>> 
>>>> By Design
>>>> <http://www.bydesign.fr>http://www.bydesign.fr
>>>> Bruno Del Sol
>>>> <mailto:bruno.delsol at bydesign.fr>bruno.delsol at bydesign.fr
>>>> tel (33) 01 48 78 47 37
>>>> 46, rue de La Tour d'Auvergne
>>>> 75009 Paris (France)Le 31/12/2017 à 14:01, Omnis Newbie a écrit :
>>>>> Hi Omnis people,
>>>>> 
>>>>> I̢۪m a student learning Omnis and I am having trouble using serverless and I̢۪m hoping someone out there can help.
>> help.
>>>>> 
>>>>> I have created a very small app to test on my android 7 phone and I just can’t get it to work.  I have gone
>> 
>>>>> through a couple tutorials, tried the applets and examples and everything seems to work on my desktop but not on the android.
>>>>> 
>>>>> To make this app as simple as possible for testing I only put one button on the remote form that should simply present a message.  I have tried the following plus many others but I still get the error.
>>>>> 
>>>>> Do $cinst.$showmessage('message','title')
>>>>> Do rtRemoteForm.$showmessage('this is the message','title')
>>>>> Do $cinst.$clientcommand('yesnomessage',lRow)
>>>>> 
>>>>> Here̢۪s the error I get
> 
>> …
>>>>> “Exception occurred when
>> 
>>>>> Executing client method:
>>>>> a[h] is not a functionâ€Â
>> >>>
>>>>> Omnis Studio Pro 8.1.3
>>>>> Serverless Lic = yes
>>>>> Serverlessclient=yes
>>>>> $event set to Execute on Client = yes
>>>>> Latest version of Android Studio = yes
>>>>> Config.xml set to serverless mode (no local db no sessions), the remote form is set
>>>>> The app installs with no problems, the form loads and looks great.
>>>>> 
>>>>> Can anyone tell me what I am not getting right here?
>>>>> 
>>>>> Much appreciation
>>>>> 
>>>>> Jay
>>>>> 
>>>>> _____________________________________________________________
>>>>> Manage your list subscriptions at <http://lists.omnis-dev.com>http://lists.omnis-dev.com
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list