Search found 5 matches

by evmcl
Tue Jul 04, 2023 2:19 am
Forum: Stimulsoft Reports.JAVA
Topic: Authentication failed when trying to connect to Postgres from version 2023.2.3 onwards
Replies: 2
Views: 7392

Authentication failed when trying to connect to Postgres from version 2023.2.3 onwards

Using a connection string like: Server=localhost; Port=5432; Database=mydb; UserId=postgres; Password=redacted; Which works with older versions of Stimulsoft, but from version 2023.2.3 onwards we get an exception as follows. java.lang.RuntimeException: FATAL: password authentication failed for user ...
by evmcl
Mon Dec 14, 2020 11:25 am
Forum: Stimulsoft Reports.JAVA
Topic: Minimal Spring Boot example
Replies: 1
Views: 3438

Minimal Spring Boot example

I've created a minimal example of using the Stimulsoft web viewer JSP component in a Spring Boot project.

https://github.com/evmcl/stimulsoft_spring_demo
by evmcl
Mon Dec 14, 2020 10:55 am
Forum: Stimulsoft Reports.JAVA
Topic: Using the web viewer in a Spring Boot applicatin
Replies: 5
Views: 4186

Re: Using the web viewer in a Spring Boot applicatin

I've mostly got this sorted. In my Spring application I am serialising session variables to be cached in the database (spring-session-jdbc). This overrides the standard Tomcat HttpSession. It looks like the stiwebviewer stashes the StiReport object into the session object, which is when the exceptio...
by evmcl
Wed Dec 09, 2020 11:29 am
Forum: Stimulsoft Reports.JAVA
Topic: Using the web viewer in a Spring Boot applicatin
Replies: 5
Views: 4186

Re: Using the web viewer in a Spring Boot applicatin

Spring tries to serialise StiReport (exception not in Stimulsoft libs) Yeah, I already understood that that is what was happening. Was hoping someone had perhaps run across this problem before, or could provide a working example with Spring Boot that I could compare to to try and figure out why we ...
by evmcl
Wed Dec 09, 2020 6:02 am
Forum: Stimulsoft Reports.JAVA
Topic: Using the web viewer in a Spring Boot applicatin
Replies: 5
Views: 4186

Using the web viewer in a Spring Boot applicatin

I am trying to use the web viewer for a report in a Spring Boot application and getting an exception regarding trying to serialize an StiReport object to a byte array. The start of the stack trace is: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang....