On Tuesday 14 September 2010 02:51 AM, CasMeiron wrote:
> Hi guys,
>
> When I send multiple requests to my server (invoking RestfulServices
> through jersey client) GF gets crazy, everytime I get some random errors
> about CDI, like:
>
> SEVERE: WebModule[/nprd-gui]PWC1321: Error invoking requestInitialized
> method on ServletRequestListener org.jboss.weld.servlet.WeldListener
> java.lang.ClassCastException:
> org.jboss.weld.conversation.ServletConversationManager_$$_WeldProxy
> cannot be cast to org.jboss.weld.servlet.HttpSessionManager
Are there any other detailed stack traces (that outline the location of
the ClassCastException in the trace) in the server.log? If yes, could
you please provide them?
Thanks
--Siva.
>
> SEVERE: WebModule[/nprd-gui]PWC1322: Error invoking requestDestroyed
> method on ServletRequestListener org.jboss.weld.servlet.WeldListener
> java.lang.ClassCastException:
> org.jboss.weld.servlet.HttpSessionManager_$$_WeldProxy cannot be cast to
> org.jboss.weld.conversation.ConversationManager2
>
> SEVERE: WebModule[/nprd-gui]PWC1321: Error invoking requestInitialized
> method on ServletRequestListener org.jboss.weld.servlet.WeldListener
> java.lang.IllegalArgumentException: Can not set
> org.jboss.weld.conversation.ConversationIdGenerator field
> org.jboss.weld.conversation.AbstractConversationManager.conversationIdGenerator
> to org.jboss.weld.conversation.ServletConversationManager
>
> SEVERE: We couldn't authenticate user 'pc'! Fatal error!
> java.lang.IllegalArgumentException: Can not set
> br.com.bestdeal.np.redirect.gui.manager.EntityManagerWrapper field
> br.com.bestdeal.np.redirect.gui.user.UserObject.manager to
> org.jboss.weld.servlet.HttpSessionManager_$$_WeldProxy
>
> I've tried 500 parallel requests and every time those errors appears
> (randomly, some time I get only 1, 2 or all of them).
>
> Seems the server get overloaded and can't do the normal injections any
> more. Whether I try with less requests (< 100) it's very difficult to
> get any of the above errors.
>
> What's goin' on?
>
> Thanks.
>
> -------------------------------
> Paulo Reis
>
>