Docbrokers in the Cloud

Randy Watson once sang the cloud is our future and so it is especially on Google Cloud which I love dearly. Anyway putting Documentum onto a cloud platform seems like a good idea and avoids all sorts of corp IT complications.

The Docbroker provides the address of a Docbase and its port. If the Documentum server is running on an cloud server it will be running on an internal network address. You need to translate that and its easy enough.  If you dont you will probably get this helpful message:




' Documentum Ports
port = '47625=47625'
port = '47626=47626'
host = '45.324.124.45='

So what you need to do is provide the internal and external IP address and port.  The format here is; external=internal

Thats it



Freeboard Stuff

Freeboard is one of these things that works really well and you want to bite the back of your hand when you get stuff working.

I had this issue though when developing some local web services with SparkJava and testing them on my local machine with localhost

I was using Chrome. Seems like Chrome doesnt support CORS on localhost. I used IE and Edge and it worked. I was building some simple web services and Java and by adding the following headers it worked fine.

res.header(“Access-Control-Allow-Origin” ,”*”);
res.header(“Access-Control-Allow-Credentials”,” true “);
res.header(“Access-Control-Allow-Methods”,” OPTIONS, GET, POST”);
res.header(“Access-Control-Allow-Headers”, “Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control”);

DAXCAD Lives on Ubuntu 14.10

My good friend John Lawson is planning to port DAXCAD to the Raspberry Pi..  I have ported this  now – I’ll merge it all back again when I get it fully working..  The current version of gfortran 4.9 looks good and on a Linux machine the whole thing builds in less than a minute.  I seem to remember a full build on an Apollo DN400 would be at least an hour.  Anyway still a testament to Fortran and C for being reasonably portable.

DAXCAD on Ubuntu 14
DAXCAD on Ubuntu 14

Install Documentum 6.7 on Linux

Everything looks good but do these please

yum install libXtst.i686 libselinux.i686 audit-libs.i686 cracklib.i686 db4.i686 pam.i686 libstdc++.i686 zlib.i686 ksh -y

yum install bc


# Uncomment the following line if you don’t like systemctl’s auto-paging feature:

# User specific aliases and functions
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export ORACLE_SID=orcl
export TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
export LC_ALL=C
export JAVA_HOME=/home/ec2-user/documentum/shared/java/1.6.0_17
export DOCUMENTUM=/home/ec2-user/documentum
export DM_HOME=/home/ec2-user/documentum/product/6.7
export CLASSPATH=$DOCUMENTUM_SHARED/dctm.jar:$DM_HOME/dctm-server.jar:$DOCUMENTUM_SHARED/config

Amazon EC2 – putty timeouts

I’m getting into this EC2 stuff – its pretty good. But on a putty session – the default session timeouts are like 2-3 mins after inactivity.

I added this to an Ubuntu 13.10 build

sudo vi /etc/ssh/sshd_config

ClientAliveInterval 30
ClientAliveCountMax 5


DAXCAD 2013 – Eclipse

I have been working a bit on Daxcad this year – if only to get it into GIT and Bitbucket.  My repo is here

So I have an eclipse project set up with the original source -this is for CYGWIN 32 bit only -so you will need to download Cygwin with X although other X servers can be used – I used this one as well as cygwin X server which is actually quite good if you use their seamless mode ( startxwin )

Eclipse Kepler - 2013 using CDT and Fortran perspective
Eclipse Kepler – 2013 using CDT and Fortran perspective

Daxcad drawings are supplied in the build – you can read in DXF and IGES… not for the faint of heart – mind you never was.  This picture is from the mobXterm server.  Looks fast enough.

Daxcad drawing from around 1989
Daxcad drawing from around 1989

Serial Port Mini RS232 to TTL Converter Adaptor Module Board MAX3232 with Arduino

So I buy 5 of these little things when I find out I am dealing with RS232 device instead of a TTL device.  They arrive quick and I am delighted only to find I dont quite know how to wire them up.  The project is to use an Arduino – which I love dearly – to drive an LED rolling display. I am not an electronics expert – so I struggled a little and popped 2 of them good and proper..

Never mind.  I’ll buy this instead

I am as always standing on the shoulders of giants –


So my experience is:

From the RS232 Port – RX, TX and GND.  Thats the -> -<and the – signs.  Easy enough


-> RX

<- TX

On the TTL (Arduino)  side – DO NOT USE 5V use 3.3V as this toasts the device and heats up and like tops itself.  It certainly got very toasty when I put 5V across it.  This could be because I messed up somewhere in the wiring but it certainly works well for me.  I can also use the SoftwareSerial library as well so I don’t need to use TX/RX on the TTL Serial pins 0 and 1

So TTL is


-> – PIN X

<- PIN Y

For my device I used PIN 0 and PIN 1 – TX/RX – but I guess you can use other pins.

TTL RS232 Pinouts
TTL RS232 Pinouts



Hope this helps – it does work!