|
From: Jost B. <jos...@ya...> - 2005-10-21 16:57:10
|
Hi Mikael,
> Actually I do require jpos for my classes - in
> ServerRemote the import
import != java_require. the import is only syntactic
shugar for the java compiler. The NoClassDefFoundError
means that you have used import at compile-time but
you have failed to add the classes at run-time.
> The server side also requires jpos ISOMsg
java_require("jpos.jar") doesn't magically make the
classes within jpos available to your own classes. It
makes them available to the PHP/Java Bridge, but not
to the classes within myClasses.jar.
The noClassDefFound2.php test checks this pattern,
please see
http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/tests.php4/noClassDefFound1.php?rev=1.2&view=markup
The pattern
java_reset();
java_require("foo.jar"); java_require("my.jar");
must fail because foo is not available to my, but
java_reset(); java_require("foo.jar;my.jar");
must succeed.
> Nope, sorry made no difference
Can you please set java.log_level=4, re-start the
bridge, run the test and attach the log to a ticket?
Please see
http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233
Regards,
Jost Boekemeier
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
|