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

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 Article


Puppet: 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 Article


Image may be NSFW.
Clik here to view.

Book: 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 Article

Image may be NSFW.
Clik here to view.

Book: 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 Article

Installing 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 Article


Java 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 Article

Puppet: 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 Article

WebLogic: 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 Article


WebLogic: 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 Article


Fun 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 Article

Mount 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 Article

WebLogic, 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 Article

Image may be NSFW.
Clik here to view.

Book: 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 Article


WebLogic 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 Article

bash: 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 Article


Image may be NSFW.
Clik here to view.

Book: 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 Article

ORA-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 Article


Java: 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 Article

SBConsoleAccessException

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 Article

Image may be NSFW.
Clik here to view.

Install 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
Browsing all 1121 articles
Browse latest View live