Extending WLST with custom Java classes - the case of JSON parsing
I have recently looked into how to "modernize" the WLST Jithon/Python version - still sadly a prehistoric 2.2.1, while the recent-most Python version is 3.4.2 (Oracle.... how about doing something...
View ArticlePoor man's unittests in WLST
Python comes with a very elaborate unittest module , and there is no reason NOT to use it, unless a) you are bound to a VERY old implementation of Python B) you are lazy and stupid like me The good...
View ArticleWLST / Python: execfile versus import
I have lately come across to some usage of "execfile". I had immediately the impression "this stinks, why don't they use import instead?"I also read here that execfile is stinky-stinky. Let's see if...
View ArticleLearning Python
I have been using Python for many years, mainly associated with WLST. As most WLST programmers, I know only the BASIC of the language.... I don't go beyond some essential OO use (yes, I like OO and I...
View ArticleClash of Titans, Ansible vs Puppet vs Salt
I have read this excellent article https://dantehranian.wordpress.com/2015/01/20/ansible-vs-puppet-overview/with part 2...
View Articlebash: run su passing parameters
if you decide to switch to another user to run some commands, remember that whatever variable you have defined so far will NOT be passed to the other user. message="fanculo"echo $messagefanculosu -...
View ArticlePython: tracing value of arguments in functions
If you are lazy (I am) and don't want to write print statements to trace the value of arguments, you can use this trick:...
View ArticleHow to fix (hide) plaster removed by adhesive tape used to hang a poster
If you want to stick a poster to a wall, using adhesive tape is the first line of attack, but it could give nasty surprises if the plaster quality is less than excellent. In my case, removing the...
View ArticleWebLogic deployment with Docker
I am just reblogging this very interesting video (my compliments to Monica Riccelli) about WebLogic deployment with Docker. Amazing how things are moving fast with Docker.... I really wonder if this...
View Article/dev/random story reloaded
If a t3s protocol is used -> SSL requires Random Numbers -> it's important to check that famous /dev/random story. first check if the JVM is using /dev/random or /dev/urandom doing lsof -p PID |...
View Article-Dweblogic.jdbc.ignoreExceptionsWhileCreatingInitialCapacity=true
I have just discovered the existence of this flag -Dweblogic.jdbc.ignoreExceptionsWhileCreatingInitialCapacity=true , whose name is quite self explanatory. However I found no documentation on it. There...
View ArticleStateful REST : it can be done
Even in the SOA Philosophy, mostly based on SOAP over HTTP, a Service can be Stateful: you just need to enable javax.xml.ws.BindingProvider.SESSION_MAINTAIN_PROPERTY on the BindingProviderin order to...
View ArticleOpenJPA will not be used
http://www.artofbi.com/blog/weblogic-log-repeats-openjpa-will-not-be-used-solution/a customer was complaining today about his stdour/stderr file being flooded by the message "OpenJPA will not be used"....
View ArticleLearning Angular 2
I have recently applied for a job in Toptal - just to keep be busy on weekends, after my regular bicycle rides - and they asked me to build a small Web Application. jQuery seemed a bit outdated, so I...
View Articlejava.security.cert.CertificateException: no trust anchor defined
If you see a "java.security.cert.CertificateException: no trust anchor defined", most likely it means that someone has messed up the Certificate, for instance replacing a trusted CA certificate with a...
View ArticleHP Wireless Module not found
All of a sudden my old compaq presario gave the "Wireless Module not found" error on startup. I have googled all kind of solutions (power drain, driver update...), none worked. Then I have watched this...
View Articlekill weblogic on OutOfMemory error
When a weblogic server is hit by an OutOfMemory condition, it often agonizes for a while before finally collapsing. This is not very healthy for the poor beast, and for humanitarian reasons you might...
View ArticleBook: Masterminds of Programming
I thought it was fun to hear the designer of so many different languages discuss on what is important in a language, and which rules to follow when designing a language and when writing an application....
View ArticleBook : Java EE 7 Development with NetBeans 8
Don't expect a highly entertaining narrative in this book, it's simply a collection of examples illustrating the most important features of Netbeans 8 to build various kind of JEE applications,...
View ArticleWebLogic mime mappings
To configure mime-mappings in WebLogic, you have 2 ways. One is to configure the whole domain, with a mimemappings.properties file. This is the entry in config.xml (you can do it in console, domain,...
View Article