Problem with upgrade from 5.1 to 5.2

Hi,

Recently I tried to upgrade Jasperserver Pro 5.1 to 5.2 - from WAR file distribution running on Tomcat7 (OpenJDK 1.7 or Oracle Java 1.7, i tried both) with Postgresql 9.1 as Jasper database. After successfully running script  js-upgrade-samedb.sh - no errors, all done starting tomcat is getting stuck infinitely after reaching 

Creating ActionModelService object.                                                                                           
Creating action model infrastructure.

In a catalina.out logfile, jasperserver.log log is empty

It is not possible to stop tomcat then, only kill -9 works. I have to restore from backup, to 5.1 which is working without problem.

Anyone experiened similar problem? Any solution ?

Regards

Rafał

raf_1's picture
3
Joined: Mar 22 2013 - 9:13am
Last seen: 6 years 5 months ago

3 Answers:

Hi Rafal,

I think there might be a bug with 5.2 running under with Tomcat 7. Tomcat 7 handles threads spawned by an application differently than tomcat 6. I think it is the case that jasperreports server has a thread that does not automatically shutdown when tomcat gives the shutdown request.

I will be looking for a fix for this with our next release 5.5. In the meantime, let me ask you a question...

 - with your upgraded to 5.2 instance, are you able to get to the Login screen?

tkavanagh's picture
14468
Joined: Jul 7 2006 - 8:54am
Last seen: 8 years 6 months ago

Not at all, I cannot reach any tomcat page neither via Apache AJP connector nor directly on port 8080.

raf_1 - 9 years 7 months ago

Ah, ok so it looks like JRS (JasperReports Server) is not starting up cleanly. 

The next step that I would normally do is look for errors in the <tomcat>/logs/catalina.out log file. 

And I would recommend: stopping tomcat, clear out the contents of the logs folder, then restart so it is a little easier to see exactly what error occurred. 

tkavanagh's picture
14468
Joined: Jul 7 2006 - 8:54am
Last seen: 8 years 6 months ago

Tomcat logs are stuck at:

Creating ActionModelService object.
Creating action model infrastructure.

Before normally deploying jasperserver-pro application. I tried couple of times to remove i.e. mysql jdbc driver or removing mariadb jdbc because are new. No avail. tomcat can be only killed by KILL signal.

raf_1 - 9 years 7 months ago

Here is an amazing movie Apps for all movie geeks. Download Showbox Apk

makhtc28's picture
Joined: Feb 22 2016 - 7:02am
Last seen: 7 years 1 month ago
Feedback
randomness