We have tomcat running on our linux machine. This tomcat is being used by the CCM which is also installed on the same machine. I am not able to track where exactly the file, which starts the tomcat, resides.
The issue is that I need to set these two variable to enable some graphics parameters on the machine.
export DISPLAY

Now when I appended these four lines in the startup.sh file of tomcat, the problem was solved. But now my java application needs to run under ccm, where it is throwing the exception of not finding those parameters.
So i think I need to include the same four lines in the corresponding sh file in ccm which starts the tomcat.

This is very urgent. Please if anybody can help me out on that.