PDA

View Full Version : connection timed out


thriputapriya
10-13-2004, 06:51 AM
Hi Antun,

I hosted my sample application on dedicated server which run on the linux OS.
Here My problem is, I need to shutdown and restart the LPS server in order to get the data from the database, which is consumed by the laszlo application otherwise only laszlo application will load without the data (images and other text data) from the database.
And once i restart the LPS server,that data will be available not more than 12 Hrs(may be).
So how can i solve this problem? so that whenever i access my application site, the data should available all the time .


Thanks in advance
-T P

hqm
10-13-2004, 08:28 AM
I don't really understand your question because I don't know what actually comprises your "database" (another host, a SQL server running on the LPS server host, ?) , but maybe you could cache all the data as XML files in your filesystem? Then your laszlo app can retrieve the data via named files?

Or do you need to do runtime-modifiable queries like SQL or something? In that case the only answer would be to replicate your database server (?)

thriputapriya
03-30-2005, 05:49 AM
Hi ,

this problem is still persist:(
We hosted our application to remote host server,and our application deals with customizing the products.So we retrieve the products name in XML format from database and feed it to laszlo application,and we load the product using setSource method.Here our problem is, if we access our website after 24 hrs (around) of last access,the we are getting only the laszlo application without the data(i mean the products name and other datas from database)so only the application without products,galleries will load .But if i reastart the tomcat server, then i can get the data from the database. so i can get the data all the time with out restarting the tomcat server??

is it hte problem regarding the mysql database server or tomacat server ot anything else?

Thanks in advance
T -Priya