RE: Re: Problem about 4J' s WTK Client
arvind kumar <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
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