Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login to devportal and api publisher on 4.2.0 #2284

Open
mskirola opened this issue Nov 23, 2023 · 0 comments
Open

Unable to login to devportal and api publisher on 4.2.0 #2284

mskirola opened this issue Nov 23, 2023 · 0 comments

Comments

@mskirola
Copy link

Description

I have installed Wso2 API manager 4.2.0 on one of my development server. Post installation, I am able to access the carbon management console successfully. But when I am trying to access the API publisher and Devportal URLs, It doesnot work

Below is the error in logs:
TID: [-1234] [authenticationendpoint] [2023-11-17 04:47:09,417] ERROR {org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/authenticationendpoint].[default]} - Servlet.service() for servlet [default] in context with path [/authenticationendpoint] threw exception [An exception occurred processing [plugins/basicauth-extensions.jsp] at line [32]

29: request.setAttribute("errorMsg", AuthenticationEndpointUtil 30: .i18n(resourceBundle, "something.went.wrong.contact.admin")); 31: IdentityManagementEndpointUtil.addErrorInformation(request, e); 32: request.getRequestDispatcher("error.jsp").forward(request, response); 33: return; 34: } 35: File typingPatternRecorder = new File(getServletContext().getRealPath("plugins/typing-dna.jsp"));

Stacktrace:] with root cause java.lang.IllegalStateException: Cannot forward after response has been committed at

Steps to Reproduce

Install the Wso2 APi manager 4.2.0, and try to access the Devportal and APi publisher post installation.

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

OS : RHEL 8 Linux

Relevant Log Output

Below is the error encountered in the logs.

TID: [-1234] [authenticationendpoint] [2023-11-17 04:47:09,417] ERROR {org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/authenticationendpoint].[default]} - Servlet.service() for servlet [default] in context with path [/authenticationendpoint] threw exception [An exception occurred processing [plugins/basicauth-extensions.jsp] at line [32]

29: request.setAttribute("errorMsg", AuthenticationEndpointUtil 30: .i18n(resourceBundle, "something.went.wrong.contact.admin")); 31: IdentityManagementEndpointUtil.addErrorInformation(request, e); 32: request.getRequestDispatcher("error.jsp").forward(request, response); 33: return; 34: } 35: File typingPatternRecorder = new File(getServletContext().getRealPath("plugins/typing-dna.jsp"));

Stacktrace:] with root cause java.lang.IllegalStateException: Cannot forward after response has been committed at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313) at org.apache.jsp.login_jsp._jspService(login_jsp.java:1547) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)

Related Issues

https://stackoverflow.com/questions/77499434/wso2-api-publisher-and-devportal-throwing-error-in-version-4-2-0

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants