Scriptaculous vs jQuery

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
68 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Paul DeBruicker
I think you're missing some of the 32 bit libs on your system from
your distro. I don't know how to tell which ones are needed and not
installed.    It may be that there are additional packages in your
package manager that also contain 32 bit libraries, in addition to the
ia32-libs package.  On ubuntu there is also the:


ia32-libs-multiarch:x386

package which is I had to install to get Pharo working in the latest
ubuntu version when doing a clean install.






On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:

>
> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>
>> I noticed that other people on the net have run into the "could not find
>> module vm-display-X11"
>> I haven't seen a solution yet.
>> Yes, I installed the libraries. I tried again and got this:
>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>> Loaded plugins: fastestmirror, priorities, security, update-motd
>> Loading mirror speeds from cached hostfile
>>  * amzn-main: packages.us-east-1.amazonaws.com
>>  * amzn-updates: packages.us-east-1.amazonaws.com
>> amzn-main
>>                                  | 2.1 kB     00:00
>> amzn-updates
>>                                 | 2.1 kB     00:00
>> Setting up Install Process
>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>> latest version
>> No package mesa-libGL.i386 available.
>> No package libXrender.i386 available.
>> No package libSM.i386 available.
>> No package freetype.i386 available.
>> No package libstdc++.i386 available.
>> Nothing to do
>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>> vm-display-X11
>
> I've just checked on a new Amazon Linux distribution and I see the same
> problem. So something has changed between the Amazon Linux releases. I guess
> either it's based on a newer version of Centos and/or the repositories have
> changed their contents. I'm afraid I'm in the dark as much as you. The
> libraries loaded for me on the version of Amazon Linux I'm using. At this
> stage I'd resort to Google.
> The equivalent Ubuntu libraries are:
> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
> Sorry I can't help further, perhaps someone else with better sys-admin
> knowledge can jump in. I'd be very interested in learning the solution...
>
>
>   You've been a great help. If I go Ubuntu, do I have to start from scratch
> with a new instance?
>   The funny thing is that I see the vm-display-X11 file
> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
> XDisplayControlPlugin.lib
> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
> so I am confused....
> Larry
>
>
> Nick
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Paul DeBruicker
Maybe the seconds post here has some insight:

http://www.linuxquestions.org/questions/linux-general-1/running-32-bit-applications-on-64-bit-amazon-linux-ami-905628/



On Mon, Oct 17, 2011 at 2:58 PM, Paul DeBruicker <[hidden email]> wrote:

> I think you're missing some of the 32 bit libs on your system from
> your distro. I don't know how to tell which ones are needed and not
> installed.    It may be that there are additional packages in your
> package manager that also contain 32 bit libraries, in addition to the
> ia32-libs package.  On ubuntu there is also the:
>
>
> ia32-libs-multiarch:x386
>
> package which is I had to install to get Pharo working in the latest
> ubuntu version when doing a clean install.
>
>
>
>
>
>
> On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:
>>
>> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>>
>>> I noticed that other people on the net have run into the "could not find
>>> module vm-display-X11"
>>> I haven't seen a solution yet.
>>> Yes, I installed the libraries. I tried again and got this:
>>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>>> Loaded plugins: fastestmirror, priorities, security, update-motd
>>> Loading mirror speeds from cached hostfile
>>>  * amzn-main: packages.us-east-1.amazonaws.com
>>>  * amzn-updates: packages.us-east-1.amazonaws.com
>>> amzn-main
>>>                                  | 2.1 kB     00:00
>>> amzn-updates
>>>                                 | 2.1 kB     00:00
>>> Setting up Install Process
>>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>>> latest version
>>> No package mesa-libGL.i386 available.
>>> No package libXrender.i386 available.
>>> No package libSM.i386 available.
>>> No package freetype.i386 available.
>>> No package libstdc++.i386 available.
>>> Nothing to do
>>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>>> vm-display-X11
>>
>> I've just checked on a new Amazon Linux distribution and I see the same
>> problem. So something has changed between the Amazon Linux releases. I guess
>> either it's based on a newer version of Centos and/or the repositories have
>> changed their contents. I'm afraid I'm in the dark as much as you. The
>> libraries loaded for me on the version of Amazon Linux I'm using. At this
>> stage I'd resort to Google.
>> The equivalent Ubuntu libraries are:
>> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
>> Sorry I can't help further, perhaps someone else with better sys-admin
>> knowledge can jump in. I'd be very interested in learning the solution...
>>
>>
>>   You've been a great help. If I go Ubuntu, do I have to start from scratch
>> with a new instance?
>>   The funny thing is that I see the vm-display-X11 file
>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
>> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
>> XDisplayControlPlugin.lib
>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
>> so I am confused....
>> Larry
>>
>>
>> Nick
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 17, 2011, at 6:09 PM, Paul DeBruicker wrote:

> Maybe the seconds post here has some insight:
>
> http://www.linuxquestions.org/questions/linux-general-1/running-32-bit-applications-on-64-bit-amazon-linux-ami-905628/
>
>

  Thanks for the tip, but I seem to be getting the same error, even after installing all of those 32 bit libraries....

  Larry
 

