Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2021-11-18 12:14:30

jorep1
Member
Registered: 2021-11-18

After initial install get 500 service error logging in as root

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

#2 2021-11-18 12:30:52

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: After initial install get 500 service error logging in as root

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

#3 2021-11-18 12:37:32

jorep1
Member
Registered: 2021-11-18

Re: After initial install get 500 service error logging in as root

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

#4 2021-11-18 13:03:35

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: After initial install get 500 service error logging in as root

Hi jorep1,

I am glad this works, thanks for the additional info!

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB