Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen


Warning

BellaDati uses Java 11

GlassFish is will no longer be supported under . Java 11 and Payara will be is used instead.

All settings done under GlassFish will be deleted

Tip
titleExample Linux :BellaDati GlassFish --> BellaDati Payara

 (info) BellaDati 2.9.5  (GlassFish, java 8)  ——> BellaDati 2.10.1 (Payara, java11) 


 upgrade PostgreSQL to version 12 ( stop BellaDati, make dbs dump, install PostgreSQL 12, setup parameters, restore dump etc)


 save jvm options parameters used in BellaDati java 8; GlassFish a.s.  ( asadmin list-jvm-options > gfparam)

 (warning) recommended, Payara a.s. does not overtake parameters settings used in GlassFish a.s. to tune BellaDati operation
 
 download BellaDati version linux installer  e.g.  BellaDati_linux-x64_2_10.sh

  •  chown, chmod (the same as in GlassFish based BellaDati version)
  •  run installation  ./BellaDati_linux-x64_2_10.sh -c 
  • during installation process warning will appear, that GlassFish parameters will be lost
  • set up all you need 

finish installation 

have a look at jvm options in Payara a.s. (asadmin list-jvm-options)

  •   check and modify comparing with those in saved gfparam files:
  •   create-jvm-options missed in Payara and define values
  •   see   Djdbc,  Xmx,  Dapplication.secure_mode,  Dproduct.name and other used in previous GlassFish setting 


example from installation; 


-Xmx4096m
-Dfile.encoding=UTF-8
-Dlogs.location=../../../../../logs
-Djdbc.driverClassName=org.postgresql.Driver
-Djdbc.url=jdbc:postgresql://localhost:5432/belladati_db
-Djdbc.username=belladati_dbuser
-Djdbc.password=xxxxxxxx
-Djdbc.pool.maxActive=200
-Djdbc.pool.minIdle=8
-Djdbc.pool.maxIdle=200
-Djdbc.pool.minIdleEvictionTime=300000
-Djdbc.pool.maxWaitTime=60000
-DignoreOSversion=true
-Dproduct.name=AnonymousServer
-Dapplication.secure-mode=true


 restart BellaDati,

  • set up license,
  • check listeners,
  • certificate
  • etc ...( common tasks during installation)






Warning

Windows installer of BellaDati will offer to use PostgreSQL 12.

Usage of new database will delete all your data.

You will be prompted to optionaly upgrade to newer version of PostgreSQL Database. If you choose to upgrade, you must backup your old database manually, othewise your data will be lost.

You can find guide how to backup your database here BellaDati Backup and Restore



Note

BellaDati with Java 8 will be supported next 6 month


Troubleshoot

Q: I can not see all my data after Payara upgrade

A: Try to reindex your data. See how to do it here 

...