>
> On Mon, Oct 17, 2011 at 2:58 PM, Paul DeBruicker <[hidden email]> wrote:
>> I think you're missing some of the 32 bit libs on your system from
>> your distro. I don't know how to tell which ones are needed and not
>> installed.    It may be that there are additional packages in your
>> package manager that also contain 32 bit libraries, in addition to the
>> ia32-libs package.  On ubuntu there is also the:
>>
>>
>> ia32-libs-multiarch:x386
>>
>> package which is I had to install to get Pharo working in the latest
>> ubuntu version when doing a clean install.
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:
>>>
>>> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>>>
>>>> I noticed that other people on the net have run into the "could not find
>>>> module vm-display-X11"
>>>> I haven't seen a solution yet.
>>>> Yes, I installed the libraries. I tried again and got this:
>>>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>>>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>>>> Loaded plugins: fastestmirror, priorities, security, update-motd
>>>> Loading mirror speeds from cached hostfile
>>>>  * amzn-main: packages.us-east-1.amazonaws.com
>>>>  * amzn-updates: packages.us-east-1.amazonaws.com
>>>> amzn-main
>>>>                                  | 2.1 kB     00:00
>>>> amzn-updates
>>>>                                 | 2.1 kB     00:00
>>>> Setting up Install Process
>>>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>>>> latest version
>>>> No package mesa-libGL.i386 available.
>>>> No package libXrender.i386 available.
>>>> No package libSM.i386 available.
>>>> No package freetype.i386 available.
>>>> No package libstdc++.i386 available.
>>>> Nothing to do
>>>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>>>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>>>> vm-display-X11
>>>
>>> I've just checked on a new Amazon Linux distribution and I see the same
>>> problem. So something has changed between the Amazon Linux releases. I guess
>>> either it's based on a newer version of Centos and/or the repositories have
>>> changed their contents. I'm afraid I'm in the dark as much as you. The
>>> libraries loaded for me on the version of Amazon Linux I'm using. At this
>>> stage I'd resort to Google.
>>> The equivalent Ubuntu libraries are:
>>> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
>>> Sorry I can't help further, perhaps someone else with better sys-admin
>>> knowledge can jump in. I'd be very interested in learning the solution...
>>>
>>>
>>>   You've been a great help. If I go Ubuntu, do I have to start from scratch
>>> with a new instance?
>>>   The funny thing is that I see the vm-display-X11 file
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
>>> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
>>> XDisplayControlPlugin.lib
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
>>> so I am confused....
>>> Larry
>>>
>>>
>>> Nick
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
In reply to this post by Paul DeBruicker
I have this file:

 vm-display-X11.la

but Squeak complains about a missing

vm-display-X11.so file...

Could this be the problem?



On Oct 17, 2011, at 6:09 PM, Paul DeBruicker wrote:

> Maybe the seconds post here has some insight:
>
> http://www.linuxquestions.org/questions/linux-general-1/running-32-bit-applications-on-64-bit-amazon-linux-ami-905628/
>
>
>
> On Mon, Oct 17, 2011 at 2:58 PM, Paul DeBruicker <[hidden email]> wrote:
>> I think you're missing some of the 32 bit libs on your system from
>> your distro. I don't know how to tell which ones are needed and not
>> installed.    It may be that there are additional packages in your
>> package manager that also contain 32 bit libraries, in addition to the
>> ia32-libs package.  On ubuntu there is also the:
>>
>>
>> ia32-libs-multiarch:x386
>>
>> package which is I had to install to get Pharo working in the latest
>> ubuntu version when doing a clean install.
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:
>>>
>>> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>>>
>>>> I noticed that other people on the net have run into the "could not find
>>>> module vm-display-X11"
>>>> I haven't seen a solution yet.
>>>> Yes, I installed the libraries. I tried again and got this:
>>>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>>>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>>>> Loaded plugins: fastestmirror, priorities, security, update-motd
>>>> Loading mirror speeds from cached hostfile
>>>>  * amzn-main: packages.us-east-1.amazonaws.com
>>>>  * amzn-updates: packages.us-east-1.amazonaws.com
>>>> amzn-main
>>>>                                  | 2.1 kB     00:00
>>>> amzn-updates
>>>>                                 | 2.1 kB     00:00
>>>> Setting up Install Process
>>>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>>>> latest version
>>>> No package mesa-libGL.i386 available.
>>>> No package libXrender.i386 available.
>>>> No package libSM.i386 available.
>>>> No package freetype.i386 available.
>>>> No package libstdc++.i386 available.
>>>> Nothing to do
>>>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>>>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>>>> vm-display-X11
>>>
>>> I've just checked on a new Amazon Linux distribution and I see the same
>>> problem. So something has changed between the Amazon Linux releases. I guess
>>> either it's based on a newer version of Centos and/or the repositories have
>>> changed their contents. I'm afraid I'm in the dark as much as you. The
>>> libraries loaded for me on the version of Amazon Linux I'm using. At this
>>> stage I'd resort to Google.
>>> The equivalent Ubuntu libraries are:
>>> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
>>> Sorry I can't help further, perhaps someone else with better sys-admin
>>> knowledge can jump in. I'd be very interested in learning the solution...
>>>
>>>
>>>   You've been a great help. If I go Ubuntu, do I have to start from scratch
>>> with a new instance?
>>>   The funny thing is that I see the vm-display-X11 file
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
>>> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
>>> XDisplayControlPlugin.lib
>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
>>> so I am confused....
>>> Larry
>>>
>>>
>>> Nick
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Paul DeBruicker
I don't think so.  But you could test by making a symbolic link
between the two. e.g.

ln -s vm-display-X11.la vm-display-X11.so

and then trying to start it.


is the vm-display-X11.la in the same directory as the squeak vm executable?

Also at this juncture your issue isn't really seaside related at all
and might be better for you to ask about it on the pharo users list or
pharo dev list.







On Mon, Oct 17, 2011 at 4:01 PM, Lawrence Kellogg <[hidden email]> wrote:

