How foolish of me. Apparently this error is the result of using the wrong 
username/password combination when logging in to fedora admin.

I will echo an observation made in another mailing list post. It is very 
strange that there is no feedback when an incorrect username/password 
combination is used.
 
Please excuse me,
William Foster


-----Original Message-----
From: Foster, William
Sent: Wed 7/8/2009 12:51 PM
To: [email protected]
Subject: [Fedora-commons-users] SSL Problems?
 
Hello all,

I'm having some trouble configuring an instance of fedora commons 3.2 with SSL 
enabled. I have previous configured instances of fedora commons without SSL 
running under windows XP. The instance I am working on now is on an Xserve 
running OS X and using a seperate install of tomcat 6. When I try to ingest, 
using fedora admin or the demo ingest command, a 401: unauthorized error is 
returned. Additionally, while using the fedora admin GUI to attempt to browse 
the repository, a lengthy error message print to the terminal culminating in a 
401, unauthorized error display. Does anyone have any insight into what might 
be causing this? I assume it has something to do with SSL but the error codes 
dont seem very informative. I have provided some additonal data below and any 
input would be appreciated.

Thanks,
William

The fedora instance was configured as follows during installation:
    *  Install:Custom
    * Fedora Home: /Volumes/data/fedora
    * fedoraAdmin: [PASSWORD REMOVED]
    * Host: localhost
    * Server Context: fedora
    * API-A Authentication: false
    * SSL Availability: true
    * SSL required for API-A: false
    * SSL required for API-M: true
    * Servlet Engine: existingTomcat
    * Tomcat Home: /Volumes/data/share/java/tomcat6
    * Tomcat HTTP Port: 8080
    * Tomcat Shutdown Port: 8005
    * Tomcat HTTPS Port: 8443
    * Keystore File: included
    * Database: mysql
    * Database Driver: include
    * Database User: fedora
    * Database Password: [PASSWORD REMOVED]
    * JDBC URL: default
    * JDBC DriverClass: default
    * XACML Policy: true
    * Enable Resource Index: true
    * Enable Messaging: true
    * Messaging URI: default is vm:(broker:(tcp://localhost:61616))
    * Deploy local services and demos: true
    * Exsiting server.xml: /Volumes/data/share/java/tomcat6/conf/server.xml
    * Example Fedora server.xml: /Volumes/data/fedora/install/server.xml
      Copied fedora server.xml over to tomcat6 

The error message I get in the terminal when attempting to search/browse the 
contents of the repository using the fedora admin gui is as follows:

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (401)Unauthorized
 faultActor: 
 faultNode: 
 faultDetail: 
        {}:return code:  401


<html><head>
      <title>Fedora: 401 Unauthorized</title></head>
   <body>
      <center>
         <table border="0" cellpadding="0" 
cellspacing="0" width="784">
            <tbody><tr>
               <td height="134" valign="top" 
width="141"><img src="/fedora/images/newlogo2.jpg" 
height="134" width="141"></td>
               <td valign="top" width="643">
                  <center>
                     <h2>401 Unauthorized</h2>
                     <h3>Authentication failed</h3>
                  </center>
               </td>
            </tr>
         </tbody></table>
      </center>
   </body></html>

        {http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
        at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at 
fedora.server.access.FedoraAPIABindingSOAPHTTPStub.findObjects(FedoraAPIABindingSOAPHTTPStub.java:658)
        at fedora.client.APIAStubWrapper$7.construct(APIAStubWrapper.java:573)
        at fedora.client.SwingWorker$2.run(SwingWorker.java:131)
        at java.lang.Thread.run(Thread.java:613)
ERROR: org.apache.axis.AxisFault:(401)Unauthorized








------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to