B Troubleshooting

This chapter covers the troubleshooting tips for JPublisher. It contains the following sections:

Error While Publishing Web Services Client

When publishing Web services client using the -proxywsdl opting, you may come across one of the following errors:

java.lang.Exception: Error compiling generated client proxy
Can't load library "jdk12/jre/lib/i386/libjava.so", because
jdk12/jre/lib/i386/libjava.so: symbol __libc_wait, version
GLIBC_2.0 not defined in file libc.so.6 with link time reference
Could not create the Java virtual machine.


% jpub -proxywsdl=...
Method getStackTrace() not found in class java.lang.Exception.
1 error

This problem is caused by Java Development Kit (JDK) 1.2 used in the environment. You need to include JDK 1.4 in the PATH environment variable to resolve this error.