[jboss-user] [JBossWS] - Re: Memory leak with Provider<Source> webservice implementat

Sintetik7 do-not-reply at jboss.com
Wed May 27 09:12:15 EDT 2009


Resolved problem by settings injected wsContext to null

now looks like

	public Source invoke(Source req) {
		MessageContext mc = wsContext.getMessageContext();
		String path = ((String) mc.get(MessageContext.PATH_INFO)).substring(1);
                wsContext = null;
		return invoke(path, req);
	}

I'm not sure if this kind of modification should be needed. Should I report a bug?


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

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



More information about the jboss-user mailing list