jcompagner wrote:output of the server you can see in the console or in the log files
But do it differently.
Start up the developer run the method a view times so that you can see where it stops what the last size is of the foundset.
Then close the developer
run the server
hit the jsp a view times. (count it)
then close the server
and run the developer again.
Where the does size start from? What you did the last time with the developer or is the count + the number of times you accessed the jsp.
This is remarkable!
1. Ran the newRecord method twice with a foundset of 37 at the end. Quit Servoy Developer.
2. Rebooted Servoy Server and ran the JSP twice. Because the server is physically a few miles away and I haven't set it for remote launch I opted instead to just close down the newClient session.
3. Launched Servoy Developer. It looked exactly as before. I then ran the newRecord method again. This time I had a start of 40 and stop of 41. Even more interesting the new records were not at the bottom of the table
and the pk of the new records
are out of sequence.
The PKs of records 36 and 37 are 2722 and 2723. But the PKs of the two new records generated by the JSP are 2438 and 2439. There are also two other new records in the same 2400 sequence created very early this morning which didn't show themselves earlier.
I'm not sure what to make of this.
An additional note. Still not sure what you mean by the console and log files. /Servoy/server/logs shows three types of logs, none of which present record counts.
Catalina log:
2006-07-03 14:57:57 HttpConnector Opening server socket on all host IP addresses
2006-07-03 14:57:59 HttpConnector[8080] Starting background thread
2006-07-03 14:57:59 HttpProcessor[8080][0] Starting background thread
2006-07-03 15:02:09 HttpProcessor[8080][1] Starting background thread
Localhost access:
70.50.120.175 - - [03/Jul/2006:15:03:03 -0500] "GET /servoy-admin/clients HTTP/1.1" 200 10764
70.50.120.175 - - [03/Jul/2006:15:03:06 -0500] "GET /servoy-admin/clients/shutdown/solution/64 HTTP/1.1" 200 7473
70.50.120.175 - - [03/Jul/2006:15:03:08 -0500] "POST /servoy-admin/clients/shutdown/solution/64 HTTP/1.1" 200 7517
70.50.120.175 - - [03/Jul/2006:15:20:19 -0500] "GET /servoy-admin HTTP/1.1" 302 654
70.50.120.175 - - [03/Jul/2006:15:20:19 -0500] "GET /servoy-admin/ HTTP/1.1" 200 15574
70.50.120.175 - - [03/Jul/2006:15:20:21 -0500] "GET /servoy-admin/log HTTP/1.1" 200 8496
localhost:
2006-07-03 14:57:59 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2006-07-03 14:57:59 StandardManager[]: Seeding of random number generator has been completed
2006-07-03 14:57:59 ContextConfig[]: Added certificates -> request attribute Valve
2006-07-03 14:57:59 StandardWrapper[:default]: Loading container servlet default
2006-07-03 14:57:59 default: init
2006-07-03 14:57:59 StandardWrapper[:invoker]: Loading container servlet invoker
2006-07-03 14:57:59 invoker: init
2006-07-03 14:57:59 jsp: init
2006-07-03 14:58:44 servoy_server_admin: init
2006-07-03 15:01:26 jsp: init
Kind regards,