Thursday, October 7, 2010

Oracle Tuxedo Simple App story

I installed oracle tuxedo 11g in my linux box yay..

It is OEL running on virutalbox in my windows xp lap top how cool is that

now the story starts I was trying to bring up the sample application

http://download.oracle.com/docs/cd/E13161_01/tuxedo/docs10gr3/install/inspin.html#wp1171674

following unix first error I see was

[root@localhost atmi]# tmloadcf -y ubbsimple

CMDTUX_CAT:868: ERROR: tmloadcf cannot run on a non-master node


the reason for error is the machine name in the ubbsimple file is not equal to my machine name

ok now I type uname -n to find the machine name and found it is

localhost.localdomain

now I try to put that in the ubbsimple file

localhost.localdomain LMID=simpleapp

ran into error
localhost.localdomain
^
syntax error


to get rid of that error I had to give

"localhost.localdomain" LMID=simpleapp


sweet now tmloadcf works like charm, then tmboot

oopsy
[root@localhost atmi]# tmboot -y
/opt/Oracle/Middleware/tuxedo11gR1/lib/registry.so: cannot restore segment prot after reloc: Permission denied

tmboot: internal error: CMDTUX_CAT:4849: ERROR: Unable to initialize public key subsystem

here comes help

http://johnsonsolutions.blogspot.com/2007/12/cannot-restore-segment-prot-after-reloc.html

now I see the tuxedo server up
[root@localhost atmi]# tmboot -y
Booting all admin and server processes in /home/peter/atmi/tuxconfig
INFO: Oracle Tuxedo, Version 11.1.1.2.0, 32-bit, Patch Level (none)

Booting admin processes ...

exec BBL -A :
process id=8958 ... Started.

Booting server processes ...

exec simpserv -A :
process id=8959 ... Started.
2 processes started.


now run the client
[root@localhost atmi]# ./simpcl "hello"
Returned string is: HELLO


Simple and Sweet , this client talks to my tuxedo domain
which has a service to convert
this string to caps , so i have working tux in my machine
time to snooze

1 comment: