Bug 208601 - Unable to connect to the admin server
Summary: Unable to connect to the admin server
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: 389
Classification: Retired
Component: Directory Console
Version: 1.0.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Orla Hegarty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-29 15:40 UTC by gangloff
Modified: 2007-04-18 17:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-09 22:33:39 UTC
Embargoed:


Attachments (Terms of Use)

Description gangloff 2006-09-29 15:40:59 UTC
Description of problem:
I have installed Fedora Directory Server on Fedora CORE 5. Everything is
correct, except when I type the following command:

./startconsole -u admin -a http://pc-201.cesr.fr:10320

The Fedora Management console login is correctly displayed, but
I get the following message :
Exception in thread "http://pc-201.cesr.fr:10320/"
java.lang.UnsupportedOperationException: Thread.stop unimplemented
   at java.lang.Thread.stop (libgcj.so.7)
   at java.lang.Thread.stop (libgcj.so.7)
   at com.netscape.management.client.comm.HttpChannel.close (Unknown Source)
   at com.netscape.management.client.comm.CommManager.closeChannel (Unknown Source)
   at com.netscape.management.client.comm.HttpChannel.kill (Unknown Source)
   at com.netscape.management.client.comm.HttpChannel.run (Unknown Source)
   at java.lang.Thread.run (libgcj.so.7)

and a message in a pop-up window:
Cannot logon because of an incorrect User ID incorrect passwd or Directory problem
HTTP Exception
Response: HTTP/1.1 401 Authorization Required 
Status 401
URL: http://pc-201.cesr.fr:10320/admin-serv/authenticate



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.rpm -ivh fedora-ds-1.0.2-1.FC5.i386.opt.rpm
2./opt/fedora-ds/setup/setup
3../startconsole -u admin -a http://pc-201.cesr.fr:10320/
  
Actual results:
See above

Expected results:
The console window should be displayed

Additional info:

Comment 1 Rich Megginson 2006-09-29 16:41:33 UTC
You have to use Sun or IBM java.  gcj is not quite up to the task of running the
console yet.  See 
http://directory.fedora.redhat.com/wiki/Install_Guide#Java_is_required_for_the_console


Comment 2 gangloff 2006-10-02 09:27:07 UTC
(In reply to comment #1)
> You have to use Sun or IBM java.  gcj is not quite up to the task of running the
> console yet.  See 
>
http://directory.fedora.redhat.com/wiki/Install_Guide#Java_is_required_for_the_console
> 

I Do use the Sun JRE ( j2re1.4.2_12 )
JAVA_HOME=/usr/java/j2re1.4.2_12

Comment 3 Rich Megginson 2006-10-02 13:19:40 UTC
You can use Sun JRE.  You can also use IBM JRE.  Make sure the java command is
in your PATH.

Comment 4 gangloff 2006-10-02 13:27:19 UTC
(In reply to comment #3)
> You can use Sun JRE.  You can also use IBM JRE.  Make sure the java command is
> in your PATH.

Is'nt it enough to set JAVA_HOME  ie "export JAVA_HOME=/usr/java/j2re1.4.2_12" ?

Comment 5 Rich Megginson 2006-10-02 14:28:20 UTC
No.  You also have to make sure the correct version of java is in your PATH.


Note You need to log in before you can comment on or make changes to this bug.