Page 1 of 1

User notify not working

PostPosted:Tue Jan 17, 2012 12:38 pm
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.

Re: User notify not working

PostPosted:Wed Jan 18, 2012 4:52 pm
by pavila
Log message with DEBUG level informing about missing files don't worry. They are WARNINGs, not ERRORs.

Re: User notify not working

PostPosted:Thu Jan 19, 2012 3:41 am
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...

Re: User notify not working

PostPosted:Thu Jan 19, 2012 11:19 am
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.

Re: User notify not working

PostPosted:Thu Jan 19, 2012 12:41 pm
by zeropower
Hi,
Thanks a lot for your quick reply, please find the log file attached as requested.
Thanks a lot...

Re: User notify not working

PostPosted:Sun Jan 22, 2012 7:11 am
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 8885 times
User.Configuration.PNG
User.Configuration.PNG (2.05 KiB) Viewed 8885 times

Re: User notify not working

PostPosted:Mon Jan 23, 2012 10:50 am
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...

Re: User notify not working

PostPosted:Tue Jan 24, 2012 12:00 pm
by pavila

Re: User notify not working

PostPosted:Wed Jan 25, 2012 8:45 am
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.

Re: User notify not working

PostPosted:Mon Jan 30, 2012 9:47 am
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

Re: User notify not working

PostPosted:Wed Feb 01, 2012 8:47 am
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 8792 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 8792 times
Please advice.

Re: User notify not working

PostPosted:Thu Feb 02, 2012 8:28 am
by pavila
Ok, now I understand the problem. I have created an issue at http://issues.openkm.com/view.php?id=2033. Yesterday OpenKM 5.1.9 was released so please, can you try if the problem still persist with this new version?

Thanks.

Re: User notify not working

PostPosted:Thu Feb 02, 2012 12:02 pm
by zeropower
Same problem happening with the new version(5.1.9) :(

Re: User notify not working

PostPosted:Mon Mar 12, 2012 4:32 am
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.