Page 1 of 1

Cannot import solution <solution name> included in war file

PostPosted: Tue Jul 21, 2020 11:01 pm
by Richard1521662995
Set up a new server, created a war file and deployed into Tomcat server. I have updated parts of the software and did a file export creating a .servoy file. First couple of updates imported fine. Have tried to import today and the import stops with the error 'Cannot import solution <solution name> included in war file'.

I deleted all the solutions -- noted the message Warning: the server must be restarted in case the same solution needs to be imported again. Rebooted the server, went to import the solution and all the solutions I deleted have re-appeared. Tried deleting the solutions one by one, rebooted the server, all the solutions have re-appeared again.

This method of updating the solution has worked fine so far. Am i doing anything wrong or is there a better way of updating?

Richard

Re: Cannot import solution <solution name> included in war f

PostPosted: Wed Jul 22, 2020 10:41 am
by Ruben79
Seems like you exported your war file including solutions. That is also why they show up after a restart again.
When you want to use a .servoy file to update your application server, it's best to not export the solutions with the war file. So you'll have an empty repository when deployed and you need to import your .servoy first.
After that you can keep updating your server with .servoy files and the modules will get new import revisions because they are saved in the repository database. Even after a redeploy of the war file these will be persistent.

Re: Cannot import solution <solution name> included in war f

PostPosted: Wed Jul 22, 2020 11:00 am
by Richard1521662995
I have include active solution and modules ticked in he war export. Will try updating the server that way, thnks.