[jboss-user] [JBoss Seam] - Seam CR2 (need to update soon, I know...) - Webservice Probl

gbc@gmx.de do-not-reply at jboss.com
Fri Nov 9 06:46:22 EST 2007


Hi folks,

I'm just profiling my Seam EE App at the moment and I cannot believe what's going on here...

I have some simple WebService like:

  | @Name("printProcessorWebService")
  | @Stateless
  | @WebService
  | @WebContext(contextRoot = "/DPSPrintingServices")
  | public class PrintProcessorService extends AbstractWebService implements
  | 		PrintProcessorWebService {
  | 
  | 	@Logger
  | 	private Log log;
  | 
  | 	@WebMethod
  | 	@WebResult(name = "available")
  | 	public boolean isAvailable() {
  | 		log.debug("isAvailable(): called");
  | 		try {
  | 			return true;
  | 		} catch (Throwable t) {
  | 			log.warn("Throwable while isAlive(): ", t);
  | 			return false;
  | 		}
  | 	}
  | }
  |  (Nothing special in abstract super class, just I few helpers not needed for isAvailable())

Everytime the WebService is being called, JProfilers shows me that references to ConversationEntries and Session have been opened but are never closed again.

So every WS-Call opens a new Websession and thus a conversation but doesn't close it? Is this correct? I need a 24/7 reliable app without any reference/memory leeks of course... Do I need to annotate WS-Methods with @Begin or @End?

I would really appriciate your help. Maybe this is solved for GA, but I haven't seen a Jira or Forum Post around.

Greetz GHad

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103214#4103214

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103214



More information about the jboss-user mailing list