OSB: extending a domain by adding extra Managed Servers
See Oracle document "WLST Script to Add a Managed Server to an Existing OSB Cluster (Doc ID 1450865.1)", the provide you a WLST script extendOSBDomain.py to do the job. The script must: Create the new...
View ArticlePuppet: mount a SAMBA share at boot
First, create a credentials file in your acme module: acme\files\samba\myshare.smb.credentials and inside put: username=myuserpassword=mypassword I was unable to make it mount an unprotected share........
View ArticleBook: Unveiling India
This book tell stories of "ordinary" (actually, extraordinary) Indian women, in their daily struggle in a very sexist country. The book was written in 1987 and things have changed a lot, however it's a...
View ArticleBook: Spinoza, a life
Brilliant biographical and historical book, splendidly depicting the Netherlands and the Jewish community in Holland in the 1600-1700 period. Steven Nadler is one of the top world experts in Spinoza,...
View ArticleInstalling a NFS server, and creating a mountpoint, in 30 seconds
This on RHEL/CentOS. For lazyness simplicity I install client and server on the same box :o) whose IP is 10.0.2.15Installing a NFS...
View ArticleJava JVM Flag PrintConcurrentLocks
When all hell break loose and you have threads hanging waiting for a lock, it's PARAMOUNT to be able to determine WHO is holding that lock.By default, the option -XX:+PrintConcurrentLocks is not...
View ArticlePuppet: file recurse remote caveat
Puppet contains a beautiful "macro"file recurse remote, by which you keep a while directory (with subdirectories!) in sync with the content of a Puppet files repository. Great. BUT. There is a BUT: if...
View ArticleWebLogic: Registered more than one instance with the same objectName
We keps getting an error in the logs: BEA-149500> (RuntimeMBeanDelegate.java:255) at weblogic.management.runtime.RuntimeMBeanDelegate.(RuntimeMBeanDelegate.java:215) at...
View ArticleWebLogic: check which patches are applied
Just throwing all available technology at this issue.... Method 1: grep BEA-141107 in the logs (I don't get anything) Method 2: bsu cd /opt3/oracle/fmw11_1_1_5/utils/bsu ./bsu.sh -report...
View ArticleFun run of JClarity Censum - Garbage Collection analysis tool
I have downloaded the 14 days trial of JClarity Censum. It's EXTREMELY simple to use and gives you a quick feedback on your GC issues. First, you HAVE to enable a few flags:...
View ArticleMount nfs and rpcbind
I was trying to mount a NFS4 share: mount -t nfs 10.0.2.15:/drbd/main/shared/ /opt/oracle/domains/osbpl1do/shared mount.nfs: Connection timed out Of course, I forgot to start the nfs service:...
View ArticleWebLogic, auditing invalid login attempts
I was getting such messages in the log, after changing weblogic password: ####<Oct 15, 2014 9:15:47 PM CEST><Notice><Security><acme105><osbpp1ms1><[ACTIVE]...
View ArticleBook: Jenkins, the definitive guide
This is a great reading, the book covers not only Jenkins, but also the vast ecosystem around Continuous Integration (maven, nexus..); all in a very readable way, without indulging too much in the gory...
View ArticleWebLogic password change
quick miscellaneous notes on the topic... it's VERY easy to get the procedure wrong... http://middlewaremagic.com/weblogic/?p=323BEA-090078 User weblogic in security realm myrealm has had 5 invalid...
View Articlebash: redirect stdout and stderr for a block of "code"
(I was hesitant to call "code" a bash script, as it's mostly molasses of un-refactorable hieroglyphs) vi redirtest.sh{pluttiplitti} > plutti.log 2>&1{pippi} > pippi.log 2>&1{echo...
View ArticleBook: A Splendid Exchange: How Trade Shaped the World
This is a very enjoyable book, showing how trade shaped history, from Phoenician times to http://en.wikipedia.org/wiki/Zheng_He, Marco Polo, the British pirates and the...
View ArticleORA-01882: timezone region not found
After applying package update on Linux RHEL, we get on all Datasources: ORA-01882: timezone region not found First let's determine on which timezone our server is: grep "ZONE="...
View ArticleJava: what is your default timezone?
cat MyTimezone.java import java.util.TimeZone;public class MyTimezone { public static void main(String[] args) throws Exception { TimeZone timeZone = TimeZone.getDefault();...
View ArticleSBConsoleAccessException
I had to start admin on a different machine, and I was getting com.bea.alsb.console.common.base.SBConsoleAccessException: The current login role is not authorized to use the console action:...
View ArticleInstall puppet modules recursively from a Puppetfile
If you have worked with r10k or puppet-librarian (or even worse, if you have managed Puppet modules manually) you must have realized how pathetic these tools are. Luckily now Bruno Bieth comes to our...
View Article