Gosh, another 2-week lagged reply:) On Thu, Jun 9, 2011 at 16:17, Stian Soiland-Reyes <[email protected]> wrote: > If I remember correctly JSBML binds to the binary library sbml.so/dylib/DLL > -- if this is the case you *must* use system classloader, otherwise the > second run would not be able to relink to the JNI library.
Nope, the idea of JSBML is a pure-Java SBML API. libSBML Java API does the linking thing. > > As to the ? - it is not possible to have "local" system properties in Java, > so unless the JSBML allows you to control the xml factory in any way through > it's API you will have to stay with your workaround. > > It might be possible to synchronize on the xmloutputfactory instance if it > itself has synchronized methods, but.. if it works now I would just leave it > as it is. ;) Ok, thanks again for reply and yeap, it works now:) Best regards, Mikołaj > > On Jun 7, 2011 4:55 PM, "Mikołaj Rybiński" <[email protected]> > wrote: >> >> I rather thought of replacing: >> >> System.setProperty(...) + system classloader persistence >> >> with: >> >> ? + persistence shared with the whole workflow >> >> so that I wouldn't interfere with Taverna engine. Is there a piece of >> Beanshell code I can put in place of "?" ? >> >> Mikołaj >> ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
