Welcome, Guest
Please Login or Register.    Lost Password?

Trying out Legacy Integrator
(1 viewing) (1) Guest
Convertigo Products
This is the place to ask questions, request for enhancements and more generally discuss about Convertigo products.
Go to bottomPage: 123
TOPIC: Trying out Legacy Integrator
#227
Trying out Legacy Integrator 1 Year ago Karma: 0
I am trying out the "Legacy Integrator" on a 3270 application.
So far by following the startingWithConvertigoLegacyIntegrator_5.2.0.pdf tutorial I managed to do the following :
- connect to my 3270 application through convertigo studio.
- defined two screen classes : the login screen and the screen that follows.

I'm now defining a transaction in order to navigate from Login screen and can't get i to work. The steps I followed are :
- created a transaction.
- created a new handler with the following propoerties : screen class handler bound to my login screen and "EntryHandler" checkbox selected.
- the handler code is as followed :

// Entry handler for screen class "EcranAuthentification"
function onEcranAuthentificationEntry() {
javelin.send("S025401"); //my login
javelin.moveCursor(18, 9);
javalin.send("test"); //my password
javelin.doAction("KEY_ENTER");
javelin.waitForDataStable(timeout, dataStableThreshold);
return "redetect";
}

I then tried to validate my transaction by connecting to the application (displays login screen) and then selecting my transaction -> Execute.
The result I expected was the screen following the login screen but nothing shows up : I get a black screen on emulator and "Last detected screen class: DefaultScreenClass"

Attached File "ConvertigoLog.txt" contains logs for both actions : connecting and displaying logging screen, executing transaction.

Any help on what I am doing wrong would be nice.
File Attachment:
File Name: ConvertigoLog.txt
File Size: 16057
Nicolas Barre
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#228
Re:Trying out Legacy Integrator 1 Year ago Karma: 1
Hello Nicolas,

What you did seems to be ok. We had a look to your logs but the log level is not set correctly for us to see what is really happening.

Could you set your loggers to :

- Context to "DEBUG"
- Engine to "DEBUG"
- Beans to "DEBUG"

To access to log configuration use in the studio :

Window->Preferences->Convertigo->Engine->Log Management

And set the loggers as specified.

Best Rds
Convertigo Support Team.
admin
Convertigo Team
Posts: 108
graph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/05 16:00 By admin.
The administrator has disabled public write access.
 
#229
Re:Trying out Legacy Integrator 1 Year ago Karma: 0
I changed my log levels as indicated.
The new trace obtained is attached to this post : Engine.log
File Attachment:
File Name: Engine.log
File Size: 40054
Nicolas Barre
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#230
Re:Trying out Legacy Integrator 1 Year ago Karma: 1
Hello,

What we see from the logs is that the "EcranAuthentification" screen class is not detected correctly. This prevents the onEcranAuthentification entry handler to be executed and your transaction code is not executed. This is why nothing changes on your green screen.

See this line in the log :


!Context | 2012-06-06 08:58:26,056 | INFO | http-18080-1/RequestableThread | $clientip=127.0.0.1 | $connector=test3270Connector | $contextid=studio_test3270:test3270Connector | $project=test3270 | $transaction=AuthentTest | $uid=24dbdf7f8f9 | $user=(anonymous) | Detected screen class: 'DefaultScreenClass'


When Convertigo is not able to detect a screen class it will default automatically to the DefaultScreenClass.

Check your Screen class criterias and this should solve the problem.

Also you can use the screen class test detection button to be sure that the criteria you chose are valid for this screen class. see :

www.convertigo.com/docs/CLI/5.2.0/ae1025914.html#Xae1026192

Look at the "Show current screen class icon"

Best Rds
Convertigo Support Team.
admin
Convertigo Team
Posts: 108
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#231
Re:Trying out Legacy Integrator 1 Year ago Karma: 0
Screen detection seems to work. To validate I use the "double arrow" icon (Go to Current Screen Class Object) and the project view selects my screen class (see attached image).

What troubles me is that it seems my Connector is reinitialized when I test my transaction and I never see the login screen appear => so no screen detection. I would have thought that "execute transaction" would keep the state of my connector (ie start with the screen selected).
Nicolas Barre
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#232
Re:Trying out Legacy Integrator 1 Year ago Karma: 1
Yes, you are right.

The connector state should be preserved when you run the transaction. Seems that we have to get a look on your project. Can we setup a livemeeting with one of our consultant ?

Please send a mail to support@convertigo.com with your availability.


best Rds
Convertigo Support Team.
admin
Convertigo Team
Posts: 108
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
Moderators: elodiee

btn developerNetwork_home

If you are a developer, an architect and more generally someone looking for technical information about our Mobile Enterprise Application Platform, Composite Applications and Convertigo, this is the right place for you.

btn downloadC8O_home

Get Convertigo Studio for Windows. This is our Eclipse based development tool for our Mobile Application Development Platform. You can get also Convertigo Servers for Windows and Linux directly on sourceforge

btn documentation_home

Find our official documentations for Convertigo Mobile Application Development Platform and and Mobile Server, including the Reference Manual, the Programming Guide, and the Installation Guide, in both HTML and PDF formats.