Sorry Shawn, there is some new stuff going on that I was unaware of. Avik, why do we suddenly have threading going on? I see "ThreadLocal" in Workbook and some various other threading.
POI is NOT threadsafe and introducing this will and is already causing problems. We're supposed to maintain jdk 1.2 compatibility for Cocoon 2 integration. What is the advantage of this threading? -Andy On Sat, 2002-07-06 at 10:39, Laubach, Shawn - TAFB/LAB NCC (SAIC) wrote: > Easier said than done unless you know how to replace oracles JDK. > > I've found when the problem is arising from. In the FormulaParser's parse > method. It does a synchronize on tokens. I commented this out and it all > worked real nice. I put a synchronized in the method and it worked nice. I > created a different object and synchronized on it failed again. I don't > know what all this means, but I hope this can lead you in the right > direction. > > Shawn Laubach > SAIC - Web Developer > B-1B System Support Management Division > OC-ALC/LAB, Building 3001, Tinker AFB, Oklahoma > dsn: 336-2473 comm: 405-736-2473 mobile: 405-245-9562 > > > -----Original Message----- > From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 05, 2002 10:35 PM > To: POI Users List > Subject: Re: IllegalMonitorStateException > > > oh and try another jdk just for kicks. > > Shawn Laubach wrote: > > >Inside a class being called by a servlet, I'm getting a > >IllegalMonitorStateException thrown. I've narrowed it down to three lines > >of code where it is occuring. A row.createCell, cell.setCellValue, and > >cell.setCellStyle calls. I haven't had time to narrow it down any furthur. > >What I'm curious about, is why it would be thrown anyways. I've just > >started using the 1.8 dev release and I plan to try the 1.7 release next > >chance to see if that works. > > > >BTW, it runs fine standalone and other similar code runs fine both > >standalone and as a servlet. > > > >Shawn > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
