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

  1. give permission root user in aws , upload image in aws.

  2. 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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -