Skip to Content
Former Member
Jul 19, 2007 at 12:19 PM

DestinationService in nw7.0 sp12


Hello All,

We have EJBs that are using the destination service.

Here is part of the code:

InitialContext ctx = new InitialContext();		
DestinationService dstService = (DestinationService) ctx.lookup(DestinationService.JNDI_KEY);		

It worked fine until we upgraded from nw7.0 sp11 to nw7.0 sp12.

Now we get a ClassCastException in all those EJBs.

When I use the next code line:

Object obj =  ctx.lookup(DestinationService.JNDI_KEY);

obj is of type

I didn't succeed getting any information on class LocalDestinationServiceImpl

but when I use the next code line instead:

LocalDestinationServiceImpl dstService2 = (LocalDestinationServiceImpl) ctx.lookup(DestinationService.JNDI_KEY);

I still get ClassCastException.

Anyone knows what can be the problem?

Thanks for you time, Adi.