You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Sean Forde <sf...@lizardtech.com> on 2000/05/24 17:04:40 UTC
Xalan, JNI, and Apache
Hi friends,
we are building an Apache module in C++ which utilizes the Xalan Java
libraries. We are using 1.01 of Xalan and Xerces. We have written a JNI
wrapper which forwards requests from the C++ code to Xalan.
Everything works fine in our little test shells - that is, the JNI code
works, the Xalan code gets called and performs well. However, when we
attempt to run as an apache module (dynamically loaded), we fail on the
first call to the JNI method env->CallStaticObjectMethod(); The failure
is not a nice one - that is, apache reports an abnormal termination.
Does anyone have any ideas on this? I am sure that we have the classpath set
up, and the LD_LIBRARY_PATH is correct. Is there something about the Apache
environment that we need to do special to enable JNI???
Thanks,
-Sean
Sean Forde
Software Architect
LizardTech Inc.
sforde@lizardtech.com