NG Client not deploying on Tomcat 9 - Servoy 2021.12

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby swingman » Thu Jul 21, 2022 6:53 pm

Hi jan,

I meant to send you the whole unreacted trace via the forum, but the forum does not allow me to send it to you.
The login page is public, right now we are testing a version without the panel, but I can upload one of the versions that fail so you can see the errors. I just need to give you the URL.

Christian
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby steve1376656734 » Fri Jul 22, 2022 4:19 am

We experienced this exact issue yesterday when deploying our first 2022.06 build as a WAR file. The solution was to set servoy.ngclient.enableWebResourceOptimizer to False on the Servoy Admin page. When this is True it tries to optimise the Javascript files from the components and this is what was causing the issue. As soon as we set this to false and restarted the Tomcat server, everything sprang into life and worked as expected.

HTH

Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 339
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby swingman » Fri Jul 22, 2022 9:52 am

Thanks, Steve, I'm going to try this later today. @jcompagner: I have messaged you the address of the test server in case you want to look at the error later. Right now the server is hosting a build without the Outlook integration. We can agree a time and I will upload the failing version.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby swingman » Fri Jul 22, 2022 1:11 pm

set servoy.ngclient.enableWebResourceOptimizer to False


appears to fix our problem. I can deploy normal Servoy with the Office365-plugin and our Outlook module.
Can't try the outlook integration yet because we are changing strategy to deploy this as a single solution, with different startup forms depending on whether it is started inside Outlook or as a normal Servoy solution.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby jcompagner » Fri Jul 22, 2022 4:07 pm

we are really talking about this right? https://github.com/Servoy/office365/wiki

i don't see a very complex js code purely in the plugin for that so not sure what really is killed by the grouping

but that is all quite old code not sure if it is really looked at or maintained (its not ported to Titanium NGClient)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8884
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: NG Client not deploying on Tomcat 9 - Servoy 2021.12

Postby swingman » Tue Jul 26, 2022 11:02 am

Yes, it is this one. We have forked it and Juan has done some work for us on it which we are happy to give back to the community.
It would be good to know what your plans are.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Previous

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 12 guests