> I have this file:
>
>  vm-display-X11.la
>
> but Squeak complains about a missing
>
> vm-display-X11.so file...
>
> Could this be the problem?
>
>
>
> On Oct 17, 2011, at 6:09 PM, Paul DeBruicker wrote:
>
>> Maybe the seconds post here has some insight:
>>
>> http://www.linuxquestions.org/questions/linux-general-1/running-32-bit-applications-on-64-bit-amazon-linux-ami-905628/
>>
>>
>>
>> On Mon, Oct 17, 2011 at 2:58 PM, Paul DeBruicker <[hidden email]> wrote:
>>> I think you're missing some of the 32 bit libs on your system from
>>> your distro. I don't know how to tell which ones are needed and not
>>> installed.    It may be that there are additional packages in your
>>> package manager that also contain 32 bit libraries, in addition to the
>>> ia32-libs package.  On ubuntu there is also the:
>>>
>>>
>>> ia32-libs-multiarch:x386
>>>
>>> package which is I had to install to get Pharo working in the latest
>>> ubuntu version when doing a clean install.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:
>>>>
>>>> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>>>>
>>>>> I noticed that other people on the net have run into the "could not find
>>>>> module vm-display-X11"
>>>>> I haven't seen a solution yet.
>>>>> Yes, I installed the libraries. I tried again and got this:
>>>>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>>>>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>>>>> Loaded plugins: fastestmirror, priorities, security, update-motd
>>>>> Loading mirror speeds from cached hostfile
>>>>>  * amzn-main: packages.us-east-1.amazonaws.com
>>>>>  * amzn-updates: packages.us-east-1.amazonaws.com
>>>>> amzn-main
>>>>>                                  | 2.1 kB     00:00
>>>>> amzn-updates
>>>>>                                 | 2.1 kB     00:00
>>>>> Setting up Install Process
>>>>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>>>>> latest version
>>>>> No package mesa-libGL.i386 available.
>>>>> No package libXrender.i386 available.
>>>>> No package libSM.i386 available.
>>>>> No package freetype.i386 available.
>>>>> No package libstdc++.i386 available.
>>>>> Nothing to do
>>>>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>>>>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>>>>> vm-display-X11
>>>>
>>>> I've just checked on a new Amazon Linux distribution and I see the same
>>>> problem. So something has changed between the Amazon Linux releases. I guess
>>>> either it's based on a newer version of Centos and/or the repositories have
>>>> changed their contents. I'm afraid I'm in the dark as much as you. The
>>>> libraries loaded for me on the version of Amazon Linux I'm using. At this
>>>> stage I'd resort to Google.
>>>> The equivalent Ubuntu libraries are:
>>>> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
>>>> Sorry I can't help further, perhaps someone else with better sys-admin
>>>> knowledge can jump in. I'd be very interested in learning the solution...
>>>>
>>>>
>>>>   You've been a great help. If I go Ubuntu, do I have to start from scratch
>>>> with a new instance?
>>>>   The funny thing is that I see the vm-display-X11 file
>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
>>>> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
>>>> XDisplayControlPlugin.lib
>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
>>>> so I am confused....
>>>> Larry
>>>>
>>>>
>>>> Nick
>>>> _______________________________________________
>>>> seaside mailing list
>>>> [hidden email]
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> [hidden email]
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>>
>>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 17, 2011, at 7:09 PM, Paul DeBruicker wrote:

> I don't think so.  But you could test by making a symbolic link
> between the two. e.g.
>
> ln -s vm-display-X11.la vm-display-X11.so
>
> and then trying to start it.
>
>
> is the vm-display-X11.la in the same directory as the squeak vm executable?

  Well, there is a vm-display-X11 directory, with the .la file,  in the same directory as the squeak executable.
I have tried copying the .la file to the same level as the squeak executable but that didn't work.
I tried the symbolic link but that didn't help either.

If I try to run squeak from its own directory, I get this...

seasideuser@domU-12-31-39-14-08-6B Linux686]$ ./squeak -plugins .  -encoding latin1 ./Resources/Pharo-1.0.image
could not find display driver vm-display-X11; either:
  - check that /usr/local/lib/squeak/3.10-3/vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.


There is no /usr/local/lib/squeak/3.10-3/vm-display-X11.so...and if I put one in...it still does not work

 
>
> Also at this juncture your issue isn't really seaside related at all
> and might be better for you to ask about it on the pharo users list or
> pharo dev list.
>

  Yeah, thanks for trying to help me. I guess I'll go haunt the pharo lists.
It sure is frustrating....

Larry

