From: <php...@li...> - 2006-03-14 18:03:16
|
Hi, > Just to say I digg into this problem all day and > still find no solution. Sorry for that. I assumed that this wasn't an important issue, you've said that it works if you move the jars to jre/lib/ext. > What I do not understand is why a thread does not > inherit the classpath > from the creating thread ? JSP is a good example. The container doesn't want to make the jsp classloader available to the webapp, so it sets the thread context classloader to the parent of the current classloader. I don't know if and how your reporting engine handles this, but in general applications may choose to ignore our dynamic loader and load classes or create dynamic proxies via the system classloader. If this happens, the loaded classes or defined proxies cannot access classes loaded via the dynamic loader. So I think the best workaround is to install your libraries in $JAVA_HOME/jre/lib/ext or to hard-code the java.classpath in the php.ini file, for example: java.classpath=/path/to/JavaBridge.jar:/path/to/lib1.jar:... I have created a ticket for this problem, please see PR1449780 for details (http://sourceforge.net/tracker/index.php?func=detail&aid=1449780&group_id=117793&atid=679233) Thank you very much for this bug report! Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |