depoyment
Chris Muller
ma.chris.m at gmail.com
Thu Aug 11 15:57:15 UTC 2011
Magma uses NetNameResolver to convert the hostname you provide to an IP.
On Wed, Aug 10, 2011 at 4:35 PM, Milan Mimica <milan.mimica at gmail.com> wrote:
> Yes, I figured I can run it blind and that's fine. But I've got another
> problem I just can't make sense out of it.
> Running this code on my machine:
> | mySession |
> mySession :=
> (MagmaRemoteLocation
> host: 'my.server.ip.addr'
> port: 51001) newSession.
> mySession connectAs: 'chris'.
> mySession root.
> mySession disconnect.
>
> I am getting this error:
> ConnectionTimedOut: Cannot connect to 127.0.0.1:51001
>
> What confuses hell out of me is that it tries to connect to localhost when
> sending #root to session object. Why? How?
>
>
> Chris Muller wrote:
>
> Ok, would you mind finding out whether Pharo supports writing to
> stdout? It may need to be upgraded to have the same capabilities as
> Squeak.
>
> You may want to consider just deploying your Magma servers on Squeak.
> You could still use Pharo for your web-server if you want..
>
> Another option, if you feel you must run Pharo, you could comment out
> that code which accesses stdout and run "blind" - no console
> messages...
>
> - Chris
>
> On Wed, Aug 10, 2011 at 3:25 PM, Milan Mimica <milan.mimica at gmail.com>
> wrote:
>
>
> Chris Muller wrote:
>
>
> - I don't know what OS you're using but.. since you are using Magma,
> you already have MaCommandLineProcessor in your image. It is +very
> convenient+ for interfacing with Squeak from the Linux command-line.
>
>
>
> I'm getting:
> MessageNotUnderstood: StandardFileStream class>>stdout
>
> at CommandLineProcessor class >> do
>
> Using Pharo 1.2
>
>
> --
> Milan Mimica
> http://sparklet.sf.net
>
>
>
>
>
>
> --
> Milan Mimica
> http://sparklet.sf.net
>
More information about the Magma
mailing list