You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(34) |
Sep
(80) |
Oct
(55) |
Nov
(79) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(131) |
Feb
(175) |
Mar
(145) |
Apr
(44) |
May
(33) |
Jun
(58) |
Jul
(65) |
Aug
(45) |
Sep
(34) |
Oct
(24) |
Nov
(20) |
Dec
(30) |
2004 |
Jan
(34) |
Feb
(29) |
Mar
(26) |
Apr
(43) |
May
(49) |
Jun
(26) |
Jul
(72) |
Aug
(33) |
Sep
(18) |
Oct
(29) |
Nov
(49) |
Dec
(38) |
2005 |
Jan
(38) |
Feb
(42) |
Mar
(18) |
Apr
(12) |
May
(28) |
Jun
(23) |
Jul
(34) |
Aug
(12) |
Sep
(10) |
Oct
(4) |
Nov
(4) |
Dec
(12) |
2006 |
Jan
(4) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(17) |
Nov
(15) |
Dec
(4) |
2007 |
Jan
(15) |
Feb
(9) |
Mar
(12) |
Apr
(7) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(7) |
Sep
(10) |
Oct
(3) |
Nov
(7) |
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
(1) |
2009 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: <ros...@wi...> - 2007-05-22 12:12:29
|
Hi,=20 I am facing problem with CORBA service. The corba goes down frequently in this site and because of that related services also goes down. Can anyone help me in finding why CORBA is getting restarted in this site? Please provide your inputs on this.=20 Following are the errors, I could see from the related log files. CORBA.COMM_FAILURE failure error was shown once as shown below.=20 07.04.26 05:25:53.303 VRB (MI2Server) [main] GWCAlarmNotifListener::cleanup()-caught Exception, Ex=3Dorg.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: = No=20 Main exceptions thrown are=20 Error receiving message in process_or_enqueue=20 Apr 26 10:32:49 anycmt OpenORB NamingService: java.io.EOFException=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPTransport.readMagic(IIOPTransport.java:650)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPTransport.recvMessage(IIOPTransport.java:489)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.SocketQueue.process_or_enqueue(SocketQueue.java:254)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.SocketQueue.receive(SocketQueue.java:203)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPServerChannel.run_recv(IIOPServerChannel.java:567)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.net.ServerManagerImpl$ChannelRecvRunner.run(ServerManagerImp l.java:922)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at java.lang.Thread.run(Thread.java:534)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: java.io.EOFException=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPTransport.readMagic(IIOPTransport.java:650)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPTransport.recvMessage(IIOPTransport.java:489)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPTransport.close(IIOPTransport.java:298)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.SocketQueue.close(SocketQueue.java:168)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPServerChannel.close(IIOPServerChannel.java:425)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.SocketQueue.process_or_enqueue(SocketQueue.java:275)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.SocketQueue.receive(SocketQueue.java:203)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.iiop.IIOPServerChannel.run_recv(IIOPServerChannel.java:567)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at org.openorb.net.ServerManagerImpl$ChannelRecvRunner.run(ServerManagerImp l.java:922)=20 Apr 26 10:32:49 anycmt OpenORB NamingService: at java.lang.Thread.run(Thread.java:534)=20 =20 07.04.26 05:25:52.593 CRT (TrunkProv@1.0) [main] org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: OMG minor code: 2 completed: No=20 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)=20 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39)=20 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27)=20 at java.lang.reflect.Constructor.newInstance(Constructor.java:274)=20 at java.lang.Class.newInstance0(Class.java:308)=20 at java.lang.Class.newInstance(Class.java:261)=20 at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemExcept ion(ReplyMessage_1_2.java:90)=20 at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(Cli entResponseImpl.java:105)=20 at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.jav a:314)=20 at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)=20 at org.omg.CosNaming._NamingContextExtStub.unbind(_NamingContextExtStub.jav a:440)=20 at easynaming.EasyNaming.unbind_from_string(EasyNaming.java:134) at com.nortelnetworks.mi2.mi2server.MI2Application.removeFromNameService(MI 2Application.java:282)=20 at com.nortelnetworks.mi2.mi2server.MI2Application.shutdown(MI2Application. java:587)=20 at com.nortelnetworks.mi2.mi2server.MI2ApplicationRegistry.shutdown(MI2Appl icationRegistry.java:373)=20 at com.nortelnetworks.mi2.mi2server.MI2ApplicationRegistry.shutdown(MI2Appl icationRegistry.java:317)=20 at com.nortelnetworks.mi2.mi2server.MI2Server.shutdown(MI2Server.java:246)=20 at com.nortelnetworks.mi2.mi2main.MI2Main.waitForShutdown(MI2Main.java:204) at com.nortelnetworks.mi2.mi2main.MI2Main.<init>(MI2Main.java:103)=20 at com.nortelnetworks.mi2.mi2main.MI2Main.main(MI2Main.java:62)=20 =20 =20 Regards,=20 Rosmi |
From: <lak...@t-...> - 2007-05-09 19:47:51
|
Arijit, if you are dealing with the "hiding NAT" variant of NAT, I think bidir iiop is the only available option, because from the server's perspective different clients will have the same IP address. And yes, OpenORB supports bidir although I've never used it myself. If you are not facing "hiding NAT" please check the mailing list archives. There was a thread covering your question one month ago. Cheers, Lars Bryan Woods wrote: > Hi > > I don't think there is an easy answer to your question, since NAT by definition will alter the IP address. > > Some orbs have a property called 'use bi-directional IIOP' which means the client opens the socket connection to the server, and any return messages come back down the same socket. I believe openorb supports this. > > Hope that helps. There are probably more complicated solutions out there using IOR interceptors or something, but I have no experience there. > > Cheers! > Bryan > > >> Hi, >> One other clarification. I send an IOR from the client to the server so that the server can act as a client and send a reverse request to the previously acting client. However, NAT messes up this scenario - and I need to get the NAT-ed IP address of the client somehow - and fetching the cosket endpoint IP address is the only neat solution. >> -Arijit >> >> ----- Original Message ---- >> From: arijit >> To: openorb-users >> Sent: Wednesday, May 9, 2007 4:35:03 PM >> Subject: [openorb-users] How to access socket end points from a CORBA call >> >> Hi, >> Is there a way to access the socket endpoint (I need the client side IP Address - which is different from that sent over in an IOR by the client due to NAT-ing) on the CORBA server from a CORBA request? The server is running OpenORB 1.4.0. >> Any help is much appreciated. >> -Arijit >> >> |
From: Bryan W. <br...@ar...> - 2007-05-09 16:12:23
|
Hi I don't think there is an easy answer to your question, since NAT by definition will alter the IP address. Some orbs have a property called 'use bi-directional IIOP' which means the client opens the socket connection to the server, and any return messages come back down the same socket. I believe openorb supports this. Hope that helps. There are probably more complicated solutions out there using IOR interceptors or something, but I have no experience there. Cheers! Bryan > Hi, > One other clarification. I send an IOR from the client to the server so that the server can act as a client and send a reverse request to the previously acting client. However, NAT messes up this scenario - and I need to get the NAT-ed IP address of the client somehow - and fetching the cosket endpoint IP address is the only neat solution. > -Arijit > > ----- Original Message ---- > From: arijit <pa...@ya...> > To: ope...@li... > Sent: Wednesday, May 9, 2007 4:35:03 PM > Subject: [openorb-users] How to access socket end points from a CORBA call > > Hi, > Is there a way to access the socket endpoint (I need the client side IP Address - which is different from that sent over in an IOR by the client due to NAT-ing) on the CORBA server from a CORBA request? The server is running OpenORB 1.4.0. > Any help is much appreciated. > -Arijit > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > > > > > ____________________________________________________________________________________ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! Games. > http://videogames.yahoo.com/platform?platform=120121 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > > |
From: arijit <pa...@ya...> - 2007-05-09 11:17:40
|
Hi, One other clarification. I send an IOR from the client to the server so that the server can act as a client and send a reverse request to the previously acting client. However, NAT messes up this scenario - and I need to get the NAT-ed IP address of the client somehow - and fetching the cosket endpoint IP address is the only neat solution. -Arijit ----- Original Message ---- From: arijit <pa...@ya...> To: ope...@li... Sent: Wednesday, May 9, 2007 4:35:03 PM Subject: [openorb-users] How to access socket end points from a CORBA call Hi, Is there a way to access the socket endpoint (I need the client side IP Address - which is different from that sent over in an IOR by the client due to NAT-ing) on the CORBA server from a CORBA request? The server is running OpenORB 1.4.0. Any help is much appreciated. -Arijit __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ openorb-users mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openorb-users ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 |
From: arijit <pa...@ya...> - 2007-05-09 11:05:16
|
Hi, Is there a way to access the socket endpoint (I need the client side IP Address - which is different from that sent over in an IOR by the client due to NAT-ing) on the CORBA server from a CORBA request? The server is running OpenORB 1.4.0. Any help is much appreciated. -Arijit __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Stepan K. <ste...@gm...> - 2007-04-19 14:11:23
|
If this is true, m_client_peer can be accessed using reflection. S. On 4/19/07, Mark Jentz <mar...@ti...> wrote: > The IOR only contains information about the server-side, so it won't > help you get a client IP address. > > Looking at the OpenORB source it seems like you would have to actually > make some changes in it to be able to get at the client IP address. > > It looks like you can probably cast > org.omg.PortableInterceptor.ServerRequestInfo to > org.openorb.orb.net.ServerRequest which will allow you to call > ServerRequest.channel(). That will return a > org.openorb.orb.net.ServerChannel which can be cast to > org.openorb.orb.iiop.IIOPServerChannel. The trouble is that there is not > getter on IIOPServerChannel to fetch the m_client_peer. You would have > to add that in and recompile in order to get the IP address. If this > works as I understand it you ought to be able to write a server request > intercepter that would fetch the client IP address. > > Adiron is built on OpenORB and they have made a lot of source code > changes to provide API for this type of thing. If the above seems a bit > over the top for you, you might want to check them out. > http://www.adiron.com/AdironORB/1.0.0/doc/AdironORB-ORB.html#ch_proprietary_api > > > Jerry Peng wrote: > > Thanks for the reply. The Interceptor should work in this matter. But > > just like you said, the client side interceptor will have to be > > developed. Unfortunately, we do not have control over our customer's > > client code. > > > > What I am looking for is that when an IDL method is called, does the > > Server side Impl class have a way to capture the IOR, and the Client > > IP address can be decrypted from the IOR? Or is there any OpenORB > > internal API that can do the magic? > > > > Any help is appreciated ! > > > > ----- Original Message ---- > > From: Mark Jentz <mar...@ti...> > > To: ope...@li... > > Sent: Thursday, April 19, 2007 1:28:07 AM > > Subject: Re: [openorb-users] How to get Client IP address in Server? > > > > There are a couple of different ways to go about this type of thing. I'm > > not good with OpenORB internals, but I imagine you can possibly do it > > with some proprietary API. I won't go into how you might do something > > like that, but I would imagine you could use a server side request > > interceptor to hook into OpenORB's request processor. > > > > One of the best ways of doing it in a portable fashion would be to use > > Portable Interceptors on both the client and the server side. If you > > write a client side interceptor that extracts the client IP address and > > stores it in the service context you can then use a server side > > interceptor to extract it. > > > > A client interceptor would look something like: > > package my.package; > > > > import java.net.InetAddress; > > import org.omg.CORBA.*; > > import org.omg.IOP.*; > > import org.omg.PortableInterceptor.*; > > > > public class ClientIpInserter extends LocalObject implements > > ClientRequestInterceptor { > > > > private static final int loggerServiceContextId = 123456; > > > > public String name() { > > return "my.package.ClientIpInserter"; > > } > > > > public void destroy() { > > } > > > > public void receive_exception(ClientRequestInfo ri) { > > } > > > > public void receive_reply(ClientRequestInfo r) { > > } > > > > public void send_poll(ClientRequestInfo r) { > > } > > > > public void receive_other(ClientRequestInfo r) { > > } > > > > public void send_request(ClientRequestInfo r) { > > try { > > InetAddress ia = InetAddress.getLocalHost(); > > String ip_addr = ia.getHostAddress(); > > ServiceContext sc = new > > ServiceContext(loggerServiceContextId,ip_addr.getBytes()); > > r.add_request_service_context(sc,true); > > } > > catch (Exception e) { > > // If we cannot add service context, operation will fail.. > > throw new INTERNAL(); > > } > > } > > } > > > > The problem with this method is that you need to have control over the > > clients in order to ensure that they install the interceptor. Also, you > > are in essence trusting information from a client, a "hacker" might > > simply hard code an address of his choosing and send it to you. > > > > Jerry Peng wrote: > > > Hi, > > > > > > I am using OpenORB version 1.4.0 and the NamingService on Solaris. We > > > have a need to capture Client side's IP address (or DNS name) when an > > > IDL method is executed on the Server side. How do I get the Client IP > > > address in my Impl class? > > > > > > Thanks for the help! > > > Jerry Peng > > > > > > ------------------------------------------------------------------------ > > > Ahhh...imagining that irresistible "new car" smell? > > > Check out new cars at Yahoo! Autos. > > > > > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > > > > > ------------------------------------------------------------------------ > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > openorb-users mailing list > > > ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > > > > > -- > > Mark Jentz > > > > Email: mar...@ti... > > Work: +46 480 44 56 82 > > Mobile: +46 70 609 96 84 > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > openorb-users mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > > > > ------------------------------------------------------------------------ > > Ahhh...imagining that irresistible "new car" smell? > > Check out new cars at Yahoo! Autos. > > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > openorb-users mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > > -- > Mark Jentz > > Email: mar...@ti... > Work: +46 480 44 56 82 > Mobile: +46 70 609 96 84 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > |
From: Mark J. <mar...@ti...> - 2007-04-19 09:05:32
|
The IOR only contains information about the server-side, so it won't help you get a client IP address. Looking at the OpenORB source it seems like you would have to actually make some changes in it to be able to get at the client IP address. It looks like you can probably cast org.omg.PortableInterceptor.ServerRequestInfo to org.openorb.orb.net.ServerRequest which will allow you to call ServerRequest.channel(). That will return a org.openorb.orb.net.ServerChannel which can be cast to org.openorb.orb.iiop.IIOPServerChannel. The trouble is that there is not getter on IIOPServerChannel to fetch the m_client_peer. You would have to add that in and recompile in order to get the IP address. If this works as I understand it you ought to be able to write a server request intercepter that would fetch the client IP address. Adiron is built on OpenORB and they have made a lot of source code changes to provide API for this type of thing. If the above seems a bit over the top for you, you might want to check them out. http://www.adiron.com/AdironORB/1.0.0/doc/AdironORB-ORB.html#ch_proprietary_api Jerry Peng wrote: > Thanks for the reply. The Interceptor should work in this matter. But > just like you said, the client side interceptor will have to be > developed. Unfortunately, we do not have control over our customer's > client code. > > What I am looking for is that when an IDL method is called, does the > Server side Impl class have a way to capture the IOR, and the Client > IP address can be decrypted from the IOR? Or is there any OpenORB > internal API that can do the magic? > > Any help is appreciated ! > > ----- Original Message ---- > From: Mark Jentz <mar...@ti...> > To: ope...@li... > Sent: Thursday, April 19, 2007 1:28:07 AM > Subject: Re: [openorb-users] How to get Client IP address in Server? > > There are a couple of different ways to go about this type of thing. I'm > not good with OpenORB internals, but I imagine you can possibly do it > with some proprietary API. I won't go into how you might do something > like that, but I would imagine you could use a server side request > interceptor to hook into OpenORB's request processor. > > One of the best ways of doing it in a portable fashion would be to use > Portable Interceptors on both the client and the server side. If you > write a client side interceptor that extracts the client IP address and > stores it in the service context you can then use a server side > interceptor to extract it. > > A client interceptor would look something like: > package my.package; > > import java.net.InetAddress; > import org.omg.CORBA.*; > import org.omg.IOP.*; > import org.omg.PortableInterceptor.*; > > public class ClientIpInserter extends LocalObject implements > ClientRequestInterceptor { > > private static final int loggerServiceContextId = 123456; > > public String name() { > return "my.package.ClientIpInserter"; > } > > public void destroy() { > } > > public void receive_exception(ClientRequestInfo ri) { > } > > public void receive_reply(ClientRequestInfo r) { > } > > public void send_poll(ClientRequestInfo r) { > } > > public void receive_other(ClientRequestInfo r) { > } > > public void send_request(ClientRequestInfo r) { > try { > InetAddress ia = InetAddress.getLocalHost(); > String ip_addr = ia.getHostAddress(); > ServiceContext sc = new > ServiceContext(loggerServiceContextId,ip_addr.getBytes()); > r.add_request_service_context(sc,true); > } > catch (Exception e) { > // If we cannot add service context, operation will fail.. > throw new INTERNAL(); > } > } > } > > The problem with this method is that you need to have control over the > clients in order to ensure that they install the interceptor. Also, you > are in essence trusting information from a client, a "hacker" might > simply hard code an address of his choosing and send it to you. > > Jerry Peng wrote: > > Hi, > > > > I am using OpenORB version 1.4.0 and the NamingService on Solaris. We > > have a need to capture Client side's IP address (or DNS name) when an > > IDL method is executed on the Server side. How do I get the Client IP > > address in my Impl class? > > > > Thanks for the help! > > Jerry Peng > > > > ------------------------------------------------------------------------ > > Ahhh...imagining that irresistible "new car" smell? > > Check out new cars at Yahoo! Autos. > > > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > openorb-users mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > > -- > Mark Jentz > > Email: mar...@ti... > Work: +46 480 44 56 82 > Mobile: +46 70 609 96 84 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > > > ------------------------------------------------------------------------ > Ahhh...imagining that irresistible "new car" smell? > Check out new cars at Yahoo! Autos. > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > -- Mark Jentz Email: mar...@ti... Work: +46 480 44 56 82 Mobile: +46 70 609 96 84 |
From: Jerry P. <jer...@ya...> - 2007-04-19 08:06:38
|
Thanks for the reply. The Interceptor should work in this matter. But just like you said, the client side interceptor will have to be developed. Unfortunately, we do not have control over our customer's client code. What I am looking for is that when an IDL method is called, does the Server side Impl class have a way to capture the IOR, and the Client IP address can be decrypted from the IOR? Or is there any OpenORB internal API that can do the magic? Any help is appreciated ! ----- Original Message ---- From: Mark Jentz <mar...@ti...> To: ope...@li... Sent: Thursday, April 19, 2007 1:28:07 AM Subject: Re: [openorb-users] How to get Client IP address in Server? There are a couple of different ways to go about this type of thing. I'm not good with OpenORB internals, but I imagine you can possibly do it with some proprietary API. I won't go into how you might do something like that, but I would imagine you could use a server side request interceptor to hook into OpenORB's request processor. One of the best ways of doing it in a portable fashion would be to use Portable Interceptors on both the client and the server side. If you write a client side interceptor that extracts the client IP address and stores it in the service context you can then use a server side interceptor to extract it. A client interceptor would look something like: package my.package; import java.net.InetAddress; import org.omg.CORBA.*; import org.omg.IOP.*; import org.omg.PortableInterceptor.*; public class ClientIpInserter extends LocalObject implements ClientRequestInterceptor { private static final int loggerServiceContextId = 123456; public String name() { return "my.package.ClientIpInserter"; } public void destroy() { } public void receive_exception(ClientRequestInfo ri) { } public void receive_reply(ClientRequestInfo r) { } public void send_poll(ClientRequestInfo r) { } public void receive_other(ClientRequestInfo r) { } public void send_request(ClientRequestInfo r) { try { InetAddress ia = InetAddress.getLocalHost(); String ip_addr = ia.getHostAddress(); ServiceContext sc = new ServiceContext(loggerServiceContextId,ip_addr.getBytes()); r.add_request_service_context(sc,true); } catch (Exception e) { // If we cannot add service context, operation will fail.. throw new INTERNAL(); } } } The problem with this method is that you need to have control over the clients in order to ensure that they install the interceptor. Also, you are in essence trusting information from a client, a "hacker" might simply hard code an address of his choosing and send it to you. Jerry Peng wrote: > Hi, > > I am using OpenORB version 1.4.0 and the NamingService on Solaris. We > have a need to capture Client side's IP address (or DNS name) when an > IDL method is executed on the Server side. How do I get the Client IP > address in my Impl class? > > Thanks for the help! > Jerry Peng > > ------------------------------------------------------------------------ > Ahhh...imagining that irresistible "new car" smell? > Check out new cars at Yahoo! Autos. > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > -- Mark Jentz Email: mar...@ti... Work: +46 480 44 56 82 Mobile: +46 70 609 96 84 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ openorb-users mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openorb-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mark J. <mar...@ti...> - 2007-04-19 06:30:51
|
There are a couple of different ways to go about this type of thing. I'm not good with OpenORB internals, but I imagine you can possibly do it with some proprietary API. I won't go into how you might do something like that, but I would imagine you could use a server side request interceptor to hook into OpenORB's request processor. One of the best ways of doing it in a portable fashion would be to use Portable Interceptors on both the client and the server side. If you write a client side interceptor that extracts the client IP address and stores it in the service context you can then use a server side interceptor to extract it. A client interceptor would look something like: package my.package; import java.net.InetAddress; import org.omg.CORBA.*; import org.omg.IOP.*; import org.omg.PortableInterceptor.*; public class ClientIpInserter extends LocalObject implements ClientRequestInterceptor { private static final int loggerServiceContextId = 123456; public String name() { return "my.package.ClientIpInserter"; } public void destroy() { } public void receive_exception(ClientRequestInfo ri) { } public void receive_reply(ClientRequestInfo r) { } public void send_poll(ClientRequestInfo r) { } public void receive_other(ClientRequestInfo r) { } public void send_request(ClientRequestInfo r) { try { InetAddress ia = InetAddress.getLocalHost(); String ip_addr = ia.getHostAddress(); ServiceContext sc = new ServiceContext(loggerServiceContextId,ip_addr.getBytes()); r.add_request_service_context(sc,true); } catch (Exception e) { // If we cannot add service context, operation will fail.. throw new INTERNAL(); } } } The problem with this method is that you need to have control over the clients in order to ensure that they install the interceptor. Also, you are in essence trusting information from a client, a "hacker" might simply hard code an address of his choosing and send it to you. Jerry Peng wrote: > Hi, > > I am using OpenORB version 1.4.0 and the NamingService on Solaris. We > have a need to capture Client side's IP address (or DNS name) when an > IDL method is executed on the Server side. How do I get the Client IP > address in my Impl class? > > Thanks for the help! > Jerry Peng > > ------------------------------------------------------------------------ > Ahhh...imagining that irresistible "new car" smell? > Check out new cars at Yahoo! Autos. > <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > -- Mark Jentz Email: mar...@ti... Work: +46 480 44 56 82 Mobile: +46 70 609 96 84 |
From: Jerry P. <jer...@ya...> - 2007-04-18 22:50:26
|
Hi, I am using OpenORB version 1.4.0 and the NamingService on Solaris. We have a need to capture Client side's IP address (or DNS name) when an IDL method is executed on the Server side. How do I get the Client IP address in my Impl class? Thanks for the help! Jerry Peng __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: <Lar...@pp...> - 2007-04-10 06:13:10
|
Performance problems like yours are often related to problems with DNS hostname resolution. -----Urspr=FCngliche Nachricht----- Von: sleepy [mailto:mai...@gm...] Gesendet: Donnerstag, 5. April 2007 09:37 An: ope...@li... Betreff: [openorb-users] a long resolving issue on openorb naming service I m working with OpenORB NamingService 1.3 with Solaris. Recently, I = found that sometimes, it took a very very long time to resolve a name, more = than 5 mins. And after one long resolving, the Naming service will works fine = to resolve the same servant then. I m not sure how to investigate this issue, since it happens = occasionally and can not be re-produced regularly. Is there anyone who familiar with = it or can provide any suggestion to me. Thx in advance. |
From: sleepy <mai...@gm...> - 2007-04-09 03:50:16
|
I m working with OpenORB NamingService 1.3 with Solaris. Recently, I found that sometimes, it took a very very long time to resolve a name, more than 5 mins. And after one long resolving, the Naming service will works fine to resolve the same servant then. I m not sure how to investigate this issue, since it happens occasionally and can not be re-produced regularly. Is there anyone who familiar with it or can provide any suggestion to me. Thx in advance. -- View this message in context: http://www.nabble.com/a-long-resolving-issue-on-openorb-naming-service-tf3530076.html#a9851364 Sent from the OpenORB - User mailing list archive at Nabble.com. |
From: sri_iiit <jsr...@gm...> - 2007-03-22 09:26:47
|
thnx for your support Andrej... it worked in installing.. but when i didn't get any jar files in the dist folder as specified in the http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile instead i got the jar files in lib sub directory of openorb. with a strange file names openorb_orb-${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MINOR_CHANGE} and openorb_orb_tools-${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MINOR_CHANGE} i have seen the bin files with the file names as openorb_orb-1.4.0 and openorb_orb_tools-1.4.0 is the installation has gone right or the files are of same names?? any response will be very helpful thank you.. Andrej Rippich wrote: > > Hi again, > as i told you, you can add a line default-target=jar to the > local.properties file located in the tools and OpenORB directory. > Best regards > Andrej > > Srikanth schrieb: >> >> hi... >> >> thank you andrej for your help... but i am really a new bee to open >> orb.. still i m not very clear where to set this default target.. it >> would be helpful if u could reply the problem a bit more clear.. >> do i need to set this in command prompt while running the build.bat or >> do i need to set it in the local properties file.if that is the case >> what shud be the way to configure the properties file. >> >> >> On 3/21/07, *an...@ri... <mailto:an...@ri...>* >> <an...@ri... <mailto:an...@ri...>> wrote: >> >> Hi, >> you have to set the default-target property to your desired >> default target for example default-target=jar. >> You could do this for example in the local.properties file found >> in tools and openorb directory. >> regards >> Andrej >> >> hi.... >> >> >> I have downloaded the OpenORB1.4.0 src. >> >> When i am trying to compile the src as given in >> >> http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile >> >> <http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile> >> >> i m getting an error message saying >> >> Warning: TCOO_HOME not set! Defaulting to parent directory. >> Building module: "OpenORB" located in: "..\OpenORB" >> Buildfile: ..\OpenORB\src\build.xml >> >> default-target: >> >> BUILD FAILED >> C:\OpenORB\OpenORB\src\build.xml:175: The following error occurred >> while >> executi >> ng this line: >> Target `${default-target}' does not exist in this project. >> >> Total time: 1 second >> Error: Failed to build "OpenORB" with arguments {} >> >> i m a new user to openorb can someone helpmeout refgarding >> this..?? it would >> be very helpful for me n the communtiy as i have seen the posting >> even >> somewhere but a solution was missing for this problem... >> >> >> >> >> -- >> View this message in context: >> >> http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860 >> >> <http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860> >> Sent from the OpenORB - User mailing list archive at Nabble.com >> <http://Nabble.com>. >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> _______________________________________________ >> openorb-users mailing list >> ope...@li... >> <mailto:ope...@li...> >> https://lists.sourceforge.net/lists/listinfo/openorb-users >> >> >> ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> _______________________________________________ >> openorb-users mailing list >> ope...@li... >> <mailto:ope...@li...> >> https://lists.sourceforge.net/lists/listinfo/openorb-users >> <https://lists.sourceforge.net/lists/listinfo/openorb-users> >> >> >> >> >> -- >> $r! >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> openorb-users mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openorb-users >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > > -- View this message in context: http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9610993 Sent from the OpenORB - User mailing list archive at Nabble.com. |
From: Andrej R. <an...@ri...> - 2007-03-21 20:43:42
|
Hi again, as i told you, you can add a line default-target=jar to the local.properties file located in the tools and OpenORB directory. Best regards Andrej Srikanth schrieb: > > hi... > > thank you andrej for your help... but i am really a new bee to open > orb.. still i m not very clear where to set this default target.. it > would be helpful if u could reply the problem a bit more clear.. > do i need to set this in command prompt while running the build.bat or > do i need to set it in the local properties file.if that is the case > what shud be the way to configure the properties file. > > > On 3/21/07, *an...@ri... <mailto:an...@ri...>* > <an...@ri... <mailto:an...@ri...>> wrote: > > Hi, > you have to set the default-target property to your desired > default target for example default-target=jar. > You could do this for example in the local.properties file found > in tools and openorb directory. > regards > Andrej > > hi.... > > > I have downloaded the OpenORB1.4.0 src. > > When i am trying to compile the src as given in > http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile > <http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile> > > i m getting an error message saying > > Warning: TCOO_HOME not set! Defaulting to parent directory. > Building module: "OpenORB" located in: "..\OpenORB" > Buildfile: ..\OpenORB\src\build.xml > > default-target: > > BUILD FAILED > C:\OpenORB\OpenORB\src\build.xml:175: The following error occurred > while > executi > ng this line: > Target `${default-target}' does not exist in this project. > > Total time: 1 second > Error: Failed to build "OpenORB" with arguments {} > > i m a new user to openorb can someone helpmeout refgarding > this..?? it would > be very helpful for me n the communtiy as i have seen the posting > even > somewhere but a solution was missing for this problem... > > > > > -- > View this message in context: > http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860 > <http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860> > Sent from the OpenORB - User mailing list archive at Nabble.com > <http://Nabble.com>. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > openorb-users mailing list > ope...@li... > <mailto:ope...@li...> > https://lists.sourceforge.net/lists/listinfo/openorb-users > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > openorb-users mailing list > ope...@li... > <mailto:ope...@li...> > https://lists.sourceforge.net/lists/listinfo/openorb-users > <https://lists.sourceforge.net/lists/listinfo/openorb-users> > > > > > -- > $r! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > |
From: Srikanth <jsr...@gm...> - 2007-03-21 16:59:34
|
hi... thank you andrej for your help... but i am really a new bee to open orb.. still i m not very clear where to set this default target.. it would be helpful if u could reply the problem a bit more clear.. do i need to set this in command prompt while running the build.bat or do i need to set it in the local properties file.if that is the case what shud be the way to configure the properties file. On 3/21/07, an...@ri... <an...@ri...> wrote: > > Hi, > you have to set the default-target property to your desired default target > for example default-target=jar. > You could do this for example in the local.properties file found in tools > and openorb directory. > regards > Andrej > > hi.... > > > I have downloaded the OpenORB1.4.0 src. > > When i am trying to compile the src as given in > http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile > > i m getting an error message saying > > Warning: TCOO_HOME not set! Defaulting to parent directory. > Building module: "OpenORB" located in: "..\OpenORB" > Buildfile: ..\OpenORB\src\build.xml > > default-target: > > BUILD FAILED > C:\OpenORB\OpenORB\src\build.xml:175: The following error occurred while > executi > ng this line: > Target `${default-target}' does not exist in this project. > > Total time: 1 second > Error: Failed to build "OpenORB" with arguments {} > > i m a new user to openorb can someone helpmeout refgarding this..?? it > would > be very helpful for me n the communtiy as i have seen the posting even > somewhere but a solution was missing for this problem... > > > > > -- > View this message in context: > > http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860 > Sent from the OpenORB - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > -- $r! |
From: <an...@ri...> - 2007-03-21 11:53:55
|
Hi, you have to set the default-target property to your desired default target for example default-target=jar. You could do this for example in the local.properties file found in tools and openorb directory. regards Andrej hi.... I have downloaded the OpenORB1.4.0 src. When i am trying to compile the src as given in http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile i m getting an error message saying Warning: TCOO_HOME not set! Defaulting to parent directory. Building module: "OpenORB" located in: "..\OpenORB" Buildfile: ..\OpenORB\src\build.xml default-target: BUILD FAILED C:\OpenORB\OpenORB\src\build.xml:175: The following error occurred while executi ng this line: Target `${default-target}' does not exist in this project. Total time: 1 second Error: Failed to build "OpenORB" with arguments {} i m a new user to openorb can someone helpmeout refgarding this..?? it would be very helpful for me n the communtiy as i have seen the posting even somewhere but a solution was missing for this problem... -- View this message in context: http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860 Sent from the OpenORB - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ openorb-users mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openorb-users |
From: sri_iiit <jsr...@gm...> - 2007-03-21 07:42:51
|
hi.... I have downloaded the OpenORB1.4.0 src. When i am trying to compile the src as given in http://openorb.sourceforge.net/docs/1.3.0/OpenORB/doc/orb.html#ch_compile i m getting an error message saying Warning: TCOO_HOME not set! Defaulting to parent directory. Building module: "OpenORB" located in: "..\OpenORB" Buildfile: ..\OpenORB\src\build.xml default-target: BUILD FAILED C:\OpenORB\OpenORB\src\build.xml:175: The following error occurred while executi ng this line: Target `${default-target}' does not exist in this project. Total time: 1 second Error: Failed to build "OpenORB" with arguments {} i m a new user to openorb can someone helpmeout refgarding this..?? it would be very helpful for me n the communtiy as i have seen the posting even somewhere but a solution was missing for this problem... -- View this message in context: http://www.nabble.com/Error-while-Installing-OPENORB-tf3435948.html#a9579860 Sent from the OpenORB - User mailing list archive at Nabble.com. |
From: <lak...@t-...> - 2007-03-18 21:16:45
|
Hi Andrej, I have absolutely no idea what might cause the resource lookup problem. But at least you now have a starting point for a google search and/or WebStart discussion forums. Re using the JDK ORB on a client in a production environment, with sever-to-client callback scearios: In the company I work for, we have been using the builtin ORB for years, and some of our apps are using (low volume) callbacks as well. I am not directly involved in supporting those applications, but I haven't heard about stability or performance problems with the ORB. However, on the networking side of things it is not as flexible as one might wish. For example, I don't think it's possible to configure port ranges, or specify connection timeouts. We do have clients running in a non-hiding NAT network setup, though. It seems to me that the bad reputation is still from the very early days, similar to the "Java is slow" talk from the JDK 1.1 era that just won't go away. I would recommend that you at least give the JDK ORB a try, I don't think it's as bad as people say. Regards, Lars an...@ri... wrote: > Hi again, > thank you for your answer Lars. > I have done some debugging and figured out, that the right classload is used (JNLPClassloader). > Handler is instantiated in Configurator.parseSpecialArgs using currentThread.getContextClassloader an this classloader instance is used all the time. > Surprisingly when trying to access the resource org/openorb/config/default.xml in Configurator it works fine. Using the same classloader instance in Handler.openConnection fails, even when i try to access the resource in a harcoded manner. > I have also tryed to change the packaging, deploying all classes in one jar, instead of two. Without any success. > Have someone an idea what could prevent the classloader finding that resource ? > > Lars, the service i've written is now about 6 yers old. At this time i have heared only bad things about Java-IDL, therefore i do'nt use it. > Furthermore i my clients are'nt pure clients because there are serving some callback functionality. > Do you think it is possible to use Java-IDL under those circumstances in a production environment ? > > Thank you & > Best regards > Andrej > |
From: <an...@ri...> - 2007-03-16 13:30:42
|
Hi again, thank you for your answer Lars. I have done some debugging and figured out, that the right classload is used (JNLPClassloader). Handler is instantiated in Configurator.parseSpecialArgs using currentThread.getContextClassloader an this classloader instance is used all the time. Surprisingly when trying to access the resource org/openorb/config/default.xml in Configurator it works fine. Using the same classloader instance in Handler.openConnection fails, even when i try to access the resource in a harcoded manner. I have also tryed to change the packaging, deploying all classes in one jar, instead of two. Without any success. Have someone an idea what could prevent the classloader finding that resource ? Lars, the service i've written is now about 6 yers old. At this time i have heared only bad things about Java-IDL, therefore i do'nt use it. Furthermore i my clients are'nt pure clients because there are serving some callback functionality. Do you think it is possible to use Java-IDL under those circumstances in a production environment ? Thank you & Best regards Andrej |
From: <lak...@t-...> - 2007-03-14 19:48:32
|
an...@ri... wrote: > Hi again, > I've now ported my application to OpenORB 1.4.0 and unfortunataly i am getting errors when trying to start a Java Client using Webstart. > Without webstart there is no problem. > > It looks like the EntityResolver is'nt able to resolve the refrenced default.xml file when parsing the OpenORB,xml configuration file, which is part of openorb-1.4.0.jar. > > The following exception is thrown: > > Java Web Start 1.5.0_11 > Verwendung der JRE-Version 1.5.0_11 Java HotSpot(TM) Client VM > > [javawsApplicationMain] [ERROR] (orb): IOException while parsing XML File "resource:/org/openorb/config/default.xml" > java.io.FileNotFoundException: Resource org/openorb/config/default.xml cannot be found > at org.openorb.util.urlhandler.resource.Handler.openConnection(Handler.java:124) > Sorry, but I don't really have any idea. The only thing I can suggest is to try and debug this, and have a close look at the result of getClassloader() from Handler line 120. Does that classloader have access to openorb.jar? Lars |
From: <lak...@t-...> - 2007-03-14 19:30:55
|
an...@ri... wrote: > Hi all, > i have two questions regarding the usage of OpenORB 1.4 in Webstart applications. > I've written a CORBA based authentication & authorisation service and the Java clients actually using OpenORB 1.3.1. > The clients are deployed using Java Webstart. > Because of some problems with 1.3.1 (codesets, marshalling of long values) i'm trying to upgrade to OpenORB 1.4, but i'm facing problems when using Webstart. > My first question is whether it is neccecery to put the openorb_orb_omg-1.4.0.jar jar file in the bootclasspath ? > Basically, yes. If your application runs outside a security sandbox (asks user for more permissions on startup) you might be able to do some classloader tricks that bypass the normal lookup hierarchy. I've never tried that, though, and I'm not sure it will work well with the jar autodownload thingy in webstart. > This will be problematic because it is'nt allowed to specify a bootclasspath in Java Webstart. > True, and you can't use the JDK 1.4 endorsed standards mechanism either. I think this is a design problem in the JDK. At work we used WebStart, too, and we use openorb only on the server side - the client uses the JDK builtin ORB. Is there any specific reason why you have to use openorb on the client? > How could i configure openorb to log in a file instead on the console ? > You provide a pair ("LOGGER", myLogger) in the properties object you pass into ORB.init(). The myLogger object must be an instance of org.apache.avalon.framework.logger.Logger. The Avalon jars contain implementations that bridge to log4j. Cheers, Lars |
From: <an...@ri...> - 2007-03-14 16:12:47
|
Hi again, I've now ported my application to OpenORB 1.4.0 and unfortunataly i am getting errors when trying to start a Java Client using Webstart. Without webstart there is no problem. It looks like the EntityResolver is'nt able to resolve the refrenced default.xml file when parsing the OpenORB,xml configuration file, which is part of openorb-1.4.0.jar. The following exception is thrown: Java Web Start 1.5.0_11 Verwendung der JRE-Version 1.5.0_11 Java HotSpot(TM) Client VM [javawsApplicationMain] [ERROR] (orb): IOException while parsing XML File "resource:/org/openorb/config/default.xml" java.io.FileNotFoundException: Resource org/openorb/config/default.xml cannot be found at org.openorb.util.urlhandler.resource.Handler.openConnection(Handler.java:124) at java.net.URL.openConnection(Unknown Source) at java.net.URL.openStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.openorb.orb.config.Configurator.parseXML(Configurator.java:1023) at org.openorb.orb.config.Configurator.handleXMLImport(Configurator.java:1096) at org.openorb.orb.config.Configurator.handleURLImport(Configurator.java:935) at org.openorb.orb.config.Configurator.handleImportElem(Configurator.java:1470) at org.openorb.orb.config.Configurator.handleXMLImport(Configurator.java:1247) at org.openorb.orb.config.Configurator.<init>(Configurator.java:137) at org.openorb.orb.config.OpenORBLoader.init(OpenORBLoader.java:159) at org.openorb.orb.core.ORB.set_parameters(ORB.java:1131) at org.omg.CORBA.ORB.init(Unknown Source) ... The OpenORB.xml looks like this <OpenORB profile="default" xmlns="http://openorb.sf.net/config" xmlns:xlink="http://www.w3.org/1999/xlink"> <profile name="default" xlink:href="${openorb.home} config/default.xml#default"> <import xlink:href="${openorb.home}config/default.xml#InitRef"> <property name="NameService" value="corbaloc::1.2@localhost:7680/NameService" /> </import> <import profile="messaging" /> <import profile="custom-iiop" /> </profile> <profile name="custom-iiop"> <import xlink:href="${openorb.home}config/default.xml#iiop"> <!-- publish IP adresses instead of hostnames in IOR's. --> <property name="publishIP" value="true"/> </import> </profile> <profile name="Messaging"> <import xlink:href="${openorb.home}config/default.xml#Messaging"/> </profile> Thank you in advance for any help. Best regards Andrej |
From: <an...@ri...> - 2007-03-14 12:48:30
|
Hi all, i have two questions regarding the usage of OpenORB 1.4 in Webstart applications. I've written a CORBA based authentication & authorisation service and the Java clients actually using OpenORB 1.3.1. The clients are deployed using Java Webstart. Because of some problems with 1.3.1 (codesets, marshalling of long values) i'm trying to upgrade to OpenORB 1.4, but i'm facing problems when using Webstart. My first question is whether it is neccecery to put the openorb_orb_omg-1.4.0.jar jar file in the bootclasspath ? This will be problematic because it is'nt allowed to specify a bootclasspath in Java Webstart. How could i configure openorb to log in a file instead on the console ? Best regards Andrej |
From: Shawn A. <sj...@co...> - 2007-03-04 23:59:05
|
Subject: Problem with Prefix and Unions in IDL Compiler If I have a #pragma prefix "com.yyy.xxx" in my idl to set the package name on my generated classes. When using the noreverseprefix switch, the compiler generates good code (IORs, package names etc) in all cases except for Union "helper" files. In all other cases, the prefix gets reversed properly.. but in the union helper files, any enums defined in the same idl do NOT get the prefix un-reversed (thus generating invalid java code). This problem is in the 1.3 and 1.4 compilers. I've dug through the compiler code, but just can't get my head around it enough to figure out why its going wrong. For now, I have changed the prefix in the idl, and taken off the noreverseprefix switch.. but this makes this one IDL file inconsistent with the rest of our others. (we are in an industry where I cannot post the IDL directly.. when I get time I'll try to generate a simple test case to show the problem). |
From: <an...@ri...> - 2007-02-28 15:22:21
|
Hi all, im getting the following Exception when trying to call a method on a remote CORBA server: Server Exception: OMG Standard Exception #2. Both client and server are using Openorb 1.3.1 under jdk 1.5. Unfortunately i have no idea what this excption means. Can anyone give me a hint about that ? Best regards Andrej |