(sorry if this has already been mentioned, but I did not think so)
Hello, Received a new Intel-based Mac a couple of days ago, and since it cannot run VisualWorks natively yet, I installed Parallels (virtualization software for OS-X). Running XP Professional under Parallels allows me to run VisualWorks without any problems. Very, very efficiently even. So there is no reason for putting of to buy one of these nice new machines ;-) PS: Note that the OS-X VM from VW 7.4.1 (not the X11 one) is very nice. Congrats to the VM people. -- Roel |
I asked for it some time ago (september 2005....)
enclosed answer of James Robertson > The existing VM for Mac won't work on X86 - at a minimum, the JIT is > targeting the PPC, not the X86 > > At 05:29 AM 9/30/2005, you wrote: >> Just wondering if somebody tried this already? >> >> My naive test ( using vanilla 7.3 image) gave me a crash >> excerpt form console log: >> 400) malloc: *** vm_allocate(size=135168) failed (error code=3) >> vwmacxgui(238,0x81011400) malloc: *** error: can't allocate region >> vwmacxgui(238,0x81011400) malloc: *** set a breakpoint in szone_error >> to debug >> vwmacxgui(241,0x81011400) malloc: *** vm_allocate(size=135168) failed >> (error code=3) >> vwmacxgui(241,0x81011400) malloc: *** error: can't allocate region >> vwmacxgui(241,0x81011400) malloc: *** set a breakpoint in szone_error >> to debug >> cheers >> manfred </blockquote></x-html> > Cincom should target this platform! Smalltalk is portable but we need the vm. cheers manfred On Jun 20, 2006, at 9:44 PM, Roel Wuyts wrote: > (sorry if this has already been mentioned, but I did not think so) > > > Hello, > > Received a new Intel-based Mac a couple of days ago, and since it > cannot run VisualWorks natively yet, I installed Parallels > (virtualization software for OS-X). Running XP Professional under > Parallels allows me to run VisualWorks without any problems. Very, > very efficiently even. So there is no reason for putting of to buy one > of these nice new machines ;-) > > PS: Note that the OS-X VM from VW 7.4.1 (not the X11 one) is very > nice. Congrats to the VM people. > > -- > Roel > |
In reply to this post by Roel Wuyts
On 6/20/06, Roel Wuyts <[hidden email]> wrote:
> Received a new Intel-based Mac a couple of days ago, and since it > cannot run VisualWorks natively yet, I installed Parallels > (virtualization software for OS-X). Hi Roel, same here :) Since I can't use windows, I'm trying with Ubuntu but VW uses 100% CPU after the splash screen (no other windows appear). That's strange because I use VW without any problem (other than the broken installer script) under Ubuntu on a real (Dell) PC... -- Damien Pollet type less, do more |
On 7/21/06, Damien Pollet <[hidden email]> wrote:
> Since I can't use windows, I'm trying with Ubuntu but VW uses 100% CPU > after the splash screen (no other windows appear). > > That's strange because I use VW without any problem (other than the > broken installer script) under Ubuntu on a real (Dell) PC... Hrm forget it, I just needed to export VISUALWORKS=...; xset fp rehash as said somewhere else in this list -- Damien Pollet type less, do more |
In reply to this post by Damien Pollet
Tr running this:
xset fp rehash before starting VW, and see if that helps (Ubuntu) At 09:23 AM 7/21/2006, you wrote: >On 6/20/06, Roel Wuyts <[hidden email]> wrote: >>Received a new Intel-based Mac a couple of days ago, and since it >>cannot run VisualWorks natively yet, I installed Parallels >>(virtualization software for OS-X). > >Hi Roel, same here :) >Since I can't use windows, I'm trying with Ubuntu but VW uses 100% CPU >after the splash screen (no other windows appear). > >That's strange because I use VW without any problem (other than the >broken installer script) under Ubuntu on a real (Dell) PC... > >-- >Damien Pollet >type less, do more <Talk Small and Carry a Big Class Library> James Robertson, Product Manager, Cincom Smalltalk http://www.cincomsmalltalk.com/blog/blogView |
In reply to this post by Damien Pollet
Sure will be nice when they ship the MacIntel version.
On Jul 21, 2006, at 6:23 AM, Damien Pollet wrote: > On 6/20/06, Roel Wuyts <[hidden email]> wrote: >> Received a new Intel-based Mac a couple of days ago, and since it >> cannot run VisualWorks natively yet, I installed Parallels >> (virtualization software for OS-X). > > Hi Roel, same here :) > Since I can't use windows, I'm trying with Ubuntu but VW uses 100% CPU > after the splash screen (no other windows appear). > > That's strange because I use VW without any problem (other than the > broken installer script) under Ubuntu on a real (Dell) PC... > > -- > Damien Pollet > type less, do more > |
In reply to this post by Roel Wuyts
VW on a new MacBook Pro runs very nicely for me under Parallels but I have not yet discovered a way of accessing the OS X portion of the hard drive or any other partition on the internal disc. Has anyone found a way of doing this or do I have to rely on a network location for file transfer? Cheers, Rowan. www.softwarewithstyle.com On 21/06/2006, at 5:44 AM, Roel Wuyts wrote: > (sorry if this has already been mentioned, but I did not think so) > > > Hello, > > Received a new Intel-based Mac a couple of days ago, and since it > cannot run VisualWorks natively yet, I installed Parallels > (virtualization software for OS-X). Running XP Professional under > Parallels allows me to run VisualWorks without any problems. Very, > very efficiently even. So there is no reason for putting of to buy > one of these nice new machines ;-) > > PS: Note that the OS-X VM from VW 7.4.1 (not the X11 one) is very > nice. Congrats to the VM people. > > -- > Roel > |
This can be done using parallels tools when the guest os is Windows, but
it must be done via network if the guest os is Linux. For windows, run a parallels vm, from the parallels vm menu (in mac) choose "Install Parallels Tools" This will install some driver helper tools in the windows installation that will let you share files between the guest filesystem and the host filesystem (as well as significantly enhance the mouse and window behavior). On linux I use ftp to get at the mac filesystem, just enable ftp sharing on the mac side of life. Mike Rowan Bunning wrote: > > VW on a new MacBook Pro runs very nicely for me under Parallels but I > have not yet discovered a way of accessing the OS X portion of the > hard drive or any other partition on the internal disc. Has anyone > found a way of doing this or do I have to rely on a network location > for file transfer? > > Cheers, > Rowan. > > www.softwarewithstyle.com > > > On 21/06/2006, at 5:44 AM, Roel Wuyts wrote: > >> (sorry if this has already been mentioned, but I did not think so) >> >> >> Hello, >> >> Received a new Intel-based Mac a couple of days ago, and since it >> cannot run VisualWorks natively yet, I installed Parallels >> (virtualization software for OS-X). Running XP Professional under >> Parallels allows me to run VisualWorks without any problems. Very, >> very efficiently even. So there is no reason for putting of to buy >> one of these nice new machines ;-) >> >> PS: Note that the OS-X VM from VW 7.4.1 (not the X11 one) is very >> nice. Congrats to the VM people. >> >> -- >> Roel >> > > |
In reply to this post by Rowan Bunning
Hello,
(1) you can share folders between OS-X and the Windows running under Parallells: you need to install the Parallells tools under that windows if you haven't already done so (launch your windows, and chose 'Install Parallells tools' from the VM menu option in the Mac menu bar (the one with the Apple, to avoid confusion :-) ). Then you can shut down this windows, and 'edit' the settings of the VM, where you can add shared folders. (2) The beta VM for running VisualWorks under X11 on Intel-bssed Macs works without problems and is very fast. So you can do that as well and not use Parallells at all. On 24 Jul 2006, at 01:00, Rowan Bunning wrote: > > > VW on a new MacBook Pro runs very nicely for me under Parallels but > I have not yet discovered a way of accessing the OS X portion of > the hard drive or any other partition on the internal disc. Has > anyone found a way of doing this or do I have to rely on a network > location for file transfer? > > Cheers, > Rowan. > > www.softwarewithstyle.com > > > On 21/06/2006, at 5:44 AM, Roel Wuyts wrote: > >> (sorry if this has already been mentioned, but I did not think so) >> >> >> Hello, >> >> Received a new Intel-based Mac a couple of days ago, and since it >> cannot run VisualWorks natively yet, I installed Parallels >> (virtualization software for OS-X). Running XP Professional under >> Parallels allows me to run VisualWorks without any problems. Very, >> very efficiently even. So there is no reason for putting of to buy >> one of these nice new machines ;-) >> >> PS: Note that the OS-X VM from VW 7.4.1 (not the X11 one) is very >> nice. Congrats to the VM people. >> >> -- >> Roel >> > |
Hi Roel,
> (2) The beta VM for running VisualWorks under X11 on Intel-bssed > Macs works without problems and is very fast. So you can do that as > well and not use Parallells at all. this is odd: I tried to do exactly this, but VisualWorks doesn't seem to properly pick up the environment variable, even-though it is set. When I evaluate in a workspace SystemUtils getEnvironmentVariable: 'VISUALWORKS' I get the correct value of this variable. I can even set it using SystemUtils setEnvironmentVariable: 'VISUALWORKS' value: '/Applications/VisualWorks' though the SourceManager class and the Settings Panel doesn't seem to pick it up and I get decompiled sources everywhere. Roel, does this work for you? Am I doing something wrong? Is this a bug? Lukas -- Lukas Renggli http://www.lukas-renggli.ch |
Hi,
I have to send SOAP to a site via HTTPS, and there they have authentication, so I need to send my username and password to them. I had my sublclass of WSDLClient done by the WSDLWizard, and I'd like to use it. There is a simple way of saying to the WSDLClient subclass instance that it should send authentication when connecting via HTTPS? In using .NET, there is a simple way of doing it, building a NetworkCredential. There is some similar on VW (7.4.1)? Thanks for any help Giorgio Ferraris |
In reply to this post by Lukas Renggli-2
There was a thread on this subject on this list the 24th to 27th of
July that you can find in the archive. It is a bug in the VM that Cincom is aware of. I just start my image with a script under x that sets the environment variable for me. There are a couple of workarounds on the mailing list from July. Mike On Aug 13, 2006, at 5:25 AM, Lukas Renggli wrote: > Hi Roel, > >> (2) The beta VM for running VisualWorks under X11 on Intel-bssed >> Macs works without problems and is very fast. So you can do that >> as well and not use Parallells at all. > > this is odd: I tried to do exactly this, but VisualWorks doesn't > seem to properly pick up the environment variable, even-though it > is set. When I evaluate in a workspace > > SystemUtils > getEnvironmentVariable: 'VISUALWORKS' > > I get the correct value of this variable. I can even set it using > > SystemUtils > setEnvironmentVariable: 'VISUALWORKS' > value: '/Applications/VisualWorks' > > though the SourceManager class and the Settings Panel doesn't seem > to pick it up and I get decompiled sources everywhere. > > Roel, does this work for you? Am I doing something wrong? Is this a > bug? > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > |
In reply to this post by Giorgio Ferraris
Hi Giorgio,
To use the Https you will need to have the port address in the wsdl schema set as "https://....". Change the soap address to https <wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap"> <soap:address location="https://myservices.com/vvv"/> </wsdl:port> Reset the registries: WsdlBinding reset. Create a client Client := MyWsdlClient new. Client transportClient username: 'userID' password: 'password'. - will set authentication data. Client makeRequest. - the client will use https transport and authentication for the request. Tamara Kogan Smalltalk development, Cincom Systems > -----Original Message----- > From: Giorgio Ferraris [mailto:[hidden email]] > Sent: Sunday, August 13, 2006 9:45 AM > To: 'vw-nc'; [hidden email] > Cc: [hidden email]; [hidden email] > Subject: SOAP, wsdl and connecting thru HTTP authentication > > Hi, > > I have to send SOAP to a site via HTTPS, and there they have > authentication, > so I need to send my username and password to them. > > I had my sublclass of WSDLClient done by the WSDLWizard, and I'd like > use > it. > > There is a simple way of saying to the WSDLClient subclass instance that > it > should send authentication when connecting via HTTPS? > > In using .NET, there is a simple way of doing it, building a > NetworkCredential. There is some similar on VW (7.4.1)? > > > Thanks for any help > > Giorgio Ferraris > > > |
Hi, Tamara,
Thanks for your answer. I had already solved the problem of connecting to HTTPS and also the one of getting the certificate I needed for the connection, getting it from internet explorer (thanks to the documentation Martin and Edwards suggetsted). What I was looking for was exactly the " transportClient username: 'userID' password: 'password'" suggestion. I was not able to found it on the docs. Well, now the trip seems still long... because new problems are coming... I had a bunch of classes generated by the wizard, and also the example transcript. Now, I took from the example a simple service: client := XmlSelectSoapClient new. client transportClient username: 'myuser' password: 'mypassword' arg1 := GetIdentityInfo new profile: ('myprofilestring'); yourself. value := client getIdentityInfo: arg1. When I execute the last instruction, I get an exception: "the object is not a Dictionary or a Struct type: aGetIdentityInfo" The interesting thing is that the key of the needed dictionary is #Profile, so it seems like a wrong SOAP type. I did a stupid trick, allowing GetIdentityInfo to answer to the message at:ifAbsent: , and I got back an answer of the supposed type, so I have passed both the certificate and the authorization step, and got an aswer! I should still investigate if it's correct to have an empty answer to this service, but at least I passed all of the first step. I know what I did is not correct, and not extensible to all of the more complex services. Having used all of the automatically generated stuff, should not I have everything ready for execution on the first step? XmlSelectSoapClient and GetIdentityInfo are classes generated by the WSDLWizard, as you can suppose, and the code, excluding the setting of credentials, is taken from the workspace generated by the wizard. Thanks for any help. It seems that my first try to SOAP in VW need more time than supposed... -----Messaggio originale----- Da: Kogan, Tamara [mailto:[hidden email]] Inviato: lunedì 14 agosto 2006 15.25 A: Giorgio Ferraris; vw-nc; [hidden email] Cc: [hidden email]; [hidden email] Oggetto: RE: SOAP, wsdl and connecting thru HTTP authentication Hi Giorgio, To use the Https you will need to have the port address in the wsdl schema set as "https://....". Change the soap address to https <wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap"> <soap:address location="https://myservices.com/vvv"/> </wsdl:port> Reset the registries: WsdlBinding reset. Create a client Client := MyWsdlClient new. Client transportClient username: 'userID' password: 'password'. - will set authentication data. Client makeRequest. - the client will use https transport and authentication for the request. Tamara Kogan Smalltalk development, Cincom Systems > -----Original Message----- > From: Giorgio Ferraris [mailto:[hidden email]] > Sent: Sunday, August 13, 2006 9:45 AM > To: 'vw-nc'; [hidden email] > Cc: [hidden email]; [hidden email] > Subject: SOAP, wsdl and connecting thru HTTP authentication > > Hi, > > I have to send SOAP to a site via HTTPS, and there they have > authentication, > so I need to send my username and password to them. > > I had my sublclass of WSDLClient done by the WSDLWizard, and I'd like > use > it. > > There is a simple way of saying to the WSDLClient subclass instance that > it > should send authentication when connecting via HTTPS? > > In using .NET, there is a simple way of doing it, building a > NetworkCredential. There is some similar on VW (7.4.1)? > > > Thanks for any help > > Giorgio Ferraris > > > |
Giorgio,
My guess is that somehow your X2O binding got generated with Structs instead of Objects in it when you were generating your classes. There should be a method called x2oBinding on your client class with a chunk of XML in it. There are likely to be 'struct' elements there with name attribute corresponding to your domain classes. Try changing those to 'object' elements instead. I believe the contents can remain the same. Note that you'll need to reload the binding after you're done. There's often a method comment included for that purpose. Otherwise these binding instances are kept in a class side registry on XMLObjectBinding. HTH, Martin Giorgio Ferraris wrote: > Hi, Tamara, > > Thanks for your answer. > I had already solved the problem of connecting to HTTPS and also the one of > getting the certificate I needed for the connection, getting it from > internet explorer (thanks to the documentation Martin and Edwards > suggetsted). What I was looking for was exactly the " transportClient > username: 'userID' password: 'password'" suggestion. > I was not able to found it on the docs. > Well, now the trip seems still long... because new problems are coming... > I had a bunch of classes generated by the wizard, and also the example > transcript. Now, I took from the example a simple service: > > client := XmlSelectSoapClient new. > client transportClient username: 'myuser' password: 'mypassword' > arg1 := GetIdentityInfo new > profile: ('myprofilestring'); > yourself. > value := client getIdentityInfo: arg1. > > When I execute the last instruction, I get an exception: "the object is not > a Dictionary or a Struct type: aGetIdentityInfo" > > The interesting thing is that the key of the needed dictionary is #Profile, > so it seems like a wrong SOAP type. > > I did a stupid trick, allowing GetIdentityInfo to answer to the message > at:ifAbsent: , and I got back an answer of the supposed type, so I have > passed both the certificate and the authorization step, and got an aswer! > I should still investigate if it's correct to have an empty answer to this > service, but at least I passed all of the first step. > > I know what I did is not correct, and not extensible to all of the more > complex services. > Having used all of the automatically generated stuff, should not I have > everything ready for execution on the first step? > > XmlSelectSoapClient and GetIdentityInfo are classes generated by the > WSDLWizard, as you can suppose, and the code, excluding the setting of > credentials, is taken from the workspace generated by the wizard. > > Thanks for any help. It seems that my first try to SOAP in VW need more time > than supposed... > > > > -----Messaggio originale----- > Da: Kogan, Tamara [mailto:[hidden email]] > Inviato: lunedì 14 agosto 2006 15.25 > A: Giorgio Ferraris; vw-nc; [hidden email] > Cc: [hidden email]; [hidden email] > Oggetto: RE: SOAP, wsdl and connecting thru HTTP authentication > > Hi Giorgio, > > To use the Https you will need to have the port address in the wsdl > schema set as "https://....". > Change the soap address to https > <wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap"> > <soap:address location="https://myservices.com/vvv"/> > </wsdl:port> > > Reset the registries: > WsdlBinding reset. > > Create a client > Client := MyWsdlClient new. > Client transportClient username: 'userID' password: 'password'. - will > set authentication data. > Client makeRequest. - the client will use https transport and > authentication for the request. > > > Tamara Kogan > Smalltalk development, > Cincom Systems > > >>-----Original Message----- >>From: Giorgio Ferraris [mailto:[hidden email]] >>Sent: Sunday, August 13, 2006 9:45 AM >>To: 'vw-nc'; [hidden email] >>Cc: [hidden email]; [hidden email] >>Subject: SOAP, wsdl and connecting thru HTTP authentication >> >>Hi, >> >>I have to send SOAP to a site via HTTPS, and there they have >>authentication, >>so I need to send my username and password to them. >> >>I had my sublclass of WSDLClient done by the WSDLWizard, and I'd like > > to > >>use >>it. >> >>There is a simple way of saying to the WSDLClient subclass instance > > that > >>it >>should send authentication when connecting via HTTPS? >> >>In using .NET, there is a simple way of doing it, building a >>NetworkCredential. There is some similar on VW (7.4.1)? >> >> >>Thanks for any help >> >>Giorgio Ferraris >> >> >> > > > > |
Hi, Martin,
Thanks again. If I'm not wrong, the chunck should be this one: </object> <object name="GetIdentityInfo" smalltalkClass="GetIdentityInfo" tag="GetIdentityInfo"> <element maxOccurs="1" minOccurs="0" name="Profile" ref="s:string" aspect="profile"/> </object> It seems already object, not struct. Is this the place? I attached the full x20binding contents Thanks Giorgio -----Messaggio originale----- Da: Martin Kobetic [mailto:[hidden email]] Inviato: martedì 15 agosto 2006 15.32 A: Giorgio Ferraris Cc: 'Kogan, Tamara'; 'vw-nc' Oggetto: Re: R: SOAP, wsdl and connecting thru HTTP authentication Giorgio, My guess is that somehow your X2O binding got generated with Structs instead of Objects in it when you were generating your classes. There should be a method called x2oBinding on your client class with a chunk of XML in it. There are likely to be 'struct' elements there with name attribute corresponding to your domain classes. Try changing those to 'object' elements instead. I believe the contents can remain the same. Note that you'll need to reload the binding after you're done. There's often a method comment included for that purpose. Otherwise these binding instances are kept in a class side registry on XMLObjectBinding. HTH, Martin Giorgio Ferraris wrote: > Hi, Tamara, > > Thanks for your answer. > I had already solved the problem of connecting to HTTPS and also the one of > getting the certificate I needed for the connection, getting it from > internet explorer (thanks to the documentation Martin and Edwards > suggetsted). What I was looking for was exactly the " transportClient > username: 'userID' password: 'password'" suggestion. > I was not able to found it on the docs. > Well, now the trip seems still long... because new problems are coming... > I had a bunch of classes generated by the wizard, and also the example > transcript. Now, I took from the example a simple service: > > client := XmlSelectSoapClient new. > client transportClient username: 'myuser' password: 'mypassword' > arg1 := GetIdentityInfo new > profile: ('myprofilestring'); > yourself. > value := client getIdentityInfo: arg1. > > When I execute the last instruction, I get an exception: "the object is > a Dictionary or a Struct type: aGetIdentityInfo" > > The interesting thing is that the key of the needed dictionary is > so it seems like a wrong SOAP type. > > I did a stupid trick, allowing GetIdentityInfo to answer to the message > at:ifAbsent: , and I got back an answer of the supposed type, so I have > passed both the certificate and the authorization step, and got an aswer! > I should still investigate if it's correct to have an empty answer to this > service, but at least I passed all of the first step. > > I know what I did is not correct, and not extensible to all of the more > complex services. > Having used all of the automatically generated stuff, should not I have > everything ready for execution on the first step? > > XmlSelectSoapClient and GetIdentityInfo are classes generated by the > WSDLWizard, as you can suppose, and the code, excluding the setting of > credentials, is taken from the workspace generated by the wizard. > > Thanks for any help. It seems that my first try to SOAP in VW need more > than supposed... > > > > -----Messaggio originale----- > Da: Kogan, Tamara [mailto:[hidden email]] > Inviato: lunedì 14 agosto 2006 15.25 > A: Giorgio Ferraris; vw-nc; [hidden email] > Cc: [hidden email]; [hidden email] > Oggetto: RE: SOAP, wsdl and connecting thru HTTP authentication > > Hi Giorgio, > > To use the Https you will need to have the port address in the wsdl > schema set as "https://....". > Change the soap address to https > <wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap"> > <soap:address location="https://myservices.com/vvv"/> > </wsdl:port> > > Reset the registries: > WsdlBinding reset. > > Create a client > Client := MyWsdlClient new. > Client transportClient username: 'userID' password: 'password'. - will > set authentication data. > Client makeRequest. - the client will use https transport and > authentication for the request. > > > Tamara Kogan > Smalltalk development, > Cincom Systems > > >>-----Original Message----- >>From: Giorgio Ferraris [mailto:[hidden email]] >>Sent: Sunday, August 13, 2006 9:45 AM >>To: 'vw-nc'; [hidden email] >>Cc: [hidden email]; [hidden email] >>Subject: SOAP, wsdl and connecting thru HTTP authentication >> >>Hi, >> >>I have to send SOAP to a site via HTTPS, and there they have >>authentication, >>so I need to send my username and password to them. >> >>I had my sublclass of WSDLClient done by the WSDLWizard, and I'd like > > to > >>use >>it. >> >>There is a simple way of saying to the WSDLClient subclass instance > > that > >>it >>should send authentication when connecting via HTTPS? >> >>In using .NET, there is a simple way of doing it, building a >>NetworkCredential. There is some similar on VW (7.4.1)? >> >> >>Thanks for any help >> >>Giorgio Ferraris >> >> >> > > > > x2obinding.txt (7K) Download Attachment |
Free forum by Nabble | Edit this page |