Could Not Retrieve Form Data

Questions and answers for all installation-related topics for Servoy products

Could Not Retrieve Form Data

Postby gte451f » Fri Oct 21, 2005 5:34 am

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.
Last edited by gte451f on Tue Oct 25, 2005 1:38 pm, edited 1 time in total.
gte451f
 
Posts: 45
Joined: Mon Jan 19, 2004 12:53 am

Postby gte451f » Tue Oct 25, 2005 1:37 pm

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
 
Posts: 45
Joined: Mon Jan 19, 2004 12:53 am

Re: Could Not Retrieve Form Data

Postby oceanswellbeing » Thu Jan 07, 2010 11:16 am

gte451f wrote:I get the error "Could not retrieve from data" every time!.


do you know if you got any feedback on this error?
thanks
oceanswellbeing
 
Posts: 27
Joined: Tue Aug 25, 2009 11:58 pm

Re: Could Not Retrieve Form Data

Postby jcompagner » Thu Jan 07, 2010 11:25 am

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)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Could Not Retrieve Form Data

Postby jd2p » Fri Dec 14, 2012 11:57 pm

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?
jd2p
 
Posts: 95
Joined: Thu Dec 08, 2011 1:08 am

Re: Could Not Retrieve Form Data

Postby jcompagner » Sat Dec 15, 2012 11:53 am

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Could Not Retrieve Form Data

Postby jd2p » Tue Dec 18, 2012 12:06 am

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

Thanks Johan!
jd2p
 
Posts: 95
Joined: Thu Dec 08, 2011 1:08 am

Re: Could Not Retrieve Form Data

Postby jcompagner » Tue Dec 18, 2012 10:04 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests