phax / phoss-smp

phoss SMP - a Peppol and OASIS BDXR SMP Server, CEF eDelivery compliant
125 stars 36 forks source link

Tomcat upgrade #249

Closed alexandrsasazamboch closed 11 months ago

alexandrsasazamboch commented 11 months ago

Hi Philip,

I would like to upgrade web server.

I have installed the new version of web server and copied content of the ROOT folder to the new ROOT. The I took files containing SMP data from Tomcat 9.0\conf\ folder and put them to Tomcat9.0.78\conf\ folder and this step will cause SMP not run.

I have copied these files : sml-info.xml smp-business-card.xml smp-servicegroup.xml smp-serviceinformation.xml smp-settings.xml smtpsettings.xml transportprofiles.xml

Can you please help me how can I transfer SMP data?

Thank you, Regards, Alex

phax commented 11 months ago

Hi @alexandrsasazamboch, the main questions are:

  1. from what Tomcat version to what Tomcat version are you upgrading and
  2. what SMP version are you using?

// Philip

alexandrsasazamboch commented 11 months ago

Hi Philip,

We have SMPs test and production. phoss SMP [Test version] 6.0.7 with Peppol API phoss SMP 5.2.6 with Peppol API

Current Tomcat version as 9.0.38, need to upgraded to 9.0.78.

Thank you, Regards, Alex

phax commented 11 months ago

Hi Alex, Thanks for the information.

  1. When copying the conf/ directory, please copy everything - just to be sure.
  2. Make sure, that the configurarion file(s) are found. For version 5.2.6, these are (application.properties, webapp.properties and smp-server.properties) and for v6.0.7 it is application.properties only.
  3. Btw., if you have a conf folder in your Tomcat directory, it means, that you most likely did not modify the webapp.datapath configuration property. It is strongly recommended, that you customize this property value, so that it contains an absolute path (e.g. /var/phoss-smp) - then it will survive Tomcat updates as well :)

Please post the error here that you receive (or send it by email if you prefer), so that I can give better guidance.

// Philip

alexandrsasazamboch commented 11 months ago

Thank you Philip, the full content of the conf/ folder made the job. Now all is working fine.

Alex