Could Not Retrieve Form Data

I am hoping someone will have a suggestion or a good place to look in researching the following problem. I have switched hosting companies from one Linux VPS to another.

I can get Servoy installed remotely and import my previous solutions. I have a copy of developer installed on my laptop that accesses the remote VPS for the repository and solution databases.

The developer version works great! I can open the solutions and edit them no problem.

When I try to connect as a client, I get the error “Could not retrieve from data” every time!

Why would the developer copy on my laptop work but not client access? They both use the same repository database on my vps server.

I went through some log files.
catalina_log.2005-09-08.txt
localhost_access_log.2005-08-26.txt
localhost_log.2005-08-20.txt

But this stuff is greek to me!

You help would be much appreciated!

Linux VPS
Fedora Core 1
Mysql 4.1.13a
java.vm.version=1.5.0-b64
Servoy version R2 2.2-build 328, repository version 25

Also, I am not sure that I exported the solutions from the 2.2 build. It might have been 2.1. I remember the web admin page listing build information as I imported the solution. I just don’t remember what it said.

After some further research I have noticed that my new VPS is using Java 1.5 whereas my previous environment was 1.42. I am not sure if that would cause some sort of incompatiability but I plan on setting up a test server that more closly matches my previous envronment to restore my backups on.

gte451f:
I get the error “Could not retrieve from data” every time!.

do you know if you got any feedback on this error?
thanks

when do you get that error?
Are you able to login/register?

Because if even that is not possible then i guess you have a firewall issues, can the client access the server rmi port (1099 as default) and what are your network settings? is 2 way socket enabled and what is the hostname? (127.0.0.1 with 2 way socket enabled should work fine)

Wasn’t sure if I should revive this thread or create a new one… but currently I have the same issue.

The solution runs well from the Web client but from the smart client I get: “Could not retrieve form data”. This happens when the login form is loading and when I try to login, so I can’t get past that. This happens from within the same server where the solution is running and from other machines within the network.

The firewall has ports 1099, 8080 and 80 open.

Servoy Network settings:
java.rmi.server.hostname: 127.0.0.1 (192.168.0.X when socket connection mode was used)
servoy.rmiStartPort: 1099
rmi.connection.timeout: 120
ApplicationServer.pingDelay: 300
SocketFactory.tunnelConnectionMode: 2waysocket (already tried socket as well)
SocketFactory.compress: enabled
SocketFactory.useSSL: disabled
SocketFactory.tunnelUseSSLForHttp: disabled

Configuration:
Servoy 6.1.0 rc4
PostgreSQL 9.0 a
Java 1.7.0_09
Windows Server 2008 R2 x64

Any thoughts on what we might have wrong?

does the login solution follow these rules:

http://wiki.servoy.com/display/Serv52/U … d+Security

so no access what so ever to data, the login soluton form can’t have a datasource attached and so on?

The login solution form did call a getFoundset. I changed that and that fixed the problem.

Thanks Johan!

after you login and the authenticator has logged in your client, a getFoundset maybe could work, but i guess the problem is that the server definitions are not on the client at all because the login solution shouldn’t have that at all.
So it is highly recommended to not do those things, but to do those things in the real solution that is loaded right after your method finishes.