On May 23, 2011, at 11:55 AM, Rich Megginson <rmeggins@redhat.com> wrote:

On 05/23/2011 09:51 AM, Michael Pelletier wrote:
Hello,


However, when I start the 389-conole on a remote server, I can login fine, I click on "Administrative Server" and I get a message:
 "Failed to instantiate Server Object for Administration Server
com.netscape.management.admserv.AdminServer cannot be cast to com.netscape.management.client.topology.IServerObject"

Running the console in debug mode gives:
ClassLoader: com/netscape/management/client/topology/TopologyResourcePage.class found in 389-admin-1.1.jar
ClassLoader: com/netscape/management/client/topology/topology_en_US.properties  NOT in 389-admin-1.1.jar
ClassLoader: com/netscape/management/client/topology/topology_en.properties  NOT in 389-admin-1.1.jar
ClassLoader: com/netscape/management/client/topology/topology.properties  NOT in 389-admin-1.1.jar
ClassLoader: com/netscape/management/admserv/admserv_en_US.properties  NOT in 389-admin-1.1.jar
ClassLoader: com/netscape/management/admserv/admserv_en.properties  NOT in 389-admin-1.1.jar
ClassLoader: com/netscape/management/admserv/admserv.properties  NOT in 389-admin-1.1.jar
ClassLoader: :loadClass():name:java.util.Vector
ClassLoader: :loadClass():name:com.netscape.management.admserv.AdminServer$1
ClassLoader: :loadClass():loading:com.netscape.management.admserv.AdminServer$1
ClassLoader: com/netscape/management/admserv/AdminServer$1.class found in 389-admin-1.1.jar
ERROR ServerNode.createServerInstance: could not create com.netscape.management.admserv.AdminServer@389-admin-1.1.jar@cn=admin-serv-ldap1,cn=389 Administration Server,cn=Server Group,cn=ldap1.mcna.net,ou=mcna.net,o=NetscapeRoot
    Exception: java.lang.ClassCastException: com.netscape.management.admserv.AdminServer cannot be cast to com.netscape.management.client.topology.IServerObject

Please help!!!
Not sure if regular ant install does this, but the 389-ds* and 389-admin* jar files have to be installed in /usr/share/dirsrv/html/java
 
Yup I did this. It seems the jar file is missing the netscape java class. I think the problem is in the ant build....


You can also copy them to ~/.389-console/jars
Michael
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users