RE: [Wlug] Newbie to mailing list- Issue with the generation of graphs inredhat 6.2
I'm guessing this is a server (the errors you showed before made it look more like a servlet than an applet)... So are you running X? If so, when you start the server do you set your DISPLAY variable correctly? Does the server process have access to the Xserver? If you're not running an Xserver, you need to. Weird, huh? Without a running X-Server the JRE can't do most graphical operations, even if those operations never render to the display. It's a long standing issue that a whole lot of people have complained about. What you can do is run Xvfb ... It's a non graphical X server. It just gives programs an Xserver to play with, and never displays the results of those programs. -Marc -----Original Message----- From: Sudhaker P [mailto:perams27@hotmail.com] Sent: Wednesday, October 30, 2002 9:08 AM To: wlug@mail.wlug.org Subject: Re: [Wlug] Newbie to mailing list- Issue with the generation of graphs inredhat 6.2 Hi, With reply to my previous mail I've figured out that Java "awt" is looking for some parameters in X-windows. I think the X is broken. I'd appreciate if any of you gurus can guide me with fixing of X-windows. Thanks, Peram
From: "Sudhaker P" <perams27@hotmail.com> Reply-To: wlug@mail.wlug.org To: wlug@mail.wlug.org Subject: Re: [Wlug] Newbie to mailing list- Issue with the generation of graphs in redhat 6.2 Date: Tue, 29 Oct 2002 16:07:13 -0600
Hi Karl, Thanks a lot for the response. I'm running it as an applet as in the below mentioned weblogic log java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58) at java.awt.Window.<init>(Window.java:189) at java.awt.Frame.<init>(Frame.java:315) at java.awt.Frame.<init>(Frame.java:262) at com.rivenet.graphingaction.Graphit.runGraph2D(Unknown Source) at com.rivenet.reporting.InformalFundingComparisonGraph.makeGraph(Unknown Source) at jsp_servlet._plan._Model_controller._jspService(_Model_controller.java:356) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
So I was wondering if "awt" since it needs X to generate graphs could be the reason and X might be broken.
In your opinion if x is broken what could the rpms that I need to install. I'd appreciate your comments and suggestions.
Thanks,
Peram
From: Karl Hiramoto <karl@zoop.org> Reply-To: wlug@mail.wlug.org To: wlug@mail.wlug.org Subject: Re: [Wlug] Newbie to mailing list- Issue with the generation of graphs in redhat 6.2 Date: Tue, 29 Oct 2002 14:43:56 -0500 (EST)
are you running it from the comand line? or an applet?
Get any errors on your command line?
Did you try on the same machine booting 2.4.16 and 2.4.7 to verify that it is the kernel?
On Tue, 29 Oct 2002, Sudhaker P wrote:
Hi , I've a program that generates graphs with Java 1.3.1_01. The same program is able to generate graphs on a machine with RH 6.2 kernel 2.4.16 but it fails to generate graphs on a machine with RH 6.2 kernel 2.4.7-10 on which it used to generate before. I've installed KDE and gd thinking that something may broken in the OS on the jpegs generation part. But that doesn't seem to help. I'd appreciate if any of you gurus can guide me in this issue with your comments and suggestions.
Thanks,
Peram
_________________________________________________________________ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
--
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø Karl Hiramoto <karl@hiramoto.org> Work: 978-425-2090 ext 25 Cell: 508-517-4819 Personal web page: http://karl.hiramoto.org/ Freedom: http://www.technojihad.com/ Zoop Productions: http://www.zoop.org/ KTEQ Rapid City: http://www.kteq.org/ AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
Confirmed bachelor: A man who goes through life without a hitch.
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_________________________________________________________________ Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (1)
-
Marc Hughes