<html><body><div><br></div><div><br>On May 23, 2011, at 11:55 AM, Rich Megginson <rmeggins@redhat.com> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote" bgcolor="#ffffff" text="#000000">
On 05/23/2011 09:51 AM, Michael Pelletier wrote:
<blockquote type="cite">
<div>Hello,<br>
</div>
<div><br>
</div>
<div>I have followed the instructions on
<a class="moz-txt-link-freetext" href="http://directory.fedoraproject.org/wiki/BuildingConsole#Building_Directory_Server_Console_.28fedora-ds-console.29" _mce_href="http://directory.fedoraproject.org/wiki/BuildingConsole#Building_Directory_Server_Console_.28fedora-ds-console.29">http://directory.fedoraproject.org/wiki/BuildingConsole#Building_Directory_Server_Console_.28fedora-ds-console.29</a><br>
</div>
<div><br>
</div>
<div>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:<br>
</div>
<div> "Failed to instantiate Server Object for Administration
Server<br>
</div>
<div>com.netscape.management.admserv.AdminServer cannot be cast to
com.netscape.management.client.topology.IServerObject"<br>
</div>
<div><br>
</div>
<div>Running the console in debug mode gives:<br>
</div>
<div>ClassLoader:
com/netscape/management/client/topology/TopologyResourcePage.class
found in 389-admin-1.1.jar<br>
ClassLoader:
com/netscape/management/client/topology/topology_en_US.properties
NOT in 389-admin-1.1.jar<br>
ClassLoader:
com/netscape/management/client/topology/topology_en.properties
NOT in 389-admin-1.1.jar<br>
ClassLoader:
com/netscape/management/client/topology/topology.properties NOT
in 389-admin-1.1.jar<br>
ClassLoader:
com/netscape/management/admserv/admserv_en_US.properties NOT in
389-admin-1.1.jar<br>
ClassLoader:
com/netscape/management/admserv/admserv_en.properties NOT in
389-admin-1.1.jar<br>
ClassLoader: com/netscape/management/admserv/admserv.properties
NOT in 389-admin-1.1.jar<br>
ClassLoader: :loadClass():name:java.util.Vector<br>
ClassLoader:
:loadClass():name:com.netscape.management.admserv.AdminServer$1<br>
ClassLoader:
:loadClass():loading:com.netscape.management.admserv.AdminServer$1<br>
ClassLoader: com/netscape/management/admserv/AdminServer$1.class
found in 389-admin-1.1.jar<br>
ERROR ServerNode.createServerInstance: could not create
<a class="moz-txt-link-abbreviated" href="mailto:com.netscape.management.admserv.AdminServer@389-admin-1.1.jar@cn=admin-serv-ldap1,cn=389" _mce_href="mailto:com.netscape.management.admserv.AdminServer@389-admin-1.1.jar@cn=admin-serv-ldap1,cn=389">com.netscape.management.admserv.AdminServer@389-admin-1.1.jar@cn=admin-serv-ldap1,cn=389</a>
Administration Server,cn=Server
Group,cn=ldap1.mcna.net,ou=mcna.net,o=NetscapeRoot<br>
Exception: java.lang.ClassCastException:
com.netscape.management.admserv.AdminServer cannot be cast to
com.netscape.management.client.topology.IServerObject<br>
<br>
</div>
<div>Please help!!!<br>
</div>
</blockquote>
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<br>
</div></blockquote><span> </span><br></div><div>Yup I did this. It seems the jar file is missing the netscape java class. I think the problem is in the ant build....<br></div><div><br><blockquote type="cite"><div class="msg-quote" bgcolor="#ffffff" text="#000000"><br>
You can also copy them to ~/.389-console/jars<br>
<blockquote type="cite">
<div>Michael<br>
</div>
<pre>
--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org" _mce_href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users" _mce_href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><div style="width: 0px; height: 0px;"> </div></pre>
</blockquote>
<br>
</div></blockquote></div></div></body></html>