This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/367: Re: OB-Users digest, Vol 1 #234 - 14 msgs
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/367: Re: OB-Users digest, Vol 1 #234 - 14 msgs
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 30 Jun 2000 19:33:55 +0200
- References: <200006301600.MAA27920@tuvok.ooc.com>
- Resent-Cc: gcc-prs at gcc dot gnu dot org, jason at gcc dot gnu dot org, ob-users at ooc dot com
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
>Number: 367
>Category: c++
>Synopsis: OB-Users digest, Vol 1 #234 - 14 msgs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: analyzed
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Fri Jun 30 10:46:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Matthew Newhook <matthew@ooc.com>
>Release: 2.95.2
>Organization:
Object Oriented Concepts, Inc.
>Environment:
>Description:
Date: Fri, 30 Jun 2000 12:00:02 -0400
Original-Message-Id: <200006301600.MAA27920@tuvok.ooc.com>
Reply-to: ob-users@ooc.com
Errors-To: ob-users-admin@ooc.com
Send OB-Users mailing list submissions to
ob-users@ooc.com
To subscribe or unsubscribe via the web, visit
http://www.ooc.com/mailman/listinfo/ob-users
or, via email, send a message with subject or body 'help' to
ob-users-request@ooc.com
You can reach the person managing the list at
ob-users-admin@ooc.com
When replying, please edit your Subject line so it is more specific than
"Re: Contents of OB-Users digest..."
Today's Topics:
1. Re: [OB-4.0.1] Thread context switchs on the client-side (Matthew Newhook)
2. Orbacus 4.0.1 and RMI-Over-IIOP (Jeff Crump)
3. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Mark Spruiell)
4. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Jeff Crump)
5. Error building Orbacus: Command line too long (Jeff Crump)
6. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Mark Spruiell)
7. Re: Error building Orbacus: Command line too long (Marc Laukien)
8. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Jeff Crump)
9. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Mark Spruiell)
10. Re: Re:COMM_FAILURE raised by server (Ted McFadden)
11. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Frank Gruetzmacher)
12. Not able to connect Naming service (Vyanktesh Tadkod)
13. Re: Orbacus 4.0.1 and RMI-Over-IIOP (Mark Spruiell)
14. Re: Not able to connect Naming service (Matthew Newhook)
--__--__--
Message: 1
Date: Thu, 29 Jun 2000 17:13:20 -0230
From: Matthew Newhook <matthew@ooc.com>
To: Fabrice Carnet <fc_ob_users@hotmail.com>
Cc: ob-users@ooc.com
Subject: Re: [OB-Users] [OB-4.0.1] Thread context switchs on the client-side
Hi Fabrice,
On Mon, Jun 05, 2000 at 08:40:54PM +0200, Fabrice Carnet wrote:
>[...]
> > Static stubs and skeletons are the ones generated by the IDL compiler.
> > But I guess you're using the DII/DSI for the bridge, right? In this
> > case, there is a "virtual connection" (not a socket connection) even in
> > the collocated case, that explains why you get the same performance
> > problems.
>
> I was so much in SII/SSI that I didn't undestand static stubs&skeletons :-)
> So, no, our bridge makes static invocations (it is not a generic bridge...).
Back to this problem :)
We understand what the problem is for remote method invocations. What
we're not sure of is why you'd have this problem with local method
invocations if you are not using DII/DSI or interceptors.
Could you provide us with an example that demonstrates this problem?
> Fabrice
>
>
>
> _______________________________________________
> OB-Users Mailing List
> ob-users@ooc.com
> http://www.ooc.com/mailman/listinfo/ob-users
Regards, Matthew
--
Matthew Newhook E-Mail: mailto:matthew@ooc.com
Software Designer WWW: http://www.ooc.com
Object Oriented Concepts, Inc. Phone: (709) 738-3725
--__--__--
Message: 2
From: "Jeff Crump" <jcrump@exceloncorp.com>
To: <ob-users@ooc.com>
Date: Thu, 29 Jun 2000 16:01:09 -0400
charset="Windows-1252"
Subject: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
I'd like to use RMI-Over-IIOP to talk from a Java client to an Orbacus 4.0.1
Server.
Is this possible? What kinds of hoops do I have to jump through, vis-a-vis
the Name Service, to get this to work?
Thanks,
Jeff
-----------------------
Jeff Crump
eXcelon Corporation
jcrump@exceloncorp.com
--__--__--
Message: 3
Date: Thu, 29 Jun 2000 14:09:51 -0700
To: "Jeff Crump" <jcrump@exceloncorp.com>, <ob-users@ooc.com>
From: Mark Spruiell <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
Hi Jeff,
At 01:01 PM 6/29/00, Jeff Crump wrote:
>I'd like to use RMI-Over-IIOP to talk from a Java client to an Orbacus 4.0.1
>Server.
>
>Is this possible?
Yes, it should be possible. Keep in mind that the reverse mapping
uses lots of valuetypes, and I believe the Java String type is mapped
to the IDL type CORBA::WStringValue, which incurs additional overhead
for wide character processing.
>What kinds of hoops do I have to jump through, vis-a-vis
>the Name Service, to get this to work?
I imagine there will be a few hoops if you do not use the JDK's
Naming Service (tnameserv). It looks like there is a "plug-in"
that allows RMI clients to use a CORBA Naming Service, but the
configuration instructions appear to require the non-standard
bootstrapping features provided by tnameserv.
Take care,
Mark
--
Mark E. Spruiell
Object Oriented Concepts, Inc.
mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
--__--__--
Message: 4
From: "Jeff Crump" <jcrump@exceloncorp.com>
To: "Jeff Crump" <jcrump@exceloncorp.com>, <ob-users@ooc.com>,
"Mark Spruiell" <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
Date: Thu, 29 Jun 2000 17:30:58 -0400
charset="iso-8859-1"
Thanks, Mark.
Can I use the Orbacus-provided name service?
Basically, I want to use Orbacus on my server for all the right reasons ;-)
but use RMI/IIOP on the client so I don't run into ORB interoperability
problems (the old ORBSingleton problem).
If you can't tell, I'm a bit of a self-taught Corba hacker, so I might be
totally off base here.
What do you think?
jeff
----- Original Message -----
From: "Mark Spruiell" <mes@ooc.com>
To: "Jeff Crump" <jcrump>; <ob-users@ooc.com>
Sent: Thursday, June 29, 2000 5:09 PM
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
> Hi Jeff,
>
> At 01:01 PM 6/29/00, Jeff Crump wrote:
> >I'd like to use RMI-Over-IIOP to talk from a Java client to an Orbacus
4.0.1
> >Server.
> >
> >Is this possible?
>
> Yes, it should be possible. Keep in mind that the reverse mapping
> uses lots of valuetypes, and I believe the Java String type is mapped
> to the IDL type CORBA::WStringValue, which incurs additional overhead
> for wide character processing.
>
> >What kinds of hoops do I have to jump through, vis-a-vis
> >the Name Service, to get this to work?
>
> I imagine there will be a few hoops if you do not use the JDK's
> Naming Service (tnameserv). It looks like there is a "plug-in"
> that allows RMI clients to use a CORBA Naming Service, but the
> configuration instructions appear to require the non-standard
> bootstrapping features provided by tnameserv.
>
> Take care,
>
> Mark
> --
> Mark E. Spruiell
> Object Oriented Concepts, Inc.
> mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
>
>
--__--__--
Message: 5
From: "Jeff Crump" <jcrump@exceloncorp.com>
To: <ob-users@ooc.com>
Date: Thu, 29 Jun 2000 17:39:47 -0400
charset="Windows-1252"
Subject: [OB-Users] Error building Orbacus: Command line too long
I'm getting an error compiling Orbacus with DLL=yes: "Expanded command line
'perl ..\..\.. .." too long" It's trying to build the debug version of
ob.lib.
Any suggestions? Thanks.
jeff
-----------------------
Jeff Crump
eXcelon Corporation
jcrump@exceloncorp.com
--__--__--
Message: 6
Date: Thu, 29 Jun 2000 14:49:41 -0700
To: "Jeff Crump" <jcrump@exceloncorp.com>,
"Jeff Crump" <jcrump@exceloncorp.com>, <ob-users@ooc.com>
From: Mark Spruiell <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
At 02:30 PM 6/29/00, Jeff Crump wrote:
>Thanks, Mark.
>
>Can I use the Orbacus-provided name service?
Probably, but I'm not sure how you go about it with RMI.
>Basically, I want to use Orbacus on my server for all the right reasons ;-)
>but use RMI/IIOP on the client so I don't run into ORB interoperability
>problems (the old ORBSingleton problem).
>
>If you can't tell, I'm a bit of a self-taught Corba hacker, so I might be
>totally off base here.
>
>What do you think?
Why do you need to use RMI/IIOP? Can't you just use the JDK's
built-in ORB and stick to plain ol' CORBA?
Take care,
Mark
--
Mark E. Spruiell
Object Oriented Concepts, Inc.
mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
--__--__--
Message: 7
Date: Thu, 29 Jun 2000 17:45:17 -0400
From: Marc Laukien <ml@ooc.com>
To: Jeff Crump <jcrump@exceloncorp.com>
CC: ob-users@ooc.com
Subject: Re: [OB-Users] Error building Orbacus: Command line too long
Hi Jeff,
Jeff Crump wrote:
>
> I'm getting an error compiling Orbacus with DLL=yes: "Expanded command line
> 'perl ..\..\.. .." too long" It's trying to build the debug version of
> ob.lib.
>
> Any suggestions? Thanks.
You probably have an old perl version, like the perl include in the
Cygnus GNU utils. Try the perl from www.activestate.com.
Cheers,
Marc
>
> jeff
>
> -----------------------
>
> Jeff Crump
> eXcelon Corporation
> jcrump@exceloncorp.com
>
> _______________________________________________
> OB-Users Mailing List
> ob-users@ooc.com
> http://www.ooc.com/mailman/listinfo/ob-users
--
Marc Laukien Phone: (978) 439 9285 x 245
Object Oriented Concepts, Inc. FAX: (978) 439 9286
44 Manning Rd. WWW: http://www.ooc.com
Billerica, MA 01821 E-Mail: mailto:ml@ooc.com
--__--__--
Message: 8
From: "Jeff Crump" <jcrump@exceloncorp.com>
To: "Jeff Crump" <jcrump@exceloncorp.com>, <ob-users@ooc.com>,
"Mark Spruiell" <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
Date: Thu, 29 Jun 2000 18:02:59 -0400
charset="iso-8859-1"
One problem I have is that (currently) we use get_inet_object() in our
client. That's going away in 4.0 (right?) so I need to replace it somehow.
Other than the name service, what other alternatives to locating objects are
there that can work with the JDK ORB on my client?
Then, I figured as long as I'm working with a name service, I might as well
do the JNDI thing on the client and free myself from the JDK ORB. Or am I
just crazy?
jeff
----- Original Message -----
From: "Mark Spruiell" <mes@ooc.com>
To: "Jeff Crump" <jcrump>; "Jeff Crump" <jcrump>; <ob-users@ooc.com>
Sent: Thursday, June 29, 2000 5:49 PM
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
> At 02:30 PM 6/29/00, Jeff Crump wrote:
> >Thanks, Mark.
> >
> >Can I use the Orbacus-provided name service?
>
> Probably, but I'm not sure how you go about it with RMI.
>
> >Basically, I want to use Orbacus on my server for all the right reasons
;-)
> >but use RMI/IIOP on the client so I don't run into ORB interoperability
> >problems (the old ORBSingleton problem).
> >
> >If you can't tell, I'm a bit of a self-taught Corba hacker, so I might be
> >totally off base here.
> >
> >What do you think?
>
> Why do you need to use RMI/IIOP? Can't you just use the JDK's
> built-in ORB and stick to plain ol' CORBA?
>
> Take care,
>
> Mark
> --
> Mark E. Spruiell
> Object Oriented Concepts, Inc.
> mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
>
>
--__--__--
Message: 9
Date: Thu, 29 Jun 2000 15:11:13 -0700
To: "Jeff Crump" <jcrump@exceloncorp.com>, <ob-users@ooc.com>
From: Mark Spruiell <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
<4.3.2.7.2.20000629144816.00e89220@192.168.1.1>
At 03:02 PM 6/29/00, Jeff Crump wrote:
>One problem I have is that (currently) we use get_inet_object() in our
>client. That's going away in 4.0 (right?) so I need to replace it somehow.
>Other than the name service, what other alternatives to locating objects are
>there that can work with the JDK ORB on my client?
Mmm, the JDK's ORB doesn't support the Interoperable Naming Service,
so using a corbaloc: URL is not an option. One possibility is to obtain
a stringified IOR via HTTP. That's pretty simple to do in Java, but it
obviously requires a Web server somewhere.
>Then, I figured as long as I'm working with a name service, I might as well
>do the JNDI thing on the client and free myself from the JDK ORB. Or am I
>just crazy?
You'll still have the same problem of bootstrapping an initial object
reference, whether you use RMI/IIOP or CORBA.
Take care,
Mark
--
Mark E. Spruiell
Object Oriented Concepts, Inc.
mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
--__--__--
Message: 10
Date: Fri, 30 Jun 2000 09:53:37 +1000
From: Ted McFadden <tmcf@ooc.com.au>
To: "K. Shankarraman" <kshankarraman@quark.stpm.soft.net>
Cc: ml@ooc.com, ob-users@ooc.com
Subject: Re: [OB-Users] Re:COMM_FAILURE raised by server
ml@ooc.com, ob-users@ooc.com
On Thu, Jun 29, 2000 at 07:29:41PM +0530, K. Shankarraman wrote:
>
> Hi,
>
> Thanks for sending the corrected java file.The exception is now
> caught and printstacktrace is avoided.We would suggest to adopt this
> change in your web site so that people downloading will not have the
> above problem.
>
> Once again i would like to thank you for the support provided.
>
Hi,
I'm glad the problem has been resolved for you. The fix will
be incorporated in the next release of ORBacus.
Cheers,
Ted
>
>
> regards,
> shankarraman
>
>
>
>
>
> _______________________________________________
> OB-Users Mailing List
> ob-users@ooc.com
> http://www.ooc.com/mailman/listinfo/ob-users
--
Ted McFadden tmcf@ooc.com.au
Object Oriented Concepts http://www.ooc.com
Suite 4 904 Stanley St. +61-7-3891-5744
East Brisbane 4169, QLD. Australia
--__--__--
Message: 11
Date: Fri, 30 Jun 2000 08:14:29 +0200 (MET DST)
From: Frank Gruetzmacher <Frank.Gruetzmacher@Inf-Technik.TU-Ilmenau.DE>
Reply-To: Frank Gruetzmacher <Frank.Gruetzmacher@Inf-Technik.TU-Ilmenau.DE>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
To: ob-users@ooc.com
>
> At 03:02 PM 6/29/00, Jeff Crump wrote:
> >One problem I have is that (currently) we use get_inet_object() in our
> >client. That's going away in 4.0 (right?) so I need to replace it somehow.
> >Other than the name service, what other alternatives to locating objects are
> >there that can work with the JDK ORB on my client?
>
> Mmm, the JDK's ORB doesn't support the Interoperable Naming Service,
> so using a corbaloc: URL is not an option. One possibility is to obtain
> a stringified IOR via HTTP. That's pretty simple to do in Java, but it
> obviously requires a Web server somewhere.
>
> >Then, I figured as long as I'm working with a name service, I might as well
> >do the JNDI thing on the client and free myself from the JDK ORB. Or am I
> >just crazy?
>
> You'll still have the same problem of bootstrapping an initial object
> reference, whether you use RMI/IIOP or CORBA.
>
BTW .. is the RMI-IIOP package able to handle
IIOP Location Forwarded messages .. means
can I activate servers on demand and use
the Implementation Repository ?
Or will he loose this too ?
Thanks !
Frank
--__--__--
Message: 12
Date: Fri, 30 Jun 2000 19:31:05 +0530
From: Vyanktesh Tadkod <venkat@dh.cit.alcatel.fr>
Reply-To: venkat@dh.cit.alcatel.fr
To: "ob-users@ooc.com" <ob-users@ooc.com>
Subject: [OB-Users] Not able to connect Naming service
Hi
I have written an sample server java application using OB4.0.B3 , in
which i want to make use of naming service to binding my server object
.I am not able to get the NamingContextExt reference.It throws an
exception.
My imr.conf and oad.conf file looks like this , as shown below.
I have followed the same steps as in OB4.0.B3 manual on Page 129.
for getting the NamingContextExt reference
Also i followed all the steps as mention in Chapter 7 section 7.5 page
112 for configuring the implementation repository.
Do i have to do something more than this
imr.conf
ooc.imr.forward_port=10000
ooc.imr.port=10001
ooc.imr.host=dhhp0200
ooc.oad.dbdir=/home2/wadosv/Orbacus4.0/db
ooc.oad.port=10002
ooc.oad.trace_level=2
ooc.oad.trace.server_status=2
ooc.imr.process_control=2
ooc.imr.trace.oad=2
ooc.service.NameService=iiop::dhhp0200:10003/DefaultNamingContext
ooc.service.InterfaceRepository=iiop://dhhp0200:10004/DefaultRepository
oad.conf
ooc.imr.port=10001
ooc.imr.host=dhhp0200
ooc.oad.dbdir=/home2/wadosv/Orbacus4.0/db
ooc.oad.port=10002
ooc.service.NameService=iiop::dhhp0200:10003/DefaultNamingContext
ooc.service.InterfaceRepository=iiop://dhhp0200:10004/DefaultRepository
Thanks in advance
venkat
--__--__--
Message: 13
Date: Fri, 30 Jun 2000 07:10:41 -0700
To: Frank Gruetzmacher <Frank.Gruetzmacher@Inf-Technik.TU-Ilmenau.DE>,
ob-users@ooc.com
From: Mark Spruiell <mes@ooc.com>
Subject: Re: [OB-Users] Orbacus 4.0.1 and RMI-Over-IIOP
At 11:14 PM 6/29/00, Frank Gruetzmacher wrote:
>BTW .. is the RMI-IIOP package able to handle
>IIOP Location Forwarded messages .. means
>can I activate servers on demand and use
>the Implementation Repository ?
>
>Or will he loose this too ?
Sorry Frank, I don't know whether Location Forward is supported.
Take care,
Mark
--
Mark E. Spruiell
Object Oriented Concepts, Inc.
mes@ooc.com * http://www.ooc.com * 1-978-439-9285 x 247
--__--__--
Message: 14
Date: Fri, 30 Jun 2000 11:55:32 -0230
From:
To: Vyanktesh Tadkod <venkat@dh.cit.alcatel.fr>
Cc: "ob-users@ooc.com" <ob-users@ooc.com>
Subject: Re: [OB-Users] Not able to connect Naming service
Hi,
On Fri, Jun 30, 2000 at 07:31:05PM +0530, Vyanktesh Tadkod wrote:
> Hi
> I have written an sample server java application using OB4.0.B3 , in
Firstly, I would highly recommending to 4.0.1.
> which i want to make use of naming service to binding my server object
> .I am not able to get the NamingContextExt reference.It throws an
> exception.
> My imr.conf and oad.conf file looks like this , as shown below.
> I have followed the same steps as in OB4.0.B3 manual on Page 129.
> for getting the NamingContextExt reference
Firstly, you should get the naming service working with direct binding.
The configuration files below are not correct for either direct binding
(that is running the naming service manually), nor for running the naming
service through the IMR. You should definitely download the OB 4.0.1
manual as this describes the correct steps in detail.
> Also i followed all the steps as mention in Chapter 7 section 7.5 page
> 112 for configuring the implementation repository.
>
> Do i have to do something more than this
>
>
>
> imr.conf
> ooc.imr.forward_port=10000
> ooc.imr.port=10001
> ooc.imr.host=dhhp0200
> ooc.oad.dbdir=/home2/wadosv/Orbacus4.0/db
> ooc.oad.port=10002
> ooc.oad.trace_level=2
> ooc.oad.trace.server_status=2
> ooc.imr.process_control=2
> ooc.imr.trace.oad=2
> ooc.service.NameService=iiop::dhhp0200:10003/DefaultNamingContext
iiop: is not supported with OB 4.x. You should use corbaloc: instead.
DefaultNamingContext is not correct either -- the correct object-key is
NameService. In addition, assuming that you are using direct binding,
you will need to set the naming service port -- "ooc.naming.port=10003"
assuming the IOR above.
I would highly recommend deleting this configuration file and starting
again from scratch. First get the naming service going with direct
binding. Once you've done that then start getting the IMR/OAD going --
firstly with the hello_imr demo. Only after you have the IMR & OAD
correctly configured and working you should attempt to run the naming
service through the IMR.
>[...]
> Thanks in advance
> venkat
>
>
> _______________________________________________
> OB-Users Mailing List
> ob-users@ooc.com
> http://www.ooc.com/mailman/listinfo/ob-users
Regards, Matthew
--
Matthew Newhook E-Mail: mailto:matthew@ooc.com
Software Designer WWW: http://www.ooc.com
Object Oriented Concepts, Inc. Phone: (709) 738-3725
--__--__--
_______________________________________________
OB-Users Mailing List
ob-users@ooc.com
http://www.ooc.com/mailman/listinfo/ob-users
End of OB-Users Digest
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: