Servoy Admin Page from Help in Developer gives error

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Servoy Admin Page from Help in Developer gives error

Postby huber » Wed Apr 11, 2018 12:10 pm

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,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby mboegem » Thu Apr 12, 2018 9:04 am

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
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1426
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Servoy Admin Page from Help in Developer gives error

Postby Harjo » Thu Apr 12, 2018 11:10 am

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
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4289
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Thu Apr 12, 2018 3:33 pm

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,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby jcompagner » Thu Apr 12, 2018 3:42 pm

and the rest does work? like just localhost:8080
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8086
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Thu Apr 12, 2018 3:51 pm

jcompagner wrote:and the rest does work? like just localhost:8080


Yes, localhost:8080 does work.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby jcompagner » Thu Apr 12, 2018 4:24 pm

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)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8086
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Mon Apr 16, 2018 11:57 am

Hi Johan

I get the following message back, see attached screenshot.

Regards,
Attachments
app server.png
app server.png (86.14 KiB) Viewed 428 times
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby jcompagner » Mon Apr 16, 2018 12:06 pm

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\
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8086
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Mon Apr 16, 2018 12:24 pm

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$
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby patrick » Mon Apr 16, 2018 12:42 pm

Maybe this is your problem (the updater needs to be updated manually): viewtopic.php?f=1&t=21903
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3646
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Mon Apr 16, 2018 12:46 pm

Just for your information, this is my server.xml file (zipped).

Regards,
Attachments
server.xml.zip
(1.53 KiB) Downloaded 15 times
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby jcompagner » Mon Apr 16, 2018 1:39 pm

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8086
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy Admin Page from Help in Developer gives error

Postby huber » Mon Apr 16, 2018 2:14 pm

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,
Attachments
web.xml.zip
(949 Bytes) Downloaded 14 times
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 311
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy Admin Page from Help in Developer gives error

Postby jcompagner » Mon Apr 16, 2018 2:43 pm

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8086
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Next

Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 2 guests

cron