Page 1 of 1

Error when open NG in 8.2.2

PostPosted: Fri Dec 15, 2017 7:22 pm
by gonayp
I generate the WAR as I did until version 8.2.1 and it always worked without problems.
But now the WAR upload well and servoy-admin also works, but DOES NOT open any NG solution. the WebClient open correctly.

Any NG solution that you want to execute is open with the complete blank screen (in the browser) and in the log and you see this message.

This already happened in 8.2.2 RC but I thought that is because is RC.

The version of Linux is Centos 7.3 and is all updated. the java version that is the last one.

The image that I put is the log of version 8.2.2 (released today Thursday 14/12/17).

Thanks for the help

Re: Error when open NG in 8.2.2

PostPosted: Mon Dec 18, 2017 11:08 am
by jcompagner
i didn't see a case coming in for 822rc that that was suddenly a problem for you?

the thing is in the generated WAR (which is just a zip) there should be file called "org.freemarker.freemarker_2.3.21.stable.jar" in the subdir: WEB-INF\lib inside the war
is that file not there? (and if it is if you extract it can you open it?

That file is copied from the developer install (because in developer this works fine right?)
and then that file is in [servoyinstall]\developer\plugins

So first does the WAR has that file?

Re: Error when open NG in 8.2.2

PostPosted: Mon Dec 18, 2017 11:15 am
by jcompagner
what is the OS that generated the war (where developer runs on?) is that also Linux or is that Windows/Mac?

Re: Error when open NG in 8.2.2

PostPosted: Mon Dec 18, 2017 10:04 pm
by gonayp
The War is generated on a PC with windows and I confirm the "org.freemarker.freemarker_2.3.21.stable.jar" is not copied there.
There are in the developer two different versions:
- "org.freemarker.freemarker_2.3.21.stable.jar"
- "org.freemarker.freemarker_2.3.20.stable.jar"
When we generate the WAR and upload it to the LINUX server, they are not copied.
We copy the file manually, we reboot and now it works.

thank you very much

please check for the next release.

Note: This already happened in 8.2.2 RC

Re: Error when open NG in 8.2.2

PostPosted: Tue Dec 19, 2017 11:23 am
by jcompagner
you can just delete the org.freemarker.freemarker_2.3.20.stable.jar from the developer\plugins dir
that should be fine, it is eclipse that cleans that eventually but it should be fine to remove that, it is a 81 jar

Re: Error when open NG in 8.2.2

PostPosted: Tue Jan 23, 2018 3:48 pm
by jeffrey.vandenhondel
gonayp wrote:The War is generated on a PC with windows and I confirm the "org.freemarker.freemarker_2.3.21.stable.jar" is not copied there.
There are in the developer two different versions:
- "org.freemarker.freemarker_2.3.21.stable.jar"
- "org.freemarker.freemarker_2.3.20.stable.jar"
When we generate the WAR and upload it to the LINUX server, they are not copied.
We copy the file manually, we reboot and now it works.

thank you very much

please check for the next release.

Note: This already happened in 8.2.2 RC


Thank you for this post i was search for a solution to this problem :).
Maybe there should be some sort of upgrade guide for these problems.

Re: Error when open NG in 8.2.2

PostPosted: Tue Jan 23, 2018 4:25 pm
by emera
Hi Jeffrey,

We have a fix for 8.2.3 (the next version). In case 2 versions of a jar are found, only the latest is copied to the war.