When we execute servlet in Solaris with JDK1,2 using API in EspressChart, it gives us a “C-string not found error”?
The error is received because the X server cannot be connected to. This is a very deceptive exception. What you have to do is to start the X server under root and make sure it is accessible by EspressChart or the program running EspressChart API. After X11R6 (Xvfb) started, EspressChart still gives “quadbase/chart/C-string not found error” After I started X, or Xvfb, I still have the problem and the culprit was the environment variable. I did not set my DISPLAY environment variable, since I always use telnet. You may want to include the hint on DISPLAY environment variable, since when you mention EspressChart could not find X, it is not very clear to non-admin people to trouble shoot. I got the hint from our admin support about DISPLAY property. DISPLAY can be set to simply “:1.0” or “127.0.0.1:1.0” or “A.B.C.D:1.0” where “A.B.C.D” is the machine’s IP address. In Apache/Jserver, one line should be added to the jser.properties file when Apache and Jserver are started the same time. wrap
Related Questions
- When we execute servlet in Solaris with JDK1,2 using API in EspressChart, it gives us a "C-string not found error"?
- How do I make the Servlet and JSP API Javadoc in my Tomcat installation accessible within Eclipse?
- What gives RIRIC the ability to execute its Business Ventures better than Indian based companies?