Page 1 of 1

Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 12:36 am
by dazzattitude
Hi... I am unable to upload files of size 5 MB plus... I tried editing the OpenKM.cfg file... Please find the code below...


# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
#

system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
#

principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
max.file.size=15
max.search.results=25

I receive an error message. I have attached the image file and the cfg file.
Kindly assist on what needs to be done.

Re:Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 12:42 am
by dazzattitude
Here is the attached file... Thanks you soo much in advance...

Re:Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 12:43 am
by dazzattitude
Sorry... Here is the Zip file... [file name=Error.zip size=7647]http://www.openkm.com/images/fbfiles/files/Error.zip[/file]

Re:Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 12:51 am
by tidus2728
Your OpenKM.cfg seems to be fine. Try to restart OpenKM.

Re:Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 6:47 am
by jllort
Like says tidus2728 you must restart OpenKM jboss service because OpenKM.cfg is only charged on starting up system, and also you changed values on file, system ignores it since new starting up.

Re:Unable to change File Upload Limit...

PostPosted:Thu Jun 26, 2008 3:08 pm
by pavila
If the error persist, try to remove the space at the begining of the last two lines in the OpenKM.cfg file.

Re:Unable to change File Upload Limit...

PostPosted:Fri Jun 27, 2008 8:10 am
by dazzattitude
All fine.. Thanks mate...
Three years I am into forums and stuffs.. First time I am getting such spontaneous response..

And I have another issue.. Should we re run run.bat everytime to restart...
Because I tried changin the images... Evrytime I run the run.bat file these get replaced... Is the any source location where i change the logo annd other gif files..

Re:Unable to change File Upload Limit...

PostPosted:Sun Jun 29, 2008 9:19 pm
by pavila
You have to explode the OpenKM.ear file and change the images in the WAR file.

Re:Unable to change File Upload Limit...

PostPosted:Thu Jul 03, 2008 2:32 am
by fish
i\'m having same problem..still unable to uploaded .pdf files (7.9MB). i\'m on win xp platform..i already increased the OpenKM.cfg even to # max.file.size=2500# max.search.results=25 :P and restart my openKM few times..pls help

thanx in advance

Re:Unable to change File Upload Limit...

PostPosted:Thu Jul 03, 2008 6:13 am
by jllort
You must remove from each row the comment character \'#\' because while you have it the row is ignored during loading.

Re:Unable to change File Upload Limit...

PostPosted:Sun Jul 06, 2008 5:46 pm
by dazzattitude
Thanks Mate... Alls fine..

And regardin increasin the size and removing the comment.. Please find the attachd notepad in this post... That will help you...