After entering login credentials, MyIT is redirecting to RSSO link and getting Error 500 on the screen.

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Digital Workplace


    APPLIES TO:

    This KA is applicable for all versions of MyIT Digital WorkPlace.(only RSSO - Tomcat 7.x specific)



    QUESTION:

     
        
        -- After entering login credentials, MyIT is redirecting to RSSO link like :   
       
        rsso/oauth2/consent-decision?client_id=c1806be5-57b3-49fb-bebd-54e92b9bc2aa&state=null&redirect_key=aba55ab7-91e6-4e43-958d-764fba57118d&scope=   
        with 500 error on the screen  
         User-added image

    -- Please check for below error if it is present in RSSO Tomcat\logs\localhost.log :
      
      
       Mar 04, 2019 7:56:38 PM org.apache.catalina.core.StandardWrapperValve invoke  
       SEVERE: Servlet.service() for servlet [OAuth2 API] in context with path [/rsso] threw exception [org.glassfish.jersey.server.ContainerException: org.apache.jasper.JasperException: Unable to compile class for JSP:   
        
       An error occurred at line: 68 in the jsp file: /consent.jsp  
       '<>' operator is not allowed for source level below 1.7  
       65:     }  
       66:   
       67:     String state = sanitizeNullParameter(request, OAuth.OAUTH_STATE);  
       68:     List<String> userRights = new ArrayList<>();  
       69:     String scopeStr = sanitizeNullParameter(request, OAuth.OAUTH_SCOPE);  
       70:     if (!CommonsUtil.isNullOrEmpty(scopeStr)) {  
       71:         userRights = Arrays.asList(scopeStr.split(","));  
      
    If above error is present,     It's needed to manually add below configuration 


    ANSWER:

     

      -- It's needed to manually add this configuration to the Tomcat\conf\web.xml : 
     
          <servlet> 
              <servlet-name>jsp</servlet-name> 
              <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> 
              <init-param> 
                  <param-name>fork</param-name> 
                  <param-value>false</param-value> 
              </init-param> 
              <init-param> 
                  <param-name>xpoweredBy</param-name> 
                  <param-value>false</param-value> 
              </init-param> 
                              <init-param> 
                  <param-name>compilerSourceVM</param-name> 
                  <param-value>1.8</param-value> 
              </init-param> 
              <load-on-startup>3</load-on-startup> 
          </servlet>

     


    Article Number:

    000165170


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles