Startconsole error - please help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sounds like you running the wrong type of java to call the Management
Console

You have to source the Sun or IBM java to make it run. (IBM works straight 
out of the box, I got Sun's java to work but I had to fiddle with files 
and script to make it work but its been awhile so it could of changed

Do this

java -version

If you see something like this

java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-51)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

You have the wrong type of java (ie gij GNU libgcj)

Find out where you have the Sun or IBM java installed and set the 
variables for it.

(By the way fedora core has java binaries linked in /usr/bin so they are 
always in your default path. Delete them or relink those java links to 
your installation. If you choose to delete them without relinking them 
then you have to add the java binaries to your path)

ie for me I have IBM JAva installed here

/usr/java/IBMJava2-142

but I've sym-link to

/usr/java/jdk

[root at jhett bin]# pwd
/usr/bin
[root at jhett bin]# pwd
/usr/bin
[root at jhett bin]# ls -al |grep -i java
-rwxr-xr-x   1 root root        435 Sep  9  2004 antlr-java
lrwxrwxrwx   1 root root         21 Feb 10  2006 jar -> 
/usr/java/jdk/bin/jar
lrwxrwxrwx   1 root root         22 Feb 10  2006 java -> 
/usr/java/jdk/bin/java
lrwxrwxrwx   1 root root         23 Feb 10  2006 javac -> 
/usr/java/jdk/bin/javac
lrwxrwxrwx   1 root root         25 Feb 10  2006 javadoc -> 
/usr/java/jdk/bin/javadoc
lrwxrwxrwx   1 root root         23 Feb 10  2006 javah -> 
/usr/java/jdk/bin/javah

As you can see I've relink the java binaries to my IBM 
installed java

[root at jhett bin]# java -version
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

Thats IBM java version


Now I think the only other variable to set is JAVA_HOME ie

export JAVA_HOME=/usr/java/jdk

You can verify that it works by typing

env

to see your variables

That you should be able to

cd /opt/fedora-ds
./startconsole

Last time I checked all the locations of the jar files for the console is 
sourced in the startconsole script so you don't have to mess with the 
CLASSPATH variable



On Thu, 3 May 2007, Diwakoe wrote:

> Dear all,
>
> I have fds 1.04 on fedora 6 and running well for 3 month, today I
> shutdown the server for moving into new building. After startup the
> server is running well, but when I running for startconsole I got this
> error message:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/netscape/management/client/console/Console
>
> Is there any hint how to fix this?
>
> Thanks,
> Diwa
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
> !DSPAM:272,46397ec3232021622564235!
>

-- 
Ashley Chew - Systems Administrator
School of Computer Science and Software Engineering
University of Western Australia
Tel: (+61 8) 6488 7082 - Fax: (+61 8) 6488 1089
Ashley[@]csse.uwa.edu.au - http://www.csse.uwa.edu.au/~ashley

"There is no such thing as Fate, Fate is what you make of it!"




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux