Re: Server request interceptor doesn't reacts on client requests
Nick Cross <[email protected]> Sat, 22 Aug 2015 18:02:10 +0100
| Newsgroups | gmane.comp.corba.jacorb.devel |
|---|---|
| Message-ID | <[email protected]> |
I meant the various tests in test/regression which demonstrate and test various server-side interceptors (search for those implementing ServerRequestInterceptor) ; if you can adapt one of those to demonstrate your problem that would be great. Also, if you do have a standalone test case showing a problem that would also be useful) Nick On 22/08/15 13:44, Kujtim Hyseni wrote: > By which existing test cases you mean - those coming in jacorb demo > dir? In demo directories there is an example named 'interceptors', > but it demonstrates client request interceptor only? Can you provide > a link to those test cases or should I submit the whole code I > employ? > > Kujtim > >> To: [email protected] From: >> [email protected] Date: Fri, 21 Aug 2015 22:35:21 +0100 Subject: Re: >> [jacorb-developer] Server request interceptor doesn't reacts on >> client requests >> >> >> Hi, >> >> Can you adapt one of the existing test cases that utilise >> ServerRequestInterceptor to demonstrate your issue? >> >> Regards >> >> Nick >> >> >> On 19/08/15 13:27, Kujtim Hyseni wrote: >>> Hi, >>> >>> I have a problem with running properly the server request >>> interceptor. I am registering it at server side as: >>> >>> java.util.Properties props = new java.util.Properties(); >>> props.put("org.omg.PortableInterceptor.ORBInitializerClass.ServerForwardInit", >>> "ServerInitializer"); props.put("ORBInitRef.ID1", ior_id); >>> >>> //orb = org.omg.CORBA.ORB.init(args, props); orb = orb.init(args, >>> props); >>> >>> providing ServerInitializer and ServerForwardInterceptor classes >>> as stated in Noffke's example. >>> >>> After starting the server it registers the server interceptor by >>> notifying through output message. Server request interceptor's >>> constructor is run but its methods doesn't react to client >>> requests. What I wrong here, should I use other props than >>> "org.omg.PortableInterceptor.ORBInitializerClass.ServerForwardInit" >>> or what might be the problem? >>> >>> Kujtim _______________________________________________ >>> jacorb-developer maillist - >>> [email protected] >>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer >>> >> >> >>> _______________________________________________ >> jacorb-developer maillist - >> [email protected] >> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer > >> > _______________________________________________ jacorb-developer > maillist - [email protected] > https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer > _______________________________________________ jacorb-developer maillist - [email protected] https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer