Re: [MAS-discuss] Another New User
Brought to you by:
jcochrane
From: Jim C. <jt...@di...> - 2004-07-02 00:47:25
|
> Jim, > > Thanks for the response. My main requirement at this time is ease of use, > simply because I'm still a novice. For that reason, I intend to run the serv er > as a daemon on my linux box. I'm generally concerned about security though, so > I'll probably try to run it in a chroot jail. That's probably a good idea. Are you also using a firewall to keep out unwanted network traffic? > > I would like to be able to simply start the client on my PC and be operationa l. > I didn't find a doc on command line options. Did I miss it? Which version of mas are you using on Windows? I don't think there is documentation describing how to run the GUI client on Windows against a server process on a Linux machine, at least not directly. Probably the most reliable way to do it is to run the GUI from the command line. To elaborate on my earlier example (assuming you have java installed): Find the directory in which the file mascharts.jar resides and, with the DOS command line (cmd or command), cd to that directory. Then do: java -cp .\mascharts.jar MA_Client hostname 2929 where hostname is the hostname of your linux server and replace 2929 with the port number with which you started the mas server. (If you don't have mascharts.jar, you're using an earlier version, in which case the startup command will be a little different.) If this doesn't work, let me know what went wrong and I'll try to help. (There could be environment variable problems, etc.) Post to the list - if I'm not able to find the time to respond, someone else who can help may be able to. Also, an easier way to test, to just make sure you can send requests from your windows machine to the mas server, is to run macl: Find where macl.exe resides and do: .\macl -h hostname 2929 and see if the server responds with an command-line option menu. Good luck! Jim > > Thanks, > > Mike > > --- Jim Cochrane <jt...@di...> wrote: > > > Greetings, > > > > Hi Mike. Welcome to the mas mailing list. > > > > > > > > I'm new to MAS and technical analysis in general. I just have a few > > technica > > l > > > questions about the install I hope someone can help me with. > > > > > > I have a linux servre that runs all the time. I would like to run the > > server > > > portion on it, and run the client on my PC. I've looked at at the docs I > > can > > > find and can't find anything regarding the port number mas uses. Does > > anyone > > > on the board know? > > > > The details of this answer will depend on what method you're using to start > > the mas server, but, I may be able to give you enough info. in this email > > so that you can figure out how to do it. Essentially, what you need to do > > is tell the mas server what port number to use (e.g., "mas -b -f , 2929 > > *.txt" > > from the command line or editing the valid_portnumbers setting in the mctrc > > file). Once you've started the server with the chosen port number, you > > need to start the GUI client with that port number. E.g.: > > > > java -cp .\mascharts.jar MA_Client jupiter 2929 > > > > > > > > Obviously I'm running with the assumption that it is better to have the > > serve > > r > > > portion running most of the time. I would also be interested in hearing if > > > this assumption is correct. > > > > This depends on what your requirements are. I believe some people > > keep the server running all the time (almost like a daemon) so that > > it's always available to service requests from GUI processes. But for > > those who don't use the application often or who don't like it hogging > > resources all the time (though its memory and cpu use when idle is not > > particularly large), it is probably adequate to just start up the server > > whenever you need to use the application. Others probably leave the server > > running a lot of the time, but don't insist that it runs all the time. > > > > If you include a brief description of how you want to use mas - what your > > requirements are, I can probably give you a recommendation as to which > > choice would work best for you. > > > > > > Jim > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Eiffel-mas-discuss mailing list > Eif...@li... > https://lists.sourceforge.net/lists/listinfo/eiffel-mas-discuss |