If you came to happen to face issue with image upload from AEM author through dispatcher, this article may help you. You may face issue when you upload an image from image component or uploading images through Assets dashboard. Performing the following things may fix this issue for you-
1. Increase the Upload Buffer Size from OSGi Console (http://host:port/system/console/configMgr)
Configure service - "Apache Felix Jetty Based Http Service"
Increase following two parameters- "Request Buffer Size" and "Response Buffer Size" to 65536 or a reasonable limit as per your application requirement.
2.Configure Dispatcher for Increasing request alive
Open httpd.conf add following lines at the end of file-
LimitRequestLine 700000
KeepAlive On
MaxKeepAliveRequests 150
KeepAliveTimeout 180
Once changes has been done, you need to restart your web server in order to make changes effective.
3. If you have configured NTLM/ SSO (Single sign on) for your server then you should check following entries in httpd-vhosts.conf file-
SSPIPerRequestAuth Off (Should be set to off)
SSPIDomain domain.site.com (Domain controller of the server)
1. Increase the Upload Buffer Size from OSGi Console (http://host:port/system/console/configMgr)
Configure service - "Apache Felix Jetty Based Http Service"
Increase following two parameters- "Request Buffer Size" and "Response Buffer Size" to 65536 or a reasonable limit as per your application requirement.
2.Configure Dispatcher for Increasing request alive
Open httpd.conf add following lines at the end of file-
LimitRequestLine 700000
KeepAlive On
MaxKeepAliveRequests 150
KeepAliveTimeout 180
Once changes has been done, you need to restart your web server in order to make changes effective.
3. If you have configured NTLM/ SSO (Single sign on) for your server then you should check following entries in httpd-vhosts.conf file-
SSPIPerRequestAuth Off (Should be set to off)
SSPIDomain domain.site.com (Domain controller of the server)
SSPIOmitDomain On
You can find out domain controller value for your dispatcher by running following command-
nltest /dsgetdc:site.com
Here replace site.com with your server's own value.
Nice stuff!!!
ReplyDeleteThanks!