I have created a java program(which runs by java Filename at command prompt) which connects to open im server and check the presence of users. When I call the same code using JSP it is able to connect to the OPENIM server, but the server outputs the following Exception.
(openim.IMConnectionHandler): Connection from /188.8.131.52:1507
java.lang.NullPointerException at net.java.dev.openim.jabber.client.PresenceImpl.process(PresenceImpl.java:114)… …
I was wondering whether we have to set the server service type such asSimpleMessageRouter
could be set in any other mode so that I can call jsp page to request the data.
ANY help on this is appreciated.