RE: Re: Problem about 4J' s WTK Client

"David N. Heydon" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <90F148FB45DCD8118E7D00508B444C2304268A@SRVNTS03>
Hi Arvind,

When you put ".\bin\wtk.exe -f fgl2c\doserv1.tcl 1" in the batch file, was
the minimized wtk listening on 6401 or 6400?

Concerning the install on TS, there is not much to tell. One thing to be
aware of is to put the TS into "install" mode before running the
compiler/wtk install.

You can either do this manually:-

change user /install
run install
change user /execute

or

Run the install program via the "cd/floppy" button of add/remove programs in
the control panel. It does all the above automatically.

Finally I suggest you install wtk before the compiler.

Good luck

David

-----Original Message-----
From: arvind kumar [mailto:[email protected]]
Sent: 08 June 2005 20:37
To: [email protected]
Subject: RE: [fourjs-users] Re: Problem about 4J' s WTK Client


Hi David 

Thank you very much for your response and support, and
also I am sorry to disturb you again and again.

I checked the things as suggested by you and following
things are noticed.

When I am running the program on terminal server
itself then fglssrv.log shows 

WINSTATIONNAME=console
arg1=-n
arg2=0

if I am running the program on a workstation 
using remote desktop connection to terminal 
server then it shows 

on 1st workstation

WINSTATIONNAME=RDP-TCP#1
arg1=-n
arg2=0

on 2nd workstation
WINSTATIONNAME=RDP-TCP#2
arg1=-n
arg2=0

and so on

For debug I tried to change the details in fglssrv.bat
file manually then our program does
not run and gives an error like. 

connect:localhost:6400
program stopped at "program name", "line number xxx"
forms statement error number -6300
can not connect to GUI.

For your information I put following in fglssrv.bat

e:
cd\wtk350
.\bin\wtk.exe -f fgl2c\doserv1.tcl 1

Now I am thinking that there are some problems in the
installation of our terminal server that is why the
server port of WTK client is not increasing.

David this is my first installation of MS-TS and 
4J's on it So may be I have missed something.

If possible please help me in this regard (like what
are the things to be taken care while installing a 
MS-TS) that can enable me to start our 4js program 
on the TS in your possible time frame.

If there is any web site where I can get the document
related to this topic, please forward me the link or
site address.
 

Thanks and Regards
Arvind Kumar


--- "David N. Heydon"
<[email protected]> wrote:

Hi Arvind,
 
It sounds like environmentally everything is correct
(it is autostarting but
with no port offset). For some reason it looks like
the compiler does not
think you are running on a terminal server. You
could put some debugging
prompts into your fglssrv.bat file. i.e.

echo Winstationname = %²E%
c:\fglssrv.log
echo arg1 = %1 >>c:\fglssrv.log
acho arg2 = %2 >>c:\fglssrv.log

Try running a program an see what ends up in the log
file. You are running
the fglrun from a terminal servers command prompt
aren't you? Its the
compilers responsibility to identify the port offset
(in %2). I'm running
out of suggestions for you! I think you should
consider upgrading your
compiler version to v3.50 or later to see if that
fixes it.

Cheers,

David



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.