• User notify not working

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13543  by zeropower
 
Hi,
I have configured OpenKM 5.1.8-2 at ubuntu server 11.10 server x64 without any problem except "users to notify" option and Mail client. I already integrated it with my active directory and when checking users at administration tab, i see every user with his corresponded email address, i configured mail-service.xml as follows:
Code: Select all
<!-- OpenKM -->
  <mbean code="org.jboss.mail.MailService" name="jboss:service=OpenKM">
    <attribute name="JNDIName">java:/mail/OpenKM</attribute>
    <attribute name="User">xxx</attribute>
    <attribute name="Password">xxx</attribute>
    <attribute name="Configuration">
      <configuration>
        <property name="mail.transport.protocol" value="smtp"/>
        <property name="mail.smtp.host" value="192.168.2.2"/>
        <property name="mail.smtp.port" value="25"/>
        <property name="mail.from" value="xxx@domain.com"/>
        <property name="mail.debug" value="true"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>
</server>
i think there is an error at server.log as follows:
Code: Select all
2012-01-17 16:28:17,278 INFO  [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map
2012-01-17 16:28:17,278 INFO  [STDOUT] DEBUG: java.io.FileNotFoundException: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/javamail.address.maess.map (No such file or directory)
2012-01-17 16:28:17,278 INFO  [org.jboss.mail.MailService] Mail Service bound to java:/mail/OpenKM
Would you please help if there is any other configuration i have to do other than mail-services.xml and also IMAP test pass when configuring user mail but not getting any mails.
 #13555  by pavila
 
Log message with DEBUG level informing about missing files don't worry. They are WARNINGs, not ERRORs.
 #13562  by zeropower
 
How can i know from where to start to fix this problem, i am working on it from a long time without any result and can't find any problem at log except this. Would you please tell if there is a bug in this version as also i tried it at windows 2008 x64 with the same result.
Thanks a lot...
 #13573  by pavila
 
Follow these steps:

- Stop JBoss
- Delete $JBOSS_SERVER/default/log
- Start JBoss
- Send a notification from OpenKM
- Attach the $JBOSS_SERVER/default/log/server.log (zipped, please) to this thread and I will review it.
 #13577  by zeropower
 
Hi,
Thanks a lot for your quick reply, please find the log file attached as requested.
Thanks a lot...
Attachments
Server Log file
(89.57 KiB) Downloaded 384 times
 #13596  by zeropower
 
I made millions of tests at versions 5.0.4, 5.1.7,5.1.8 and 5.1.8-2 at windows 2008 x64 and ubuntu 11.10 x64 server with the same failure. I notice that when using ldap integration, role and email address appear at the users list doesn't appear at user configuration, i attached snapshot to be more clear. Also i can't find any related error at log file.
User.List.PNG
User.List.PNG (3.46 KiB) Viewed 8841 times
User.Configuration.PNG
User.Configuration.PNG (2.05 KiB) Viewed 8841 times
 #13605  by zeropower
 
Hi,
Is there anyone configured user notifier or mail client with LDAP configured, Please help if anyone have done it. I got too much frustrated from testing without any result.
Thanks a lot...
 #13646  by zeropower
 
I already read this before, and having my ldap integration working great, i have all users and roles imported without any problem. The only problem i have is "user notify" not working while no any details coming in log while already enabling it at mail-service.xml. I tried it without ldap, with the integrated database, and it works great but only stopped when using ldap. I think the problem is that i can't see user email at User configuration while it is already imported at users list at adminstration tab as i mentioned before.
 #13699  by pavila
 
I think this is a problem with the LDAP configuration. Please, take a look at:

* http://wiki.openkm.com/index.php/Active ... OpenKM_5.0
* http://wiki.openkm.com/index.php/Testin ... figuration

and review these configurations:
Code: Select all
principal.ldap.mail.search.base
principal.ldap.mail.search.filter
principal.ldap.mail.attribute
 #13724  by zeropower
 
I am wondering if there is a problem in my LDAP configuration and Mail addresses appearing at User List ?
Note that all users and roles are important without any problem.
To clarify again, i have two problems

1- At user list, Name is appearing instead of ID at ID column AND com.openkm.principal.LdapPrincipalAdapter is appearing instead of Name at Name column.
User_List.PNG
User_List.PNG (53.14 KiB) Viewed 8748 times
2- At tools->Preferences->User Configuration, email address is not appearing while it is already appearing at User list window.
User.Configuration.PNG
User.Configuration.PNG (5.92 KiB) Viewed 8748 times
Please advice.
 #14431  by zeropower
 
Hi,
That's to inform that this problem has been fixed in version 5.1.10 -SNAPSHOT
Thanks a million to OpenKM team.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.