Installing git on Ubuntu
"apt-get install git" not necessarily will work, especially if you are behind a proxy. This is how I have done it: sudo su - root export http_proxy=http://myusername:mypassword@myproxyhost:myproxyport...
View ArticleGroovy: parse a file line by line, split, sort unique list of words
I know, in bash this would be a one liner... however when things become more complicated, your bash code becomes hell, while Groovy maintains its readability print "Hello, welcome to the WordParser...
View ArticleUseful tips to install Firefox on the company's laptop
You are behind a firewall, which occasionally could prevent you from installing Flash Player. No worries: download the whole offline installer here and be happy. However it still requires admin rights,...
View ArticleCharting infrastructure with Graphite
Graphite is a metrics collecting and charting engine, it seems really well done (in Python!) and with excellent performance. One can use it with collectd to chart CPU usage, disk, memory etc....
View ArticleThe long struggle with Eclipse Subclipse plugin
I had to change password in SVN, and the new password was not being saved in svn.simple. For every operation I get the username/password popup. Running me crazy. Googling, I find this article, so I do...
View ArticleOSB and OWSM Policy "not supported"
We have some OSB Proxy Services with OWMS policies attached. When deploying some services, the error message "[OSB Security - OWSM:387177]OWSM Policy oracle/wss_saml_or_username_token_service_policy is...
View ArticleOWSM policies: username is not preserved upon import of OSB project in Eclipse
I am not sure this restriction is documented. I have searched in Oracle Support and I could only find this: Import Policies in OWSM 11g Using a User without Admin Rights (Doc ID 1208863.1)"Is it...
View ArticleInstalling puppet-lint on your Vagrant VirtualBox
BEFORE you commit your puppet stuff, you better "lint" it :http://rubydoc.info/gems/puppet-lint/0.3.2/framesgem install puppet-lint Although there are ways to install a gem offline, it's a lot easier...
View ArticleWebLogic: how to find JDBCDriver version for oracle.jdbc.OracleDriver
These ways don't use the ACTUAL driver being used by WebLogic.You can simply run WLST, connect(....) to a Managed Server, serverRuntime()cd ('/JDBCServiceRuntime/' + msname +...
View ArticleHow to return a default value if lookup fails on a table
given this table: CREATE TABLE "ACME_ERRORCODES" ( "ERRORCODE" VARCHAR2(100 BYTE), "ISRETRIABLE" NUMBER, "ISCUSTOM" NUMBER ) ; if you want to return a default value 0 for ISRETRIABLE in case the...
View ArticleWebLogic: log JMS message body
Unfortunately the WebLogic console missed this option. See also "Logging the Uniform Distributed Queue Message Body (Doc ID 1377584.1)" the Oracle DOC gives only the manual workaround (hack! hack!)....
View ArticleAll the best to Vinita
She left the project today, she will be missed, but it's very good for her to get more opportunities and advance with her career. All the best Vinita and keep in touch!
View ArticleVirtualBox: Running a 64 bit host RHEL OS on a 32 bit Windows machine
My VBOX is a facter | morearchitecture => x86_64hardwareisa => x86_64hardwaremodel => x86_64kernelrelease => 2.6.32-279.el6.x86_64kernelversion => 2.6.32processor0 => Intel(R)...
View ArticlePuppet 3.2 graph and cycles
Awesome article on this topic.To generate a graph, simply type this: puppet apply --modulepath=/tmp/vagrant-puppet/modules-0/ osb-vagrant.pp --noop --graph In case (it happens often!) you have a...
View Articlesudoers file syntax (sudo by example)
Here the official (?) doc for sudoers and sudo. Particularly important in the sudoers file format, with the User_Alias Runas_Alias Host_Alias Cmnd_Alias story. It's very important to read all the...
View ArticleOSB Blackbox, the simplest possible tool to monitor in-flight requests
A common issue we have in PROD is that we have occasionally stuck threads and we don't have a clue which payload they are processing. In the logs, in the STUCK thread notification you get a Thread Name...
View ArticleWebLogic JMS connection factory: Maximum Messages per Session caveat
In OSB, a JMSProxy Service will generate 16 consumers in a queue. This should enable a tremendous message processing parallelism. Not necessarily. The way JMS messages are dispatched to the consumers...
View ArticleQuick personal wiki with ZIM
the better alternative to text files in Notepad++: http://www.glump.net/software/zim-windows you can save the wiki files in a local Dropbox folder, so you can automatically recover them from any other...
View Articlemaven-release-plugin quirks... maven hell as usual
27-Oct-2013 10:51:49 [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project OSBJavaCustomXPaths: Cannot prepare the release because you...
View ArticleDeleting a million directories in Linux
This morning a component went ballistic and created more than a million folders under /path/to/myfolder, until the file system was completely full. this command was showing 100% of Inodes used: watch...
View Article