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

Dedicated to all those who were in love with Obama

sorry for spamming with political messages, but this is just too good to be missed

View Article


weblogic startup.properties

I was trying desperately to pass an argument to the JVM: -Dweblogic.security.SSL.ignoreHostnameVerification=true by setting it in the JAVA_OPTIONS in the DOMAIN_HOME/bin/startManagedWebLogic.sh Much to...

View Article


My first custom Puppet function in Ruby

Here the doc http://docs.puppetlabs.com/guides/custom_functions.htmlI thought this was Rocket Science, but it's quite simple, once you overcome the normal, healthy, instinctive repugnance for a stinky...

View Article

weblogic, difference between Failed Reserve Request Count and Waiting For...

weblogic, difference between Failed Reserve Request Count and Waiting For Connection Failure Total: JDBCDataSourceRuntimeMBean.FailedReserveRequestCountThe cumulative, running count of requests for a...

View Article

Image may be NSFW.
Clik here to view.

Great Java 8 Tutorials

These days everyone is talking about Java 8. Let's be a lemming.By going through the new Java features, I suspect most of them are not really revolutionary, but sure most of them can make the code more...

View Article


Puppet file recurse

to purge or not to purge? to recurse or not to recurse? I have a bunch of files in a mymodule/files/myfiles folder inside the puppet module mymodule. I need to copy them to a target folder. I don't...

View Article

in Puppet (and Linux) every slash counts

I was creating a symbolic link: file { "/opt/oracle/java/" : ensure => link, target =>"/usr/lib/jvm/java-1.6.0-sun.x86_64/", } on a machine where such a link was already defined, but without the...

View Article

Clean Desk Policy

“If a cluttered desk is a sign of a cluttered mind, of what, then, is an empty desk a sign?” ― Albert Einstein Trivias: Italian Dictator Benito Mussolini had a strong policy of clean desk in his office...

View Article


WebLogic: resource [weblogic.jdbc.jta.DataSource] is unavailable

Funnily we see every minute this trace in the logs, after a restart: <BEA-110486><Transaction BEA1-0707A967026BC04A2B95 cannot complete commit processing because resource...

View Article


WebLogic weblogic.security.SSL.ignoreHostnameVerification

I went completely mad chasing why on earth an admin server was starting with weblogic.security.SSL.ignoreHostnameVerification=false, even if all the possible places (startWebLogic.sh,...

View Article

Fail fast shell scripts with set -e

Shell script number one: vi testsete.sh ls /pippols /pappochmod 775 testsete.sh ./testsete.shls: /pippo: No such file or directoryls: /puppo: No such file or directory now let's insert a "set -e" at...

View Article

Getting started with Varnish on RHEL

export http_proxy=http://myusername:mypassword@proxy.acme.com:8080set HTTP_PROXY=http://myusername:mypassword@proxy.acme.com:8080set HTTPS_PROXY=http://myusername:mypassword@proxy.acme.com:8080rpm...

View Article

Gino Vernetto

I have occasionally published material on Wikipedia US, and never had any issue. Whenever I try to do the same on Wikipedia Italy, there is immediately someone who deletes it without really any...

View Article


JKS check expiration date

Use the -v option with the keytool -list command, and look at the "until" field:keytool -keystore /opt/oracle/certs/acme.com.jks -v -listAlias name: acme.comCreation date: Jun 5, 2013Entry type:...

View Article

Image may be NSFW.
Clik here to view.

plantuml : quick UML diagrams (with Eclipse plugin available)

Follow installation instructions here:http://plantuml.sourceforge.net/graphvizdot.htmlyou MUST install Grephvz 2.28 (NOT 2.30, it will not work)I installed to C:\pierre\Graphviz 2.28\Then you must...

View Article


Image may be NSFW.
Clik here to view.

More on UML Modelling with PlantUML

Here an excellent explanation of the different types of dependencies amongst classes.Here are all the sort of relationships you can draw. As a simple reminder, Composition, Aggregation, Dependency,...

View Article

Object Oriented Puppet

One of the most shocking aspects of working with Puppet is that it goes to a great length at providing a High Level Interface to Resources, but it provides literally no facility to abstract access to...

View Article


Image may be NSFW.
Clik here to view.

Book: Puppet Types and Providers

http://shop.oreilly.com/product/0636920026860.doThis is a rather specialist book, but worth reading for all those who use Puppet in a less-than-basic way.It shows the structure of a Puppet type...

View Article

puppet create directory recursively

The whole VERY OLD rant is here  http://projects.puppetlabs.com/issues/86Why on earth in 8 years the Puppet Gods have kept ignoring this very basic and common need, they only know.In a nutshell, I have...

View Article

Image may be NSFW.
Clik here to view.

Book: functional programming in java (Java 8 Lambda)

http://pragprog.com/book/vsjava8/functional-programming-in-java This is one of those rare books who focuses not much on technology, but on methodology, and does it with simple examples that everyone...

View Article
Browsing all 1121 articles
Browse latest View live