>
>
>
>
>
>
> On Mon, Oct 17, 2011 at 4:01 PM, Lawrence Kellogg <[hidden email]> wrote:
>> I have this file:
>>
>>  vm-display-X11.la
>>
>> but Squeak complains about a missing
>>
>> vm-display-X11.so file...
>>
>> Could this be the problem?
>>
>>
>>
>> On Oct 17, 2011, at 6:09 PM, Paul DeBruicker wrote:
>>
>>> Maybe the seconds post here has some insight:
>>>
>>> http://www.linuxquestions.org/questions/linux-general-1/running-32-bit-applications-on-64-bit-amazon-linux-ami-905628/
>>>
>>>
>>>
>>> On Mon, Oct 17, 2011 at 2:58 PM, Paul DeBruicker <[hidden email]> wrote:
>>>> I think you're missing some of the 32 bit libs on your system from
>>>> your distro. I don't know how to tell which ones are needed and not
>>>> installed.    It may be that there are additional packages in your
>>>> package manager that also contain 32 bit libraries, in addition to the
>>>> ia32-libs package.  On ubuntu there is also the:
>>>>
>>>>
>>>> ia32-libs-multiarch:x386
>>>>
>>>> package which is I had to install to get Pharo working in the latest
>>>> ubuntu version when doing a clean install.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Oct 13, 2011 at 12:29 PM, Lawrence Kellogg <[hidden email]> wrote:
>>>>>
>>>>> On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:
>>>>>>
>>>>>> I noticed that other people on the net have run into the "could not find
>>>>>> module vm-display-X11"
>>>>>> I haven't seen a solution yet.
>>>>>> Yes, I installed the libraries. I tried again and got this:
>>>>>> seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth
>>>>>> mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
>>>>>> Loaded plugins: fastestmirror, priorities, security, update-motd
>>>>>> Loading mirror speeds from cached hostfile
>>>>>>  * amzn-main: packages.us-east-1.amazonaws.com
>>>>>>  * amzn-updates: packages.us-east-1.amazonaws.com
>>>>>> amzn-main
>>>>>>                                  | 2.1 kB     00:00
>>>>>> amzn-updates
>>>>>>                                 | 2.1 kB     00:00
>>>>>> Setting up Install Process
>>>>>> Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and
>>>>>> latest version
>>>>>> No package mesa-libGL.i386 available.
>>>>>> No package libXrender.i386 available.
>>>>>> No package libSM.i386 available.
>>>>>> No package freetype.i386 available.
>>>>>> No package libstdc++.i386 available.
>>>>>> Nothing to do
>>>>>> [seasideuser@domU-12-31-39-14-08-6B ~]$
>>>>>> ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module
>>>>>> vm-display-X11
>>>>>
>>>>> I've just checked on a new Amazon Linux distribution and I see the same
>>>>> problem. So something has changed between the Amazon Linux releases. I guess
>>>>> either it's based on a newer version of Centos and/or the repositories have
>>>>> changed their contents. I'm afraid I'm in the dark as much as you. The
>>>>> libraries loaded for me on the version of Amazon Linux I'm using. At this
>>>>> stage I'd resort to Google.
>>>>> The equivalent Ubuntu libraries are:
>>>>> sudo aptitude install xauth libgl1-mesa-dev ia32-libs
>>>>> Sorry I can't help further, perhaps someone else with better sys-admin
>>>>> knowledge can jump in. I'd be very interested in learning the solution...
>>>>>
>>>>>
>>>>>   You've been a great help. If I go Ubuntu, do I have to start from scratch
>>>>> with a new instance?
>>>>>   The funny thing is that I see the vm-display-X11 file
>>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
>>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
>>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
>>>>> -rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009
>>>>> XDisplayControlPlugin.lib
>>>>> drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin
>>>>> so I am confused....
>>>>> Larry
>>>>>
>>>>>
>>>>> Nick
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> [hidden email]
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> [hidden email]
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
In reply to this post by Larry Kellogg
Hi Larry,

We have a solution:

sudo yum install xauth mesa-libGL.i686 libXrender.i686 libSM.i686 freetype.i686 libstdc++.i686

I test on the latest Amazon Linux and it works. Thanks for your persistence.

Nick

On 17 October 2011 21:50, Lawrence Kellogg <[hidden email]> wrote:
Thanks , Nick! I'll keep an eye on the thread and start looking into setting up an Ubuntu instance. 

I know I'll get it to work, eventually. 

  Regards, 

  Larry

On Oct 17, 2011, at 4:38 PM, Nick Ager wrote:

Hi Larry,

I've posted a question on Amazon EC2 forums: https://forums.aws.amazon.com/thread.jspa?threadID=78308

In the meantime I've found the AMIs I configured with Gemstone:

EU/West ami-7f9bae0b 051115013102/GemStoneSeaside3.03Pier2-2010-12-29-NDA-v2
US/East ami-603bcb09 051115013102/GemStoneSeaside3.03Pier2-2011-01-30-2-NDA US-East

If you want to go with Ubuntu Ramon has a good post on his blog: http://onsmalltalk.com/2010-10-30-installing-a-gemstone-seaside-server-on-ubuntu-10.10

Hope this helps

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
Hello Nick, 
  Terrific, that works!!!! Thanks for tracking down this issue, much appreciated.

  Regards,

  Larry


 
On Oct 18, 2011, at 2:48 AM, Nick Ager wrote:

Hi Larry,

We have a solution:

sudo yum install xauth mesa-libGL.i686 libXrender.i686 libSM.i686 freetype.i686 libstdc++.i686

I test on the latest Amazon Linux and it works. Thanks for your persistence.

Nick

On 17 October 2011 21:50, Lawrence Kellogg <[hidden email]> wrote:
Thanks , Nick! I'll keep an eye on the thread and start looking into setting up an Ubuntu instance. 

I know I'll get it to work, eventually. 

  Regards, 

  Larry

On Oct 17, 2011, at 4:38 PM, Nick Ager wrote:

Hi Larry,

I've posted a question on Amazon EC2 forums: https://forums.aws.amazon.com/thread.jspa?threadID=78308

In the meantime I've found the AMIs I configured with Gemstone:

EU/West ami-7f9bae0b 051115013102/GemStoneSeaside3.03Pier2-2010-12-29-NDA-v2
US/East ami-603bcb09 051115013102/GemStoneSeaside3.03Pier2-2011-01-30-2-NDA US-East

