• IOException: Internal Server Error

  • 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.
 #19386  by bc_santana
 
Hi all,

I'm receiving an error each time i try to upload any file larger than 4Mb using the uploader
error.png
error.png (40.89 KiB) Viewed 3592 times
this happens on both the client & server

This is the log from uploader
Code: Select all
Nov 19, 2012 9:13:55 AM com.openkm.applet.UploadWorker createDocumentHelper
INFO: createDocumentHelper(5D9F2EE6542E34A735ACCFA905C95D03, /okm:root, http://tac-svr01/OpenKM, C:\Users\Haitham\Desktop\123.pdf)
Nov 19, 2012 9:13:55 AM com.openkm.applet.protocol.HttpProtocol createDocument
INFO: createDocument(5D9F2EE6542E34A735ACCFA905C95D03, /okm:root, http://tac-svr01/OpenKM, C:\Users\Haitham\Desktop\123.pdf)
Nov 19, 2012 9:13:55 AM com.openkm.applet.UploadWorker createDocumentHelper
SEVERE: IOException: Internal Server Error
org.apache.http.client.HttpResponseException: Internal Server Error
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:67)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:55)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
	at com.openkm.applet.protocol.HttpProtocol.createDocument(HttpProtocol.java:75)
	at com.openkm.applet.UploadWorker.createDocumentHelper(UploadWorker.java:105)
	at com.openkm.applet.UploadWorker.doInBackground(UploadWorker.java:76)
	at com.openkm.applet.UploadWorker.doInBackground(UploadWorker.java:43)
	at javax.swing.SwingWorker$1.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at javax.swing.SwingWorker.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Nov 19, 2012 9:13:55 AM com.openkm.applet.UploadWorker createDocumentHelper
INFO: createDocumentHelper: void
if i tried to add the file using add new document it will show 100% upload but says the file is still processing
error1.png
error1.png (3.36 KiB) Viewed 3592 times
OKM Version: 6.2.0 (build: 13077)
Server : 2008 x64
Client : Win 7 x64

Kindly advice on this issue

Thanx
 #19425  by pavila
 
Please, try to reproduce the error with OpenKM 6.2.1 which was released a couple of days ago.
 #19450  by bc_santana
 
already upgraded to 6.2.1
but still having the same issue

things I've tried so far:
disabled my firewall
disabled my antivirus
tried to upload from the server with the internet turned off
checked the settings on tomcat, okm, mysql & IIS

i'm guessing this could be an IIS issue but i cant find any configuration that limits the upload size

today i'll try to disable the IIS & use the Apache server
 #19452  by bc_santana
 
Solved
Finally!!! ^___^

It was an IIS issue as i suspected

if anyone ran into this problem here is how u can solve it

1- Go to webapps folder

2- Edit the web.config file and add the following under <configuration>
Code: Select all
<system.web>
	<httpRuntime maxRequestLength="2097151" />
</system.web>
where "2097151" is the maximum allowed in IIS

3- if there is no web.config then just create one from text file & add the following
Code: Select all
<configuration>
	<system.web>
	<httpRuntime maxRequestLength="2097151" />
	</system.web>
</configuration>
That's it ... now it's working fantastic ^___^

Cheers

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.