glassfish_at_javadesktop.org wrote:
> Hi
>
> I am currently working on POC for glassfish , while trying to configure ldap with a valid directory server which is an Active Directory ,I am getting this exception
>
>
> org.jvnet.hk2.config.TransactionFailure: "Constraints for this bean violated. Message = base-dn, directory and jaas-context have to be specified for LDAPRealm" org.jvnet.hk2.config.WriteableView.canCommit(WriteableView.java:301) org.jvnet.hk2.config.Transaction.commit(Transaction.java:96) org.glassfish.admin.amx.impl.config.AMXConfigImpl.commit(AMXConfigImpl.java:1254) org.glassfish.admin.amx.impl.config.AMXConfigImpl.access$400(AMXConfigImpl.java:108) org.glassfish.admin.amx.impl.config.AMXC...
>
> currenlty the below are the setting i am trying to use for security config
>
> jaas context ldapRealm
> directory ldap://domain.ldap.com:389
> Base DN : dc=starwoodhotels,dc=com
>
Which version of V3 are u using. Check domain.xml to see that the GUI
has stored the values correctly. It could be a bug in GUI in the
version of V3 you are using.
> [Message sent by forum member 'shantesh']
>
> http://forums.java.net/jive/thread.jspa?messageID=479826
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>