# Imacs can not connect

**URL:** <https://forum.servoy.com/t/imacs-can-not-connect/7637>\
**Category:** Classic Servoy\
**Created:** [June 8, 2007, 6:11pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637 "2007-06-08T18:11:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 8, 2007, 6:11pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/1 "2007-06-08T18:11:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![djclarke](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@djclarke](https://forum.servoy.com/u/djclarke)\
**Post date:** [June 8, 2007, 6:31pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/2 "2007-06-08T18:31:03Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 8, 2007, 8:42pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/3 "2007-06-08T20:42:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![djclarke](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@djclarke](https://forum.servoy.com/u/djclarke)\
**Post date:** [June 8, 2007, 9:03pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/4 "2007-06-08T21:03:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 9, 2007, 1:38am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/5 "2007-06-09T01:38:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 9, 2007, 8:11am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/6 "2007-06-09T08:11:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [June 9, 2007, 10:58am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/7 "2007-06-09T10:58:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 9, 2007, 11:14am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/8 "2007-06-09T11:14:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [June 9, 2007, 11:24am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/9 "2007-06-09T11:24:34Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [June 9, 2007, 12:28pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/10 "2007-06-09T12:28:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 11, 2007, 6:59pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/11 "2007-06-11T18:59:39Z")

</div>

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](http://forum.servoy.com/viewtopic.php?p=37132&sid=494a2df12b48a1e8fdca8ae0e7bfb752)

greg

---

<div class="post-metadata">

**Author:** ![svroemisse](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@svroemisse](https://forum.servoy.com/u/svroemisse)\
**Post date:** [June 12, 2007, 6:31am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/12 "2007-06-12T06:31:06Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 12, 2007, 1:46pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/13 "2007-06-12T13:46:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [June 12, 2007, 2:01pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/14 "2007-06-12T14:01:14Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 12, 2007, 2:44pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/15 "2007-06-12T14:44:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [June 12, 2007, 2:48pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/16 "2007-06-12T14:48:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gdurniak](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@gdurniak](https://forum.servoy.com/u/gdurniak)\
**Post date:** [June 12, 2007, 4:03pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/17 "2007-06-12T16:03:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [June 12, 2007, 4:09pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/18 "2007-06-12T16:09:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [March 31, 2008, 9:56pm UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/19 "2008-03-31T21:56:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [April 1, 2008, 9:09am UTC](https://forum.servoy.com/t/imacs-can-not-connect/7637/20 "2008-04-01T09:09:43Z")

</div>

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.

[Next page](https://forum.servoy.com/t/imacs-can-not-connect/7637.md?page=2)
