RE: [Wlug] Newbie to mailing list- Issue with the generation of graphs inredhat6.2
Hi Marc, The KDE for the server was not working for it so I fixed it, removing all the rpms and re-installing them, I even reinstalled "gd".So I was wondering if any other libraries related to X-server were broken too. My output for $ps auwx | grep X is as below root 14500 0.0 0.0 2220 980 tty1 S 09:44 0:00 /bin/sh /usr/X11R6/bin/startx root 14507 0.0 0.0 2344 668 tty1 S 09:44 0:00 xinit /etc/X11/xinit/xinitrc -- root 14508 0.7 0.3 18156 7956 ? S< 09:44 1:07 /etc/X11/X :0 I'd appreciate your suggestions and comments in this regard. Thanks, Peram
From: "Marc Hughes" <HughesM@tomsnyder.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 inredhat6.2 Date: Wed, 30 Oct 2002 10:55:29 -0500
What do you mean when you say it seems broken? Are there other symptoms besides the java connection to it?
Can you sit down at the machine and use X? If this is a server, you probably don't want that ability (that's where Xvfb comes in). What Xserver are you running?
If you "ps aux |grep X" do you see an xserver running?
-Marc
-----Original Message----- From: Sudhaker P [mailto:perams27@hotmail.com] Sent: Wednesday, October 30, 2002 10:46 AM To: wlug@mail.wlug.org Subject: RE: [Wlug] Newbie to mailing list- Issue with the generation of graphs inredhat6.2
Hi Marc, Thanks for the reply. I agree with you Marc, it is a servlet(I'm sorry about that) and its on the server. The display settings seems to be proper, but my X- server seems to be broken. I'd appreciate if you can guide me to any kind of information with the help of which I can fix the issue of broken X-windows.
Thanks,
Peram
From: "Marc Hughes" <HughesM@tomsnyder.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 inredhat 6.2 Date: Wed, 30 Oct 2002 09:16:11 -0500
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(Unknow n 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
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_________________________________________________________________ Broadband? Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp
On Wed, Oct 30, 2002 at 12:22:31PM -0600, Sudhaker P wrote: perams27> Hi Marc, perams27> The KDE for the server was not working for it so I fixed it, removing all perams27> the rpms and re-installing them, I even reinstalled "gd".So I was wondering perams27> if any other libraries related to X-server were broken too. Do "rpm -V packagename" to see if it is broken, or "rpm -Va" to check all packages. To reinstall packages, use "rpm -ivh --replacepkgs package1.rpm package2.rpm ..." -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
participants (2)
-
Charles R. Anderson
-
Sudhaker P