Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

issue: Cannot open message catalog LIBTUX_CAT

720306Sep 1 2009 — edited Sep 9 2009
Hello,

I'm developing a JAVA client to access the tuxedo server, but the server doesn't support the jolt method, so I use java jni to access a Dynamic-Link Library that can invoke the tuxedo server.

I used the linux gcc to build the .so file as follows,
gcc -I/tuxedo/include -L/tuxedo/lib -m32 -ltux -lbuft -lfml -lfml32 -lengine -ldl -lpthread -c CrmCallback.c
g++ -shared -I/tuxedo/include -L/tuxedo/lib -m32 -ltux -lbuft -lfml -lfml32 -lengine -ldl -lpthread -Wl,-soname,libCrmCallback.so -o libCrmCallback.so CrmCallback.o

but when I execute the file through the JAVA program, the message posted as follows:
tpinit error,tperrno=12,errnostr=NLS:4: Cannot open message catalog LIBTUX_CAT, set 1, num 1322; check TUXDIR=/tuxedo, LANG=C

I tried to use the same method in windows that is to build a .dll file to access tuxedo server,it runs perfectly.

BTW,the server is on the linux system.

I googling for a while but could not get a clue to solve this.

Any help appreciated.

Thanks.

Edited by: user9524818 on 2009-9-1 上午6:25

Edited by: user9524818 on 2009-9-1 下午6:34
This post has been answered by 652903 on Sep 2 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2009
Added on Sep 1 2009
7 comments
8,719 views