Skip to Content
0
Former Member
Apr 08, 2009 at 11:21 AM

ClassCastException on JNDI lookup

79 Views

Hi!

When I try to lookup the LogicalLockingFactory interface, I receive a ClassCastException.

For the lookup I use the following code:

LogicalLockingFactory lockingFactory = (LogicalLockingFactory) new InitialContext().lookup(
					LogicalLockingFactory.JNDI_NAME);

I run on SAP Netweaver 7.1

Thanks in advance!

Gernot