Francesco Zanni
2006-Mar-08 15:44 UTC
[Fedora-directory-users] After upgrading for 1.0.1 to 1.0.2 Console don''t start
Hi, I''m currently evaluating FDS to use it in our environment. I was using FDS 1.0.1 with full success, but after upgrading it to 1.0.2 the Admin Console don''t start... I''m using Fedora core 4 on an Intel machine with JRE 1.4.2_10 When I start the console this is the result: GC Warning: Out of Memory! Returning NIL! Exception in thread "main" java.lang.OutOfMemoryError <<No stacktrace available>> I tried to increase the java memory pool in the startconsole script (-mx128m instead of 64) but the result is the following: Exception in thread "main" java.lang.NullPointerException at java.util.Hashtable.put(java.lang.Object, java.lang.Object) (/usr/lib/libgcj.so.6.0.0) at javax.swing.UIDefaults.putDefaults(java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0) at com.netscape.management.nmclf.SuiLookAndFeel.initComponentDefaults(javax.swi ng.UIDefaults) (Unknown Source) at com.netscape.management.nmclf.SuiLookAndFeel.getDefaults() (Unknown Source) at javax.swing.UIManager.getDefaults() (/usr/lib/libgcj.so.6.0.0) at javax.swing.UIManager.getUI(javax.swing.JComponent) (/usr/lib/libgcj.so.6.0.0) at javax.swing.JPanel.updateUI() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) (/usr/lib/libgcj.so.6.0.0) at javax.swing.JPanel.JPanel() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JRootPane.createGlassPane() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JRootPane.getGlassPane() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JRootPane.JRootPane() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JFrame.createRootPane() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JFrame.getRootPane() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JFrame.frameInit() (/usr/lib/libgcj.so.6.0.0) at javax.swing.JFrame.JFrame() (/usr/lib/libgcj.so.6.0.0) at com.netscape.management.client.console.Console.Console(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) (Unknown Source) at com.netscape.management.client.console.Console.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) Why this happens ? Thanks a lot in advance. Cheers Francesco Zanni CSP SpA Tel. +39 02 36575509 Fax. +39 02 36575599 E-mail fzanni@cspnet.it Web www.cspnet.it
Nathan Kinder
2006-Mar-08 16:03 UTC
Re: [Fedora-directory-users] After upgrading for 1.0.1 to 1.0.2 Console don''t start
Francesco Zanni wrote:> Hi, > > I''m currently evaluating FDS to use it in our environment. > I was using FDS 1.0.1 with full success, but after upgrading it to > 1.0.2 the Admin Console don''t start... > I''m using Fedora core 4 on an Intel machine with JRE 1.4.2_10 >FC4 comes with GCJ in /usr/bin/java. The Console does not work with GCJ out of the box. You need to ensure that the "java" executable that you want to use comes first in your PATH. -NGK> When I start the console this is the result: > > GC Warning: Out of Memory! Returning NIL! > Exception in thread "main" java.lang.OutOfMemoryError > <<No stacktrace available>> > > I tried to increase the java memory pool in the startconsole script > (-mx128m instead of 64) but the result is the following: > > Exception in thread "main" java.lang.NullPointerException > at java.util.Hashtable.put(java.lang.Object, java.lang.Object) > (/usr/lib/libgcj.so.6.0.0) > at javax.swing.UIDefaults.putDefaults(java.lang.Object[]) > (/usr/lib/libgcj.so.6.0.0) > at > com.netscape.management.nmclf.SuiLookAndFeel.initComponentDefaults(javax.swing.UIDefaults) > (Unknown Source) > at com.netscape.management.nmclf.SuiLookAndFeel.getDefaults() > (Unknown Source) > at javax.swing.UIManager.getDefaults() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.UIManager.getUI(javax.swing.JComponent) > (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JPanel.updateUI() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) > (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JPanel.JPanel() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JRootPane.createGlassPane() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JRootPane.getGlassPane() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JRootPane.JRootPane() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JFrame.createRootPane() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JFrame.getRootPane() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JFrame.frameInit() (/usr/lib/libgcj.so.6.0.0) > at javax.swing.JFrame.JFrame() (/usr/lib/libgcj.so.6.0.0) > at > com.netscape.management.client.console.Console.Console(java.lang.String, > java.lang.String, java.lang.String, java.lang.String, > java.lang.String, java.lang.String) (Unknown Source) > > at > com.netscape.management.client.console.Console.main(java.lang.String[]) > (Unknown Source) > at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) > at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) > > Why this happens ? > Thanks a lot in advance. > > Cheers > > Francesco Zanni > CSP SpA > Tel. +39 02 36575509 > Fax. +39 02 36575599 > E-mail fzanni@cspnet.it > Web _www.cspnet.it_ <file://www.cspnet.it> > > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
David Hollis
2006-Mar-08 18:50 UTC
Re: [Fedora-directory-users] After upgrading for 1.0.1 to 1.0.2 Console don''t start
On Wed, 2006-03-08 at 08:03 -0800, Nathan Kinder wrote:> Francesco Zanni wrote: > > > Hi, > > > > I''m currently evaluating FDS to use it in our environment. > > I was using FDS 1.0.1 with full success, but after upgrading it to > > 1.0.2 the Admin Console don''t start... > > I''m using Fedora core 4 on an Intel machine with JRE 1.4.2_10 > > > FC4 comes with GCJ in /usr/bin/java. The Console does not work with GCJ > out of the box. You need to ensure that the "java" executable that you > want to use comes first in your PATH.I seem to have had pretty good success using the jpackage.org Java RPMS (well, nosrc.rpms) to package up Suns 1.5.0 Java and it works fine with FDS. It puts all of the Java bits in the right places, and uses alternatives to allow you select between GCJ, Sun, IBM, etc. And it plays nice with the system and dependencies. -- David Hollis <dhollis@davehollis.com>
Les Mikesell
2006-Mar-08 19:57 UTC
Re: [Fedora-directory-users] After upgrading for 1.0.1 to 1.0.2 Console don''t start
On Wed, 2006-03-08 at 12:50, David Hollis wrote:> > > > > FC4 comes with GCJ in /usr/bin/java. The Console does not work with GCJ > > out of the box. You need to ensure that the "java" executable that you > > want to use comes first in your PATH. > > I seem to have had pretty good success using the jpackage.org Java RPMS > (well, nosrc.rpms) to package up Suns 1.5.0 Java and it works fine with > FDS. It puts all of the Java bits in the right places, and uses > alternatives to allow you select between GCJ, Sun, IBM, etc. And it > plays nice with the system and dependencies.Do you have a good starting point for documentation on setting this up? There is so much stuff on jpackage.org I''ve had trouble finding it. -- Les Mikesell lesmikesell@gmail.com
Alex
2006-Mar-08 22:16 UTC
R: [Fedora-directory-users] After upgrading for 1.0.1 to 1.0.2Console don''t start
> -----Messaggio originale----- > D > > > FC4 comes with GCJ in /usr/bin/java. The Console does > not work with > > > GCJ out of the box. You need to ensure that the "java" > executable > > > that you want to use comes first in your PATH. > > > > I seem to have had pretty good success using the jpackage.org Java > > RPMS (well, nosrc.rpms) to package up Suns 1.5.0 Java and it works > > fine with FDS. It puts all of the Java bits in the right > places, and > > uses alternatives to allow you select between GCJ, Sun, > IBM, etc. And > > it plays nice with the system and dependencies. > > Do you have a good starting point for documentation on > setting this up? There is so much stuff on jpackage.org I''ve > had trouble finding it. >After my trouble with java (solved....thanks to all)...I founded this link.... http://fedoranews.org/mediawiki/index.php/JPackage_Java_for_FC4 ...following this tutorial every trouble with java shoul be resolved Regards Alex