• Mail confirutation

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #24454  by jllort
 
If you're using OpenKM 6.x or upper should take a look here : http://wiki.openkm.com/index.php/Tomcat ... figuration if you're using older OpenKM version 5.1.x or older then your url is right. Take in mind 5.x version is a deprecated version and is not supported I encourage upgrade to 6.x
 #24456  by kazlev
 
yes, I have 5.2 version

I have configured like in correct link, but it still dont working. I recived logs:
Code: Select all
2013-07-31 16:56:01,805 DEBUG [freemarker.cache] OpenKM - NOTIFICATION - ${documentName}[en_US,UTF-8,parsed] no source found.
2013-07-31 16:56:01,805 DEBUG [freemarker.cache] <b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/>[en_US,UTF-8,parsed] no source found.
2013-07-31 16:56:01,806 ERROR [STDERR] javax.naming.NameNotFoundException: mail not bound
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at javax.naming.InitialContext.lookup(InitialContext.java:411)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.openkm.util.MailUtils.send(MailUtils.java:232)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.openkm.util.MailUtils.sendMessage(MailUtils.java:164)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.openkm.module.direct.DirectNotificationModule.notify(DirectNotificationModule.java:305)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.openkm.api.OKMNotification.notify(OKMNotification.java:83)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.openkm.servlet.frontend.NotifyServlet.notify(NotifyServlet.java:130)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
2013-07-31 16:56:01,806 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2013-07-31 16:56:01,807 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:722)


Any idea where I have problem?
 #24463  by jllort
 
This kind
Code: Select all
javax.naming.NameNotFoundException: mail not bound
of error mail definition is not declared or bad in server.xml. Take inmind that the change of server.xml file only will take some effect after the tomcat server will be restarted ( there're some cases, and it's one of these, that's necessary restart tomcat ).

Ensure when you start tomcat you do not get any error related with mail definition in server.xml ( take a look with care catalina.log startup ).

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.