aix下java通过jni调用tuxedo报错 — oracle-tech

    Forum Stats

  • 3,715,654 Users
  • 2,242,821 Discussions
  • 7,845,480 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

aix下java通过jni调用tuxedo报错

679509
679509 Member Posts: 1
在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
实在没招了,希望了解的高手帮下忙,谢谢!
This discussion has been closed.