Page 1 of 2

Servoy Admin Page from Help in Developer gives error

PostPosted: Wed Apr 11, 2018 12:10 pm
by huber
I start Servoy Admin Page from the Help menu and get the 404 Not Found error. The URL shown in the browser ist correctly: http://localhost:8080/servoy-admin

I did make an update to macOS 10.13.4 and to the latest Safari version (11.1).

Anyone having this problem as well?

Regards,

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 9:04 am
by mboegem
Hi,

normally this should open localhost with the correct port number.
However I've seen this fail in the past.

Are you sure port 8080 was available at the time you launched Servoy?
If not, Servoy is now running on a different port.

You can also try 127.0.0.1:8080/servoy-admin or your LAN-IP address (probably something like 192.168.xx.xxx:8080/servoy-admin), since localhost is just a loopback interface which might be broken as well.

Hope this helps

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 11:10 am
by Harjo
Most of the time, this is the bug in java with (older) Tomcat and compression is ON.

viewtopic.php?f=5&t=22114&hilit=compression

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 3:33 pm
by huber
Hi Marc, Harjo

Port 8080 ist open om my Mac (when starting Servoy Developer). I have set compression="off" in server.xml but still can't access Servoy Admin Page from the Help menu.

Harjo wrote:Most of the time, this is the bug in java with (older) Tomcat and compression is ON.

viewtopic.php?f=5&t=22114&hilit=compression

Regards,

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 3:42 pm
by jcompagner
and the rest does work? like just localhost:8080

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 3:51 pm
by huber
jcompagner wrote:and the rest does work? like just localhost:8080


Yes, localhost:8080 does work.

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Thu Apr 12, 2018 4:24 pm
by jcompagner
weird, then there has to be errors somewhere in the various log files (servoy log, tomcat log or developer/workspace log)

or what does the browser really come back with (if it is that compression) (if you look with the developer tools (F12) in your browser)

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 11:57 am
by huber
Hi Johan

I get the following message back, see attached screenshot.

Regards,

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 12:06 pm
by jcompagner
very weird,

i think if it was compression you didn't get a 404.

but somehow that servlet is not there, if localhost:8080 (really after hard refresh) does show you the default servoy start page
Then you really not to dive into the log files of tomcat and check maybe the web.xml (you didn't really touch that one right?) in the server\webapps\ROOT\WEB-INF\

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 12:24 pm
by huber
I made an update of Servoy Developer in the hope to fix the problem. Developer got updated, but NOT so the application server. It failed. As suggested by the Developer, I tried it on the command line with:

java -jar servoy_updater.jar -releaseNumber 3109

It seems the updater can not find the build number 3036 with that URL. Why?

By the way, we had the same behaviour on another machine. Both machines have:

Java 1.8.0_151
Servoy Developer 8.1.4
macOS 10.13.4

Code: Select all
MacBook-Pro:Servoy8.1 robert$ java -jar servoy_updater.jar -releaseNumber 3109
Current Servoy version 3035
Checking for new Servoy version
Working in directory: /Applications/Servoy8.1
Loading version info...
New version available 3109


Servoy 8.2.3

NOTE: ALWAYS make a backup of your Servoy directory and your databases before usage.




Downloading...
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://download.servoy.com/downloads/8xx_updates/servoy_update.jar.3036
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
   at com.servoy.updater.VersionCheck.downloadNewVersionJar(VersionCheck.java:181)
   at com.servoy.updater.VersionCheck.downloadIncrementalNewVersions(VersionCheck.java:235)
   at com.servoy.updater.VersionCheck.main(VersionCheck.java:350)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://download.servoy.com/downloads/8xx_updates/servoy_update.jar.3036
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
   at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
   at com.servoy.updater.VersionCheck.downloadNewVersionJar(VersionCheck.java:176)
   ... 2 more
MacBook-Pro:Servoy8.1 robert$

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 12:42 pm
by patrick
Maybe this is your problem (the updater needs to be updated manually): viewtopic.php?f=1&t=21903

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 12:46 pm
by huber
Just for your information, this is my server.xml file (zipped).

Regards,

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 1:39 pm
by jcompagner
i was talking about the web.xml not the server.xml

But i guess your application server part is never correctly upgraded. When you did came from 8.1 ..
So first fix that

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 2:14 pm
by huber
Yes, attached the web.xml file of version 8.1.4

With the new updater, I could update the application server as expected to version 8.2.3. But the Admin Page still brings the same error.

jcompagner wrote:i was talking about the web.xml not the server.xml

But i guess your application server part is never correctly upgraded. When you did came from 8.1 ..
So first fix that

Regards,

Re: Servoy Admin Page from Help in Developer gives error

PostPosted: Mon Apr 16, 2018 2:43 pm
by jcompagner
i have no idea then, do a clean install and so how that goes
Without way more logging (any logging including tomcat, servoy, eclipse) i can't help