Quantcast
Channel: Java mon amour
Browsing all 1121 articles
Browse latest View live
↧

Gatling for Scala-based load test

I have just assisted to a presentation of Gatling, a Scala/Akka-based framework to do mainly HTTP load tests. It promises to scale EXTREMELY well, being based on the Actor Model, it doesn't consume 1...

View Article


WebLogic SSL : Cipher not initialized

you can fix it by adding "-Dweblogic.security.SSL.nojce=true" to the JAVA_OPTIONS in the DOMAIN_HOME/bin/setDomainEnv.sh (and restart all). This flag is well explained in the Oracle Doc "What does...

View Article


OSB, read file content as binary response from HTTP

The trick is: Create a "Messaging Service" Business ServiceRequest type = NoneResponse type = BinaryHTTP method = GETthe GET method becomes available only when you choose "request type = None",...

View Article

OSB versions: how to tell which version is installed

in the sbconsole, click on About Service Bus: OSB 11.1.1.5.0: Oracle Service Bus 11.1 Wed Apr 20 04:25:20 EDT 2011 1400736. Oracle Service Bus 11gR1 Copyright © 2004, 2011OSB 11.1.1.7.0: Oracle Service...

View Article

Image may be NSFW.
Clik here to view.

Poll result: I prefer a language which is...

Cool. So feel I. I like the rigorous syntactic and full refactor-ability check that a Statically Typed language offers you. I absolutely need compile-time checks to be as comprehensive as possible....

View Article


git bare repository

mkdir  repo1cd repo1 git initInitialized empty Git repository in C:/pierre/gittests/repo1/.git/this repo1 will contain the .git folder with hooks, info, objects, refsmkdir  barerepo2.gitcd...

View Article

Image may be NSFW.
Clik here to view.

Book: git version control for everyone

The book has the PLUS of being very simply explained (although quite verbosely) and it focuses on some fundamental aspects of GIT which are very useful. The MINUS is that it's for Windows users (they...

View Article

Vagrant, setting multiple IPs on a box

The official doc gives example only for 1 IP: http://docs.vagrantup.com/v2/networking/private_network.htmlVagrant.configure("2") do |config| config.vm.network "private_network", ip: "192.168.50.4"end...

View Article


Really cool "getting started with Scala" videos

I really like the style of this guy: no blabla, straight to the point, show me the code.

View Article


Weird Hiera related error messages in Puppet

A colleague had a YAML file not properly formatted, and he kept getting this error message: Could not retrieve catalog from remote server: Error 400 on SERVER: syntax error on line 16, col -1: `' at...

View Article

sql connect by level

Sometimes it's useful to generate in SQL a series of data responding to a certain criteria. Like "the integers between 0 and N", or "the dates between today and 5 days ago"You can do it with "connect...

View Article

unpack of a OSB domain fails if OSB is not installed (of course...)

The unpack of a OSB domain template will fail with: Required component home not found for component 'oracle.as.jrf' version '11.1.1.7.0'"I think at the origin of the issue is that it's expecting to...

View Article

Image may be NSFW.
Clik here to view.

Surge of site traffic from Ukraine

What is going on.... surely nothing "normal"... anyway our friends from Ukraine are welcome, unless they are part of some paramilitary forces involved in the killing of innocent civilians.

View Article


SQLDeveloper: exporting/importing of CLOB data (XML)

Ok, I know that SQLDeveloper should not be the tool for this job, but it's so convenient, readily available and flexible.One can export to a SQL INSERT file, but the CLOB is not exported. One can use...

View Article

Resistance is futile

Today a friend told me he went for a permanent position in a large, bureaucratic, very political organization. I immediately thought of....The Borg... We are BorgYou will be assimilatedI am Locutus, a...

View Article


Lucene and ElasticSearch clustering

https://blog.liip.ch/archive/2013/07/19/on-elasticsearch-performance.html this is a concise and excellent presentation on clustering and LB https://vimeo.com/26710663 Shay Banon talks about Shards and...

View Article

bash scripts, success and failure

All this might be trivial, but it's good to have it written down somewhere. false and true can be used to simulate a command which failed or succeeded(respectively)falseecho $?1trueecho $?0You can use...

View Article


Image may be NSFW.
Clik here to view.

Cygwin tricks with Ruby

First thing, install the Cygwin version of Ruby:during Cygwin setup, otherwise if you try to run the Windows version of Ruby you will get:C:\Ruby200-x64\bin\ruby.exe: No such file or directory --...

View Article

Image may be NSFW.
Clik here to view.

Book: Storms of My Grandchildren

Author James Hansen does a decent job at unraveling the intricacies of climate science, sometimes one gets lost in the intricacies of the technicalities.... yet especially at the end of the book the...

View Article

Top ten security breaches , by OWASP

Recently a friend of mine took an interview as IT Architect. He was hammered with questions about top security breaches, and they are all listed here on the OWASP site. InjectionBroken Authentication...

View Article
Browsing all 1121 articles
Browse latest View live