Re: Server request interceptor doesn't reacts on client requests

Kujtim Hyseni <[email protected]> Sat, 22 Aug 2015 12:44:25 +0000
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
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