Skip to content

Instantly share code, notes, and snippets.

View gregjan's full-sized avatar

Gregory Jansen gregjan

View GitHub Profile
@gregjan
gregjan / gist:a1f6cfdad20cfb7a48b64c4eaa1b370f
Created March 12, 2019 22:45
trellis log debugging binary GET 500
DEBUG [default task-134] 2019-03-12 21:25:02,218 CassandraResourceService.java:149 - Retrieving: <trellis:data/srv/ciber/Transfer+Notes/nara1_vault10/National_Archives/Federal_Records/RG+255+-+Records+of+the+National+Aeronautics+and+Space+Administration/EOS+Data+Files/Crystal+Dynamics/pub/slr/slreport/2000> at 2019-03-12T21:25:02.218Z
DEBUG [default task-134] 2019-03-12 21:25:02,219 CassandraResourceService.java:149 - Retrieving: <trellis:data/srv/ciber/Transfer+Notes/nara1_vault10/National_Archives/Federal_Records/RG+255+-+Records+of+the+National+Aeronautics+and+Space+Administration/EOS+Data+Files/Crystal+Dynamics/pub/slr/slreport/2000/fudge2> at 2019-03-12T21:25:02.219Z
DEBUG [pool-18-thread-1784] 2019-03-12 21:25:02,223 CassandraResourceService.java:119 - Resource was not found
DEBUG [pool-18-thread-1785] 2019-03-12 21:25:02,225 CassandraResourceService.java:119 - Resource was not found
DEBUG [pool-18-thread-1785] 2019-03-12 21:25:02,227 PutHandler.java:154 - Setting resource as http://ciber-vs1.umd.edu:10
@gregjan
gregjan / console.output
Created November 27, 2018 18:21
running with jboss logging parameter
jansen@X1:~/git/Drastic/trellis-cassandra/webapp/target$ java -Dlogback.configurationFile=../src/test/resources/logback-test.xml -Dorg.jboss.logging.provider=slf4j -jar webapp-0.0.1-SNAPSHOT-hollow-thorntail.jar webapp-0.0.1-SNAPSHOT.war
2018-11-27 13:09:25,504 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Bean Validation - STABLE io.thorntail:bean-validation:2.2.1.Final
2018-11-27 13:09:25,517 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Transactions - STABLE io.thorntail:transactions:2.2.1.Final
2018-11-27 13:09:25,518 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI Configuration - STABLE io.thorntail:cdi-config:2.2.1.Final
2018-11-27 13:09:25,518 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Elytron - STABLE io.thorntail:elytron:2.2.1.Final
2018-11-27 13:09:25,518 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: JAX-RS -
@gregjan
gregjan / logback-test.xml
Created November 26, 2018 18:12
modified logback config
<configuration debug="false">
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
<property name="log.dir" value="${project.build.directory}/logs"/>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.dir}/system.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<fileNamePattern>${log_dir}/system.log.%i.zip</fileNamePattern>
@gregjan
gregjan / console.log
Created November 26, 2018 18:10
thorntail startup with C* available
ciber-vs1:testbed$ docker service logs -f teststack_trellis-cassandra
[email protected] | 2018-11-26 16:51:08,560 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Bean Validation - STABLE io.thorntail:bean-validation:2.2.1.Final
[email protected] | 2018-11-26 16:51:08,569 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Transactions - STABLE io.thorntail:transactions:2.2.1.Final
[email protected] | 2018-11-26 16:51:08,569 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI Configuration - STABLE io.thorntail:cdi-config:2.2.1.Final
[email protected] | 2018-11-26 16:51:08,569 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Elytron - STABLE io.thorntail:elytron:2.2.1.Final
teststack_trellis-
@gregjan
gregjan / console.log
Created November 26, 2018 18:06
thorntail startup with DEBUG levels
jansen@X1:~/git/Drastic/trellis-cassandra/webapp/target$ java -Dlogback.configurationFile=../src/test/resources/logback-test.xml -jar webapp-0.0.1-SNAPSHOT-hollow-thorntail.jar webapp-0.0.1-SNAPSHOT.war
2018-11-26 13:04:19,906 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Bean Validation - STABLE io.thorntail:bean-validation:2.2.1.Final
2018-11-26 13:04:19,918 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Transactions - STABLE io.thorntail:transactions:2.2.1.Final
2018-11-26 13:04:19,918 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI Configuration - STABLE io.thorntail:cdi-config:2.2.1.Final
2018-11-26 13:04:19,919 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Elytron - STABLE io.thorntail:elytron:2.2.1.Final
2018-11-26 13:04:19,919 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: JAX-RS - STABLE io.thorntail:jaxrs
@gregjan
gregjan / console.log
Created November 26, 2018 17:46
trellis startup issue
jansen@X1:~/git/Drastic/trellis-cassandra/webapp/target$ java -jar webapp-0.0.1-SNAPSHOT-hollow-thorntail.jar webapp-0.0.1-SNAPSHOT.war
2018-11-26 12:39:21,955 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Bean Validation - STABLE io.thorntail:bean-validation:2.2.1.Final
2018-11-26 12:39:21,968 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Transactions - STABLE io.thorntail:transactions:2.2.1.Final
2018-11-26 12:39:21,968 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI Configuration - STABLE io.thorntail:cdi-config:2.2.1.Final
2018-11-26 12:39:21,968 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Elytron - STABLE io.thorntail:elytron:2.2.1.Final
2018-11-26 12:39:21,969 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: JAX-RS - STABLE io.thorntail:jaxrs:2.2.1.Final
2018-11-26 12:39:21,969 INFO [org.wildfly.swarm] (mai
@gregjan
gregjan / get request #1
Created September 28, 2018 18:21
curl -H "Accept: application/rdf+xml" "http://localhost:8080"
trellis-cassandra_1 | 2018-09-28 18:16:45,726 ERROR [io.undertow.request] (default I/O-5) UT005071: Undertow request failed HttpServerExchange{ GET / request {Accept=[application/rdf+xml], User-Agent=[curl/7.58.0], Host=[localhost:8080]} response {}}: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
trellis-cassandra_1 | at java.lang.String.substring(String.java:1931)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatch.<init>(ServletPathMatch.java:47)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.handleMatch(ServletPathMatchesData.java:91)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:75)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:151)
trellis-cas
trellis-cassandra_1 | 2018-09-27 18:48:00,931 ERROR [stderr] (main) org.wildfly.swarm.container.DeploymentException: org.wildfly.swarm.container.DeploymentException: THORN0004: Deployment failed: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"webapp.war\".WeldStartService" => "Failed to start service
trellis-cassandra_1 | 2018-09-27 18:48:00,931 ERROR [stderr] (main) Caused by: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
trellis-cassandra_1 | 2018-09-27 18:48:00,931 ERROR [stderr] (main) Exception 0 :
trellis-cassandra_1 | 2018-09-27 18:48:00,932 ERROR [stderr] (main) org.apache.tamaya.ConfigException: Cannot resolve any of the possible configuration keys: [cassandra.contactAddress]. Please provide one of the given keys with a value in your configuration sources.
trellis-cassandra_1 | 2018-09-27 18:48:00,932 ERROR [stderr] (main) at org.apache.tamaya.cdi.TamayaCDIInjectionExtension.retrieveTypes(TamayaCDIInjectionExtension.java:106)
trellis-cassandr
select ?label ?name ?bio ?id {
?id a gvp:PersonConcept;
gvp:agentTypePreferred|(gvp:agentTypePreferred/gvp:broaderExtended) aat:300025103;
gvp:prefLabelGVP [xl:literalForm ?name];
gvp:prefLabelGVP|xl:altLabel [xl:literalForm ?label];
foaf:focus/gvp:biographyPreferred [
schema:description ?bio;
gvp:estStart ?birth]
filter (?birth <= "1939"^^xsd:gYear)
} ORDER BY ?label
polyglot_1 | [Mon Mar 21 18:07:06 2016] [restlet]: Temporarily hosting file "test.jpg" for 172.17.0.1 at http://172.17.0.5:8184/file/test.jpg
polyglot_1 | [Mon Mar 21 18:07:06 2016] [restlet]: 172.17.0.1 requesting http://172.17.0.5:8184/file/test.jpg->png ...
polyglot_1 | [Mon Mar 21 18:07:06 2016] [steward]: Searching for conversion paths for http://172.17.0.5:8184/file/test.jpg->png
polyglot_1 | [Mon Mar 21 18:07:06 2016] [steward] [1]: Found path for http://172.17.0.5:8184/file/test.jpg->png, submitting as job-1
mongo_1 | 2016-03-21T18:07:06.205+0000 I NETWORK [initandlisten] connection accepted from 172.17.0.5:37970 #2 (2 connections now open)
polyglot_1 | [Mon Mar 21 18:07:06 2016] [restlet] [1]: 172.17.0.1 request for http://172.17.0.5:8184/file/test.jpg->png will be at http://localhost:8184/file/1_test.png
polyglot_1 | [Mon Mar 21 18:07:08 2016] [steward] [1]: Submitting job-1's next step, test.jpg->png via ImageMagick
exampleconverter_1 | [M