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

Oracle DB check contraints based on regular expression

It's good to know that for "check constraint" you can use any arbitrary regular expression http://docs.oracle.com/cd/E11882_01/server.112/e17118/conditions007.htm#SQLRF52150 . Example: create table...

View Article


default: VirtualBox VM is already running.

I have cloned an existing Vagrantfile, changed the properties "config.vm.box" and "config.vm.host_name", and done a "vagrant up" hoping to have a brand new VM available. After all this is what Vagrant...

View Article


Git detached HEAD

Normally I do all my git operations from command line. It might be more effort than using Eclipse/Geppetto plugin, but at least I know exactly what I am doing. Recently I have made the terrible mistake...

View Article

Git feature branch

More and more we are using "feature branch" rather than committing directly to master. http://martinfowler.com/bliki/FeatureBranch.htmlFirst, let's verify on which branch we are: git checkoutYour...

View Article

Image may be NSFW.
Clik here to view.

Git, configuring SSH on Windows

a great feature of git ssh is that, when it fails, you are left with very vague error messages that can point to 1000s of different causes. It could hardly stink more. Really only for the expert. git...

View Article


Solidarity with the children of Gaza

In case you want to help stitch together the children that the Israeli "Defense" Force have so surgically torn apart, you can send money to:Account details:Account Name:  Bethlehem Arab Society for...

View Article

Image may be NSFW.
Clik here to view.

More books: When Nietzsche wept, This time we went too far

When Nietzsche Wept very enjoyable novel by Irvin Yalom, about the life and work of 3 extraordinary Austrian and German intellectuals: Friedrich Nietzsche, Josef Breuer and Sigmund Freud."This time we...

View Article

Video Tutorial on Oracle Service Bus 12 development in JDeveloper

it's soooo much easier than in the old Eclipse IDE.... here everything is integrated (IDE, running embedded WebLogic server, Test Console, logs) and you can create a WSDL using an inline wizard.... it...

View Article


Videos on how to upgrade to SoaSuite 12c

Oracle official documentation on how to install or upgradeReally excellent presentation covering all the steps to upgrade your domains to 12c, including DB migration:

View Article


OSB and SLA alerts in Eclipse

When you define a SLA alert in the OSB Console (sbconsole) this xml is added you your .proxy file : <ser:alertRules><ser:alertRule name="slow"...

View Article

Image may be NSFW.
Clik here to view.

WebLogic: disabling JMS message consumption at startup

One can TEMPORARILY disable consumption from a JMS Destination (JMSServer / Active Destinations/Monitor) , but when you restart, the queue is enabled again. This in production can be fatal. One can...

View Article

sqlplus vs sqldeveloper

When I run a DDL script in SQLDeveloper, it just runs perfect. Same script in SQL throws plenty of errors like: ORA-00955: name is already used by an existing object Incidentally, SQLPlus runs me...

View Article

Python: run multiple processes in parallel and wait for completion

This code is quite minimalistic but it works really well. It employs a very old API which is compatible with Pythong 2.1 (WLST very old version of Python....) from sets import Setprocesses = Set()for...

View Article


WebLogic: WLST timeout connecting on a secure port

Connecting to a WebLogic server on a SSL port, although highly recommended by Oracle, can have a major drawback: it's damn slow to establish connection. AFAIK there is no way to speed this up. I have...

View Article

WebLogic: moving JMS filestores around

If a domain dies, and the filestores contain precious JMS messages still to be processed, how do you handle this? There is a "filestore export" utility, but sadly it doesn't have an equivalent "import"...

View Article


Image may be NSFW.
Clik here to view.

Books: The Politics of Heroin, The History of the First World War

Just finished reading these 2 MASSIVE history books, the first tells a lot of really interesting stories on how geopolitical interests control the production and traffic of heroin in the world. Most of...

View Article

WebLogic : awesome presentation on what is new in 12.1.3

http://download.oracle.com/tutorials/ecourse/fmw/wls/wls_12.1.3_new_features/presentation.htmlI VERY HIGHLY recommend to go through this 2 hours presentation on the new features of WebLogic 12.1.3. you...

View Article


WebLogic: Installing WebLogic 10.3.5 binaries and creating a domain in 2 minutes

Sometimes one need to create a throwaway domain in minutes....I hate having to remember all the small details.... how to create a weblogic domain login to myhostsudo su - soacd /opt/oracle/softwaremake...

View Article

Puppet: minimalistic custom fact

in your module, create a lib/facter folder.There, create a customxpathversion.rb file containing this code:require 'puppet'Facter.add("customxpathversion") do setcode 'cat...

View Article

Puppet: quick hiera setup

cat /home/soa/.puppet/hiera.yaml :hierarchy: - common:backends: - yaml:yaml: :datadir: '/home/soa' cat /home/soa/common.yaml install_cleanssbatchorder : trueTo test if hiera is working: puppet apply -e...

View Article
Browsing all 1121 articles
Browse latest View live