This immediately breaks the legacy code. Unfortunately, changing the port is not enough to put our old clients back on track. We have to change the communication protocol in the jndi.properties file, as follows (note the "http-remoting"):
The only difference lies in the url line. A few other small differences may exist in what concerns the creation of users and the roles that users can play, but this is the detail where I lost most of the time.