• notification to the groups failed

  • 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.
 #7637  by ssprasad.e
 
while uploading the document i selected the groups for mail notification but it is not working for the groups. here the thing is the same is working for the individual users. i got the exception at the console like
Code: Select all
java.lang.UnsupportedOperationException
	at java.util.AbstractList.add(AbstractList.java:131)
	at java.util.AbstractList.add(AbstractList.java:91)
	at com.openkm.frontend.server.OKMFileUploadServlet.doPost(OKMFileUploadServlet.java:194)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
 #7646  by jllort
 
Are you using 5.0 stable, because in 5.0 beta and rc1 was some bug there, but on 5.0 stable might be solved.
 #7651  by jllort
 
For what you say I must understand you've got 5.0 stable installed ? if it's the case and you've made some update, simply stop jboss, remove tmp an work folder contents, and restart jboss ( it's possible could be some deprecated classes in jboss cache ).

If you've not updated to latest 5.0 stable do it. It's so simply.
 #7653  by ssprasad.e
 
still i am getting same problem after doing the above instructions.... i am using rc1 server. can u people help me out. i think in servers jboss 5.0 and jboss rc1 only few files are different .can u tell what are those... i will get the working files and paste in rc1 server. thank you for helping me a lot.
 #7665  by ssprasad.e
 
IF i migrate from rc1 to 5.0 then i am getting same error like unsupported exception.
and after executing the database query ,
i.e ALTER TABLE OKM_MIME_TYPE DROP COLUMN MT_ACTIVE;
executed successfully but if click the mime types exception is raising,i.e database exception in UI environment.
and
notification to the groups is not going,still.
please help me out.
 #7668  by jllort
 
first must alter table and then can take a look at mime type. How have you altered the table, using OpenKM sql query into adm9inistration ? which error appears in your server.log when you're accessing to mime types. I suggest after altering table, restarting jboss.
 #7670  by ssprasad.e
 
first i did stop the jboss and set the value "hibernate.hbm2ddl=update" in openkm.cfg and restarted the jboss .

gone adminstration and executed the querry "ALTER TABLE OKM_MIME_TYPE DROP COLUMN MT_ACTIVE;"
then refresh the browser.
then if i suppose to send notification then i am getting UnSupporetedException
Last edited by ssprasad.e on Wed Dec 22, 2010 7:31 am, edited 1 time in total.
 #7672  by jllort
 
Stop jboss
clean folders server/default/tmp and server/default/work ( only the contents )
start jboss
try it
attach here a screen shot of first page appears in administration

Where are you trying the notification: new document / updating a document / on file menu ( send link or attach document ) ?
 #7674  by ssprasad.e
 
this exception i am getting while starting the server
Code: Select all
13:24:52,640 ERROR [Config] Null value was assigned to a property of primitive type setter of com.openkm.dao.bean.MimeType.active
com.openkm.core.DatabaseException: Null value was assigned to a property of primitive type setter of com.openkm.dao.bean.MimeType.active
	at com.openkm.dao.MimeTypeDAO.findAll(MimeTypeDAO.java:204)
	at com.openkm.core.Config.loadMimeTypes(Config.java:670)
	at com.openkm.servlet.RepositoryStartupServlet.init(RepositoryStartupServlet.java:152)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
while sending notification i am getting this exception:
Code: Select all
13:30:29,296 ERROR [MimeIconServlet] Null value was assigned to a property of primitive type setter of com.openkm.dao.bean.MimeType.active
com.openkm.core.DatabaseException: Null value was assigned to a property of primitive type setter of com.openkm.dao.bean.MimeType.active
	at com.openkm.dao.MimeTypeDAO.findByName(MimeTypeDAO.java:236)
	at com.openkm.servlet.MimeIconServlet.doGet(MimeIconServlet.java:57)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
this is my openKM.cfg file:
Code: Select all
# Default configuration values
#
#system.database=mysql
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
# system.demo=off
restrict.file.mime=on
restrict.file.extension=*~,*.bak,._*
#system.ocr=/usr/bin/tesseract
system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.MySQLDialect
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
#hibernate.hbm2ddl=create
hibernate.hbm2ddl=none
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
max.file.size=060520010
#principal.adapter=com.openkm.principal.DatabasePrincipalAdapter
#notify.twitter.user=openkm
#notify.twitter.password=****
#subscription.message.body=Prueba.vm
i am using windows
 #7885  by geantVert
 
Could you please post what you have changed ? I have the same problems that you have, on Win version.
Had a 5.0 Beta, upgraded to full by following first
Migrating from 5.0Beta to 5.0RC1 (all the ALTER TABLE from the admin/query db tool)
then Migrating from 5.0RC1 to 5.0 (the ALTER TABLE statement as well, from the admin/query db tool)

There is stil, on this version, an ESSENTIAL thing which is not working: how to undo checkout ? Even as an admin, I am unable to undo a checked out content. The option is grayed out in the menu ?!?

Thx to let everyone know what you did, this is most probably a bug that needs to get fixed!


Edit2: Improvement (sort of): I stopped jboss, removed server/default/tmp and server/default/work and restarted JBoss. Then I was able to go into the Mime Types tab in the Administration, and I pressed reset as instructed. Now, I don't have any icons on my files, and all the mime types are gone!

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.