tuxedo在LINUX下的安装笔记.docVIP

  • 204
  • 0
  • 约7.87千字
  • 约 7页
  • 2017-12-04 发布于江西
  • 举报
tuxedo在LINUX下的安装笔记

以root身份建立tuxedo用户,并以tuxed用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo;用FTP把安装文件(tuxedo81_linux.bin)和用户许可证书文件(lic.txt)传到//tuxedo目录中;tuxedo81_linux.bin 问题: Preparing to install... /tmp/install.dir.17644/Linux/resource/jre/bin/i386/native_threads/java: error wh ile loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared objec t file: No such file or directory 解决: 从别处拷来libstdc++-libc6.1-1.so.2 放到usr/lib里 问题: Preparing to install... Error occurred during initialization of VM Unable to load native library: /tmp/install.dir.18602/Linux/resource/jre/lib/i38 6/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so. 6 with link time reference 解决: 建立libcwait.c内容如下: /* Compile with gcc -shared -o libcwait.so libcwait.c -fpic -O and use it by adding LD_PRELOAD=/path/to/libcwait.so in the environment of the application with the bug. */ #include errno.h #include sys/syscall.h #include sys/types.h #include sys/wait.h pid_t __libc_wait (int *status) { int res; asm volatile (pushl %%ebx\n\t movl %2, %%ebx\n\t movl %1, %%eax\n\t int $0x80\n\t popl %%ebx : =a (res) : i (__NR_wait4), 0 (WAIT_ANY), c (status), d (0), S (0)); return res; } 把它编译成libcwait.so gcc -shared -fpic -o libcwait.so libcwait.c 然后: export LD_PRELOAD=/opt/tuxedo/libcwait.so 问题: Invocation of this Java Application has caused an InvocationTargetException. Thi s application will now exit. (LAX) Stack Trace: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:58) at java.awt.Window.init(Window.java:188) at java.awt.Frame.init(Frame.java:315) at java.awt.Frame.init(Frame.java:262) at com.zerog.ia.installer.Main.b([DashoPro-V1.2-120

文档评论(0)

1亿VIP精品文档

相关文档