EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485481: Get "Internal Server Error" when opening MicroStrategy Library from Web 2021 Update 5 deployed on JBoss 7.3.x


Yanqing Liu

Cloud Support Expert I • MicroStrategy


Get "Internal Server Error" when opening MicroStrategy Library from Web 2021 Update 5 deployed on JBoss 7.3.x

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
SYMPTOM:
Deploy Strategy Web & Library 2021 Update 5 to JBoss 7.3.x. Users may get the “Internal Server Error” when opening Strategy Library from Strategy Web.

ka0PW0000001JheYAE_0EM4W000004Zm7S.png

 "java.lang.NullPointerException" can be found in the JBoss Server log:
ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /StrategyLibraryDEV/app: java.lang.NullPointerException
at io.undertow.servlet@2.0.30.SP4-redhat-00001//io.undertow.servlet.spec.HttpServletRequestImpl.getHttpServletMapping(HttpServletRequestImpl.java:250)

ka0PW0000001JheYAE_0EM4W000004Zm7T.png

CAUSE:
In Strategy 2021 Update 4 and Update 5, Strategy Library Spring Framework has been updated to version 5.3.12. However, JBoss 7.3.x doesn’t work well with this new version of Spring Framework. Refer to this article shared by RedHat for details:
https://issues.redhat.com/browse/UNDERTOW-1866
The issue would be triggered when cross-domain happens when opening Strategy Library from Strategy Web.
WORKAROUND:
Modify web.xml under "<Strategy Library>/WEB-INF" and add the url-pattern "/app" to the app servlet as below:


<servlet>
   <description>Servlet to render dossier.jsp for the front end Dossier Web App</description>
   <servlet-name>app</servlet-name>
   <jsp-file>/dossier.jsp</jsp-file>
</servlet>
<!--All URLs matching <ContextName>/app/* are for the front end Dossier Web App-->
<servlet-mapping>
   <servlet-name>app</servlet-name>
   <url-pattern>/app/*</url-pattern>
   <url-pattern>/app</url-pattern> 
</servlet-mapping>

JBoss should be restarted after making the change.
 


Comment

0 comments

Details

Knowledge Article

Published:

May 10, 2022

Last Updated:

March 21, 2024