This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.gaptap.bamboo.cloudfoundry.org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of org.gaptap.bamboo.cloudfoundry.org.springframework.security.oauth2.common.OAuth2AccessToken, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information | |
at [Source: org.apache.http.conn.EofSensorInputStream@2e5dcc38; line: 1, column: 1]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.gaptap.bamboo.cloudfoundry.org.springframework.security.oauth2.common.OAuth2AccessToken, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information | |
at [Source: org.apache.http.conn.EofSensorInputStream@2e5dcc38; line: 1, column: 1] | |
at org.gaptap.bamboo.cloudfoundry.org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.readJavaTyp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dimension: Application with Spring Data (SD) REST and Spring MVC | |
# SD REST offers DELETE via | |
DELETE | |
http://horst:8080/entity/239892389239823 | |
# Sometime CUSTOM DELETES are necessary. E.g. for BULK operations (DELETE in this case). SD REST is not able to map those | |
# operations automatically and expose them. | |
# The way to go though, is through usage of Spring MVC Controllers. This may be done with a custom Mapping of the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services.factory('camera', ['$rootScope', '$q', 'ENV', function($rootScope, $q, ENV) { | |
return { | |
getPicture: function(options, fromLibrary) { | |
// init $q | |
var deferred = $q.defer(); | |
if (ENV.browser) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Downloaded app package (48M) | |
-----> Downloaded app buildpack cache (77M) | |
-----> Java Buildpack Version: bda9e51 | https://github.com/cloudfoundry/java-buildpack.git#bda9e51 | |
-----> Downloading Open Jdk JRE 1.8.0_20 from https://download.run.pivotal.io/openjdk/lucid/x86_64/openjdk-1.8.0_20.tar.gz (found in cache) | |
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.5s) | |
-----> Downloading Spring Auto Reconfiguration 1.4.0_RELEASE from https://download.run.pivotal.io/auto-reconfiguration/auto-reconfiguration-1.4.0_RELEASE.jar (found in cache) | |
Modifying /WEB-INF/web.xml for Auto Reconfiguration | |
-----> Downloading Tomcat Instance 7.0.55 from https://download.run.pivotal.io/tomcat/tomcat-7.0.55.tar.gz (found in cache) | |
Expanding Tomcat to .java-buildpack/tomcat (0.2s) | |
-----> Downloading Tomcat Lifecycle Support 2.2.0_RELEASE from https://download.run.pivotal.io/tomcat-lifecycle-support/tomcat-lifecycle-support-2.2.0_RELEASE.jar (found in cache) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api_templates: | |
- name: cloud_controller_ng | |
release: (( meta.release.name )) | |
- name: metron_agent | |
release: (( meta.release.name )) | |
api_worker_templates: | |
- name: cloud_controller_worker | |
release: (( meta.release.name )) | |
- name: metron_agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cf push | |
Using manifest file /Users/userOne/Development/dev/web/manifest.yml | |
Updating app web in org demo / space development as admin... | |
OK | |
Using route web.X.X.X.X.xip.io | |
Uploading web... | |
Uploading app files from: /Users/userOne/Development/dev/web/target/web.war | |
Uploading 1.9M, 339 files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps auxww | grep deaagent | |
root 1879 0.0 0.1 338816 8460 ? S<l 06:47 0:02 /var/vcap/packages/dea_logging_agent/deaagent --config /var/vcap/jobs/dea_logging_agent/config/dea_logging_agent.json | |
root 5000 0.0 0.0 10440 928 pts/1 S+ 08:30 0:00 grep --color=auto deaagent | |
root@7a996ffd-d7bf-48ec-91a5-d3de26c8fdc0:/var/vcap/bosh_ssh/bosh_wciuh7bm5# strace -p 1879 | |
Process 1879 attached | |
futex(0xaf3ae0, FUTEX_WAIT, 0, NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/vcap/sys/log/ | |
root@7a996ffd-d7bf-48ec-91a5-d3de26c8fdc0:/var/vcap/sys/log# ls | |
compilation dea_logging_agent dea_next metron_agent warden | |
dea_ctl.err.log dea_logging_agent_ctl.err.log dir_server_ctl.err.log metron_agent_ctl.err.log warden_ctl.err.log | |
dea_ctl.log dea_logging_agent_ctl.log dir_server_ctl.log metron_agent_ctl.log warden_ctl.log | |
root@7a996ffd-d7bf-48ec-91a5-d3de26c8fdc0:/var/vcap/sys/log# cat *.log | |
------------ STARTING dea_ctl at Fri Sep 5 06:47:02 UTC 2014 -------------- | |
------------ STARTING dea_ctl at Fri Sep 5 06:47:02 UTC 2014 -------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource_pools: | |
- name: small_z1 | |
network: cf1 | |
size: (( auto )) | |
stemcell: (( meta.stemcell )) | |
cloud_properties: | |
instance_type: m1.small | |
- name: small_z2 | |
network: cf2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Entity struct { | |
map[string]struct { } | |
} |