Port 1099 Problem

We have been successfully running and accesing Servoy Servor 3.5 on a Windows 2000 server platform. Recently, we uninstalled version 3.5 and put up version 4.0 on the same Windows 2000 server platform. Now, we cannot connect to the RMI start port 1099.

If we try to check out a solution on the Windows server platform using Servoy Devloper (locally or remotely) we get the following error message:

Cannot get solutions from: IPAddressOfOurWindows2000Platform
Exception creating connection to: IPAddressOfOurWindows2000Platform; nested exception is:
java.io.IOException: Connect refused: connect

The web interface to Servoy Server works (port 8080), enabling us to view its network settings. The RMI port is set to 1099 (servoy.rmiStartPort: 1099). However, if we try to telnet to this port on the server (locally or remotely), we cannot establish a connection. Other telnet connections work fine. Using the NETSTAT -a Windows command on the server, we do not see port 1099 being used at all (Servoy not listening on this port), however, we do see other ports such as 8080 and 2638 being used. We don’t have port 1099 blocked in a firewall or any other place that we know about. It should be working.

Does anyone have any ideas what is going on?

Thanks!

Kim

Do you have startup errors in the server’s log?

The logs from the following path:

Servoy → application_server → server → logs

show the following (typical of individual daily log file):

127.0.0.1 - - [20/Aug/2008:14:20:08 -0700] “GET /servoy-rmi-portserver HTTP/1.1” 200 4
127.0.0.1 - - [20/Aug/2008:14:20:26 -0700] “GET / HTTP/1.1” 200 2244
127.0.0.1 - - [20/Aug/2008:14:22:04 -0700] “GET / HTTP/1.1” 200 2244
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /servoy-admin HTTP/1.1” 302 -
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /servoy-admin/ HTTP/1.1” 200 22811
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /lib/images/background.png HTTP/1.1” 200 200
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /lib/images/space.png HTTP/1.1” 200 100
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /lib/images/server_logo.png HTTP/1.1” 200 10010
127.0.0.1 - - [20/Aug/2008:14:22:42 -0700] “GET /lib/images/mh_tl.png HTTP/1.1” 200 273
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_tc.png HTTP/1.1” 200 128
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_tr.png HTTP/1.1” 200 274
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_cl.png HTTP/1.1” 200 110
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_cr.png HTTP/1.1” 200 113
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_bl.png HTTP/1.1” 200 110
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mh_br.png HTTP/1.1” 200 110
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mb_l.png HTTP/1.1” 200 110
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mb_r.png HTTP/1.1” 200 113
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mb_bl.png HTTP/1.1” 200 449
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mb_bc.png HTTP/1.1” 200 161
127.0.0.1 - - [20/Aug/2008:14:22:43 -0700] “GET /lib/images/mb_br.png HTTP/1.1” 200 452
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /servoy-admin HTTP/1.1” 302 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /servoy-admin/ HTTP/1.1” 200 22812
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/background.png HTTP/1.1” 200 200
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/space.png HTTP/1.1” 200 100
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/server_logo.png HTTP/1.1” 200 10010
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_tl.png HTTP/1.1” 200 273
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_tr.png HTTP/1.1” 200 274
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_cl.png HTTP/1.1” 200 110
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_cr.png HTTP/1.1” 200 113
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_bl.png HTTP/1.1” 200 110
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_br.png HTTP/1.1” 200 110
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mb_l.png HTTP/1.1” 200 110
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mb_r.png HTTP/1.1” 200 113
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mb_bl.png HTTP/1.1” 200 449
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mb_bc.png HTTP/1.1” 200 161
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mh_tc.png HTTP/1.1” 200 128
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /lib/images/mb_br.png HTTP/1.1” 200 452
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:23:23 -0700] “GET /favicon.ico HTTP/1.1” 404 1000
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:56:58 -0700] “GET /servoy-admin/users HTTP/1.1” 200 7463
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:56:58 -0700] “GET /lib/images/cross.png HTTP/1.1” 200 633
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:57:31 -0700] “POST /servoy-admin/users HTTP/1.1” 200 7755
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:58:59 -0700] “GET /servoy-admin HTTP/1.1” 302 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:58:59 -0700] “GET /servoy-admin/ HTTP/1.1” 200 22813
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /servoy-admin/ HTTP/1.1” 200 22813
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/space.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/background.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/server_logo.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_tl.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_tc.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_tr.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_cl.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_cr.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_bl.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mh_br.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mb_l.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mb_r.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mb_bl.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mb_bc.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:14:59:17 -0700] “GET /lib/images/mb_br.png HTTP/1.1” 304 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:15:00:10 -0700] “GET /servoy-admin.com HTTP/1.1” 404 1015
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:15:00:37 -0700] “GET /servoy-admin HTTP/1.1” 302 -
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:15:00:37 -0700] “GET /servoy-admin/ HTTP/1.1” 200 22802
IPAddressOfOurWindows2000Platform - - [20/Aug/2008:15:00:45 -0700] “GET /servoy-admin/users HTTP/1.1” 200 7623
127.0.0.1 - - [20/Aug/2008:15:36:51 -0700] “GET /servoy-rmi-portserver HTTP/1.1” 200 4

Does this help?

Kim

I meant “[your_installation_dir]/application_server/servoy_log.txt”.
Sry for not specifying.

In order not to paste all of it (don’t know, might be big) you can stop the server / delete the log / restart server / reproduce bug then send the contents of that file.

These are the only two lines in the ‘servoy_log.txt’ file even after I just now reproduced the error using a remote client (Servoy Developer):

STATUS | wrapper | 2008/08/20 15:28:01 | Servoy Application Server removed.
ERROR | wrapper | 2008/08/20 15:28:01 | CreateService failed - The specified service has been marked for deletion. (0x430)

The Windows server platform is running Servoy Developer locally, and there is a red-yellow-orange lighning bolt icon in the Windows System Tray. I can connect to the Servoy Server remotely using port 8080 in Internet Explorer. I thought (incorrectly?) that this meant Servoy Server was running…am I mistaken?

Kim

On the server side you must run Servoy server, not Servoy developer.
In case of 4.0, developer will/can only launch development clients (web/smart) and ony one instance of each type.

What you have to do is commit solutions that you want available on the server using the Servoy team operation from developer.
You can do this in two ways:

  1. Using developer on the server machine with admin setting “servoy.application_server.startRepositoryAsTeamProvider=true”. This way you can commit the solutions to “localhost”.
  2. Using developer on another machine with admin setting “servoy.application_server.startRepositoryAsTeamProvider=false”. This way you can commit solutions to your server remotely (using the ip/hostname of the server and user/password).

Tell me how it works :wink: .
BTW the red-yellow-orange lighning bolt icon in the Windows System Tray is probably the Sybase database server Servoy will connect to (the developer starts it).

Andrei,

I discovered that the Servoy Application Server was not running as a service, even though I checked the ‘Windows Service’ box during installation. I manually added it by entering the following command from the ‘service’ sub-folder:

wrapper.exe -i “c:\program files\servoy\application_server\service\wrapper.conf”

It appears to be working now. Thanks for all your help and suggestions!

Kim