• Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #6145  by rmartinez
 
We have a OpenKm 4.1 installation migrate from OpenKM 3.0.

In the URL:

http://kmserver:8080/OpenKM/admin/config.jsp (Administrastion->Configuration)

we got this error:

*******************************************************************************************************
type Informe de Excepción

mensaje

descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.

excepción

javax.servlet.ServletException: java.lang.NoSuchFieldError: PROPERTY_NOTIFY_MESSAGE_SUBJECT
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.admin.config_jsp._jspService(config_jsp.java:310)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

causa raíz

java.lang.NoSuchFieldError: PROPERTY_NOTIFY_MESSAGE_SUBJECT
org.apache.jsp.admin.config_jsp._jspService(config_jsp.java:193)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

nota La traza completa de la causa de este error se encuentra en los archivos de diario de JBossWeb/2.0.1.GA.
************************************************************************************************************************************
 #6232  by rmartinez
 
The entries:
Code: Select all
notification.message.subject=OpenKM - NOTIFICATION - $documentName
notification.message.body=<b>Document: </b><a href=\"$documentUrl\">$documentPath</a><br/><b>User: </b>$userId<br/><b>Message: </b>$notificationMessage<br/>
subscription.message.subject=OpenKM - $eventType - $documentPath
subscription.message.body=<b>Document: </b><a href=\"$documentUrl\">$documentPath</a><br/><b>User:</b>$userId<br/><b>Event: </b>$eventType<br/><b>Comment: </b>$subscriptionComment<br/>
are missing in OpenKm.cfg.
 #6251  by jllort
 
It's really strange error because we've not changed that property group names, take a look at:

http://wiki.openkm.com/index.php/Applic ... figuration
http://wiki.openkm.com/index.php/Notifi ... n_messages

To ensure your property name are well writen

Sure you're running on jboss that comes with version 4.x not with 3.x ( before migrating repository ). I could recommend stopping jboss, cleaning tmp and work folders ( contents ) and start jboss to cleaning possible older classes or similar, but if you're in 4.X might not be necessary

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.