Thanks for your reply Alex. I have checked the install.properties and SSL is required on API-M actions.
I tried connecting via https to the web administrator, and also using the crossdomain.xml file as suggested in the Fedora docs but im still getting the same error. Regards, Shaun >>> Alex Rodriguez Lopez <[email protected]> 18/08/2010 8:13 PM >>> https://wiki.duraspace.org/display/FCR30/Fedora+Web+Administrator Read last section > I had some problems too, logging first OK, then getting 401 when > creating objects. > > Try logging into different ports (8080, 8443), protocols (http, https) > and different names/pass (fedoraAdmin, admin). Look into > $FEDORA_HOME/install/install.properties for names. I think this has > something to do with default SSL activation. > > Regards, > > Alex >> Hi >> >> We have a fresh installation of Fedora 3.3 running and I am trying out the >> Web Administrator. I seem to be able to log on fine, however when attempting >> to upload a FOXML record which has been exported from a Fedora 2.2.4 >> repository I get the following error: >> >> Object ingest failed due to: Error (401):<pre> >> >> The output from fedora.log is: >> >> INFO 2010-08-18 02:04:25.440 [http-8080-1] (Cache) Authenticating user >> [fedoraAd >> min] >> INFO 2010-08-18 02:04:26.278 [http-8080-1] (DefaultDOManager) New object PID >> is >> swin:9800 >> INFO 2010-08-18 02:04:26.284 [http-8080-1] (DefaultManagement) Completed >> ingest( >> objectXML, format: info:fedora/fedora-system:FOXML-1.0, encoding: UTF-8, >> newPid: >> true, logMessage: null) >> WARN 2010-08-18 02:04:26.305 [http-8080-1] (FedoraObjectResource) >> Authorization >> failed; unable to fulfill REST API request >> fedora.server.errors.authorization.AuthzDeniedException: >> at >> fedora.server.security.PolicyEnforcementPoint.enforce(PolicyEnforceme >> ntPoint.java:435) >> at >> fedora.server.security.DefaultAuthorization.enforceIngest(DefaultAuth >> orization.java:799) >> at >> fedora.server.management.DefaultManagement.ingest(DefaultManagement.j >> ava:146) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> fedora.server.messaging.NotificationInvocationHandler.invoke(Notifica >> tionInvocationHandler.java:70) >> at $Proxy0.ingest(Unknown Source) >> at >> fedora.server.management.ManagementModule.ingest(ManagementModule.jav >> a:340) >> at >> fedora.server.rest.FedoraObjectResource.createObject(FedoraObjectReso >> urce.java:282) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchP >> rovider$ResponseOutInvoker._dispatch(EntityParamDispatchProvider.java:157) >> at >> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDi >> spatcher.dispatch(ResourceJavaMethodDispatcher.java:67) >> at >> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethod >> Rule.java:124) >> at >> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resourc >> eClassRule.java:71) >> at >> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHa >> ndPathRule.java:111) >> at >> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(R >> ootResourceClassesRule.java:63) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequ >> est(WebApplicationImpl.java:555) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque >> st(WebApplicationImpl.java:514) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque >> st(WebApplicationImpl.java:505) >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(Servlet >> Container.java:359) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:290) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterRestApiFlash.doFilter(Fil >> terRestApiFlash.java:65) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetu >> p.java:234) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetu >> p.java:234) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetu >> p.java:234) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetu >> p.java:234) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetu >> p.java:234) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >> icationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >> ilterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >> alve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >> alve.java:191) >> at >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica >> torBase.java:525) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >> ava:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >> ava:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >> ve.java:109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >> a:293) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >> :849) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >> ss(Http11Protocol.java:583) >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:45 >> 4) >> at java.lang.Thread.run(Thread.java:619) >> >> >> (I am selecting the FOXML 1.0 format) >> >> Thanks for any help. >> >> Regards, >> >> Shaun >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> Fedora-commons-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