If you want to go with Ubuntu Ramon has a good post on his blog: http://onsmalltalk.com/2010-10-30-installing-a-gemstone-seaside-server-on-ubuntu-10.10

Hope this helps

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
In reply to this post by Nick
Hello Nick, 
  I think your website is down again. 

  I don't get a Standard login in the Pharo screen, but one that says Glass. When I try to login in, 
I get 

'Unable to create GemStone session. NetLDI service 50377 not found on node "glass"
The gethostbyname() call failed for host "glass" failed with h_errno = 1. HOST_NOT_FOUND

Any thoughts? 

  Larry




On Oct 18, 2011, at 2:48 AM, Nick Ager wrote:

Hi Larry,

We have a solution:

sudo yum install xauth mesa-libGL.i686 libXrender.i686 libSM.i686 freetype.i686 libstdc++.i686

I test on the latest Amazon Linux and it works. Thanks for your persistence.

Nick

On 17 October 2011 21:50, Lawrence Kellogg <[hidden email]> wrote:
Thanks , Nick! I'll keep an eye on the thread and start looking into setting up an Ubuntu instance. 

I know I'll get it to work, eventually. 

  Regards, 

  Larry

On Oct 17, 2011, at 4:38 PM, Nick Ager wrote:

Hi Larry,

I've posted a question on Amazon EC2 forums: https://forums.aws.amazon.com/thread.jspa?threadID=78308

In the meantime I've found the AMIs I configured with Gemstone:

EU/West ami-7f9bae0b 051115013102/GemStoneSeaside3.03Pier2-2010-12-29-NDA-v2
US/East ami-603bcb09 051115013102/GemStoneSeaside3.03Pier2-2011-01-30-2-NDA US-East

If you want to go with Ubuntu Ramon has a good post on his blog: http://onsmalltalk.com/2010-10-30-installing-a-gemstone-seaside-server-on-ubuntu-10.10

Hope this helps

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick

Hello Nick, 
  I think your website is down again. 

hmm, should be back up again now
 

  I don't get a Standard login in the Pharo screen, but one that says Glass.

That's because it's Pharo configured with GemTools [1]. The blog post has details about how to configure for a local installation.

 
When I try to login in, 
I get 

'Unable to create GemStone session. NetLDI service 50377 not found on node "glass"
The gethostbyname() call failed for host "glass" failed with h_errno = 1. HOST_NOT_FOUND

Either you need to configure it first and/or you need start netldi:

$GEMSTONE_BIN/startnet



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 8:15 AM, Nick Ager wrote:


Hello Nick, 
  I think your website is down again. 

hmm, should be back up again now
 

  Yes, it's up again, thanks. 


  I don't get a Standard login in the Pharo screen, but one that says Glass.

That's because it's Pharo configured with GemTools [1]. The blog post has details about how to configure for a local installation.

 
When I try to login in, 
I get 

'Unable to create GemStone session. NetLDI service 50377 not found on node "glass"
The gethostbyname() call failed for host "glass" failed with h_errno = 1. HOST_NOT_FOUND

Either you need to configure it first and/or you need start netldi:

$GEMSTONE_BIN/startnet




  All I needed to do was to replace the host variable in the login with the pubic DNS 
from the Amazon site and I was able to login. So, it looks like i'm good to go and can start 
experimenting with my Seaside code. I am very excited. 

  Thanks for all your help. 

  Larry



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick


  All I needed to do was to replace the host variable in the login with the pubic DNS 
from the Amazon site and I was able to login. So, it looks like i'm good to go and can start 
experimenting with my Seaside code. I am very excited. 

Good news. Alternatively you should be able to use 'localhost' 

Nick 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 8:34 AM, Nick Ager wrote:



  All I needed to do was to replace the host variable in the login with the public DNS 
from the Amazon site and I was able to login. So, it looks like i'm good to go and can start 
experimenting with my Seaside code. I am very excited. 

Good news. Alternatively you should be able to use 'localhost' 

  Ha ha, yes, of course. 

   Ok, so I've installed vsftpd, opened port 21 in the security group, and have managed to ftp files to the instance. 
I'm in the middle of upgrading Glass and Seaside and will hopefully be able to report success fairly soon. 

  Larry



Nick 
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
   Ok, so I've installed vsftpd, opened port 21 in the security group, and have managed to ftp files to the instance. 
I'm in the middle of upgrading Glass and Seaside and will hopefully be able to report success fairly soon. 

Why not use sftp [1]. you don't need to open any new ports to use it  (it uses ssh), or install any new software


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 10:38 AM, Nick Ager wrote:

   Ok, so I've installed vsftpd, opened port 21 in the security group, and have managed to ftp files to the instance. 
I'm in the middle of upgrading Glass and Seaside and will hopefully be able to report success fairly soon. 

Why not use sftp [1]. you don't need to open any new ports to use it  (it uses ssh), or install any new software


  Yes, your way is better and works for me. Should I change the password for seasideuser? 

  I'm so close to having it working. 

After doing this: 

Gofer project load: 'Seaside30' group: 'ALL'.
Gofer project load: 'Pier2'.
Gofer project load: 'PierAddOns2' group: 'ALL'.

WAGemStoneRunSeasideGems default
name: 'FastCGI';
adaptorClass: WAFastCGIAdaptor;
ports: #(9001 9002 9003).
WAGemStoneRunSeasideGems restartGems.


I hit the web server and get the 50x error file I had created.

I just noticed that the Seaside classes are not loaded even though it takes forever to 
come back from the Gofer command, so I am puzzled about what I am doing wrong....

Larry





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick

After doing this: 

