procedure to use event in netxms with java api??

Started by moseszero, November 29, 2011, 06:45:49 AM

Previous topic - Next topic

moseszero

I met with a problem recently and I didn't know how to start.

hoping some friend could offer some  reminding of the normal procedure to use event with java api.

ps:I have  met another problem about "java.lang.OutOfMemoryError: Java heap space" when try getting data using "NXCsSession.queryParameter()" (version 1.1.5),
and in 1.1.6's change log it shows that a memory bug has been fixed, does this bug refers to "java.lang.OutOfMemoryError: Java heap space" ??

Best Regards.

Victor Kirhenshtein

That's very strange, I never run into this problem. Could you please provide a complete code snippet to reproduce this problem?

Best regards,
Victor

moseszero

#2
oh sorry,it seems to be a problem of tomcat.
When I call the method in  web page ,it is likely to occur;but if call the method in a simple test java class(simply call the method and print data returned) it won't happen.