clorb-devel Mailing List for Common Lisp ORB (Page 2)
Status: Alpha
Brought to you by:
lenst
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Brad C. <cha...@ar...> - 2000-06-28 18:38:40
|
Hello; I've been working on trying to get the hello-world example client and server (thanks incredibly much for the simple example to work with!) running on CMUCL and CLISP, but have not been having much luck :-<. I finally got myself stuck where I can't move any further, so I thought I would ask here. I apologize in advance if the problems are due to my inexperience with lisp. CMUCL ----- I thought I would start with this since I have had the most luck here so far. I have been successful at starting up a server without any errors, but when I open up a new interpreter and try to run a client against the server, I get the following error in the client: * (hello-client :file "hw.ior") Error in function CLORB::UNMARSHAL-GIOP-HEADER: Not a GIOP message Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (CLORB::UNMARSHAL-GIOP-HEADER #S(CLORB::BUFFER :OCTETS #(0 0 0 0 0...) :POSITION 1 :BYTE-ORDER 1 :START-POS 0)) Source: ; File: /usr/home/chapmanb/clorb-0.2/clorb-unmarshal.lisp (ERROR "Not a GIOP message") 0] bac 0: (CLORB::UNMARSHAL-GIOP-HEADER #S(CLORB::BUFFER :OCTETS #(0 0 0 0 0...) :POSITION 1 :BYTE-ORDER 1 :START-POS 0)) 1: (CLORB::CORBA-GET-NEXT-RESPONS-1 #<Stream for descriptor 5> :WAIT T) 2: (CLORB::REQUEST-GET-RESPONSE #<OMG.ORG/CORBA:REQUEST {922C9C5}> NIL) 3: (CLORB::REQUEST-INVOKE #<OMG.ORG/CORBA:REQUEST {922C9C5}> #<unused-arg>) 4: (CLORB::OBJECT-INTERFACE #<OMG.ORG/CORBA:PROXY "IDL:Hello/World:1.0" @ localhost:4711>) 5: (CLORB::OBJECT-OPDEF #<OMG.ORG/CORBA:PROXY "IDL:Hello/World:1.0" @ localhost:4711> "greet") 6: (CLORB::OBJECT-CREATE-REQUEST #<OMG.ORG/CORBA:PROXY "IDL:Hello/World:1.0" @ localhost:4711> "greet" NIL) 7: (CLORB:INVOKE #<OMG.ORG/CORBA:PROXY "IDL:Hello/World:1.0" @ localhost:4711> "greet") 8: (INTERACTIVE-EVAL (HELLO-CLIENT :FILE "hw.ior")) 9: (COMMON-LISP::%TOP-LEVEL) 10: (COMMON-LISP::RESTART-LISP) The server also crashes when this occurs, with the following backtrace: * (run-hello :file "hw.ior") Compiling LAMBDA (#:G1518 #:G1519 #:G1520 #:G1521 #:G1524 #:G1525): Compiling Top-Level Form: ;;; Acception tcp connection: 6 ;; - to stream: #<Stream for descriptor 6> ;; Receive (60) Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER: -1 is not of type (MOD 536870911) Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (CLORB::UNMARSHAL-STRING #S(CLORB::BUFFER :OCTETS #(71 73 79 80 1...) :POSITION 32 :BYTE-ORDER 1 :START-POS 0)) Source: ; File: /usr/home/chapmanb/clorb-0.2/clorb-unmarshal.lisp (MAKE-STRING LEN) 0] bac 0: (CLORB::UNMARSHAL-STRING #S(CLORB::BUFFER :OCTETS #(71 73 79 80 1...) :POSITION 32 :BYTE-ORDER 1 :START-POS 0)) 1: (CLORB::DECODE-REQUEST #S(CLORB::SERVER-REQUEST :STREAM #<Stream for descriptor 6> :BUFFER #S(CLORB::BUFFER :OCTETS # :POSITION 32 :BYTE-ORDER 1 :START-POS 0) :MSGTYPE 0 :IIOP-VERSION NIL :SERVICE-CONTEXT #() ...)) 2: (CLORB::GET-MESSAGE #<Stream for descriptor 6>) 3: (CLORB::|(PCL::FAST-METHOD HANDLE-STREAM (CLORB-ADAPTOR T))| #<unused-arg> #<unused-arg> #<unused-arg> #<Stream for de scriptor 6>) 4: (CLORB::|(PCL::FAST-METHOD SERVER-FALLBACK (CLORB-ADAPTOR))| #<unused-arg> #<unused-arg> #<CLORB::CLORB- ADAPTOR {922FEAD}>) 5: (CLORB::ORB-WAIT #<OMG.ORG/CORBA:ORB {922F65D}> NIL) 6: (CLORB::|(PCL::FAST-METHOD OMG.ORG/FEATURES:RUN (ORB))| #<unused-arg> #<unused-arg> #<OMG.ORG/CORBA:ORB {922F65D}> NIL) 7: (INTERACTIVE-EVAL (RUN-HELLO :FILE "hw.ior")) 8: (COMMON-LISP::%TOP-LEVEL) 9: (COMMON-LISP::RESTART-LISP) clisp ----- On clisp, I get an error immediately upon trying to start up the server, and it gives the following trace. [7]> (run-hello :file "hw.ior") *** - UNIX error 49 (EADDRNOTAVAIL): Can't assign requested address 1. Break [8]> Backtrace-1 - NIL - #<SYSTEM::SIMPLE-OS-ERROR #x203950D1> frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> #<UNBOUND> - #<SYSTEM::SIMPLE-OS-ERROR #x203950D1> - 4711 - #<COMPILED-CLOSURE CLORB::OPEN-PASSIVE-SOCKET> - 4711 - #<COMPILED-CLOSURE CLORB::SETUP-SERVER> - #<OMG.ORG/CORBA:ORB #x203799A5> - #<COMPILED-CLOSURE CLORB::ROOT-POA> - #<OMG.ORG/CORBA:ORB #x203799A5> - #<COMPILED-CLOSURE CLORB::ROOT-POA> - ("RootPOA" . #<COMPILED-CLOSURE CLORB::ROOT-POA>) - "RootPOA" - #<COMPILED-CLOSURE #:TOP-LEVEL-FORM-21-2-1-1> - ("RootPOA") - #<OMG.ORG/CORBA:ORB #x203799A5> - #<OMG.ORG/CORBA:ORB #x203799A5> - #<COMPILED-CLOSURE SETUP-HELLO> - NIL - "hw.ior" - SETUP-HELLO - #<OMG.ORG/CORBA:ORB #x203799A5> - #<COMPILED-CLOSURE RUN-HELLO> - (:FILE "hw.ior") - #<COMPILED-CLOSURE RUN-HELLO> EVAL frame for form (RUN-HELLO :FILE "hw.ior") - #<SYNONYM-STREAM *TERMINAL-IO*> - #<SYNONYM-STREAM *TERMINAL-IO*> Could anyone offer any advice about what exactly is going on in either case, or suggest further paths that I could try? Thanks in advance for any help! Brad |
From: Lennart S. <le...@ly...> - 2000-06-25 17:15:54
|
I have made a new release of CLORB. It can be downloaded from <URL:https://sourceforge.net/projects/clorb/> There has been a lot of interface chagnes to make this release close to the IDL/Lisp mapping. I also included an Hello World example using mostly standard interfaces. -- Lennart Staflin <le...@ly...> |
From: Lennart S. <le...@ly...> - 2000-06-14 15:56:59
|
Brad Chapman <cha...@ar...> writes: > Hi Lennart; > Thanks for getting back with me! I thought I would send this to > your official development list... > [...] I was just curious--what mapping > standard are you following. I had been looking around a bit and found > what appears to be the standard mapping on the omg page > (http://www.omg.org/cgi-bin/doc?orbos/99-05-18). Is this what you are > following? I know that ILU also has a LISP mapping, and I'm not > exactly positive if they differ. I just wanted to make sure I was > reading the right information :-) The intent is to make it follow the OMG standard, currently orbos/99-05-18. > I was just curious, would you interested in assistance with any of > the coding on CLORB? As I mentioned, I'm really new to LISP and not > very proficient, but I am very interested in coding more in it to help > me learn. It is completely up to you, of course, but if you had a > small part of CLORB for me to work on, I would be very interested > (and appreciative for letting me help). Yes I thinks so. First I need to get the interfaces sorted out. Then code should be a bit more stable. -- Lennart Staflin <le...@ly...> /*/ (:ABSOLUTE :WILD) |
From: Brad C. <cha...@ar...> - 2000-06-13 12:58:39
|
Hi Lennart; Thanks for getting back with me! I thought I would send this to your official development list... > I started writing an example, but the current interface to the > portable object adapter (POA) is highly non-standard. And I want the > example to be close to standard. I then started to try figuring out > how the interface is supposed to be... Okay, this is no problem at all. I was just curious--what mapping standard are you following. I had been looking around a bit and found what appears to be the standard mapping on the omg page (http://www.omg.org/cgi-bin/doc?orbos/99-05-18). Is this what you are following? I know that ILU also has a LISP mapping, and I'm not exactly positive if they differ. I just wanted to make sure I was reading the right information :-) > In effect, if you don't want to wait for the next release, you will > have to do with the server in ns-server.lisp and client code in > clorb-util.lisp (resolve and rebind). That sounds great. I've been looking at things more, and I am in no rush, so waiting for the POA interface changes in the next release is no problem at all. I was just curious, would you interested in assistance with any of the coding on CLORB? As I mentioned, I'm really new to LISP and not very proficient, but I am very interested in coding more in it to help me learn. It is completely up to you, of course, but if you had a small part of CLORB for me to work on, I would be very interested (and appreciative for letting me help). Again, thanks for responding and for CLORB. Brad |
From: Lennart S. <len...@in...> - 2000-06-07 06:58:28
|
Testing new list. -- Lennart Staflin <len...@in...> /*/ STEP Infotek AS, http://www.infotek.no/ Gjerdrums vei 12, N-0486 Oslo, Norway |