[JBoss JIRA] Moved: (JBAS-8516) weld-translator example fails with "identifier 'translator' resolved to null"
by Pete Muir (JIRA)
[ https://jira.jboss.org/browse/JBAS-8516?page=com.atlassian.jira.plugin.sy... ]
Pete Muir moved WELD-725 to JBAS-8516:
--------------------------------------
Project: JBoss Application Server (was: Weld)
Key: JBAS-8516 (was: WELD-725)
Affects Version/s: 6.0.0.M5
(was: 1.1.0.Beta1)
Security: Public
> weld-translator example fails with "identifier 'translator' resolved to null"
> -----------------------------------------------------------------------------
>
> Key: JBAS-8516
> URL: https://jira.jboss.org/browse/JBAS-8516
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Affects Versions: 6.0.0.M5
> Environment: Jboss AS, with lastest nightly ( '#1973 Oct 8, 2010 3:38:22 PM' from hudson)
> Weld Example package (stable and nightly from hudson : Last successful build (#74), 2 mo 9 days ago)
> Reporter: Alexandre GASNE
> Priority: Critical
>
> When trying to access separate business logic from a web page, weld can't resolve the managed bean ( beans.xml is present in both war/WEB-INF and jar/META-INF)
> I'm using Weld-Translator example to test business logic integration (ejb). Deployment seems fine, but I get an error with this "out-of-the-box" example.
> [ Note that I'm getting the same issue with an application (packaged in EAR with a web module and ejb modules) working fine on JBOSS6 M3 but failing with exactly the same error in lastest jboss nighltly ]
> With Weld-Translator example, you get this error page :
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> root cause
> javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91)
> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023)
> javax.faces.component.UIInput.validate(UIInput.java:953)
> javax.faces.component.UIInput.executeValidate(UIInput.java:1204)
> javax.faces.component.UIInput.processValidators(UIInput.java:693)
> javax.faces.component.UIForm.processValidators(UIForm.java:240)
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081)
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159)
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> Jboss StackTrace :
> 11:36:47,250 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> 11:36:47,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
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
14 years, 2 months
[JBoss JIRA] Updated: (JBAS-8516) weld-translator example fails with "identifier 'translator' resolved to null"
by Pete Muir (JIRA)
[ https://jira.jboss.org/browse/JBAS-8516?page=com.atlassian.jira.plugin.sy... ]
Pete Muir updated JBAS-8516:
----------------------------
Component/s: Weld/CDI
Move to JBAS as this is an integration issue.
> weld-translator example fails with "identifier 'translator' resolved to null"
> -----------------------------------------------------------------------------
>
> Key: JBAS-8516
> URL: https://jira.jboss.org/browse/JBAS-8516
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Affects Versions: 6.0.0.M5
> Environment: Jboss AS, with lastest nightly ( '#1973 Oct 8, 2010 3:38:22 PM' from hudson)
> Weld Example package (stable and nightly from hudson : Last successful build (#74), 2 mo 9 days ago)
> Reporter: Alexandre GASNE
> Priority: Critical
>
> When trying to access separate business logic from a web page, weld can't resolve the managed bean ( beans.xml is present in both war/WEB-INF and jar/META-INF)
> I'm using Weld-Translator example to test business logic integration (ejb). Deployment seems fine, but I get an error with this "out-of-the-box" example.
> [ Note that I'm getting the same issue with an application (packaged in EAR with a web module and ejb modules) working fine on JBOSS6 M3 but failing with exactly the same error in lastest jboss nighltly ]
> With Weld-Translator example, you get this error page :
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> root cause
> javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91)
> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023)
> javax.faces.component.UIInput.validate(UIInput.java:953)
> javax.faces.component.UIInput.executeValidate(UIInput.java:1204)
> javax.faces.component.UIInput.processValidators(UIInput.java:693)
> javax.faces.component.UIForm.processValidators(UIForm.java:240)
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081)
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159)
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> Jboss StackTrace :
> 11:36:47,250 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> 11:36:47,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
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
14 years, 2 months
[JBoss JIRA] Created: (JGRP-1229) Deadlock during flush
by Markus Hampel (JIRA)
Deadlock during flush
---------------------
Key: JGRP-1229
URL: https://jira.jboss.org/browse/JGRP-1229
Project: JGroups
Issue Type: Bug
Affects Versions: 2.10
Environment: Windows Vista, JDK 1.6.0_10, JGroups 2.10.0, JGroups config: flush-tcp.xml with TCPGOSSIP
Reporter: Markus Hampel
Assignee: Bela Ban
In my environment a deadlock during flush occurs under following circumstances: A message is processed wich sends another multicast message. During the processing of the message GMS starts a flush. The sending of the multicast message blocks and the flush fails because the processed message doesn't end. The ABORT_FLUSH message isn't processed because it's not a OOB message. The blocked message never unblocks.
The following Threaddump shows the GMS thread and the message processing thread:
"ViewHandler,Test,#A" prio=6 tid=0x04015c00 nid=0x1e8 waiting on condition [0x04b0f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.jgroups.util.Util.sleep(Util.java:1298)
at org.jgroups.util.Util.sleepRandom(Util.java:1377)
at org.jgroups.protocols.pbcast.GMS._startFlush(GMS.java:721)
at org.jgroups.protocols.pbcast.GMS.startFlush(GMS.java:694)
at org.jgroups.protocols.pbcast.CoordGmsImpl.handleMembershipChange(CoordGmsImpl.java:189)
at org.jgroups.protocols.pbcast.GMS$ViewHandler.process(GMS.java:1390)
at org.jgroups.protocols.pbcast.GMS$ViewHandler.run(GMS.java:1344)
at java.lang.Thread.run(Thread.java:619)
"Incoming-4,Test,#A" prio=6 tid=0x04014000 nid=0x11f4 waiting on condition [0x0497e000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x248b2cd8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2054)
at org.jgroups.protocols.pbcast.FLUSH.blockMessageDuringFlush(FLUSH.java:321)
at org.jgroups.protocols.pbcast.FLUSH.down(FLUSH.java:254)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:894)
at org.jgroups.JChannel.down(JChannel.java:1623)
at org.jgroups.JChannel.send(JChannel.java:724)
... (Usercode)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:640)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:772)
at org.jgroups.JChannel.up(JChannel.java:1453)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:887)
at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:435)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:151)
at org.jgroups.protocols.FRAG2.up(FRAG2.java:188)
at org.jgroups.protocols.FC.up(FC.java:474)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:888)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
at org.jgroups.protocols.UNICAST.handleDataReceived(UNICAST.java:614)
at org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:707)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:132)
at org.jgroups.protocols.FD.up(FD.java:266)
at org.jgroups.protocols.MERGE2.up(MERGE2.java:210)
at org.jgroups.protocols.Discovery.up(Discovery.java:281)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1009)
at org.jgroups.protocols.TP.access$100(TP.java:56)
at org.jgroups.protocols.TP$3.run(TP.java:933)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
DEBUG output:
19.08.2010 13:47:41 org.jgroups.logging.JDKLogImpl debug
FEIN: new=[#C], suspected=[], leaving=[], new view: [#A|1] [#A, #C]
19.08.2010 13:47:41 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: flush coordinator is starting FLUSH with participants [#A]
19.08.2010 13:47:41 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: received START_FLUSH, responded with FLUSH_COMPLETED to #A
19.08.2010 13:47:41 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: blocking for 10000ms
19.08.2010 13:47:43 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: timed out waiting for flush responses after 2000 ms. Rejecting flush to participants [#A]
19.08.2010 13:47:51 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: blocking for 10000ms
19.08.2010 13:47:55 org.jgroups.logging.JDKLogImpl warn
WARNUNG: #A: GMS flush by coordinator failed
19.08.2010 13:47:55 org.jgroups.logging.JDKLogImpl debug
FEIN: resuming message garbage collection
19.08.2010 13:47:55 org.jgroups.logging.JDKLogImpl debug
FEIN: new=[#B], suspected=[], leaving=[], new view: [#A|2] [#A, #C, #B]
19.08.2010 13:48:01 org.jgroups.logging.JDKLogImpl debug
FEIN: #A: blocking for 10000ms
19.08.2010 13:48:06 org.jgroups.logging.JDKLogImpl warn
WARNUNG: #A: GMS flush by coordinator failed
...
My solution (that works in my environment, but I can't overlook if it's correct):
Changes to org.jgroups.protocols.pbcast.FLUSH
// 1. set the OOB flag for the ABORT_FLUSH message
552 private void rejectFlush(Collection<? extends Address> participants, long viewId) {
553 for (Address flushMember : participants) {
554 Message reject = new Message(flushMember, localAddress, null);
555! reject.setFlag(Message.OOB);
// 2. the processing of the ABORT_FLUSH message has at least to set "isBlockingFlushDown = false"
// but I copied the complete implementation from the "onStopFlush" method
336 public Object up(Event evt) {
...
368 case FlushHeader.ABORT_FLUSH:
...
379! synchronized (sharedLock) {
380! flushCompletedMap.clear();
381! flushNotCompletedMap.clear();
382! flushMembers.clear();
383! suspected.clear();
384! flushCoordinator = null;
385! flushCompleted = false;
386! }
387! blockMutex.lock();
388! try {
389! isBlockingFlushDown = false;
390! notBlockedDown.signalAll();
391! } finally {
392! blockMutex.unlock();
393! }
394! flushInProgress.set(false);
--
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
14 years, 2 months
[JBoss JIRA] Commented: (JBBUILD-655) Wrong checksum on jboss maven repository
by Fabricio Lemos (JIRA)
[ https://jira.jboss.org/browse/JBBUILD-655?page=com.atlassian.jira.plugin.... ]
Fabricio Lemos commented on JBBUILD-655:
----------------------------------------
Issue created: https://glassfish.dev.java.net/issues/show_bug.cgi?id=13949
> Wrong checksum on jboss maven repository
> ----------------------------------------
>
> Key: JBBUILD-655
> URL: https://jira.jboss.org/browse/JBBUILD-655
> Project: JBoss Build System
> Issue Type: Bug
> Components: Artifact Repositories
> Reporter: Fabricio Lemos
>
> Some POMs are with the wrong checksum on Jboss Maven Repository, which causes artifactory to reject those POMs if validation is on.
> Here a few examples of artifactory output:
> jboss: Downloaded 'http://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/we...' with return code: 200.
> (o.a.r.v.i.PomInterceptor:78) - Failed to transform pom file
> java.io.IOException: Checksum policy 'GEN_IF_ABSENT' rejected the artifact 'weld-api-bom-1.0-SP1.pom'. Checksums info: [ChecksumInfo{type=SHA-1, original='11c59ba0129c15a2966adf7b993552ac0e38f5db', actual='a682982a8c581b327c79b6ef5dd239005cf4d30b'}, ChecksumInfo{type=MD5, original='645ce7c04f2650ec80b54ace02b4c1b9', actual='1f00ec3b8241348739fbb1544b53aef5'}]
> (o.a.r.HttpRepo :196) - jboss: Downloaded 'http://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/we...' with return code: 200.
> [ERROR] (o.a.r.v.i.PomInterceptor:78) - Failed to transform pom file
> java.io.IOException: Checksum policy 'GEN_IF_ABSENT' rejected the artifact 'weld-core-bom-1.0.1-Final.pom'. Checksums info: [ChecksumInfo{type=SHA-1, original='05c018953796d43baaec6b7b526883116fb4ba4c', actual='9c1d4f3ba941405a2717081d29e2b542934a69d7'}, ChecksumInfo{type=MD5, original='98167a84f872b7d2ab07c4826269cff5', actual='de063cceee5e38a7b0b9b8d82930aebb'}]
--
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
14 years, 2 months
[JBoss JIRA] Created: (EJBTHREE-2086) Missing interpretation of EJB-Annotation results in wrong call of dynamic method
by Tobias Grundmann (JIRA)
Missing interpretation of EJB-Annotation results in wrong call of dynamic method
---------------------------------------------------------------------------------
Key: EJBTHREE-2086
URL: https://jira.jboss.org/jira/browse/EJBTHREE-2086
Project: EJB 3.0
Issue Type: Bug
Components: ejb3
Affects Versions: trunk
Environment: java version "1.6.0_18"
Reporter: Tobias Grundmann
when looking up a method for invocation in StatefulContainer.dynamicInvoke():522 jboss tries to determine if it's an EJB-Object-Method via SessionSpecContainer.isEjBObjectMethod(). This results wrongly in "false" if the class in question doesn't implement EJBObject but has e.g. a @Stateful annotation.
Futher the method EJBContainer.getNonBridgeMethod() seems to be rather optimistic in trying to find the correct method only according to the number of parameters.
This was tested with jboss-6.0.0.M1, but the corresponding code in trunk seems to be the same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months