Gofer project load: 'Seaside30' group: 'ALL'.
Gofer project load: 'Pier2'.
Gofer project load: 'PierAddOns2' group: 'ALL'.

WAGemStoneRunSeasideGems default
name: 'FastCGI';
adaptorClass: WAFastCGIAdaptor;
ports: #(9001 9002 9003).
WAGemStoneRunSeasideGems restartGems.


I hit the web server and get the 50x error file I had created.

I just noticed that the Seaside classes are not loaded even though it takes forever to 
come back from the Gofer command, so I am puzzled about what I am doing wrong....


Did you have a Transcript open when you tried loading?  
Have you configured a front-end server that understands FastCGI?

It's probably best to post Gemstone specific queries on the Gemstone mailing list. 

Nick

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 12:09 PM, Nick Ager wrote:


After doing this: 

Gofer project load: 'Seaside30' group: 'ALL'.
Gofer project load: 'Pier2'.
Gofer project load: 'PierAddOns2' group: 'ALL'.

WAGemStoneRunSeasideGems default
name: 'FastCGI';
adaptorClass: WAFastCGIAdaptor;
ports: #(9001 9002 9003).
WAGemStoneRunSeasideGems restartGems.


I hit the web server and get the 50x error file I had created.

I just noticed that the Seaside classes are not loaded even though it takes forever to 
come back from the Gofer command, so I am puzzled about what I am doing wrong....


Did you have a Transcript open when you tried loading?  
Have you configured a front-end server that understands FastCGI?

  Ok, I got everything loaded and started up the Gems. Yes, I had a Transcript up 
and didn't see anything suspicious, just that everything takes a long time.

Stopping Gems...
   Stopping FastCGI topaz PID 27420 running on port 9001
   Stopping FastCGI topaz PID 27419 running on port 9002
   Stopping FastCGI topaz PID 27416 running on port 9003
   Stopping maintenance gem PID 27413
   Stopping service gem PID 27417
Starting Gems....
Starting FastCGI gem on port 9001
Starting FastCGI gem on port 9002
Starting FastCGI gem on port 9003
Starting maintenance gem
  Starting service gem

  but still the 50x error message. 

I'm running NGINX, as you suggested, and I thought that would give me 
FastCGI capability, on port 9003, as you mentioned in the documentation. 
I admit to being a little lost with this one.


It's probably best to post Gemstone specific queries on the Gemstone mailing list. 



  I guess I'm in the wrong place. Sorry about that. I have asked to be subscribed to the GemStone Seaside list. 

  Regards,

  Larry


Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Dale Henrichs
Lawrence,

If you are working with a remote instance of GLASS, you should probably spend a little time to learn topaz. topaz is the command line interface for GemStone ... you can execute smalltalk code and run the debugger all from the unix command line.

GemTools is very chatty and over a WAN that can be pretty slow ... the loads tend to dump information to the Transcript and each transcript line goes over the wan ... even slower ... I'm working on tODE as a replacement for GemTools ...

Most of the workspace doits that you run in GemTools can be done from topaz. The one thing that you probably need to do when you use topaz is to set autoMigrate. autoMigrate is enabled by default in GemTools, but is not enabled by default in topaz. Execute the following after login and you should be good to go:

  MCPlatformSupport autoMigrate: true.

Dale

----- Original Message -----
| From: "Lawrence Kellogg" <[hidden email]>
| To: "Seaside - general discussion" <[hidden email]>
| Sent: Tuesday, October 18, 2011 11:32:04 AM
| Subject: Re: [Seaside] Seaside on EC2 Amazon Service
|
|
|
|
|
| On Oct 18, 2011, at 12:09 PM, Nick Ager wrote:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| After doing this:
|
|
|
| Gofer project load: 'Seaside30' group: 'ALL'.
| Gofer project load: 'Pier2'.
| Gofer project load: 'PierAddOns2' group: 'ALL'.
|
|
| WAGemStoneRunSeasideGems default
| name: 'FastCGI';
| adaptorClass: WAFastCGIAdaptor;
| ports: #(9001 9002 9003).
| WAGemStoneRunSeasideGems restartGems.
|
|
|
|
| I hit the web server and get the 50x error file I had created.
|
|
| I just noticed that the Seaside classes are not loaded even though it
| takes forever to
| come back from the Gofer command, so I am puzzled about what I am
| doing wrong....
|
|
|
|
| Did you have a Transcript open when you tried loading?
| Have you configured a front-end server that understands FastCGI?
|
|
| Ok, I got everything loaded and started up the Gems. Yes, I had a
| Transcript up
| and didn't see anything suspicious, just that everything takes a long
| time.
|
|
|
| Stopping Gems...
| Stopping FastCGI topaz PID 27420 running on port 9001
| Stopping FastCGI topaz PID 27419 running on port 9002
| Stopping FastCGI topaz PID 27416 running on port 9003
| Stopping maintenance gem PID 27413
| Stopping service gem PID 27417
| Starting Gems....
| Starting FastCGI gem on port 9001
| Starting FastCGI gem on port 9002
| Starting FastCGI gem on port 9003
| Starting maintenance gem
| Starting service gem
|
|
| but still the 50x error message.
|
|
| I'm running NGINX, as you suggested, and I thought that would give me
| FastCGI capability, on port 9003, as you mentioned in the
| documentation.
| I admit to being a little lost with this one.
|
|
|
|
|
|
|
| It's probably best to post Gemstone specific queries on the Gemstone
| mailing list.
| http://seaside.gemstone.com/mailman/listinfo/beta
|
|
|
|
|
|
| I guess I'm in the wrong place. Sorry about that. I have asked to be
| subscribed to the GemStone Seaside list.
|
|
| Regards,
|
|
| Larry
|
|
|
|
|
|
| Nick _______________________________________________
| seaside mailing list
| [hidden email]
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
|
| _______________________________________________
| seaside mailing list
| [hidden email]
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
Thanks , Dale! I programmed in GemSone a few years ago and I'm currently working to reclaim my knowledge.
I will definitely use Topaz in the future.

