On May 23, 2011, at 11:55 AM, Rich Megginson <rmeggins@xxxxxxxxxx> wrote:
On 05/23/2011 09:51 AM, Michael Pelletier wrote: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/javaHello,
I have followed the instructions on http://directory.fedoraproject.org/wiki/BuildingConsole#Building_Directory_Server_Console_.28fedora-ds-console.29
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@xxxxxxxxxxxxxxxxx@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!!!
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@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users