Generating Excel files suddenly throws exceptions
Good morning, all.
I have code that has been in place for at least 6 or 7 years that generates Excel files. Depending upon the app, the Excel file is either A) made available to the user via download, or B) emailed to a pre-determined email address, possibly CC'ing others, as well. It has had no issues for all this time, and no changes to the code have been made.
Recently, while creating a new section of a public-facing website, I copied and modified Excel generating code from one of these older sections, expecting it to work. I've been having all kinds of issues, from files not being saved to the server, to simple strings added to a cell coming up as garbage. Exceptions are being thrown. So, I decided to check one of the earlier pages on the public site that creates Excel files, and lo and behold it's throwing an exception when it comes to creating the Excel file. I have no idea how long this has been breaking, no one ever reported anything to my department. But it's clearly breaking. (UPDATE: Someone just now reported an issue.)
The errors that are being reported are all the same:
Message: org/apache/xalan/processor/TransformerFactoryImpl
Type: java.lang.ClassNotFoundException
Provider org/apache/xalan/processor/TransformerFactoryImpl not foundI found forum messages indicating that the xalan.jar file was missing. I asked my SA about it, and she stated that xalan was never part of the install of any of our CF Servers. So, it doesn't make sense to me that it not being part of the install would trigger this error.
For years this code has worked with very few issues. I'm thinking some kind of server config change is the cause, but have no idea where to start looking.
Has anyone ever experienced anything like this?
V/r,
WolfShade
