Hello castor developer I have Project developed
with castor and struts framework. I have a problem that is LockNotGrantedException: persist.writeTimeout in th this Project Senario 1 (work properly) First user login web page and he/she
want to take
a report an so he/she click
a specific report menu option.(this
report is “realization
report”) Second user login web page and he/she want to
take a report an …. Third user login. He/she want to
another process. Senario 2 (have an exception) First user login web page and he/she
want to take
a report an so he/she click
a specific report menu option.(this
report is “realization
report”) Second user login web page and he/she want to
take a report an …. Third user login. web page and he/she want to
take a report an …. Fourth user login and
if this user
want any process that did
not use realizetion object, process can be done But İf User want a process that user realization
object ,system throws “LockNotGrantedException:
persist.writeTimeout”
and so process
is being unsuccessful After taht 2. senario Our report porcess time is too long.it is approximately 3 minute. Fourth user porcess wait
first and second and third
user process. And so system
throws locknot grant exception I try to
readonly Access for reports as faloows try{
query=db.getOQLQuery(oqlString); results=query.execute(db.ReadOnly); while(results.hasMore()) resultObjects.add(results.next()); }catch(QueryException
qe){ System.err.println("PersistenceManager.retrieveObjects(Str,db):QueryException: "+qe.getMessage()); qe.printStackTrace(); but there is no changing can you advise what can I do |
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev