Dear Christian
We are optimizing the collection database(5 GB DB SIZE) .After some time(30 minutes) we are getting the below message.
org.basex.core.BaseXException: Timeout exceeded.
We are not able to setting time out option.We are setting the time out as below mentioned
Context context = new Context(); context.globalopts.set(GlobalOptions.TIMEOUT,10); context.globalopts.set(GlobalOptions.SERVERHOST, "localhost"); context.globalopts.set(GlobalOptions.SERVERPORT, 1984); ClientSession ls = new ClientSession(context, "admin", "admin");
Suggest me the right way to setting the time out.
Thanks&Regards
Chandra
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
Hi Chandra,
could you possibly provide me with the full stack trace? It may be output by using the -d command line flag, or may be found in the log files of BaseX.
Best, Christian
Thu, Jan 8, 2015 at 6:58 AM, Chandrasekhar chandrasekhar.r@intense.in wrote:
Dear Christian
We are optimizing the collection database(5 GB DB SIZE)
.After some time(30 minutes) we are getting the below message.
org.basex.core.BaseXException: Timeout exceeded. We are not able to setting time out option.We are setting the
time out as below mentioned
Context context = new Context(); context.globalopts.set(GlobalOptions.TIMEOUT,10); context.globalopts.set(GlobalOptions.SERVERHOST, "localhost"); context.globalopts.set(GlobalOptions.SERVERPORT, 1984); ClientSession ls = new ClientSession(context, "admin", "admin"); Suggest me the right way to setting the time out.
Thanks&Regards
Chandra
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
basex-talk@mailman.uni-konstanz.de