saabye-pedersen.org saabye-pedersen.org - Kim Saabye Pedersen

saabye-pedersen.orgWebsite Profile

Title: Kim Saabye Pedersen
Keywords:
Description:Kim Saabye Pedersen Kim Saabye Pedersen Saturday, April 12, 2014 Spring Boot on OpenShift I have a Spring Boot application that I would like to deploy to OpenShift. Unfortunately the Spring Boot docum
lptelecom.ca is ranked 25408406 in the world (amongst the 40 million domains). A low-numbered rank means that this website gets lots of visitors. This site is relatively popular among users in the united states. It gets 50% of its traffic from the united states .This site is estimated to be worth $2,503. This site has a low Pagerank(0/10). It has 1 backlinks. lptelecom.ca has 43% seo score.

saabye-pedersen.org Information

Website / Domain:saabye-pedersen.org
Website IP Address:172.217.8.179
Domain DNS Server:ns-384.awsdns-48.com,ns-1124.awsdns-12.org,ns-1652.awsdns-14.co.uk,ns-731.awsdns-27.net

saabye-pedersen.org ranks

Alexa Rank:0
EveryoneDomain Rank:0
Google Page Rank:0/10 (Google Pagerank Has Been Closed)

saabye-pedersen.org Traffic & Earnings

Purchase/Sale Value:$0
Daily Revenue:$0
Monthly Revenue:$0
Yearly Revenue:$$0
Daily Unique Visitors:0
Monthly Unique Visitors:0
Yearly Unique Visitors:0

saabye-pedersen.org WebSite Httpheader

StatusCode 200
Vary Accept-Encoding
Transfer-Encoding chunked
Cache-Control private, max-age=0
Content-Type text/html; charset=UTF-8
Server GSE
Date Tue, 16 Oct 2018 21:12:52 GMT

saabye-pedersen.org WebSite Httpheader

Keyword Count Percentage

saabye-pedersen.org Similar Website

Domain WebSite Title
mettesaabye.com Mette Saabye | Mette Saabye
giaz.net Saabye Simonsen
pedersen.se Pedersen
japan-country-manager.com Home - Kim Pedersen - Japan General Manager Business Development Director
kimpfitness.dk Personlig tr?ner Kim Pedersen – Personlig hj?lp til tr?ning og kostplan
isabellepedersen.se Isabelle Pedersen - Isabelle Pedersen
pedersenscience.com Pedersen Science - Pedersen Science
indisk.dk Salon Saabye | Fris?r i Helsinge
kcpedersen.dk K.C. Pedersen
cipedersen.no CI Pedersen
pepedersen.dk Pedersen - www.pepedersen.dk
perlerogutstyr.no Pedersen Smykker
lassepedersen.biz LASSE PEDERSEN
ole-p.dk Ole Pedersen
pedersenassociates.com Pedersen Associates
judypedersen.com Judy Pedersen
ralphpedersen.co.uk Ralph Pedersen
aaronpedersen.co Pedersen Photography

saabye-pedersen.org Alexa Rank History Chart

saabye-pedersen.org aleax

saabye-pedersen.org Html To Plain Text