I got access to SeaSide on my Amazon EC2 instance by opening port 8080 and
hitting Swazoo

WAGemStoneRunSeasideGems default
        name: 'Swazoo';
        adaptorClass: WAGsSwazooAdaptor;
        ports: #(8080).
WAGemStoneRunSeasideGems restartGems.

I'm sure I'm all wrong, somehow, with doing this, but it was nice to
see that I actually do have end to end connectivity to my Seaside code
running on EC2. What if I just ran Swazoo on port 80? Would that be bad?

  I have a lot more thinking to do about the hosting side of the equation...

  Regards,

  Larry


On Oct 18, 2011, at 2:49 PM, Dale Henrichs wrote:

> Lawrence,
>
> If you are working with a remote instance of GLASS, you should probably spend a little time to learn topaz. topaz is the command line interface for GemStone ... you can execute smalltalk code and run the debugger all from the unix command line.
>
> GemTools is very chatty and over a WAN that can be pretty slow ... the loads tend to dump information to the Transcript and each transcript line goes over the wan ... even slower ... I'm working on tODE as a replacement for GemTools ...
>
> Most of the workspace doits that you run in GemTools can be done from topaz. The one thing that you probably need to do when you use topaz is to set autoMigrate. autoMigrate is enabled by default in GemTools, but is not enabled by default in topaz. Execute the following after login and you should be good to go:
>
>  MCPlatformSupport autoMigrate: true.
>
> Dale
>
> ----- Original Message -----
> | From: "Lawrence Kellogg" <[hidden email]>
> | To: "Seaside - general discussion" <[hidden email]>
> | Sent: Tuesday, October 18, 2011 11:32:04 AM
> | Subject: Re: [Seaside] Seaside on EC2 Amazon Service
> |
> |
> |
> |
> |
> | On Oct 18, 2011, at 12:09 PM, Nick Ager wrote:
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> | After doing this:
> |
> |
> |
> | Gofer project load: 'Seaside30' group: 'ALL'.
> | Gofer project load: 'Pier2'.
> | Gofer project load: 'PierAddOns2' group: 'ALL'.
> |
> |
> | WAGemStoneRunSeasideGems default
> | name: 'FastCGI';
> | adaptorClass: WAFastCGIAdaptor;
> | ports: #(9001 9002 9003).
> | WAGemStoneRunSeasideGems restartGems.
> |
> |
> |
> |
> | I hit the web server and get the 50x error file I had created.
> |
> |
> | I just noticed that the Seaside classes are not loaded even though it
> | takes forever to
> | come back from the Gofer command, so I am puzzled about what I am
> | doing wrong....
> |
> |
> |
> |
> | Did you have a Transcript open when you tried loading?
> | Have you configured a front-end server that understands FastCGI?
> |
> |
> | Ok, I got everything loaded and started up the Gems. Yes, I had a
> | Transcript up
> | and didn't see anything suspicious, just that everything takes a long
> | time.
> |
> |
> |
> | Stopping Gems...
> | Stopping FastCGI topaz PID 27420 running on port 9001
> | Stopping FastCGI topaz PID 27419 running on port 9002
> | Stopping FastCGI topaz PID 27416 running on port 9003
> | Stopping maintenance gem PID 27413
> | Stopping service gem PID 27417
> | Starting Gems....
> | Starting FastCGI gem on port 9001
> | Starting FastCGI gem on port 9002
> | Starting FastCGI gem on port 9003
> | Starting maintenance gem
> | Starting service gem
> |
> |
> | but still the 50x error message.
> |
> |
> | I'm running NGINX, as you suggested, and I thought that would give me
> | FastCGI capability, on port 9003, as you mentioned in the
> | documentation.
> | I admit to being a little lost with this one.
> |
> |
> |
> |
> |
> |
> |
> | It's probably best to post Gemstone specific queries on the Gemstone
> | mailing list.
> | http://seaside.gemstone.com/mailman/listinfo/beta
> |
> |
> |
> |
> |
> |
> | I guess I'm in the wrong place. Sorry about that. I have asked to be
> | subscribed to the GemStone Seaside list.
> |
> |
> | Regards,
> |
> |
> | Larry
> |
> |
> |
> |
> |
> |
> | Nick _______________________________________________
> | seaside mailing list
> | [hidden email]
> | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> |
> |
> | _______________________________________________
> | seaside mailing list
> | [hidden email]
> | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> |
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Dale Henrichs
Lawrence,

Ah it's great to see old-time GemStoners coming back to the platform. The free license is very nice:)

I'm not a web guy, but I think it should be valid to go ahead and listen on port 80 with swazoo....There's a use case where you might want your primary web traffic to go through port 80 (say using fastcgi) and then for your development interface ... hitting the objectLog and eventually tODE via a separate swazoo gem listening on port 8080 ... I imagine that it would be possible to restrict that access of port 8080 to your own machines and arrange for only the production urls to be passed along through port 80) ... I do a variant of this for ss3: 5 fastcgi gems restricted to just the ss3 urls and a swazoo gem listening on port 8383 sitting behind the firewall and only accessible from within the vmware corporate network that I use for tODE ...

