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 2015-02-11 11:51:46

sdavies68
Member
Registered: 2015-02-11

Mysql Timeouts with RP2.2

Hello,

I am having the same error experienced in older RS versions with MySQL timeouts.

http://forum.reportserver.net/viewtopic.php?id=98

I have tried looking for the pool.cf file, but cannot find it on RS2.2.1-5602

Last edited by sdavies68 (2015-02-11 11:54:54)

Offline

#2 2015-02-11 12:10:43

sdavies68
Member
Registered: 2015-02-11

Re: Mysql Timeouts with RP2.2

OK, I have found the pool file under the File system in Administrator (I was looking for it in the OS).

This is the pool configuration

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <pool>
      <defaultconfig>
         <maxPoolSize>40</maxPoolSize>
         <initialPoolSize>10</initialPoolSize>
         <acquireRetryAttempts>10</acquireRetryAttempts>
         <acquireRetryDelay>500</acquireRetryDelay>
         <checkoutTimeout>60000</checkoutTimeout>
         <maxConnectionAge>7200</maxConnectionAge>
         <maxIdleTime>3600</maxIdleTime>
      </defaultconfig>
   </pool>
</configuration>

This is the error I get

Error: An error occured during report execution.
The report could not be executed: Could not open connection to: jdbc:mysql://172.31.254.62:3306/portal210 with user: {username}. java.sql.SQLNonTransientConnectionException: Could not read resultset: unexpected end of stream, read 0bytes from 4
To get help please contact an administrator.
Details
net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorException: The report could not be executed: Could not open connection to: jdbc:mysql://{serverip}:3306/portal210 with user: {username}. java.sql.SQLNonTransientConnectionException: Could not read resultset: unexpected end of stream, read 0bytes from 4 at net.datenwerke.rs.core.service.reportmanager.ReportExecutorServiceImpl.execute(ReportExecutorServiceImpl.java:218) at net.datenwerke.rs.core.service.reportmanager.ReportExecutorServiceImpl.execute(ReportExecutorServiceImpl.java:119) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.exeucteReport(ReportExportServlet.java:527) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.doExportReport(ReportExportServlet.java:402) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.exportReport(ReportExportServlet.java:333) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.exportReportById(ReportExportServlet.java:270) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.exportReportByIdViaRequest(ReportExportServlet.java:261) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.doGet(ReportExportServlet.java:162) at
.......
.......

I click the refresh (sometimes twice) and it loads the report fine.

Offline

#3 2015-02-11 13:49:06

Thorsten J. Krause
Guest

Re: Mysql Timeouts with RP2.2

Hi,

did you check the value of the wait_timeout property for your mysql server? You can do this with the query

show variables like "wait_timeout"

the default value is 28800 (8hrs) which is way more than the maxConnectionAge the pool uses, so there should be no problems. But perhaps your server just isn't using the default value.

Cheers,
Thorsten

#4 2015-02-12 08:20:19

sdavies68
Member
Registered: 2015-02-11

Re: Mysql Timeouts with RP2.2

My value was 15!

I have change it to 3600 and will monitor.

Thank-you

Last edited by sdavies68 (2015-02-12 08:20:39)

Offline

Board footer

Powered by FluxBB