Hello,
I programmed a agent running in the background of a domino 6 server which uses LS2J. At first everything works fine, but when the agent has been running about 5 times successfully, I get a “LS2J Error: Threw java.lang.StackOverflowError”. Then I tried to reschedule the agent, but the next two times this error occurs again.
But on the next schedule the following error occurs: “Error loading USE or USELSX module:”. Now there’s no other choise but to restart the domino server and the admin has to sign the database. Otherwise it is imposible to reschedule the agent.
Is there anybody who can give a solution for this mysterious thing?
Thanks
Subject: Error loading USE or USELSX module:
Hello jens,
first sorry for my English.
Try to do that, open the database in designer and then go to the agent, look in the global settings something like that Uselsx “lsxsdk”, if you find, look if the module have a path or try to find it in data directory.
also if dont appear in to the agent, lok at scrip library and do the same.
Subject: RE: Error loading USE or USELSX module:
sorry…
if you find it, try to do.
1 possibility, commnet this line and try, to work, normaly this module are not necesary, when database was compiled.
Second, try to find this module and put into the data directory.
Subject: RE: Error loading USE or USELSX module:
Thanks for your fast response, but your proposals unfortunately didn’t fix my problem. This mysterious thing is, that the agent had been running several times without any problems. The module the agent loads is stored in the database and the path to the module is correct too.
It would be great if you’ve any further ideas.
Subject: RE: Error loading USE or USELSX module:
OK.try to open a module and make any change, like space, and is possible any variable or constant is repeated, if is taht try to correct.
Subject: RE: Error loading USE or USELSX module:
That doesn’t fix the problem either. Still the error : “Error loading USE or USELX module” and the only solution is to restart the server and sign the database by the server admin. Then the agents runs 5 times without problems and errors then the story restarts.