Install Python 3.4.4 and Django on CentOS/RHEL/EL 6.7

# yum groupinstall "Development tools"
# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
$ wget
$ tar xf Python-3.*
$ cd Python-3.*

uncomment string
zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
in file Modules/Setup

$ ./configure --prefix=/usr/local LDFLAGS="-Wl,-rpath /usr/local/lib"
$ make
# make install

Check version with
$ python3.4 -V

Install virtual environment and django
# pip3.4 install virtualenv

$ pyvenv-3.4 logger
$ source logger/bin/activate
$ python -V # must be 3.4.4
$ pip install --upgrade pip
$ pip install django, django-tables2
$ deactivate


Multilib problem:
Error: Package: glibc-2.12-1.149.el6.i686 (CentOS-OS)
Requires: glibc-common = 2.12-1.149.el6
Installed: glibc-common-2.12-1.149.el6_6.5.x86_64 (@updates)
glibc-common = 2.12-1.149.el6_6.5

Fixed with commands:
yum downgrade glibc glibc-headers glibc-common glibc-devel
yum install glibc-static

Download RPM packages from
Make requrement file from your local development environment:
pip install --download /path/to/dir/ -r requirements.txt
Upload packages on server and Install it:
pip install --no-index --find-links=/path/to/dir/ -r requirements.txt

XQuery notes

Check if Integer

Whitespaces, Tabs and Return trim or replace

DateTime to Date

Date to DateTime

Formatted string to Date

1. code and string from OSB

2. Standart Soap Fault

OSB 11g Send GET request with dynamic parameters

So we need to send GET request like this so that URI will dynamically formed.

First we need to create business service with Service Type Messaging service, request mesage type text, and in my case I got XML in response. Also the main thing here is to set Endpoint URI in Transport inset to


That’s all we need for business service.

Next, for proxy service we do Routing node with Routing to our business service.

I have a flow like on picture below.

To send dynamic GET request is to put some Insert nodes on request action lane and send it to outbound.


Location and XPath is always as last child of and ./ctx:transport/ctx:request and of cause In variable outbound.

and Expressions:

  1. <http:relative-URI>{concat( ‘/app/v1/’, $request_type) }</http:relative-URI>
    $request_type is the variable that point to right service_action
  2. <http:query-string>{concat(‘service_id=1’, ‘&amp;’,
  3. <http:http-method>GET</http:http-method>

UPD 18.03.2016.

If you change request mesage type to none

and set request method to GET from HTTP Transport tab

you can remove last insert node

Eclipse The WSDL for the typed transport endpoint could not be accessed java.lang.NoClassDefFoundError: com/sun/javadoc/Type

In Oracle Enterprise Pack for Eclipse (OEPE) Indigo 3.7 with Oracle Service Bus 11gR1 I had a problem “The WSDL for the typed transport endpoint could not be accessed java.lang.NoClassDefFoundError: com/sun/javadoc/Type”


Global java version was set to 8


To fix this you need to add path to bin folder of a 6th java version C:\Java\jdk6\bin; in the beginning of Path in System Properties, then restart Eclipse.


Java incompatible types


Fixed with iterator and class casting: