export  JAVA_OPTS = "${JAVA_OPTS} -Djava.awt.headless=true"

After setting this, the new error mesage is as follows

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.ExceptionInInitializerError
	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:387)
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:451)
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:632)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.ExceptionInInitializerError
	de.fhg.iais.kd.tm.quote.casReadWrite.CasAnnotationCollector.finishProcessing(CasAnnotationCollector.java:72)