This content has been marked as final. Show 1 reply
javax.naming.OperationNotSupportedException : can only bind References or Referanceable objectThe message is pretty clear. You can't bind arbitrary objects, you have to wrap them in something the provider will accept: in this case, a Reference or Referenceable. See the JNDI API.
But I wouldn't spend any more time with the JNDI FS provider. It's really just a toy, not intended to be taken seriously. It might be useful as a pretend LDAP server until you get one, but really, just get one.