I recently deployed the SAS Enterprise Business Intelligence Server on a brand-new AIX LPAR. During my validation of the platform, I created a new stored process portlet and added it to my home page. My test portlet then displayed the following error:
Error 500: javax.servlet.ServletException: Filter [SanitizingRequestFilter]: could not be initialized.
Here’s how it looked in the portlet:
I searched for the error at support.sas.com and found a Problem Note about an error very similar to mine. This error can arise when SAS BI portlets (the stored process portlet is one of these) are deployed to a WebSphere application server. During the configuration phase of my deployment, I specified that SAS should automatically deploy the web applications to WebSphere. Configuration did complete successfully, creating two WebSphere profiles and an application server (SASServer1), and deploying all of the web applications. An important file for the SAS BI portlets (sas.portlet.container.runtime.extensions.jar) did not get copied to WebSphere, however, and required manual intervention.
The fix is easy enough:
- Stop the SASServer1 application server
- Using the SAS installer account, copy the sas.portlet.container.runtime.extensions.jar file from the [SASCONFIG-DIR]/Lev1/Web/Staging/Exploded/sas.biportlets4.X.ear/lib directory to the [WEBSPHERE-HOME]/lib directory of the IBM WebSphere Application Server
- Start SASServer1
I logged back in to the Information Delivery Portal and my stored process portlet was happy and ready for a stored process:
Here are a couple of notes from the Problem Note:
- These manual steps are required because of a limitation in the WebSphere application server
- In UNIX operating environments, the JAR file must be copied using the same account that is used to install the WebSphere application server
SAS also provided a more time consuming fix which fixes the issue in the Problem Note if someone preferred to use the WebSphere Integrated Solutions Console.
I have run into this issue in versions 126.96.36.199, 188.8.131.52, and 184.108.40.206 of WebSphere. I am running SAS EBI 9.3 Maintenance Release 2 with BI portlets 4.3. I would also like to note that the steps I listed above were also included in the Instructions.html document located at [SASCONFIG-DIR]/Lev1/Documents directory in my environment. It is created after a successful installation and configuration of the EBI environment.