Imacs can not connect

Our Intel Imacs can no longer open the client.
Error: “No licenses or Trial Licenses Left”
OS 10.4.7 & 8
Java Runtime Edition 1.5

Our Windows XP and 2000 machines work fine. We have plenty of licenses

Just upgraded Servoy to v3.1.5, Server is Windows XP. Nothing else has changed

The Server Log shows this cryptic message, for the IP address of one Intel Mac:

2007-05-30 09:18:04,437 ERROR [RMI TCP Connection(2)-192.168.1.101] com.servoy.j2db.dataprocessing.ClientManager - java.rmi.ConnectIOException: Exception creating connection to: 192.168.1.101; nested exception is:
java.io.InterruptedIOException: The socket pool for a client 192.168.1.101:3000 did not recieve a callback socket from the client within 60000ms, pool still empty
2007-05-30 09:18:06,921 ERROR [ClientExportNotifyListner[0]] com.servoy.j2db.util.Debug - Signalling channel lost, removing ports: [3000]
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at com.servoy.j2db.util.a.d$1.run(Unknown Source)
2007-05-30 09:18:06,921 ERROR [ClientExportNotifyListner[0]] com.servoy.j2db.util.Debug - Signalling channel lost when reading pings or client export notifies, removing ports: [3000]

it’s been a week now, and our users are frustrated. They are currently moving to desks with windows machines

I just ran into this recently myself. After we turned on useTwoWaySockets in the Client preferences it seems to be resolved, though I’m not really sure how this relates to the error message about not having enough licenses (which we also saw).

yes, we thought of that

but, when they open the servoy client, and click “cancel” ( no solution open ), they get a spinning beachball, and can’t GET to preferences

maybe there is a way to hack the client preferences file?

greg

Maybe you could turn twoWaySockets on in the network settings on the Server admin page, restart Servoy Server so it’ll take effect, then clear the client’s Java cache and redownload Servoy.

yes, the admin has two way sockets turned on. It always was on
I’ve had them delete servoy client, and start over
not sure if they cleared the java cache

I also tried decreasing the ping delay

no luck

greg

The IT guys are now glad we decided NOT to convert everything from FileMaker 6 to Servoy.

It is probably a simple setting somewhere

greg

Hi Greg,

gdurniak:
Just upgraded Servoy to v3.1.5, Server is Windows XP. Nothing else has changed

You upgraded Servoy from what version ?

Also do the clients connect directly to a solution or do the users get the Open Solution dialog.

I have allowed auto updates, since 3.1.1, so pretty much in order

users do get the “open” solution dialog

I see that Ports from 3000 on are assigned to various apps. Is it possible we are stepping on another program?

greg

Hi Greg,

Just to rule out a few things.
After this upgrade have you tried to load a Servoy client onto a fresh Intel Mac that never was used for Servoy?
And if so what was the result ?

After thinking about this some more I think you should reinstall Servoy server by using the installer of 3.1.6.
I had instances where the auto-update caused strange things. This might be the case in your situation.

Hope this helps.

we clean installed both client and server v3.1.6, and still can not connect

not sure where else to look

all machines are on a simple LAN, with one managed HP network switch. No network errors reported

the same error was reported here, with no resolution
http://forum.servoy.com/viewtopic.php?p … e0e7bfb752

greg

Hi Greg,

Maybe there is some old data interfering. Please try these two things:

  • delete the .servoy directory on the client in the users’ home directory
  • remove the Java Webstart cache for Servoy: run javaws. This will start the Java Cache Viewer. It will show a list of entries like ‘Servoy Client’, ‘Servoy Client Plugins’. Select everything that starts with ‘Servoy’, then click remove.

After that, relaunch Servoy. Does it work now?

found the problem

a few months ago, the IT dept blocked ports 3000-3999, for some MS Office issue

it appears that Intel IMacs now need these ports to connect (sevoy client did work before)

I do not see any servoy setting, to select a port range, other than the RMIStartPort of 1099

go figure

greg

Blocking these ports was because the check that MS does/did on these ports using UDP was a potential security threat.

However I don’t see how this can influence RMIS functionality when settings are default.

Can you perform a check together with the department to, temporarily, enable the ports again?
That would rule this out or confirm what you are thinking…

no, the server log is pretty clear, port 3000 can not connect

from a Google search:
“By default, the RMI registry runs on port 1099. You can designate a different port by specifying the port number when you start the registry. For instance, the following command line will start the registry to run on port 3000 on a Windows system:
start rmiregistry 3000”

for some reason, the Intel Macs started using 3000

greg

Sure, you can register through port 3000 but that doesn’t make sense if there is nothing you do to activate this.

  • what are the settings in your properties file
  • are you using any external plugin that registers a seperate rmis

btw why are you so sure about this:

for some reason, the Intel Macs started using 3000

the local servoy.properties file says usedRMIRegistryPort=1099

however, the server error log (see first post in this thread) refers to port 3000, and we confirmed that blocking port 3000 stops the connection

only intel imacs are affected. Only plugin is the freeware “Splash” plugin

greg

Hmm, I have some imagination and can come up with a lot of things but they won’t help. Sorry…

Hello

I have a similar error message as yours. What was the solution to this. I am on 3.5.5 on Mac OS 10.4.11.

Regards, Robert

gdurniak:
Our Intel Imacs can no longer open the client.
Error: “No licenses or Trial Licenses Left”
OS 10.4.7 & 8
Java Runtime Edition 1.5

Our Windows XP and 2000 machines work fine. We have plenty of licenses

Just upgraded Servoy to v3.1.5, Server is Windows XP. Nothing else has changed

The Server Log shows this cryptic message, for the IP address of one Intel Mac:

2007-05-30 09:18:04,437 ERROR [RMI TCP Connection(2)-192.168.1.101] com.servoy.j2db.dataprocessing.ClientManager - java.rmi.ConnectIOException: Exception creating connection to: 192.168.1.101; nested exception is:
java.io.InterruptedIOException: The socket pool for a client 192.168.1.101:3000 did not recieve a callback socket from the client within 60000ms, pool still empty
2007-05-30 09:18:06,921 ERROR [ClientExportNotifyListner[0]] com.servoy.j2db.util.Debug - Signalling channel lost, removing ports: [3000]
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at com.servoy.j2db.util.a.d$1.run(Unknown Source)
2007-05-30 09:18:06,921 ERROR [ClientExportNotifyListner[0]] com.servoy.j2db.util.Debug - Signalling channel lost when reading pings or client export notifies, removing ports: [3000]

it’s been a week now, and our users are frustrated. They are currently moving to desks with windows machines

What are the values for “SocketFactory.useSSL”, “SocketFactory.useTwoWaySocket”, “servoy.rmiStartPort” and “usedRMIRegistryPort” in your servoy.properties file?
Do you have a “SocketFactory.rmiServerFactory” property specified?

Please paste the exact connection exceptions from the log? Or are they the same as gdurniak’s?
Try setting both “SocketFactory.useSSL”, “SocketFactory.useTwoWaySocket” to false (if they are not false already) + restart server + clear/reload client and see if this works.