Trying to add a Crystal report to a BOE 3.1 server, via a JSP page, but it keeps failing with an internal error. Currently I am using code that came directly from a published example, but the jsp always fails when it gets to the boInfoStore.commit.
Current error message is
An internal error occurred. An error was encountered. A description of the error
is as follows:
com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.b: Adding
Crystal Report "TestUpload.rpt" failed. An internal error occurred.
I searched extensively and found people with similar errors due to version errors in required jar files, but I have checked extensively and I am sure all the jar files are in sync with the server, which is 3.1 SP6.
When I take the exact same java code and copy it into a program object, I can run it successfully, it just won't run when called from jsp. Any suggestions?
A copy of the test jsp page is attached.