Skip to content

Instantly share code, notes, and snippets.

@yulgit1
yulgit1 / gist:8f88771f9fa800b48010
Created June 6, 2014 20:44
indexer solr logs (but nothing in the index)
DEBUG 15:25:26.970 (IndexerGroup) Received message: ID:systems28a-57239-1402080605875-3:1:1:1:202
DEBUG 15:25:26.971 (IndexerGroup) Discovered id: /cityOfHeavenlyFire in message.
DEBUG 15:25:26.971 (IndexerGroup) Discovered event type: http://fedora.info/definitions/v4/repository#NODE_ADDED,http://fedora.info/definitions/v4/repository#PROPERTY_ADDED in message.
DEBUG 15:25:26.971 (IndexerGroup) Discovered baseURL: http://localhost:8080/rest in message.
DEBUG 15:25:26.971 (IndexerGroup) Discovered properties: dc:description,jcr:lastModifiedBy,jcr:created,dc:subject,jcr:createdBy,dc:creator,jcr:uuid,rdf:type,indexing:hasIndexingTransformation,jcr:mixinTypes,dc:title,jcr:lastModified,jcr:primaryType in message.
DEBUG 15:25:26.971 (IndexerGroup) It is false that this is a removal operation.
DEBUG 15:25:26.971 (RdfRetriever) Retrieving RDF content from: http://localhost:8080/rest/cityOfHeavenlyFire...
DEBUG 15:25:26.986 (IndexerGroup) Resource: http://localhost:8080/rest/cityOfHeavenlyFire retrieved with indexable
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] fcrepo-jms-indexer-pluggable
[INFO] fcrepo-jms-indexer-core
[INFO] fcrepo-jms-indexer-webapp
[INFO] fcrepo-jms-indexer-elasticsearch
[INFO]
[INFO] ------------------------------------------------------------------------
INFO: Pausing ProtocolHandler ["http-apr-8080"]
Jun 04, 2014 3:06:34 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-apr-8009"]
Jun 04, 2014 3:06:34 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jun 04, 2014 3:06:34 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/fcrepo-webapp-4.0.0-alpha-6-SNAPSHOT] appears to have started a thread named [modeshape-stats-2-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Jun 04, 2014 3:06:34 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/fcrepo-webapp-4.0.0-alpha-6-SNAPSHOT] appears to have started a thread named [TxCleanupService,FedoraRepository,local] but has failed to stop it. This is very likely to create a memory leak.
Jun 04, 2014 3:06:34 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
@yulgit1
yulgit1 / gist:da2d28450f5585ccf486
Created June 3, 2014 18:52
tomcat 7 fcrepo4 deployment
Jun 03, 2014 2:39:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.
Jun 03, 2014 2:39:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jun 03, 2014 2:39:49 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
Jun 03, 2014 2:39:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jun 03, 2014 2:39:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
@yulgit1
yulgit1 / gist:9652345
Created March 19, 2014 22:00
can't add access roles to node in filesystem connector
curl -X POST -H "Content-Type: application/json" --data-binary "@reader_
role.txt" "http://testadmin:password@localhost:8080/rest/auth/fcr:accessroles"
reader_role.txt
{"testuser":["reader"]}
DEBUG 17:44:49.063 (SessionFactory) Returning an authenticated session in the default workspace
DEBUG 17:44:49.063 (ServletContainerAuthenticationProvider) in authenticate: org.modeshape.jcr.api.ServletCredentials@62d83ce1; FAD: org.fcrepo.auth.roles.basic.BasicRolesAuthorizationDelegate@a5a0ef3
DEBUG 17:44:49.095 (AccessRoles) POST Received request param: (POST /rest/auth/fcr:accessroles)@1896334181 org.eclipse.jetty.server.Request@7107c365
DEBUG 17:44:49.095 (FedoraFileSystemConnector) Getting Federated document: /