You are not logged in.
Install went fine and the logs show the server started up and initialized. I see all the tables in PostgreSQL.
Each time I try to login with root account I see the below error in the reportserver log. I tried dropping database and repopulating, but got the same issue.
[Wed Nov 17 22:47:03 UTC 2021] INFO: net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor invoke - Intercepted NonFatalException
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract net.datenwerke.security.client.login.AuthenticateResultDto net.datenwerke.rs.authenticator.client.login.rpc.LoginHandler.authenticate(net.datenwerke.security.client.login.AuthToken[]) throws net.datenwerke.gxtdto.client.servercommunication.exceptions.ServerCallFailedException' threw an unexpected exception: java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.changeSessionId()Ljava/lang/String;
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:416)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:605)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:290)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:280)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:89)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:94)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
Environment Info
[root@ opt]# tomcat version
Server version: Apache Tomcat/7.0.76
Server built: Jun 22 2020 23:34:41 UTC
Server number: 7.0.76.0
OS Name: Linux
OS Version: 4.14.252-195.483.amzn2.x86_64
Architecture: amd64
JVM Version: 1.8.0_141-b15
JVM Vendor: Oracle Corporation
PostgreSQL (9.2)
Offline
Hi jorep,
your tomcat installation is too old for the newest reportserver version, pls try to upgrade.
Your error shows: HttpServletRequest.changeSessionId() not found (HttpServletRequest.changeSessionId()) java.lang.NoSuchMethodError
so this method is not being found. The tomcat compatibility matrix shows:
http://tomcat.apache.org/whichversion.html
that tomcat 7 supports servlet specification 3.0. String changeSessionId() was introduced in servlet 3.1. So you have to upgrade to (at least) tomcat 8 or tomcat 8.5.
Regards,
Eduardo
Offline
Thanks for the fast reply. Yep that was the issue.
For those on EC2 AML2 Tomcat 7 is the default in the repo. The below gets you 8.5 from Amazon Extras:
$ sudo amazon-linux-extras install tomcat8.5
Offline
Hi jorep1,
I am glad this works, thanks for the additional info!
Regards,
Eduardo
Offline