Wolfgang
I am receiving the same error after deploying the unitemplate publication.
I am sorry to write ldap.properties as LDAP.properties in my mail.
After browsing the mail archives, I got a patch posted by Markus Anwander (dated:12-10-2004) and in that thread I was able to read your comments also. I downloaded that patch now and changed my ldap.properties as:
provider-url="">
base-dn=o=ORG
# Manager/user which is allowed to retrieve a list of "all" users (fullname) from LDAP server
#mgr-dn=cn=Manager,o=People,ou=FooOrg,dc=foodomain,dc=com
#mgr-dn=cn=Manager,o=ORG
# Password of Manager
#mgr-pw=test
mgr-dn=anonymous
mgr-pw=none
security-authentication=none
### Attribute-name of User Partition (Lenya-User)
usr-attr=uid
### Authentication for Lenya-User
user-authentication=simple
#partial-user-dn=ou=LP,o=ORG
# keystore is taken relatively to the publication config/ac directory
#key-store=.keystore
#security-protocol=ssl
The error now I am receiving is:
org.apache.avalon.framework.CascadingRuntimeException: uncaught _javascript_ exception: at addUser (file:/mnt/coe2/lenya/src/lenya-1.2.3/build/lenya/webapp/lenya/content/admin/users/user-admin.js, Line 373): org.apache.lenya.ac.AccessControlException: Exception during search:
cause: java.io.EOFException: SSL peer shut down incorrectly
Am I required to make further more changes?
Thanks
Shishir
[EMAIL PROTECTED] schrieb:
>
>
> ..........
>
> Caused by: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:393)
> at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:346)
> at
> org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEntry(LDAPUser.java:426)
> at org.apache.lenya.ac.ldap.LDAPUser.existsUser(LDAPUser.java:137)
> ... 61 more
Well, we can certainly improve the error handling here !
LDAPUser.java:346 is the reading of the provider-url property, which is
then put in the environment Hashtable. java.util.Hashtable throws a
NullPointerException if you pass a null value.
So it looks like the property "provider-url" is null. In your previous
mail you said
> My LDAP.properties for my application ...
Is your file actually named like this ? It should be ldap.properties
If this is the cause of your problem, we check for file existence in the
code prior to this.
--
Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ForwardSourceID:NT00003962
| Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
