Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Using JNDI within Plugin - Context.lookup() returning javax.naming.Reference
Using JNDI within Plugin - Context.lookup() returning javax.naming.Reference [message #147303] Tue, 21 October 2003 15:16
Eclipse UserFriend
Originally posted by: abeards.uk.ibm.com

Hi,

I am developing an Eclipse plug-in which needs to retrieve objects from JNDI
contexts. The objects involved implement Referenceable and so (I
understand) should be stored as references behind the scenes, with the
appropriate ObjectFactory being invoked to dereference within the lookup.

This works correctly in standalone code, but within an Eclipse plug-in the
dereferencing does not appear to occur, and a Reference object is returned
to the application. This Reference object seems to be correctly formed (and
I can instantiate the target object using the ref addresses contained
therein, and the factory it points to, but this is a messy solution).
Behaviour is the same regardless of the naming service being used (I have
tried both remote LDAP servers and a local FSContext)

Can anyone explain under what circumstances lookup( ) would return a
Reference like this, or has anyone come across and solved this problem?

Thanks in advance for your help,

Anthony Beardsmore
Previous Topic:How to determine, a new classpath entry was added...
Next Topic:Workbench window minimize problem
Goto Forum:
  


Current Time: Wed Jan 15 10:33:34 GMT 2025

Powered by FUDForum. Page generated in 0.02740 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top