Message10791

Author chrislott
Recipients chrislott
Date 2016-02-25.21:58:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456437507.59.0.963676986652.issue2478@psf.upfronthosting.co.za>
In-reply-to
Content
Please consider removing the java.xml classes from the jython-standalone-2.7 jar package and distributing them separately.  These were not present in the 2.5.4-rc1 jar.  If I understand correctly, they are present in Java-SE so should not be needed (?). 

When I upgraded from 2.5.4 to 2.7.0 other components started throwing this exception:

    Provider org.python.apache.xalan.processor.TransformerFactoryImpl not found

This issue may be related to another Python issue:  http://bugs.jython.org/issue2121

The failure is also discussed here in some detail (read way down): https://github.com/ControlSystemStudio/cs-studio/issues/110

The problem is easily reproduced.  In brief, I'm using embedding Jython in an Eclipse RCP that also uses Apache POI to read/write Excel spreadsheets.  The Poi component has to instantiate a Xalan to produce XLSX files.  When the Jython-2.7.0 jar file is present, Poi blows up with the exception shown above.  When the Jython-2.5.4-rc1 jar file is present, Poi works fine. I'll be happy to provide more detail if you need it.

Thanks for listening.
History
Date User Action Args
2016-02-25 21:58:27chrislottsetrecipients: + chrislott
2016-02-25 21:58:27chrislottsetmessageid: <1456437507.59.0.963676986652.issue2478@psf.upfronthosting.co.za>
2016-02-25 21:58:27chrislottlinkissue2478 messages
2016-02-25 21:58:25chrislottcreate