From: Luis C. <le...@ne...> - 2003-05-06 22:09:00
|
Hello, I'm currently evaluating StatCVS to determine if one of my current projects can benefit from it. So far I'm very impressed. However, I did run into a little problem. When I ran the statcvs task using ant on my local workstation everything went smoothly, but when I ran the same task on one of our servers I got an error message complaining about some missing font driver. Next I attempted to invoke the task remotely logged in to my workstation. This attempt resulted in the following error message: ########## STACK-TRACE ############# java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125) .... ################################### Obviously our server has no graphics environment, and connecting to an Xfont server remotely is not a fun thing to do. Is there a way to run the statcvs task without having a local graphics environment? Thanks in advance, Luis Cruz |
From: Richard C. <rc...@gm...> - 2003-05-06 23:25:35
|
From: "Luis Cruz" <le...@ne...> > Is there a way to run the statcvs task without having a local graphics > environment? StatCvs should work on a headless system with JDK1.4 (tested on Linux and Solaris). Assuming your server has an older JVM, my suggestion would be to install a 1.4 JDK. If that is not an option, you can read about possible workarounds in the Known Issues section of the wormscan website [1]. However, I didn't try any of them. HTH Richard [1] http://www.websoup.net/wormscan/ |
From: Luis C. <le...@ne...> - 2003-05-06 23:35:02
|
I'm using JVM J2SDK 1.4.1 on all our machines. However, your suggestion was correct, running on a Linux platform without X11 running is one of the known issues. Thanks, Luis Cruz On Wed, 2003-05-07 at 00:11, Richard Cyganiak wrote: > From: "Luis Cruz" <le...@ne...> > > Is there a way to run the statcvs task without having a local graphics > > environment? > > StatCvs should work on a headless system with JDK1.4 (tested on Linux and > Solaris). Assuming your server has an older JVM, my suggestion would be to > install a 1.4 JDK. > > If that is not an option, you can read about possible workarounds in the > Known Issues section of the wormscan website [1]. However, I didn't try any > of them. > > HTH > Richard > > [1] http://www.websoup.net/wormscan/ |
From: Kim R. B. <ke...@cs...> - 2003-05-07 15:41:02
|
Hi Is there any reason you run statcvs via ant? I just invoke statcvs at commandline: >java -jar statcvs 'some-text' a-cvs-log path-to-local-checkout This works fine for me. (I should point out that I don't know much about ant) Sincely Kim R. Bille Student at: Department of Computer Science Aalborg University Denmark On 6 May 2003, Luis Cruz wrote: > > Hello, > > I'm currently evaluating StatCVS to determine if one of my current > projects can benefit from it. So far I'm very impressed. > > However, I did run into a little problem. When I ran the statcvs task > using ant on my local workstation everything went smoothly, but when I > ran the same task on one of our servers I got an error message > complaining about some missing font driver. Next I attempted to invoke > the task remotely logged in to my workstation. This attempt resulted in > the following error message: > > > ########## STACK-TRACE ############# > > java.lang.InternalError: Can't connect to X11 window server using ':0.0' > as the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at > sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125) > > .... > > ################################### > > > Obviously our server has no graphics environment, and connecting to an > Xfont server remotely is not a fun thing to do. > > Is there a way to run the statcvs task without having a local graphics > environment? > > Thanks in advance, > Luis Cruz > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users > |
From: Luis C. <le...@ne...> - 2003-05-07 21:21:52
|
Hello, The main reason I use Ant to run StatCVS is so that all our project related tasks can be invoked similarly and from any interface which is integrated with Ant. Also, all of our automated processes are configured with Ant tasks. Regards, Luis Cruz On Wed, 2003-05-07 at 16:40, Kim Rud Bille wrote: > Hi > > Is there any reason you run statcvs via ant? > I just invoke statcvs at commandline: > >java -jar statcvs 'some-text' a-cvs-log path-to-local-checkout > > This works fine for me. (I should point out that I don't know much about > ant) > > Sincely > Kim R. Bille > Student at: > Department of Computer Science > Aalborg University > Denmark |