[weld-issues] [JBoss JIRA] Commented: (WELD-676) Proxies throw exception when used from many clients at the same time
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Wed Sep 15 18:02:29 EDT 2010
[ https://jira.jboss.org/browse/WELD-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551148#action_12551148 ]
Stuart Douglas commented on WELD-676:
-------------------------------------
http://github.com/weld/core/pull/12
> Proxies throw exception when used from many clients at the same time
> --------------------------------------------------------------------
>
> Key: WELD-676
> URL: https://jira.jboss.org/browse/WELD-676
> Project: Weld
> Issue Type: Bug
> Components: Proxies
> Affects Versions: 1.1.0.Beta1
> Environment: Affected weld version - WELD-000900 1.1.0 (2010-09-09 00:04)
> Reporter: Martin Gencur
> Assignee: Stuart Douglas
> Fix For: 1.1.0.Beta2
>
>
> This exception arises when running around 7+ clients. The HashComputer component is a stateless session bean.
> Stacktrace:
> 2010/09/09 08:29:08:387 EDT [WARN ][Runner - 0] HOST qa05.mw.lab.eng.bos.redhat.com:rootProcess:weld-pastecode-perf - Error sampling data: <org.jboss.smartfrog.loaddriver.RequestProcessingException: Invalid response code: 500 Content: <html><head><title>JBoss Web/3.0.0-beta-6 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: org.jboss.weld.examples.pastecode.session.org$jboss$weld$bean-flat-SessionBean-HashComputer_$$_WeldProxy cannot be cast to org.jboss.weld.conversation.ConversationImpl
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
> org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
> </pre></p><p><b>root cause</b> <pre>java.lang.ClassCastException: org.jboss.weld.examples.pastecode.session.org$jboss$weld$bean-flat-SessionBean-HashComputer_$$_WeldProxy cannot be cast to org.jboss.weld.conversation.ConversationImpl
> org.jboss.weld.servlet.BeanProvider.conversation(BeanProvider.java:65)
> org.jboss.weld.jsf.ConversationAwareViewHandler.getActionURL(ConversationAwareViewHandler.java:71)
> com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:234)
> com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:137)
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
> com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
> org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list