[389-users] Building 389 console

Nathan Kinder nkinder at redhat.com
Mon May 23 18:02:33 UTC 2011


On 05/23/2011 10:56 AM, Michael Pelletier wrote:
>
>
> On May 23, 2011, at 11:55 AM, Rich Megginson <rmeggins at redhat.com> wrote:
>
>> On 05/23/2011 09:51 AM, Michael Pelletier wrote:
>>> Hello,
>>>
>>> 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 at 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....
Take a look at your 389-console shell script that you use to launch 
Console.  Perhaps there's some problem with the classpath in there.
>
>>
>> You can also copy them to ~/.389-console/jars
>>> Michael
>>> --
>>> 389 users mailing list
>>> 389-users at lists.fedoraproject.org
>>> https://admin.fedoraproject.org/mailman/listinfo/389-users
>>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20110523/d9d9d009/attachment.html>


More information about the 389-users mailing list