Kim Saabye Pedersen Kim Saabye Pedersen Saturday, April 12, 2014 Spring Boot on OpenShift I have a Spring Boot application that I would like to deploy to OpenShift. Unfortunately the Spring Boot documentation is silent about OpenShift, although it does contain information about other cloud providers (of course Pivotal's Clound Foundry but also Heroku). This is a how-to on how I deployed my Spring Boot application to OpenShift as a prebuilt WAR file. This entry is pieced together from various resources from the OpenShift and Spring Boot documentation. Spring Boot Configuration General: In the application you need to have a class like the following (note the extends part and the configure method that you don't normally have in Spring Boot - the main method would suffice): @Configuration @EnableAutoConfiguration @EnableMongoRepositories @ComponentScan public class Booter extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources(Booter.class); } public static void main(String[] args) throws Exception { SpringApplication.run(Booter.class, args); } } You also need to add this to your pom.xml: org.springframework.boot spring-boot-starter-tomcat provided For local development I use the console to fire up the application with the maven command: mvn spring-boot:run Read more about the pom.xml changes and the SpringBootServletInitializer here and here. Actuator: I use the actuator plugin in Spring Boot. However, on OpenShift you must rename the /health endpoint (read on to know why). The easiest way to do this is simply to change all actuator endpoints using an application property with a line like this (make an application.properties file and put it in the src/main/resources folder in the application): management.context-path=/manage That will map for instance /health to /manage/health instead. Mongo: To use Mongo you need to use the url, port, user and password given by OpenShift. I use the following bean definition to shift between OpenShift and my test system. @Bean public MongoTemplate mongoTemplate() throws Exception { if (System.getenv("OPENSHIFT_MONGODB_DB_HOST") != null) { LOG.info("Connecting to OpenShift Mongo"); String openshiftMongoDbHost = System.getenv("OPENSHIFT_MONGODB_DB_HOST"); int openshiftMongoDbPort = Integer.parseInt(System.getenv("OPENSHIFT_MONGODB_DB_PORT")); String username = System.getenv("OPENSHIFT_MONGODB_DB_USERNAME"); String password = System.getenv("OPENSHIFT_MONGODB_DB_PASSWORD"); Mongo mongo = new MongoClient(openshiftMongoDbHost, openshiftMongoDbPort); UserCredentials userCredentials = new UserCredentials(username, password); String databaseName = System.getenv("OPENSHIFT_APP_NAME"); MongoDbFactory mongoDbFactory = new SimpleMongoDbFactory(mongo, databaseName, userCredentials); MongoTemplate mongoTemplate = new MongoTemplate(mongoDbFactory); return mongoTemplate; } else { LOG.info("Connecting to test Mongo"); return new MongoTemplate(new SimpleMongoDbFactory(new MongoClient(), "test")); } } OpenShift Application type: I use the Tomcat 7 (JBoss EWS 2.0) cartridge with scaling plus the MongoDB cartridge. I started by checking out the code using git clone, removed the src folder and the pom.xml file (as I am deploying WAR style). The actual deployment is pretty simple. After building with mvn package I copy the generated WAR file to the webapps folder, rename it to ROOT.war as I want it to be mapped to my-app.rhcloud.com (and not my-app.rhcloud.com/some-other-thing). Then I git add, commit and push. That is also described here. HAProxy (scaling): If you use scaling in you application you need to know about HAProxy which monitors you application by calling the / path unless you do something. HAProxy expects a 200 OK HTTP answer back. My app returns 404 when accessing /, hence HAProxy thinks the application is down. 503 is returned for everything except for calls to /health, but more on that later. To fix it, ssh into your app and go to the haproxy folder. Then edit the file conf/haproxy.conf, specifically you need to modify the line shown below (almost at the bottom of the file) to whatever path you want HAProxy to monitor: option httpchk GET / You should probably choose the path carefully and not a path that requires a lot of server power to process as HAProxy polls the path rather often to check the application state. Afterwards do this in the console: bin/control restart to make the change have effect. HAProxy is described here. /health: /health has a special meaning on OpenShift, luckily you have already mapped the /health from Spring Boot actuator to /manage/health. The OpenShift /health mapping is described here. That's all folks. Posted by Unknown at Saturday, April 12, 2014 Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Links to this post Labels: cloud, mongo, nosql, openshift, spring, spring-boot Friday, April 11, 2014 NetBeans NetCAT 8.0 I think that some people thought I was harsh in my entry on NetBeans vs. IntellJ IDEA. As I wrote I actually did a lot work in getting to know the IDEs, especially NetBeans where I joined the NetCAT. Yesterday I got a mail from NetBeans notifying me that some of the bugs I filed were indeed solved in the 8.0 final release. I especially like that 241120 was fixed as it was quite annoying in refactoring. Good job. Dear NetBeans User, In the past you have taken the time to report issues that you encountered while using NetBeans software. A new version (NetBeans 8.0) has just been released,and we'd like to inform you that the following issue(s) you reported have been addressed in the new release: 239915 Unpacking index is extremely slow 240039 Double "Unit tests" folders in New file dialog 240189 [regression] broken "Go To Source" in Find Usages tab 240639 NullPointerException at org.netbeans.modules.web.jsf.editor.actions.NamespaceProcessor.computeImportData 240696 NullPointerException at org.netbeans.modules.web.debug.EngineContextProviderImpl.getDefaultContext 240699 XML gets formatted as HTML in Variables view 241120 Too many return values. 241723 java.io.FileNotFoundException: http://docs.angularjs.org/api/guide/ie Please visit the netbeans.org website to download NetBeans 8.0 and to learn more about the new release. We appreciate your contribution to our efforts to make NetBeans software and features better for all users. And as always, we look forward to your feedback on how we can continue to improve NetBeans.Thank you. The NetBeans Team Posted by Unknown at Friday, April 11, 2014 Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Links to this post Labels: netbeans Looking for a Java Profiler. No IntelliJ IDEA profiler? What to do? I have previously written about NetBeans...

saabye-pedersen.org Whois

Domain Name: SAABYE-PEDERSEN.ORG


The data contained in Everyone.domains, LLC's WhoIs database,
while believed by the company to be reliable, is provided "as is"
with no guarantee or warranties regarding its accuracy. This
information is provided for the sole purpose of assisting you
in obtaining information about domain name registration records.
Any use of this data for any other purpose is expressly forbidden without the prior written
permission of EveryOne.domains, LLC.By submitting an inquiry,
you agree to these terms of usage and limitations of warranty.In particular,
you agree not to use this data to allow, enable, or otherwise make possible,
dissemination or collection of this data, in part or in its entirety, for any
purpose, such as the transmission of unsolicited advertising and
and solicitations of any kind, including spam.You further agree
not to use this data to enable high volume, automated or robotic electronic
processes designed to collect or compile this data for any purpose,
including mining this data for your own personal or commercial purposes.


Please note: the registrant of the domain name is specified
in the "registrant" section.In most cases, Everyone.domains, LLC
is not the registrant of domain names listed in this database.";

For more information on Whois status codes, please visit
https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en