Page 1 of 1

Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

PostPosted:Fri Aug 13, 2010 9:14 am
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.
************************************************************************************************************************************

Re: Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

PostPosted:Mon Aug 16, 2010 11:42 am
by jllort
the jboss server are you using is what come with 4.X no ?

Re: Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

PostPosted:Mon Aug 16, 2010 3:47 pm
by rmartinez
Yes, it is, OpenKM-4.1_JBoss-4.2.3.GA.zip.

Re: Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

PostPosted:Tue Aug 17, 2010 9:22 am
by jllort
Error could be in OpenKM.cfg, take a look if there's some deprecated property there.

Re: Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT - Solve

PostPosted:Fri Aug 20, 2010 8:29 am
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.

Re: Error OpenKM 4.1 PROPERTY_NOTIFY_MESSAGE_SUBJECT

PostPosted:Sun Aug 22, 2010 8:19 am
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