Skip to Main Content
This is a BETA environment
This environment is only for testing and may be reset multiple times during the testing period. We will be frequently upgrading this BETA environment, so check back often for changes. Please assist us by providing feedback via the bug icon to the left of your profile avatar. For the current active community, visit https://community.oracle.com/tech/developers/.

aix下java通过jni调用tuxedo报错

679509Aug 4 2009
在aix下用c调用动态库封装tuxedo调用可以成功,可是改为java通过jni调用却报错:
LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission. Error code(4/3606)
LIBWSC_CAT:1045: ERROR: Presend on message failed
LIBWSC_CAT:1011: ERROR: tpcall() message send failure
编译so文件是根据buildclient参数复制的:
xlc -c test.c -I$TUXDIR/include -I/usr/java14/include
xlc -G -I$TUXDIR/include -o libtest.so test.o -L${TUXDIR}/lib $TUXDIR/lib/wstpinit.o -lwsc -lbuft -lwsc -lgpnet -lfml -lfml32 -lengine -lpthread
实在没招了,希望了解的高手帮下忙,谢谢!
Comments
Post Details
Added on Aug 4 2009
0 comments
2,639 views