Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1002

error when searching for objects when i log into fedora admin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      fedora 3.4.2

      Description

      Hi,
      I installed fedora 3.4.2, using mysql database, check install properties.
      I can create objects fine in http://localhost:8080/fedora/admin, but when I search for objects I get error in flash error msg: Could not retrieve search results due to: Error (404): fedora-system:ContentModel-3.0

      ERROR LOGS:

      WARN 2011-10-10 17:04:23.127 [http-8080-2] (FedoraObjectSearchResource) Resource not found: fedora-system:ContentModel-3.0; unable to fulfill REST API request
      org.fcrepo.server.errors.ObjectNotInLowlevelStorageException: fedora-system:ContentModel-3.0
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage.retrieve(AkubraLowlevelStorage.java:383) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage.retrieveObject(AkubraLowlevelStorage.java:160) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorageModule.retrieveObject(AkubraLowlevelStorageModule.java:84) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.storage.DefaultDOManager.getReader(DefaultDOManager.java:646) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.search.FieldSearchResultSQLImpl.getObjectFields(FieldSearchResultSQLImpl.java:489) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.search.FieldSearchResultSQLImpl.step(FieldSearchResultSQLImpl.java:401) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.search.FieldSearchSQLImpl.stepAndRemember(FieldSearchSQLImpl.java:352) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.search.FieldSearchSQLImpl.findObjects(FieldSearchSQLImpl.java:321) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.search.FieldSearchSQLModule.findObjects(FieldSearchSQLModule.java:161) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.storage.DefaultDOManager.findObjects(DefaultDOManager.java:1794) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.access.DefaultAccess.findObjects(DefaultAccess.java:708) [fcrepo-server-3.4.2.jar:na]
      at org.fcrepo.server.rest.FedoraObjectSearchResource.searchObjects(FedoraObjectSearchResource.java:72) [fcrepo-server-3.4.2.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_25]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_25]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_25]
      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_25]
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
      at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:66) [fcrepo-server-3.4.2.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
      at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:270) [fcrepo-security-jaas-3.4.2.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) [catalina.jar:na]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na]
      at java.lang.Thread.run(Thread.java:662) [na:1.6.0_25]

      INSTALL PROPERTIES:

      [root@localhost config]# cat /opt/fedora/install/install.properties
      #Install Options
      #Mon Oct 10 14:29:04 EST 2011
      keystore.file=included
      ri.enabled=false
      messaging.enabled=false
      apia.auth.required=false
      database.jdbcDriverClass=com.mysql.jdbc.Driver
      tomcat.ssl.port=8443
      ssl.available=true
      database.jdbcURL=jdbc\:mysql\://localhost/fedora342?useUnicode\=true&characterEncoding\=UTF-8&autoReconnect\=true
      database.password=
      database.mysql.driver=included
      database.username=fedoraAdmin
      fesl.authz.enabled=false
      tomcat.shutdown.port=8005
      deploy.local.services=true
      xacml.enabled=true
      database.mysql.jdbcDriverClass=com.mysql.jdbc.Driver
      tomcat.http.port=8080
      fedora.serverHost=localhost
      database=mysql
      database.driver=included
      fedora.serverContext=fedora
      llstore.type=akubra-fs
      tomcat.home=/opt/fedora/tomcat
      fesl.authn.enabled=true
      database.mysql.jdbcURL=jdbc\:mysql\://localhost/fedora342?useUnicode\=true&characterEncoding\=UTF-8&autoReconnect\=true
      fedora.home=/opt/fedora
      install.type=custom
      servlet.engine=included
      apim.ssl.required=false
      fedora.admin.pass=
      apia.ssl.required=false

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vladimirm Vladimir Markovic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: