I was trying to run Grinder console on EC2 cloud, and that is my log of what happened.
1. Yes, I setup the “X” forwarding, and you can read it here of how it was setup.
2. However, trying to run Grinder java/swing based Console on the remote EC2 box, expecting to actually see the output on the local box, I got the following error:
Exception in thread "main" java.lang.Error: Probable fatal error:No fonts found.
That is the full output:
[ec2-user@ip-10-10-6-238 Grinder_Harness]$ ./run_grinder_console_ec2.sh
+ set -v
ROOT=$HOME/Grinder_Harness
+ ROOT=/home/ec2-user/Grinder_Harness
CLASSPATH=$CLASSPATH:$ROOT/grinder-3.4-bin/lib/grinder.jar
+ CLASSPATH=:/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar
CLASSPATH=$CLASSPATH:$ROOT/jython2.5.2-bin/jython.jar
+ CLASSPATH=:/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar:/home/ec2-user/Grinder_Harness/jython2.5.2-bin/jython.jar
java -cp $CLASSPATH net.grinder.Console
+ java -cp :/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar:/home/ec2-user/Grinder_Harness/jython2.5.2-bin/jython.jar net.grinder.Console
Exception in thread "main" java.lang.Error: Probable fatal error:No fonts found.
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.findFont2D(FontManager.java:1865)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:967)
at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:254)
at sun.font.CompositeFont.getSlotFont(CompositeFont.java:334)
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:77)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:358)
at sun.font.FontDesignMetrics.
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:301)
at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:999)
at javax.swing.JComponent.getFontMetrics(JComponent.java:1599)
at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:273)
at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376)
at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(BasicButtonUI.java:366)
at javax.swing.JComponent.getMinimumSize(JComponent.java:1714)
at javax.swing.plaf.basic.BasicOptionPaneUI.addButtonComponents(BasicOptionPaneUI.java:692)
at javax.swing.plaf.basic.BasicOptionPaneUI.createButtonArea(BasicOptionPaneUI.java:630)
at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI.java:178)
at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:141)
at javax.swing.JComponent.setUI(JComponent.java:651)
at javax.swing.JOptionPane.setUI(JOptionPane.java:1856)
at javax.swing.JOptionPane.updateUI(JOptionPane.java:1878)
at javax.swing.JOptionPane.
at javax.swing.JOptionPane.
at net.grinder.console.swingui.ErrorDialogHandler.
at net.grinder.console.swingui.ErrorDialogHandler.
at net.grinder.console.swingui.ConsoleUI.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:393)
at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:382)
at net.grinder.console.ConsoleFoundation.createUI(ConsoleFoundation.java:173)
at net.grinder.Console.
at net.grinder.Console.main(Console.java:92)
3. You would need to sudo yum install java-1.6.0-sun-fonts, however, you will not be too successful:
[ec2-user@ip-10-10-6-238 Grinder_Harness]$ sudo yum install java-1.6.0-sun-fonts
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
amzn-main | 2.1 kB 00:00
amzn-updates | 2.1 kB 00:00
Setting up Install Process
No package java-1.6.0-sun-fonts available.
Error: Nothing to do
4. Download them from my development/java-1.6.0-sun-fonts repo or from pbone.net
[ec2-user@ip-10-10-6-238 tools]$ wget http://www.zorranlabs.com/development/java-1.6.0-sun-fonts/java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm
## [ec2-user@ip-10-10-6-238 tools]$ wget ftp://ftp.pbone.net/mirror/apt.unl.edu/apt/jpackage/all/RPMS.testing/java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm
--2011-10-05 10:51:25-- ftp://ftp.pbone.net/mirror/apt.unl.edu/apt/jpackage/all/RPMS.testing/java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm
=> âjava-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpmâ
esolving ftp.pbone.net... 85.14.85.4
Connecting to ftp.pbone.net|85.14.85.4|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /mirror/apt.unl.edu/apt/jpackage/all/RPMS.testing ... done.
==> SIZE java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm ... 1252568
==> PASV ... done. ==> RETR java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm ... done.
Length: 1252568 (1.2M) (unauthoritative)
100%[============================================================================================================>] 1,252,568 757K/s in 1.6s
2011-10-05 10:51:28 (757 KB/s) - âjava-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpmâ
5. Install it using yum localinstall. Most likely, you will get some of the dependences:
[ec2-user@ip-10-10-6-238 tools]$ sudo yum localinstall java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm
Loaded plugins: fastestmirror, priorities, security, update-motd
Setting up Local Package Process
Examining java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm: java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586
Marking java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm to be installed
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
amzn-main | 2.1 kB 00:00
amzn-updates | 2.1 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-sun-fonts.i586 0:1.6.0.19-1jpp will be installed
--> Processing Dependency: /usr/sbin/chkfontpath for package: java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586
--> Processing Dependency: /usr/bin/xsltproc for package: java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586
--> Running transaction check
---> Package chkfontpath.x86_64 0:1.10.1-1.7.amzn1 will be installed
--> Processing Dependency: xfs for package: chkfontpath-1.10.1-1.7.amzn1.x86_64
---> Package libxslt.x86_64 0:1.1.26-2.6.amzn1 will be installed
--> Running transaction check
---> Package xorg-x11-xfs.x86_64 1:1.0.2-4.7.amzn1 will be installed
--> Processing Dependency: libXfont >= 0.99.2-3 for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Processing Dependency: ttmkfdir for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Processing Dependency: mkfontdir for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Processing Dependency: mkfontscale for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Processing Dependency: libFS.so.6()(64bit) for package: 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64
--> Running transaction check
---> Package libFS.x86_64 0:1.0.0-3.5.amzn1 will be installed
---> Package libXfont.x86_64 0:1.4.1-2.6.amzn1 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: libXfont-1.4.1-2.6.amzn1.x86_64
---> Package ttmkfdir.x86_64 0:3.0.9-32.1.5.amzn1 will be installed
---> Package xorg-x11-font-utils.x86_64 1:7.2-10.4.amzn1 will be installed
--> Processing Dependency: /usr/bin/pkg-config for package: 1:xorg-x11-font-utils-7.2-10.4.amzn1.x86_64
--> Running transaction check
---> Package libfontenc.x86_64 0:1.0.5-2.6.amzn1 will be installed
---> Package pkgconfig.x86_64 1:0.23-9.1.6.amzn1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
java-1.6.0-sun-fonts i586 1.6.0.19-1jpp /java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586 2.0 M
Installing for dependencies:
chkfontpath x86_64 1.10.1-1.7.amzn1 amzn-main 12 k
libFS x86_64 1.0.0-3.5.amzn1 amzn-main 28 k
libXfont x86_64 1.4.1-2.6.amzn1 amzn-main 135 k
libfontenc x86_64 1.0.5-2.6.amzn1 amzn-main 21 k
libxslt x86_64 1.1.26-2.6.amzn1 amzn-main 551 k
pkgconfig x86_64 1:0.23-9.1.6.amzn1 amzn-main 71 k
ttmkfdir x86_64 3.0.9-32.1.5.amzn1 amzn-main 42 k
xorg-x11-font-utils x86_64 1:7.2-10.4.amzn1 amzn-main 77 k
xorg-x11-xfs x86_64 1:1.0.2-4.7.amzn1 amzn-main 70 k
Transaction Summary
======================================================================================================================================================
Install 10 Package(s)
Total size: 3.0 M
Total download size: 1.0 M
Installed size: 5.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): chkfontpath-1.10.1-1.7.amzn1.x86_64.rpm | 12 kB 00:00
(2/9): libFS-1.0.0-3.5.amzn1.x86_64.rpm | 28 kB 00:00
(3/9): libXfont-1.4.1-2.6.amzn1.x86_64.rpm | 135 kB 00:00
(4/9): libfontenc-1.0.5-2.6.amzn1.x86_64.rpm | 21 kB 00:00
(5/9): libxslt-1.1.26-2.6.amzn1.x86_64.rpm | 551 kB 00:00
(6/9): pkgconfig-0.23-9.1.6.amzn1.x86_64.rpm | 71 kB 00:00
(7/9): ttmkfdir-3.0.9-32.1.5.amzn1.x86_64.rpm | 42 kB 00:00
(8/9): xorg-x11-font-utils-7.2-10.4.amzn1.x86_64.rpm | 77 kB 00:00
(9/9): xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64.rpm | 70 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.1 MB/s | 1.0 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libfontenc-1.0.5-2.6.amzn1.x86_64 1/10
Installing : libXfont-1.4.1-2.6.amzn1.x86_64 2/10
Installing : libFS-1.0.0-3.5.amzn1.x86_64 3/10
Installing : libxslt-1.1.26-2.6.amzn1.x86_64 4/10
Installing : 1:pkgconfig-0.23-9.1.6.amzn1.x86_64 5/10
Installing : 1:xorg-x11-font-utils-7.2-10.4.amzn1.x86_64 6/10
Installing : ttmkfdir-3.0.9-32.1.5.amzn1.x86_64 7/10
Installing : chkfontpath-1.10.1-1.7.amzn1.x86_64 8/10
Installing : 1:xorg-x11-xfs-1.0.2-4.7.amzn1.x86_64 9/10
Installing : java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586 10/10
Installed:
java-1.6.0-sun-fonts.i586 0:1.6.0.19-1jpp
Dependency Installed:
chkfontpath.x86_64 0:1.10.1-1.7.amzn1 libFS.x86_64 0:1.0.0-3.5.amzn1 libXfont.x86_64 0:1.4.1-2.6.amzn1
libfontenc.x86_64 0:1.0.5-2.6.amzn1 libxslt.x86_64 0:1.1.26-2.6.amzn1 pkgconfig.x86_64 1:0.23-9.1.6.amzn1
ttmkfdir.x86_64 0:3.0.9-32.1.5.amzn1 xorg-x11-font-utils.x86_64 1:7.2-10.4.amzn1 xorg-x11-xfs.x86_64 1:1.0.2-4.7.amzn1
Complete!
6. Run the Grinder Console, and it should run w/o errors and it should appear on the remote box
[ec2-user@ip-10-10-6-238 Grinder_Harness]$ ./run_grinder_console_ec2.sh
+ set -v
ROOT=$HOME/Grinder_Harness
+ ROOT=/home/ec2-user/Grinder_Harness
CLASSPATH=$CLASSPATH:$ROOT/grinder-3.4-bin/lib/grinder.jar
+ CLASSPATH=:/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar
CLASSPATH=$CLASSPATH:$ROOT/jython2.5.2-bin/jython.jar
+ CLASSPATH=:/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar:/home/ec2-user/Grinder_Harness/jython2.5.2-bin/jython.jar
java -cp $CLASSPATH net.grinder.Console
+ java -cp :/home/ec2-user/Grinder_Harness/grinder-3.4-bin/lib/grinder.jar:/home/ec2-user/Grinder_Harness/jython2.5.2-bin/jython.jar net.grinder.Console
Good luck !!!
Thanks varipus authors for the ideas and guides
http://www.krisbuytaert.be/blog/node/159
http://track.sipfoundry.org/browse/XX-5738
http://rpm.pbone.net/index.php3/stat/4/idpl/15553152/dir/other/com/java-1.6.0-sun-fonts-1.6.0.19-1jpp.i586.rpm.html
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12749