From: Jost B. <jos...@ya...> - 2005-09-20 16:41:45
|
Hi, [please excuse the delay] > When installing the client Java bindings, WebSphere > puts them in > /opt/mqm/java/lib Loading them shouldn't be a problem if the application server knows about this directory and automatically adds its content to the classpath. If not, then one must find another way to load the libraries. The recommended way to load libraries is to install them as name-version.jar in /usr/share/java or one of its sub directories and then require them with the name and version number. If you ship a servlet component, you can put the libraries into the WEB-INF/lib folder, please see the JavaBridge.war for an example. In this case you don't need java_require(). > Apparently the bridge keeps converting the second > argument (an integer) > to java.lang.Long while the method mandates an int. Does it require an int or does it require a java.lang.Integer? I think this is a bug in the PHP documentation which talks about "integer" and "float" even though these are long and double. Please see PR#1276004 (http://sourceforge.net/tracker/index.php?func=detail&aid=1276004&group_id=117793&atid=679233) for details. Since this is at least the third support request for this, I'll add a "php longs are java longs" setting for version 2.0.9. I'll add your request to that ticket. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |