NetXMS Support Forum

Development => General => Topic started by: moseszero on November 29, 2011, 06:45:49 AM

Title: procedure to use event in netxms with java api??
Post by: moseszero on November 29, 2011, 06:45:49 AM
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.
Title: Re: procedure to use event in netxms with java api??
Post by: Victor Kirhenshtein on November 29, 2011, 08:08:01 PM
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
Title: Re: procedure to use event in netxms with java api??
Post by: moseszero on November 30, 2011, 06:39:40 AM
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.