Just finishing the installation of servoy 4.1 on CentOS. Nearly there but have a few questions on issues I am confused on:
a) Both sybase database and servoy server start without errors. Last line in server.log is INFO: server startup in 1679ms. Does this mean that servoy has sucessfully connected to the database? would it tell me if it hadnt? Is there a ‘verbose’ or ‘debug’ flag I can add to server startup to get more info while I am in the testing phase?
b) To get a remote client to be able to download the servoy java client I had to open port 8080 INBOUND/OUTBOUND on the server - as the server is running iptables. However although the remote cleint can now open the java client - it can’t do anything? Do I need to open any other ports eg:
RMI - 1099
and/or
2638 - sybaseserver
between the server and the client? I am a bit confused as to which channels need to be open between the cremote client and the server?
Does the server<->client communication occuir ONLY on port 8080, or does it use other ports as well?
Thanks
al
alb:
a) Both sybase database and servoy server start without errors. Last line in server.log is INFO: server startup in 1679ms. Does this mean that servoy has sucessfully connected to the database? would it tell me if it hadnt? Is there a ‘verbose’ or ‘debug’ flag I can add to server startup to get more info while I am in the testing phase?
See the log4j settings in the servoy.properties. Yes, you need to edit the file manually.
alb:
b) To get a remote client to be able to download the servoy java client I had to open port 8080 INBOUND/OUTBOUND on the server - as the server is running iptables. However although the remote cleint can now open the java client - it can’t do anything? Do I need to open any other ports eg:
RMI - 1099
and/or
2638 - sybaseserver
between the server and the client? I am a bit confused as to which channels need to be open between the cremote client and the server?
Does the server<->client communication occuir ONLY on port 8080, or does it use other ports as well?
When you use Rich-client it needs port 8080 and 1099 to be open (by default, you can change the ports in the servoy-admin pages).
However Servoy also allows tunneling both ports over 1 single port, like port 80. But that is not enabled by default.
And of course when using webclient then only port 80 needs to be open since the webclient runs on the server itself.
Yes that helps…but leads to other questions…I enabled port 1099 in both directions and now the riich client is working for remote client machines. So that’s great…however we would like to use the web client on port 80 rather than the rich client on 8080 + 1099.
How do we go about doing that?
Currently the servoy client is accessable at http://serverip:8080/ and the admin at http://serverip:8080/servoy-admin - all being delivered by the tomcat that is internal to servoy server.
Right now I have a basic (1 line) web page sitting at http://serverip/ (ie port 80) - being delivered by httpd. (apache)
Do I need to turn off apache so servoy can use this port?
Are there setup tips somewhere for the servoy web client? If so, where (sorry if theya re obvious).
Thanks
Al