# Natural for AJAX - installation

**URL:** <https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX, Natural-on-Windows-Unix\
**Created:** [August 8, 2008, 2:56am UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718 "2008-08-08T02:56:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 8, 2008, 2:56am UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/1 "2008-08-08T02:56:48Z")

</div>

I can’t get this working and the documentation (or my brain) is a bit lacking. My configuration:

> [@](#):
>
> Natural Studio 6.3.3  
> Natural Development Studio 2.2  
> Natural for AJAX 1.1.1  
> Application Designer 2.3  
> Windows XP Pro  
> JBoss 4.2.3

I have a simple program which displays a simple map. In my local environment I get the standard output window, and in my mapped environment I get a WebIO window. So far, so good.

When I attempt to Execute in Browser from my Local Environment, the logon page appears with an error message

> [@](#):
>
> Cannot connect. The session name Local is invalid

When I attempt to Execute in Browser from my mapped environment (with Webio=on), I receive a pop-up entitled Natural for Ajax Studio Plug-in with the message

> [@](#):
>
> No application server specified for the environment.

From within Firefox, Application Designer seems to work fine, but I’ve had no success with the Natural for Ajax logon page. I have tried many combinations of settings in sessions.xml. Most combinations result in the logon message

> [@](#):
>
> Failed to connect to host

and status bar message

> [@](#):
>
> Logon to server failed

I believe that I’m getting closer when I get logon message

> [@](#):
>
> The Application Server communications module must be updated

with status bar message

> [@](#):
>
> Connect failed

What does this logon message mean?

In sessions.xml what 8-character user ID is expected? Natural Security is not installed.

What should be specified for the Natural application field? NWO.BAT? When I execute NWO.BAT in a command window, I receive the message ‘“null” was unexpected at this time.’

---

<div class="post-metadata">

**Author:** ![Thomas\_Schwade](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/thomas_schwade/32/131_2.png) [@Thomas\_Schwade](https://techcommunity.softwareag.com/u/Thomas_Schwade)\
**Post date:** [August 8, 2008, 1:52pm UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/2 "2008-08-08T13:52:25Z")

</div>

The error messages ‘Cannot connect. The session name Local is invalid’ and ‘No application server specified for the environment’ indicate that the Natural for Ajax Tools plug-in needs to be configured properly for the environment. Please check [http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat634win/ext/ext-njx.htm#ext-njx-configureserver](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat634win/ext/ext-njx.htm#ext-njx-configureserver) for this issue.  
The message ‘The Application Server communications module must be updated.’ indicates that the server (NAT633) requires a higher protocol version than the client (NJX111) supports (the message has been improved since). With NAT633 you should at least have NJX111\_2. Version and build of NJX are indicated on the Logon page. User ID: If running against a Natural Web I/O Interface Server on Windows, you should use a user ID and password of an account defined on the server machine. nwo.bat: For a Natural server on Windows, nwo.bat is the default script file to use. Don’t worry if you can’t run it stand-alone. It willl run nicely when executed by the Natural Web I/O Service.

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 10, 2008, 2:32am UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/3 "2008-08-10T02:32:56Z")

</div>

Thank you, Thomas. Your response and the document reference helped quite a bit. I’ve requested an upgrade to NJX.

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 12, 2008, 12:34pm UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/4 "2008-08-12T12:34:32Z")

</div>

While waiting for the Natural for AJAX upgrade, I was familiarizing myself with Application Designer. At some point, I was no longer able to invoke AD from within a Natural session, but I could still invoke AD from a browser.

I received the NJX upgrade, installed it, and again was able to invoke AD from Natural. But after some time (and a re-boot), AD stopped working again. I receive the message

> [@](#):
>
> Navigation to the webpage was canceled

Any idea what I could have done to break Application Designer from within Natural? I’ve tried redeploying, but it didn’t help.

---

<div class="post-metadata">

**Author:** ![Thomas\_Schwade](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/thomas_schwade/32/131_2.png) [@Thomas\_Schwade](https://techcommunity.softwareag.com/u/Thomas_Schwade)\
**Post date:** [August 12, 2008, 6:19pm UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/5 "2008-08-12T18:19:12Z")

</div>

This looks like a session timeout from Application Designer. If you need to increase the timeout value, check the parameter sessiontimeout in …/njx111.ear/cisnatural.war/cis/config/cisconfig.xml.  
Regards, Thomas

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:50pm UTC](https://techcommunity.softwareag.com/t/natural-for-ajax-installation/78718/6 "2021-04-02T14:50:43Z")

</div>


