Can some one tell me what is wrong with this?
HTTP JVM: Exception
HTTP JVM: in thread “Thread-113”
JVM: The runAgent (Ljava/lang/String;JIZJZ)V() method failed.
HTTP Web Server: Lotus Notes Exception - JVM: The Java agent could not be run. [xxxx.nsf/xxxx!OpenForm&Seq=2]
Domino works fine for 1-2 weeks and then fail with the above message. Once the JVM error occured, all other forms and java agents fail to open through http. But it works fine if i run the same agent through amgr. I have JavaMaxHeapSize=1000M
thanks
Subject: Notes Exception
HungPhu,
Check the security settings (key icon) from agent properties. You probably have it at “1” when you might need “2” or “3”. If the agent works with a mail database, it must be signed with the server ID, not the developer’s.
Ken
Subject: RE: Notes Exception
thanks KenIt is a webquerysave agent. it works for more than a week then stop. The key is that not only one agent but all java webQuerySave and webQueryOpen agents fail when JVM error occurred. It is JVM level problem. Can it be a outOfMemory issue? if yes how do i monitor the memory using by HTTP task.
Subject: RE: Notes Exception
HungPhu,
Okay, I thought that Domino was up for two weeks UNTIL this agent ran. So you’re saying this agent runs fine for 2 weeks, then bombs? I ran into similar problems when I used LS2J. In my case, the agent would be successful at first, but every 8th time or so it would bomb with a NoClassDefFoundError error.
There was (and still is) so little information available to debug the error, so the only lasting solution I found was to scrap LS2J all together and take another approach. I wrote a standalone Java class program that sits on the hard drive and is called by LotusScript via the Shellid() command.
Ken
Subject: RE: Notes Exception
You might get something out of enabling some debug flags in notes.ini:JavaVerbose=1
JavaVerboseGC=1
JavaVerboseJNI=1
Mind that those put a lot of messages at the console, and can be a performance issue.
johan@kanngard.net
http://dev.kanngard.net