users@jersey.java.net

[Jersey] Using Jersey client in session bean

From: wierob <wierob83_at_googlemail.com>
Date: Thu, 13 Oct 2011 08:32:29 -0700 (PDT)

Hi,

I'm using the Jersey Client API within my class. This works so far. However,
when I convert my class into an EJB by adding a
@Statless/_at_Stateful/_at_Singelton annotation I get the following exception when
trying to deploy to a glassfish 3.1 (standalone or
maven-embedded-glassfish-plugin)

Caused by: java.lang.IllegalStateException: WEB9031: WebappClassLoader
unable to load resource
[com.sun.jersey.core.header.reader.HttpHeaderReader], because it has not yet
been started, or was already stopped

Any ideas?

thanks in advance

--
View this message in context: http://jersey.576304.n2.nabble.com/Using-Jersey-client-in-session-bean-tp6889377p6889377.html
Sent from the Jersey mailing list archive at Nabble.com.