Dale

----- Original Message -----
| From: "Lawrence Kellogg" <[hidden email]>
| To: "Seaside - general discussion" <[hidden email]>
| Sent: Tuesday, October 18, 2011 11:58:41 AM
| Subject: Re: [Seaside] Seaside on EC2 Amazon Service
|
| Thanks , Dale! I programmed in GemSone a few years ago and I'm
| currently working to reclaim my knowledge.
| I will definitely use Topaz in the future.
|
| I got access to SeaSide on my Amazon EC2 instance by opening port
| 8080 and
| hitting Swazoo
|
| WAGemStoneRunSeasideGems default
| name: 'Swazoo';
| adaptorClass: WAGsSwazooAdaptor;
| ports: #(8080).
| WAGemStoneRunSeasideGems restartGems.
|
| I'm sure I'm all wrong, somehow, with doing this, but it was nice to
| see that I actually do have end to end connectivity to my Seaside
| code
| running on EC2. What if I just ran Swazoo on port 80? Would that be
| bad?
|
|   I have a lot more thinking to do about the hosting side of the
|   equation...
|
|   Regards,
|
|   Larry
|
|
| On Oct 18, 2011, at 2:49 PM, Dale Henrichs wrote:
|
| > Lawrence,
| >
| > If you are working with a remote instance of GLASS, you should
| > probably spend a little time to learn topaz. topaz is the command
| > line interface for GemStone ... you can execute smalltalk code and
| > run the debugger all from the unix command line.
| >
| > GemTools is very chatty and over a WAN that can be pretty slow ...
| > the loads tend to dump information to the Transcript and each
| > transcript line goes over the wan ... even slower ... I'm working
| > on tODE as a replacement for GemTools ...
| >
| > Most of the workspace doits that you run in GemTools can be done
| > from topaz. The one thing that you probably need to do when you
| > use topaz is to set autoMigrate. autoMigrate is enabled by default
| > in GemTools, but is not enabled by default in topaz. Execute the
| > following after login and you should be good to go:
| >
| >  MCPlatformSupport autoMigrate: true.
| >
| > Dale
| >
| > ----- Original Message -----
| > | From: "Lawrence Kellogg" <[hidden email]>
| > | To: "Seaside - general discussion"
| > | <[hidden email]>
| > | Sent: Tuesday, October 18, 2011 11:32:04 AM
| > | Subject: Re: [Seaside] Seaside on EC2 Amazon Service
| > |
| > |
| > |
| > |
| > |
| > | On Oct 18, 2011, at 12:09 PM, Nick Ager wrote:
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > | After doing this:
| > |
| > |
| > |
| > | Gofer project load: 'Seaside30' group: 'ALL'.
| > | Gofer project load: 'Pier2'.
| > | Gofer project load: 'PierAddOns2' group: 'ALL'.
| > |
| > |
| > | WAGemStoneRunSeasideGems default
| > | name: 'FastCGI';
| > | adaptorClass: WAFastCGIAdaptor;
| > | ports: #(9001 9002 9003).
| > | WAGemStoneRunSeasideGems restartGems.
| > |
| > |
| > |
| > |
| > | I hit the web server and get the 50x error file I had created.
| > |
| > |
| > | I just noticed that the Seaside classes are not loaded even
| > | though it
| > | takes forever to
| > | come back from the Gofer command, so I am puzzled about what I am
| > | doing wrong....
| > |
| > |
| > |
| > |
| > | Did you have a Transcript open when you tried loading?
| > | Have you configured a front-end server that understands FastCGI?
| > |
| > |
| > | Ok, I got everything loaded and started up the Gems. Yes, I had a
| > | Transcript up
| > | and didn't see anything suspicious, just that everything takes a
| > | long
| > | time.
| > |
| > |
| > |
| > | Stopping Gems...
| > | Stopping FastCGI topaz PID 27420 running on port 9001
| > | Stopping FastCGI topaz PID 27419 running on port 9002
| > | Stopping FastCGI topaz PID 27416 running on port 9003
| > | Stopping maintenance gem PID 27413
| > | Stopping service gem PID 27417
| > | Starting Gems....
| > | Starting FastCGI gem on port 9001
| > | Starting FastCGI gem on port 9002
| > | Starting FastCGI gem on port 9003
| > | Starting maintenance gem
| > | Starting service gem
| > |
| > |
| > | but still the 50x error message.
| > |
| > |
| > | I'm running NGINX, as you suggested, and I thought that would
| > | give me
| > | FastCGI capability, on port 9003, as you mentioned in the
| > | documentation.
| > | I admit to being a little lost with this one.
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| > | It's probably best to post Gemstone specific queries on the
| > | Gemstone
| > | mailing list.
| > | http://seaside.gemstone.com/mailman/listinfo/beta
| > |
| > |
| > |
| > |
| > |
| > |
| > | I guess I'm in the wrong place. Sorry about that. I have asked to
| > | be
| > | subscribed to the GemStone Seaside list.
| > |
| > |
| > | Regards,
| > |
| > |
| > | Larry
| > |
| > |
| > |
| > |
| > |
| > |
| > | Nick _______________________________________________
| > | seaside mailing list
| > | [hidden email]
| > | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
| > |
| > |
| > | _______________________________________________
| > | seaside mailing list
| > | [hidden email]
| > | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
| > |
| > _______________________________________________
| > seaside mailing list
| > [hidden email]
| > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
| _______________________________________________
| seaside mailing list
| [hidden email]
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
1234