Hi there,

starting with OOo 2.4 the OOo Java ClassLoader strategies got changed.

What are the current rules for OOo 2.4 and OOo 3.x ClassLoaders?
(Maybe together with a simple explanation of the problems that have been intended to be solved by those changes. But also, why would the CLASSPATH setting not be honored by OOo, whereas the PATH setting - thankfully! - is honored?)

Knowing them would really alleviate a lot of developing problems, where one loses really tons of time/resources to a) figure out that a class loader problem may be in effect and b) trying to find possible solutions.

If this is the wrong list then please advise which list would be the appropriate one, where Java class loader issues get discussed.

---rony

P.S.: Please note the Reply-to: <dev@api.openoffice.org>.

P.P.S.: It can be really quite frustrating to realize that OOo programs work nicely via Java, but deployed from within of OOo all of a sudden exhibit all kind of weird and hard to debug errors.




Ariel Constenla-Haile wrote:
Agnisys escribió:
Hi,
Can someone help me run an XSLT transformation using Saxon in an Openoffice 2.4 extension? I get a "net.sf.saxon.TransformerFactoryImpl not found" error. Thanks,
Anupam.

Hi Anupam,

this sound like the typical classpath problem with OOo extensions (since changes in 2.3): search for "classpath" in [EMAIL PROTECTED] and dev@api.openoffice.org, for example

"Classpath problem in OOo 2.3" http://extensions.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1865383

"Classpath in OO Extensions" http://api.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1938832

"ClassNotFoundException while loading class from external jar" http://extensions.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=2096555

As this seems to be a very frequent question, I thinks it's time that someone writes a Wiki page explaining why things changed from 2.2 to 2.3, and how to solve it, providing a simple example.

Regards
Ariel.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to