Hello folks,
I am trying to install GN 2.4 on a remote Ubuntu Server so no GUI
I recive this error running
java -jar gast.jar -setupdb
2009-06-25 22:46:24,684 DEBUG [gast] - - Filling table : IsoLanguagesDes
java.lang.StringIndexOutOfBoundsException: String index out of range: 41
at java.lang.String.substring(String.java:1935)
at org.fao.gast.lib.druid.Codec.decodeString(Codec.java:44)
at org.fao.gast.lib.druid.ImportHandler.handleRow(Import.java:118)
at org.fao.gast.lib.druid.DdfLoader.handleRow(DdfLoader.java:117)
at org.fao.gast.lib.druid.DdfLoader.load(DdfLoader.java:80)
at org.fao.gast.lib.druid.Import.load(Import.java:34)
at org.fao.gast.lib.DatabaseLib.fillTables(DatabaseLib.java:456)
at org.fao.gast.lib.DatabaseLib.fillTables(DatabaseLib.java:428)
at org.fao.gast.lib.DatabaseLib.setup(DatabaseLib.java:109)
at org.fao.gast.cli.createdb.CreateDB.exec(CreateDB.java:39)
at org.fao.gast.cli.Cli.start(Cli.java:59)
at org.fao.gast.boot.Util.boot(Util.java:136)
at org.fao.gast.Gast.main(Gast.java:50)
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation
which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:414)
at java.awt.Frame.<init>(Frame.java:403)
at java.awt.Frame.<init>(Frame.java:368)
at
javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1731)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1673)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:846)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:650)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:621)
at org.fao.gast.boot.Util.showError(Util.java:166)
at org.fao.gast.boot.Util.boot(Util.java:141)
at org.fao.gast.Gast.main(Gast.java:50)
The installation works, but there are no categories in the left menu and
the admin login doesn't work.
On the same machine the 2.2 installation is ok.
Thanks
Luca
--
ME Luca Casagrande
Open Source GIS analyst and developer
Gfosservices SA
http://www.gfosservices.com
skype: lucacasagrande
email: luca.casagrande[at]gmail.com