amazon web services - No X11 DISPLAY variable was set. while uploading product image in aws server then that time it causes this error -
no x11 display variable set, program performed operation requires in spring-mvc application. while uploading product image in aws server time causes error
i deployed spring-mvc application in aws server. uploading product information , product images in aws server. facing above exception. images stored location in usr/share/tomcat7/project/productfiles/images path. product information stored in database while uploading images causes issue.
in project create category, submitting category details store in db. incase of product image uploading causing exception
give permission root user in aws , upload image in aws.
in case generating thumbnail image. used graphics2d class generating thumbnail. work in local. graphics2d class rising headless exception. it's works fine in local server. when in deploy app in aws-server no x 11 display variable set. changed code thumbnailator code(it third party)
Comments
Post a Comment